Commit Graph

2311 Commits

Author SHA1 Message Date
Zach Brown f1e5f599ca Update upstream CB/S 2016-10-13 17:29:38 -05:00
Zach Brown 8e6ecaeae0 Update upstream CB 2016-10-10 21:29:08 -05:00
Zach Brown d5ae910f82 Add option to remove corrupt tile entities
Closes GH-437
2016-10-05 16:28:17 -05:00
Zach Brown 40f1788ef3 Update upstream CB 2016-10-05 16:08:40 -05:00
AlphaBlend 793dc2df52 Add hit entity to ProjectileHitEvent 2016-10-05 16:07:29 -05:00
Zach Brown 6d41d88931 Remove TE Fixer changes
Ultimately they should be unnecessary now that upstream's fix has been
in place for a while. Removing this reduces our own footprint, and gets
rid of any possible unintended behavior.
2016-10-05 15:46:44 -05:00
Zach Brown ab9bbceba9 Update paperclip 2016-10-01 22:23:28 -05:00
Zach Brown abd7523079 Update upstream B/CB/S 2016-10-01 11:47:56 -05:00
Aikar c59127a587 Disable Vanilla Chunk GC in favor of Bukkits 2016-09-26 01:52:01 -04:00
Aikar e081f311cb don't save level every tick for auto save. whoops 2016-09-26 01:50:26 -04:00
Zach Brown baf3b3371a Merge pull request #434 from kashike/fix/timings-verbose
Fix @aikar's oops with verbose timings
2016-09-23 18:25:50 -05:00
Riley Park c6667c09f3 Fix @aikar's oops with verbose timings 2016-09-23 23:18:36 +00:00
Zach Brown dd0277fdb5 Raise bad Y auto fix to avoid gameplay issues
Per discussion here, https://github.com/PaperMC/Paper/commit/663fbf798e2ee60791f5489f4c3296145a0a4769#commitcomment-19153154
2016-09-23 17:25:21 -05:00
Aikar 731f141042 Raise string limit for packet serialization
The default limit is possible to hit with 50 page books with color codes, causing clients to disconnect.

