Commit Graph

1466 Commits

Author SHA1 Message Date
Zach Brown
5ec0ee10bd Rebuild Patches 2015-03-19 19:41:36 -05:00
Zach Brown
bc8b1ee8d7 Rebuild patches 2015-03-09 16:02:50 -05:00
Zach Brown
6538ccd924 Update PaperSpigot to Minecraft 1.8.3 2015-03-07 19:16:09 -06:00
Zach Brown
0d6db011bc Check online mode before converting and renaming player data 2015-03-05 15:30:48 -06:00
Zach Brown
de2ec8b0a9 Manually bump the config version since git won't 2015-02-23 16:59:00 -06:00
Zach Brown
78487dca8c PaperSpigot TNT Changes
Brought our multiple TNT change patches into a single patch and
configuraiton section.
You /will/ need to update your configs, sorry.

Adds additional configuration and features as well.
2015-02-23 15:03:10 -06:00
Zach Brown
7e7840e064 (Temporarily?) Disable Spigot's TE changes in favor of our own
Pending proper benchmarks and a potential rewrite, this appears to be a
good short-term solution
2015-02-22 02:38:45 -06:00
Zach Brown
c6f594dcfc Remove upstream-pulled patch 2015-02-14 20:16:45 -06:00
Zach Brown
f0f2754d8a Make Enderman drop the block they're holding when they die 2015-02-13 14:50:25 -06:00
Bestle
152d9b5890 Despawn items outside EAR activation range 2015-02-13 14:33:49 -06:00
Zach Brown
22957cd6d1 Rebuild patches for upstream changes 2015-02-13 14:24:02 -06:00
Zach Brown
0c2ee8bf90 Rebuild a patch 2015-02-06 09:06:09 -06:00
Zach Brown
00e1315f65 Rebuild patches for upstream changes 2015-02-03 17:53:51 -06:00
Zach Brown
1c6f7636d8 Add configurable top of nether void damage patch 2015-01-29 15:34:32 -06:00
Zach Brown
335c9c3009 Remove the broken teleport passenger vehicle with player patch 2015-01-29 15:26:20 -06:00
Zach Brown
e1e0781a99 Fix patch usernames and emails 2015-01-29 15:25:50 -06:00
Zach Brown
eb76f6ab42 Remove patch that was pulled upstream 2015-01-25 02:08:21 -06:00
Zach Brown
04dbeb4bf1 Fix certain mobs crashing the server from MobSpawners 2015-01-18 12:43:42 -06:00
Zach Brown
d04f8d3c65 Rebuild patches for upstream changes 2015-01-12 11:21:32 -06:00
Zach Brown
a386f23f24 Rebuild patch for upstream update 2015-01-08 21:53:39 -06:00
Zach Brown
985a51fc17 Rebuild patches for upstream changes 2015-01-06 22:13:40 -06:00
Zach Brown
436c6f2449 Rebuild our patches for upstream changes 2015-01-04 20:30:07 -06:00
Howaner
b7fb738d91 Fix kick messages 2015-01-03 18:26:09 -06:00
Zach Brown
641703cfd8 Fix block placement in the invisible players patch
Thanks Mojang...
2015-01-03 17:35:46 -06:00
Aikar
5e5d11f13b Prevent tile entity and entity based crashes 2014-12-22 15:13:29 -06:00
gsand
1b72b3fc59 [00:50:57] <Clippy> wait, actually I need to do additional testing, just
remove it
[00:51:09] <Clippy> ;(
[00:51:17] * Clippy opens mcp
[00:51:22] <Z750> ._.
2014-12-21 00:52:01 -06:00
gsand
383a3d442d [00:32:19] <Clippy> I goofed, forgive meeeee! ;____; 2014-12-21 00:45:53 -06:00
gsand
3038c837a9 Allow the first spawn location "fuzziness" to be configured 2014-12-20 19:22:28 -06:00
Aikar
73bc2489c0 Do not allow negative count itemstacks (infinite itemstacks)
Should work around quite a few issues and this
'feature' is relatively worthless anyway
2014-12-19 16:35:01 -06:00
Zach Brown
c683d9ad52 Rebuild our patches for upstream changes 2014-12-18 17:35:10 -06:00
Zach Brown
f920086bbd Remove unnecessary patch 2014-12-14 16:26:48 -06:00
Zach Brown
1d0898c3cc Rebuild our patches for upstream changes 2014-12-14 16:25:11 -06:00
Zach Brown
e67bfe69d1 Missed a comment in chest sound patch 2014-12-07 22:57:26 -06:00
Zach Brown
535076aa8b Improve chest sound handling patch 2014-12-07 14:52:19 -06:00
Zach Brown
275af1a769 Update our patches for upstream changes 2014-12-07 13:29:55 -06:00
Byteflux
6c0aedf367 Use the servers built in UUID map for player lookups 2014-12-07 13:28:45 -06:00
Zach Brown
7ae5abba9e Add a constructor for setting both the header and the footer to PacketPlayOutPlayerListHeaderFooter 2014-12-05 22:47:37 -06:00
Zach Brown
b889c27630 Clean up some of our patches
Remove unused torch placement config option
Remove ambiguity in invisible players patch
2014-12-05 22:28:08 -06:00
Zach Brown
77ef1b5cc7 Update our patches for Spigot changes 2014-12-05 22:22:47 -06:00
Zach Brown
c78777957f Update our patches for the latest changes
/ver is no longer useless! Meaninful version tracking yay!
2014-12-02 00:03:53 -06:00
Aikar
9cb520d8f1 Add TNT source location API 2014-11-30 22:58:25 -06:00
Zach Brown
1610f6d153 Improvements to teleport with passenger vehicle 2014-11-30 22:35:33 -06:00
Zach Brown
c5d9810268 Fix an improperly updated patch file 2014-11-30 20:09:09 -06:00
Byteflux
4deff62371 Allow specified ItemStacks to retain their invalid data 2014-11-30 18:59:49 -06:00
Byteflux
1552122433 Configurable TNT water movement 2014-11-29 23:14:36 -08:00
Zach Brown
2cbc92c37e Fix a mistake in Teleport w/ passenger/vehicle patch
Along with restoring authorship to the original writer
2014-11-28 16:30:20 -06:00
Zach Brown
a52eb21fd8 Update PaperSpigot to Minecraft 1.8 2014-11-27 17:17:45 -08:00
Aikar
3a304401b4 Add Async Chunk Load API 2014-11-06 18:31:52 -06:00
Zach Brown
a454aabf95 Random space is most certainly not best space 2014-10-24 23:44:38 -05:00
Zach Brown
41b428475c Replace non-picky rails with non-picky torches
Issues with rails colliding with hitboxes on fences
non-picky torches can be placed on stained glass on 1.8+ clients only (client-side limitation)
2014-10-24 23:41:49 -05:00
Zach Brown
bf250caafe Minor configuration code formatting 2014-10-24 22:28:29 -05:00
Zach Brown
eb70bd92ab Make certain game mechanics configurable
Boat drops and rail placement at this time
2014-10-24 22:25:14 -05:00
Aikar
d1cbf1b137 Implement performance improvements from the EMC-CraftBukkit fork
See the individual patch files for more details
2014-10-19 17:58:49 -05:00
Byteflux
b8bc46347f Fix PaperSpigot entity removal in unloaded chunks 2014-10-14 19:36:06 -05:00
Zach Brown
a4bc5cc10c Remove 1.8 blocks/items patches
For those interested in these features, you can continue to use these patches in your own builds or use a plugin, such as Carbon, to add them
2014-10-14 19:28:05 -05:00
Byteflux
f9fa108a49 Update with more Spigot binary patches 2014-10-02 16:54:57 -05:00
Byteflux
e6bc90dccb Backwards compatible PacketPlayOutEntityTeleport constructor 2014-09-21 22:25:58 -05:00
Zach Brown
69bb19d9af Redo protocol warning message 2014-09-21 22:23:33 -05:00
Byteflux
64acfb63bc Update with latest patches from upstream SpigotMC 2014-09-21 22:05:59 -05:00
Zach Brown
4c10135801 Re-add SportBukkit visual offset fix
Looks to be entirely unrelated to the visual issues being seen

Revert "Remove SportBukkit visual offset fix, may cause issues with certain cannons"

This reverts commit 1156e17179492f530ced9a91a2db0ee32f6bf0e9.
2014-09-12 15:27:47 -05:00
Zach Brown
1db4108509 Fix slime block sounds 2014-09-11 20:33:37 -05:00
Zach Brown
f697665d8c Remove SportBukkit visual offset fix, may cause issues with certain cannons 2014-09-11 16:36:50 -05:00
Zach Brown
078032ff25 Don't register standing or wall banner, and daylight detector inverted
Cause client crashes, likely because they arent ticking yet
2014-09-10 20:49:42 -05:00
Zach Brown
e0bda3c916 Don't allow 1.8 clients to join...
they crash when encountering 1.8 blocks/items/etc
2014-09-10 19:41:12 -05:00
Zach Brown
fd6ba5b433 Add SportBukkit fix for visually offset entities 2014-09-10 16:19:22 -05:00
Zach Brown
a060c401c8 Add a few 1.8 features/blocks/items/whatever 2014-09-10 16:19:06 -05:00
Zach Brown
b7e702dacc Update from upstream SpigotMC
Fix double plants having the incorrect top half SpigotMC/Spigot@377b69d787
Fix boats thinking that they were always on land for 1.8 clients SpigotMC/Spigot@4a083f819e
Correct the action used in updateGamemode. this isn't used by the ser... SpigotMC/Spigot@face904a9a
Allow the updated version of protocollib to be enabled SpigotMC/Spigot@4614a615cc
2014-09-01 18:54:34 -05:00
Minecrell
f39f423fd0 Fix ProtocolLib compatibility 2014-09-01 15:36:00 -05:00
Zach Brown
acfc7ba3e2 Rebuild patches after merge 2014-09-01 15:17:42 -05:00
Zach Brown
f9d6872641 Remove accidentally committed patch file 2014-08-31 14:51:09 -05:00
Dmck2b
b62da895f2 Work around for blocking rail duplication 2014-08-31 14:44:52 -05:00
Zach Brown
e5cafd752b Remove brewing stands from the TE optimizations as well
Possible conflict with CB wall time patches?
2014-08-31 13:09:23 -05:00
Zach Brown
92bfbe89cf Configurable strength and weakness effect modifiers 2014-08-31 12:31:44 -05:00
Zach Brown
627383e58e Show PaperSpigot in protocol warning 2014-09-01 14:41:47 -05:00
Zach Brown
ebf5b310d4 Temporary fix for broken furnaces on certain servers 2014-08-30 14:25:03 -05:00
Zach Brown
ef3faf6cdd Remove specific entities that fly through unloaded chunks 2014-08-29 20:38:35 -05:00
Zach Brown
3327198680 Update from upstream SpigotMC
Add unbreakable API to item meta SpigotMC/Spigot@b1af008222
Configure how often EntityHangings calculate if they should die. SpigotMC/Spigot@ac6e1fc32d
Copy ItemStacks in DataWatcher to prevent ConcurrentModificationExcep… SpigotMC/Spigot@2af28ffbd1
Add the spigot.yml into the timings paste SpigotMC/Spigot@d61f38bd58

Note: This commit moves the entity-hanging tick into Spigot's spigot.yml and out of our paper.yml
2014-08-25 16:30:52 -05:00
Aikar
a4e202676e Implement optimized Tile Entity ticking 2014-08-24 21:19:36 -05:00
Byteflux
b457c5bdad Remove invalid mob spawner tile entities 2014-08-19 14:53:21 -05:00
Zach Brown
0aa4ad66d8 Remove Metrics
People seem fairly mixed on it, and we just don't need 'em
2014-08-19 14:27:57 -05:00
Zach Brown
9dd10bc8dd Show 'PaperSpigot' in client crashes, server lists, and Mojang Stats 2014-08-19 14:26:33 -05:00
Zach Brown
b742f7a892 Update from upstream SpigotMC
Upstream merge (we must go deeper) SpigotMC/Spigot@1e7bc383c3
2014-08-18 10:43:17 -05:00
Zach Brown
706fab83cd Don't tick enderchests either 2014-08-17 17:15:18 -05:00
Zach Brown
2f95e1a840 Update from upstream SpigotMC
Fix empty `ench` tags being wiped by the meta system SpigotMC/Spigot@cc9a1a417f
Add Hunger Config Values SpigotMC/Spigot@2cd515e224
Make debug logging togglable SpigotMC/Spigot@d31b1d616f

Spigot has implemented a system of hunger exhaustion similar to ours, as such a lot of config values have been moved there.
Our exhaustion patch has been trimmed and only a few values for exhaustion remain in paper.yml, the others now sit in spigot.yml
2014-08-17 16:47:36 -05:00
Zach Brown
8567c11cb9 Temporarily remove optimized tile entity code
Potential CME's and issues with pistons, we'll work through this on a separate branch and re-add it when appropriate
2014-08-13 16:50:24 -05:00
Zach Brown
20b21ebf3d Update TileEntity optimizations (again again) ...
hopefully less often now
2014-08-11 23:07:39 -05:00
Aikar
eefd5936bb Update with latest TileEntity optimization changes 2014-08-11 21:43:04 -05:00
Zach Brown
ef9c0fd1eb Move chest sound handling out of the tick loop...
and set them not to tick
2014-08-11 19:36:08 -05:00
Aikar
f2cea9d8fa Optimize TileEntity Ticking
Re-organizes the servers TileEntity Tick List to be bucketed by type.

This allows the server to skip buckets of Tile Entities that is known to
not have any tick function (half of them), skipping time spent iterating
them and checking if they are valid and in a loaded chunk. In other words,
a lot of "meta" time wasted on tile entities that would never do anything anyways.

This change also adds control into the interval of every TileEntity, giving
the server owner control on how fast a TileEntity ticks, slowing it down if they must
(Such as chest), to improve performance.
2014-08-11 16:04:54 -05:00
Zach Brown
72deca29a0 Update from upstream SpigotMC
Part revert to fix (0) in place of file name SpigotMC/Spigot@2fbc1f2704
Fix the last PR SpigotMC/Spigot@b2199df3f7
2014-08-11 15:49:06 -05:00
Zach Brown
187d3ce632 Remove 0026-Don-t-tick-chests, we'll be slightly changing our implementation 2014-08-11 15:45:57 -05:00
Zach Brown
0e5c8b96fd Update from upstream SpigotMC
Abridged: Force close player inventories when they move/interact
This prevents modified clients from using the 2x2 crafting square as permanent storage

Force Close Inventory On Move SpigotMC/Spigot@db78a70788
Only close once, if needed SpigotMC/Spigot@b652de8e7f
Move to interact event closing SpigotMC/Spigot@b5378850d3
Disregard arm swings - racy SpigotMC/Spigot@f86634e280
2014-08-10 00:21:18 -05:00
Suddenly
ccb672dab1 Treat this.c as an element, not an extra object 2014-08-09 19:25:00 -05:00
Zach Brown
96dca9e8ab Remove link to CB PR as its causing a lot of unneeded spam 2014-08-09 18:12:13 -05:00
drXor
ed45929e5e Configurable hanging tick
EntityHangings make a somewhat extensive calculation ever 100 ticks to check if they should die (obstruction etc). This patch makes this magic number configurable, allowing server owners to pick how often they want EntityHangings (e.g. ItemFrames) to tick. Higher values may provide a performance boost for Hanging-heavy servers.
2014-08-09 17:27:35 -05:00
Jedediah Smith
871a1b6f25 Add player affects spawning API
Test plugin here: https://github.com/Zbob750/AffectsSpawning
I believe this originated with SportBukkit, slightly modified for our (and potentially upstream's) usage
2014-08-08 23:18:38 -05:00
Jedediah Smith
367c4b9ec2 Center TNT sample grid points
Makes TNT calculations more accurate, among other things
2014-08-07 23:04:58 -05:00
Zach Brown
7b06b5d247 Revert "Fix TNT directional bias"
Restores our earlier and supposedly working TNT directional bias fix
We will contiune to work through the specifics of the the issue in a separate branch
This reverts commit 08f3fce0ba.
2014-08-07 14:18:11 -05:00
Jedediah Smith
08f3fce0ba Fix TNT directional bias
Shift the sample points so they are centered on the entity, eliminating the directional bias of the explosion force
2014-08-06 18:21:00 -05:00
Zach Brown
4df7953678 Cleanup our patches 2014-08-05 18:45:22 -05:00
Byteflux
f2a1235de0 Configurable speed for water flowing over lava
Higher values = Slower water movement = better performance
http://hastebin.com/axuzaralas.vhdl
2014-08-03 21:23:18 -05:00
Dmck2b
d07c4987da Don't log debug information 2014-08-04 02:57:45 +01:00
Byteflux
418c27e9c1 Better nerf for TNT Cannons ...
Drops the item
Applies to all Falling Block Entities
2014-07-30 03:35:19 -05:00
Zach Brown
3e2fa68fe6 Temporarily remove the better water lighting updates patch while we ensure there are no performance or implementation issues
Specifically around non-water fluids
2014-07-30 02:44:36 -05:00
Iceee
794f5c76dc Apply the better water lighting updates patch to receding water as well 2014-07-28 02:47:31 -05:00
Zach Brown
c231bb3f1c Remove configurable AI target selector delay patch 2014-07-27 21:50:06 -05:00
Zach Brown
b6b4545b44 Update from upstream SpigotMC
Make "moved too quickly" limit configurable SpigotMC/Spigot@99a0a640e8
Undeprecate Player#updateInventory()V SpigotMC/Spigot@5c32e1cb48
Fetch complete profile for skull items, similarly to TileEntitySkull. SpigotMC/Spigot@33d758773e
Move getDouble into the Spigot Configuration patch SpigotMC/Spigot@b5dd202af1
Add missing particle to particle API SpigotMC/Spigot@273c64bbad
Log debug levels to the log file. SpigotMC/Spigot@348eae75f4
Fix PlayerItemDamageEvent (we already had this #badupstreamrelations) SpigotMC/Spigot@e207ea23cd
Move hopper patch to top for PR180 SpigotMC/Spigot@abb775108d
Don't be so spammy on Java 6 SpigotMC/Spigot@5abb82b1ca
Apply NBTReadLimiter to more things SpigotMC/Spigot@408944e9f5
2014-07-27 14:14:24 -05:00
Zach Brown
0b4479373d Fix PlayerItemDamageEvent
Hopefully a temporary patch as I've already submitted it to SpigotMC
But I kinda wanna use the event now so... Here we are
2014-07-24 22:29:15 -05:00
Zach Brown
e4e58b88a0 Update from upstream SpigotMC
Don't use Bukkit.getLogger as the CraftServer isn't loaded at this point SpigotMC/Spigot@5c48793ecf
Modify the block placement limit to allow for the odd random packet or two SpigotMC/Spigot@7768676ae2
2014-07-24 22:21:57 -05:00
Iceee
5d8bbb9c08 Fix lag caused by water lighting updates
Before: http://aikar.co/timings.php?url=7842564
After: http://aikar.co/timings.php?url=7842536
2014-07-23 10:53:28 -05:00
Zach Brown
b178d09bd4 Fix random position generator's tendency to move north-west
Fixes the issue of mobs constantly going North-West in pens and other areas
backported from 1.8
2014-07-22 22:04:05 -05:00
Zach Brown
e35070d9b9 Fix incorrect API version on startup 2014-07-22 20:16:50 -05:00
Zach Brown
76c23c953b Update from upstream SpigotMC
Remove defensive copy in EAR SpigotMC/Spigot@f1ba1f6c07
Make "moved wrongly limit" configurable SpigotMC/Spigot@f7ab380e16
Fix null Tile Entity Worlds (we already had this) SpigotMC/Spigot@b271cdbfa0
Fix slow tab complete for some commands SpigotMC/Spigot@f3b7952c73
Only suggest ops to deop and remove whitelist add case entirely SpigotMC/Spigot@0e1fcfbe70
Allow tab complete for /whitelist add SpigotMC/Spigot@27f8aa22bd
2014-07-22 15:25:09 -05:00
Zach Brown
1479d411c1 Fix minecraft-server dependencies in poms 2014-07-22 14:50:06 -05:00
Zach Brown
3081e4c401 Support all projectiles in the invisible players patch
also cleans up the code a bit
2014-07-21 18:52:19 -05:00
Zach Brown
e7f3ca4505 Restructure PaperSpigot as a new set of modules
Allows us much greater control over the Spigot portion of the code
and makes us more "proper"
Credit to @Dmck2b for originally passing the idea along a while back
2014-07-21 15:46:54 -05:00