Commit Graph

2583 Commits

Author SHA1 Message Date
e9542e33fd Don't process auto save if the save queue is filled
This avoids ever growing pending NBT objects which eat up memory.
2016-11-04 01:33:08 -04:00
5fe1de30c9 Prevent Hoppers from loading chunks by double chest 2016-11-04 01:32:53 -04:00
c15001e24d Fix faulty logic in Auto Save check - Fixes #443 2016-11-04 01:31:49 -04:00
8c5be62ad9 MC uses JSR 1.3.9 2016-11-03 14:51:00 -05:00
2e15610701 t 2016-11-03 14:28:58 -05:00
2ea9521f37 Update upstream B/CB 2016-11-03 14:27:37 -05:00
c189dd9576 Move nullable annotation dependency to JSR 2016-11-03 14:25:50 -05:00
e49e4020ac Remove some handlers 2016-10-30 21:42:38 -05:00
e0f49c8788 Add EntityZapEvent 2016-10-16 23:27:02 -07:00
b2b163b8ec Add usage message to ReloadCommand
Used when the wrong arguments are supplied, missed when we added the
permissions reload functionality.
2016-10-30 00:13:31 -05:00
122d3d9d43 Update upstream S 2016-10-26 16:05:22 -05:00
ba280d2292 Update upstream CB 2016-10-24 21:03:31 -05:00
5b6d46e4c8 Update upstream CB 2016-10-23 01:32:04 -05:00
3552c9103a Revert CB's SPIGOT-1903 fix in favor of ours
Fixes GH-453
2016-10-22 15:36:19 -05:00
714413ff1e Update upstream CB 2016-10-22 15:24:15 -05:00
745be9013b Remove changes to lava/water cobblestone gen
Unintended side effects in recent versions, this patch has likely
outlived its usefulness.

Closes GH-452
2016-10-21 16:08:34 -05:00
4bef47531a Properly update patches for upstream merge 2016-10-21 15:42:49 -05:00
2515c80051 Update upstream B/CB 2016-10-21 15:28:44 -05:00
4708920d8d Updated Timings to better detail saves 2016-10-20 00:21:35 -04:00
59eb1231b5 Revert "Option to hide plugins from the Query Protocol"
This already exists

This reverts commit d6a9c326c7.
2016-10-19 23:38:18 -04:00
d6a9c326c7 Option to hide plugins from the Query Protocol 2016-10-19 23:37:14 -04:00
0df1dae663 Update upstream CB 2016-10-16 15:35:34 -05:00
f1e5f599ca Update upstream CB/S 2016-10-13 17:29:38 -05:00
8e6ecaeae0 Update upstream CB 2016-10-10 21:29:08 -05:00
d5ae910f82 Add option to remove corrupt tile entities
Closes GH-437
2016-10-05 16:28:17 -05:00
40f1788ef3 Update upstream CB 2016-10-05 16:08:40 -05:00
793dc2df52 Add hit entity to ProjectileHitEvent 2016-10-05 16:07:29 -05:00
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
ab9bbceba9 Update paperclip 2016-10-01 22:23:28 -05:00
abd7523079 Update upstream B/CB/S 2016-10-01 11:47:56 -05:00
c59127a587 Disable Vanilla Chunk GC in favor of Bukkits 2016-09-26 01:52:01 -04:00
e081f311cb don't save level every tick for auto save. whoops 2016-09-26 01:50:26 -04:00
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
c6667c09f3 Fix @aikar's oops with verbose timings 2016-09-23 23:18:36 +00:00
dd0277fdb5 Raise bad Y auto fix to avoid gameplay issues
Per discussion here, 663fbf798e (commitcomment-19153154)
2016-09-23 17:25:21 -05:00
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
16a304fab2 [CI-SKIP] Add javadocs to readme (#427)
Add javadocs to readme
2016-09-22 05:50:38 +02:00
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
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
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
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
77825c2a60 Log chunk save failures as ERROR level 2016-09-21 22:33:09 -04:00
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
d6618994b5 Update upstream CB 2016-09-20 15:59:26 -05:00
7c6d0644a2 Don't save players every tick, oops 2016-09-19 23:39:21 -04:00
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
7ec7c0ed95 Merge pull request #428 from kashike/feature/configurable-kick-messages
Configurable flying kick messages
2016-09-19 20:11:51 -05:00
57569597bd Configurable flying kick messages
Closes #423
2016-09-20 00:58:32 +00:00
bc24e29dc5 Update upstream CB 2016-09-18 13:37:38 -05:00
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