Bump the limit up a hair to above currently seen sizes.
2016-09-21 23:56:41 -04:00
MiniDigger | Martin 16a304fab2 [CI-SKIP] Add javadocs to readme (#427)
Add javadocs to readme
2016-09-22 05:50:38 +02:00
Aikar 663fbf798e Auto fix bad Y levels on player login
Bring down to a saner Y level if super high, as this can cause the server to crash
2016-09-21 23:49:27 -04:00
Aikar 59b9ad36e6 Remove FishingHook reference on Craft Entity removal
This caused some bugs chickeneer reported to me, with fishing.
2016-09-21 23:45:05 -04:00
Aikar d330ae5050 Process NMS Data Conversion post ItemMeta on Copy
ItemMeta apply is a destructive process that expects to be the authority on
what the items NBT data is.

When CraftItemStack.asNMSCopy was called, the conversion ran, potentially setting
the converted data into the ItemStacks tag.

Then if that item had ItemMeta, it would completely undo that conversion by
erasing the NBT Tag.

On copy, run conversion post ItemMeta apply.
2016-09-21 23:42:13 -04:00
Aikar cc1f66ce0e add a chunk registration fix
World checks and the Chunk Add logic are inconsistent on how Y > 256, < 0, is treated

Keep them consistent
2016-09-21 22:56:19 -04:00
Aikar 77825c2a60 Log chunk save failures as ERROR level 2016-09-21 22:33:09 -04:00
Aikar 6c7ea0b67a Auto Save Improvements
Makes Auto Save Rate setting configurable per-world. If the auto save rate is left -1, the global bukkit.yml value will be used.

Process auto save every tick instead of once per auto tick interval, so that chunk saves will distribute over many ticks instead of all at once.

Re-introduce a cap per tick for auto save (Spigot disabled the vanilla cap) and make it configurable.
2016-09-21 22:12:56 -04:00
Zach Brown d6618994b5 Update upstream CB 2016-09-20 15:59:26 -05:00
Aikar 7c6d0644a2 Don't save players every tick, oops 2016-09-19 23:39:21 -04:00
Aikar f18f712da2 Incremental Auto Saving
Process auto save every tick instead of once per auto tick interval, so that chunk saves will distribute over many ticks instead of all at once.
2016-09-19 23:31:42 -04:00
Zach Brown 7ec7c0ed95 Merge pull request #428 from kashike/feature/configurable-kick-messages
Configurable flying kick messages
2016-09-19 20:11:51 -05:00
Riley Park 57569597bd Configurable flying kick messages
Closes #423
2016-09-20 00:58:32 +00:00
Zach Brown bc24e29dc5 Update upstream CB 2016-09-18 13:37:38 -05:00
Zach Brown d9c982ac17 Add javax.annotations to the API
Used this set specifically because they are present in NMS already.
2016-09-16 14:38:52 -05:00
Zach Brown 66dc00b4dd Stop collideRule team from seeing invis 'friends'
More appropriately aligns ourself with the no team option, because the
collideRule team is only a team because it has to be, not because we want
anyone to have any sort of gameplay based relationship.

Also block any options from being set on this team to further enforce that
it is not a persistent team and should not be treated as such.
2016-09-15 16:36:57 -05:00
Zach Brown e4251a092b Block minecart portal teleports in some instances
Mitigates GH-373
Technically a workaround rather than a true fix
2016-09-14 18:52:41 -05:00
Zach Brown ca7a828688 Update upstrean CB/S 2016-09-11 14:55:02 -05:00
Zach Brown 4bf0ca21fe Make UseItem rate limiting stricter, configurable 2016-09-10 23:27:07 -05:00
Zach Brown 5ba385dd4c Fix patch, need to investigate build issues 2016-09-10 22:45:09 -05:00
Zach Brown 4b7796fe7c [ WHITESPACE ] 2016-09-10 22:09:14 -05:00
Zach Brown 4dcb73693a Add rate limiting to PacketPlayInUseItem as well
Also removes our toggle for Spigot's option, I doubt anyone uses it.
2016-09-10 21:42:47 -05:00
Zach Brown 89b26bb90d Commit CB changes as "Auto"
Helps when using git's annotate function
2016-09-10 21:31:32 -05:00
Zach Brown b0a15ca1ea Further safety for player collision setting
Hopefully the end of similar problems
Fixes GH-415
2016-09-08 12:39:40 -05:00
Zach Brown 098dae2524 Run paper upstream from anywhere
woops
2016-09-07 19:45:47 -05:00
Zach Brown 7bd3964037 [CI-SKIP] Fix CONTRIBUTING.md formatting 2016-09-06 15:01:46 -05:00
Zach Brown 6dedb92652 Make collide team removal more patient, safer
Fixes GH-414
2016-09-06 12:33:47 -05:00
Zach Brown 64c6e06d95 Update upstream B/CB/S 2016-09-05 14:21:03 -05:00
Zach Brown 949fc0534f Create a team as needed for disabling collisions
Fixes GH-383
2016-09-04 17:29:25 -05:00
Zach Brown b4eceb16ec Update upstream B/CB 2016-09-04 16:59:06 -05:00
Brokkonaut 449309fc3d Fix an AIOOBE in inventory handling
Closes GH-404
2016-09-04 16:49:29 -05:00
Zach Brown 65858cf283 Merge pull request #408 from kashike/feature/health-conversion
Convert new health to a float
2016-09-04 16:05:38 -05:00
Riley Park 7a403d82a0 @Zbob750 missed a few name changes 2016-09-04 06:26:05 +00:00
Zach Brown e1423d87ba Update upstream B/CB/S 2016-09-02 22:44:52 -05:00
Riley Park ac750065e3 Convert new health to a float during set
Convert the new health value to a float before doing any validation logic
2016-09-01 09:54:06 +00:00
Zach Brown 2df56fa35b Revert team creation for player collision setting
Needs more work, have redone it locally but its not quite ready for
prime time.
2016-08-31 19:22:43 -05:00
Zach Brown 0ccbb356f1 Rename patch file to be more specific 2016-08-31 17:18:54 -05:00