Commit graph

1546 commits

Author SHA1 Message Date
md_5
52541311d4 Use FastMatches for ItemStack Dirty Check
The check to find dirty itemstacks and send update packets each tick can be very intensive as it checks the entire itemstack, including the entire NBT map. To save on this, 19/20 times we will simply compare the basic count/data/type. If for some strange reason the NBT of an item already existing in an inventory is changes, it will take up to 1 second to show, with an average time of half a second. This odd 0.5 second delay is far preferable to lag every tick, and shouldn't be noticed by anyone.
2015-02-22 12:27:58 +11:00
md_5
13b5b39d41 Allow Capping (Tile)Entity Tick Time.
This patch adds world configuration options for max-tick-time.entity / max-tick-time.tile which allows setting a hard cap on the amount of time (in milliseconds) that a tick can consume. The default values of 50ms each are very conservative and mean this feature will not activate until the server is well below 15tps (minimum). Values of 20ms each have been reported to provide a good performance increase, however I personally think 25ms for entities and 10-15ms for tiles would give even more significant gains, assuming that these things are not a large priority on your server.

For tiles there is very little tradeoff for this option, as tile ticks are based on wall time for most things, however for entities setting this option too low could lead to jerkiness / lag. The gain however is a faster and more responsive server to other actions such as blocks, chat, combat etc.

This feature was commisioned by Chunkr.
2015-02-22 12:02:19 +11:00
Thinkofdeath
933975a2f7 SPIGOT-593: Fix a mistake with the EntitySlice patch 2015-02-20 16:39:04 +00:00
md_5
95c8338f5b Fix compile of activation range, oops 2015-02-20 21:38:01 +11:00
md_5
81e2f78f91 Use Standard List for EntitySlices. 2015-02-20 21:34:11 +11:00
Thinkofdeath
f80c13d801 Upstream merge 2015-02-18 10:24:40 +00:00
Zach Brown
c6f594dcfc Remove upstream-pulled patch 2015-02-14 20:16:45 -06:00
md_5
a44f5dd1b5 More conflict resolution. 2015-02-15 12:55:54 +11:00
md_5
06faae935f Fix merge conflicts. 2015-02-15 12:52:33 +11:00
Thinkofdeath
00c4207874 Fix entity activation range for fireworks and items 2015-02-13 21:51:02 +00: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
Thinkofdeath
0e2ad96a6c Upstream merge 2015-02-12 14:25:18 +00:00
Zach Brown
0c2ee8bf90 Rebuild a patch 2015-02-06 09:06:09 -06:00
Thinkofdeath
954c898c28 SPIGOT-522: Remove the global api cache option
This was useful when plugins first started upgrading to uuid because each
plugin would implement their own way for grabbing uuid's from mojang. Because
none of them shared the result they would quickly hit the limits on the api
causing the conversion to either fail or pause for long periods of time. The
global api cache was a (very hacky) way to force all plugins to share a cache
but caused a few issues with plugins that expected a full implementation of
the HTTPURLConnection. Due to the fact that most servers/plugins have updated
now it seems to be a good time to remove this as its usefulness mostly has
expired.
2015-02-06 10:08:31 +00:00
Zach Brown
00e1315f65 Rebuild patches for upstream changes 2015-02-03 17:53:51 -06:00
Thinkofdeath
6f8cdbf0f4 Fix the 'Remove uneeded validation' patch
Looks like it may have been broken during the 1.8 update (or it was always
broken)
2015-01-30 09:36:43 +00: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
Thinkofdeath
ea2b36a864 Fix merge conflicts 2015-01-25 14:44:52 +00:00
Thinkofdeath
553a96920a SPIGOT-459: Update the structure saving warning 2015-01-25 14:35:55 +00:00
Zach Brown
eb76f6ab42 Remove patch that was pulled upstream 2015-01-25 02:08:21 -06:00
md_5
0affb6adab Fix merge conflicts. 2015-01-25 10:37:00 +11:00
Thinkofdeath
a0fb646609 Fix applyPatches.sh not correctly pulling bukkit updates
Conflicts:
	applyPatches.sh
2015-01-24 01:00:49 +00:00
Zach Brown
04dbeb4bf1 Fix certain mobs crashing the server from MobSpawners 2015-01-18 12:43:42 -06:00
Thinkofdeath
0140e85cc0 Me and windows are not getting along 2015-01-18 18:28:49 +00:00
Thinkofdeath
1b8477d2fe Whoops 2015-01-18 18:23:17 +00:00
Thinkofdeath
2dbd93ee7f Upstream merge 2015-01-18 18:17:11 +00:00
md_5
020079df9a Merge 2015-01-17 10:12:14 +11:00
Thinkofdeath
65c90b951a SPIGOT-326: Fix an overflow issue which caused particles to only show in a 1 block radius 2015-01-16 23:08:37 +00:00
md_5
001a3a2e20 Merge in changes. 2015-01-16 14:58:23 +11:00
Zach Brown
d04f8d3c65 Rebuild patches for upstream changes 2015-01-12 11:21:32 -06:00
md_5
c94114c455 Allow sun JVM classes for Spigot 2015-01-12 20:14:12 +11:00
md_5
7d24bbe67d Upstream merge. 2015-01-12 20:08:41 +11:00
md_5
4988864512 SPIGOT-401: Add async catcher for mob effects. 2015-01-12 11:38:47 +11:00
Zach Brown
4cd535b41d Fix parent warning in PaperSpigot-API... and rebuild other patches 2015-01-11 01:10:11 -06:00
Zach Brown
a386f23f24 Rebuild patch for upstream update 2015-01-08 21:53:39 -06:00
md_5
9c2215ee02 Fix patches 2015-01-09 11:14:57 +11:00
Zach Brown
985a51fc17 Rebuild patches for upstream changes 2015-01-06 22:13:40 -06:00
md_5
f2bf62789d Upstream merge. 2015-01-05 14:32:01 +11:00
Zach Brown
436c6f2449 Rebuild our patches for upstream changes 2015-01-04 20:30:07 -06:00
Zach Brown
1e81634a9d Update from upstream SpigotMC
eb39b4729ce
59b08be5833
a723278f74a
2015-01-04 20:01:24 -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
Zach Brown
d80ee4a413 Update version checking patch 2014-12-28 16:37:21 -06:00
Zach Brown
fe8a0e7ce3 Check PaperSpigot versions with the /ver command 2014-12-27 17:21:50 -06:00
Zach Brown
105e5e9ba4 Update from upstream SpigotMC take 2: Update harder 2014-12-27 16:07:04 -06:00
Zach Brown
4832a37296 Update from upstream SpigotMC
f234263c871
9f2d587b97e
6d85d979798
24ca434ad3c
5ffe41c3910
13716d9d5ee
2014-12-27 15:39:37 -06:00