Commit graph

2339 commits

Author SHA1 Message Date
Zach Brown
8fd92641f7 Remove log redirection in CB init script
This section seems to be a relatively common source of errors. We may as well be as
verbose as the command output, at least for this section.
2016-11-11 13:57:09 -06:00
Zach Brown
f3fd0471f2 Always cleanup collideRule teams at startup
Fixes GH-463
2016-11-05 13:34:18 -05:00
Zach Brown
da6e2f40a9 Update upstream CB 2016-11-04 22:37:19 -05:00
Zach Brown
4916cf72cb Raise packet tolerance in spam threshold patch
Fixes GH-462
2016-11-04 22:31:37 -05:00
Aikar
1d9fc7dfc2 Chunk Save Stats Debug Option
Adds a command line flag to enable stats on how chunk saves are processing.

Stats on current queue, how many was processed and how many were queued.
2016-11-04 02:21:33 -04:00
Aikar
3732877c5c Rework that save cap patch and make it configurable 2016-11-04 01:55:36 -04:00
Aikar
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
Aikar
5fe1de30c9 Prevent Hoppers from loading chunks by double chest 2016-11-04 01:32:53 -04:00
Aikar
c15001e24d Fix faulty logic in Auto Save check - Fixes #443 2016-11-04 01:31:49 -04:00
Zach Brown
8c5be62ad9 MC uses JSR 1.3.9 2016-11-03 14:51:00 -05:00
Zach Brown
2e15610701 t 2016-11-03 14:28:58 -05:00
Zach Brown
2ea9521f37 Update upstream B/CB 2016-11-03 14:27:37 -05:00
Zach Brown
c189dd9576 Move nullable annotation dependency to JSR 2016-11-03 14:25:50 -05:00
Zach Brown
e49e4020ac Remove some handlers 2016-10-30 21:42:38 -05:00
AlphaBlend
e0f49c8788 Add EntityZapEvent 2016-10-16 23:27:02 -07:00
Zach Brown
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
Zach Brown
122d3d9d43 Update upstream S 2016-10-26 16:05:22 -05:00
Zach Brown
ba280d2292 Update upstream CB 2016-10-24 21:03:31 -05:00
Zach Brown
5b6d46e4c8 Update upstream CB 2016-10-23 01:32:04 -05:00
Zach Brown
3552c9103a Revert CB's SPIGOT-1903 fix in favor of ours
Fixes GH-453
2016-10-22 15:36:19 -05:00
Zach Brown
714413ff1e Update upstream CB 2016-10-22 15:24:15 -05:00
Zach Brown
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
Zach Brown
4bef47531a Properly update patches for upstream merge 2016-10-21 15:42:49 -05:00
Zach Brown
2515c80051 Update upstream B/CB 2016-10-21 15:28:44 -05:00
Aikar
4708920d8d Updated Timings to better detail saves 2016-10-20 00:21:35 -04:00
Aikar
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
Aikar
d6a9c326c7 Option to hide plugins from the Query Protocol 2016-10-19 23:37:14 -04:00
Zach Brown
0df1dae663 Update upstream CB 2016-10-16 15:35:34 -05:00
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, 663fbf798e (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