Commit Graph

1092 Commits

Author SHA1 Message Date
md_5
cf6a7ce46d Use CLQ for main thread tasks.
Means netty threads aren't blocked for long synchronisations whilst tasks are running.
2015-04-21 17:27:35 -05:00
Thinkofdeath
943a2a3782 Upstream merge 2015-04-18 16:00:01 -05:00
Thinkofdeath
ee319fcbb2 Improve NBTReadLimiter 2015-04-16 15:36:08 -05:00
Thinkofdeath
fbc208645c Upstream merge 2015-04-16 15:36:01 -05:00
md_5
7a214c95e6 Rebuild #3 2015-04-08 22:47:37 -05:00
md_5
8b5be7ad8e Rebuild #2 2015-04-08 22:47:31 -05:00
md_5
1bd341bf82 Rebuild #2 2015-04-08 22:47:25 -05:00
md_5
222fd361e3 Hash rebuild 2015-04-08 22:28:28 -05:00
md_5
335170cdb2 SPIGOT-750: Barrier blocks are transparent for xray purposes 2015-04-08 21:48:49 -05:00
Thinkofdeath
aa1203137a Patch rebuild 2015-04-06 17:27:54 -05:00
Thinkofdeath
0b9296ab07 Upstream merge 2015-03-28 17:51:29 -05:00
Thinkofdeath
3aef9e976f Upstream merge 2015-03-23 14:22:01 -05:00
Thinkofdeath
9fa5ccba94 Upstream merge 2015-03-19 19:29:22 -05:00
Thinkofdeath
4c22e13cf9 Upstream merge 2015-03-19 19:29:08 -05:00
Thinkofdeath
a34dea5aed Upstream merge 2015-03-19 19:28:57 -05:00
Thinkofdeath
fdaf03d521 Upstream merge 2015-03-19 19:28:50 -05:00
Thinkofdeath
ab519bd34b Upstream merge 2015-03-19 19:28:42 -05:00
Thinkofdeath
4b61cd6e60 Add missing mc-dev import 2015-03-19 19:28:35 -05:00
Thinkofdeath
0969fa97c6 SPIGOT-709: Extend the block place limit to arm swings 2015-03-19 19:28:27 -05:00
Thinkofdeath
77959421f4 Upstream merge 2015-03-19 19:28:18 -05:00
md_5
6602a253c2 SPIGOT-660 remove unrequired patch. 2015-03-13 21:20:36 -05:00
Thinkofdeath
b994904d84 Patch rebuild 2015-03-09 16:00:25 -05:00
Thinkofdeath
d049872b83 Disable hopper check configuring, breaks various hopper machines 2015-03-08 05:03:48 -05:00
Thinkofdeath
894b59c400 Rebuild patches 2015-03-08 05:03:38 -05:00
Thinkofdeath
b6536707d1 Fix null pointer issue with async skull converting 2015-03-08 05:03:31 -05:00
Thinkofdeath
09e2551bc1 Fix the player's uuid being null in Bungee mode/offline mode 2015-03-08 05:03:25 -05:00
Thinkofdeath
e5290a457a Update to Minecraft 1.8.3 2015-03-08 05:03:19 -05:00
Johannes Donath
89cb2c0a86 Fixed problems with World.getPlayers() 2015-02-28 00:35:07 -06:00
md_5
78f0bacf0a Patch rebuild. 2015-02-28 00:35:00 -06:00
Thinkofdeath
188acb8688 Fix a possible edge case with the ticking changes by delaying removal until next tick 2015-02-22 17:17:26 -06:00
md_5
a8ea02ef5a 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 00:39:44 -06:00
md_5
ce48a8a139 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 00:39:37 -06:00
Thinkofdeath
0b3670b5a1 SPIGOT-593: Fix a mistake with the EntitySlice patch 2015-02-20 21:47:05 -06:00
md_5
c39bee77cc Fix compile of activation range, oops 2015-02-20 21:46:50 -06:00
md_5
0e14ff9789 Use Standard List for EntitySlices. 2015-02-20 21:46:40 -06:00
Thinkofdeath
da7c9b23b0 Upstream merge 2015-02-19 16:44:53 -06:00
md_5
3ea2235dbd More conflict resolution. 2015-02-14 20:15:47 -06:00
md_5
6008bb8fab Fix merge conflicts. 2015-02-14 20:15:35 -06:00
Thinkofdeath
e1a6979f1a Fix entity activation range for fireworks and items 2015-02-14 20:15:26 -06:00
Thinkofdeath
450a0ff892 Upstream merge 2015-02-13 14:21:43 -06:00
Thinkofdeath
461353e2cb 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 09:03:19 -06:00
Thinkofdeath
4de67b82cf 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 23:58:01 -06:00
Thinkofdeath
d7dbedcf72 Fix merge conflicts 2015-01-25 21:56:18 -06:00
Thinkofdeath
a131bfb513 SPIGOT-459: Update the structure saving warning 2015-01-25 21:56:09 -06:00
md_5
86c8d0492a Fix merge conflicts. 2015-01-25 02:02:43 -06:00
Thinkofdeath
5ed9079a1b Me and windows are not getting along 2015-01-18 12:40:31 -06:00
Thinkofdeath
a7339d5ed5 Whoops 2015-01-18 12:40:23 -06:00
Thinkofdeath
3c20eb4a97 Upstream merge 2015-01-18 12:40:16 -06:00
md_5
478838714f Merge 2015-01-16 10:46:27 -06:00
Thinkofdeath
d41f0754f0 SPIGOT-326: Fix an overflow issue which caused particles to only show in a 1 block radius 2015-01-16 10:46:15 -06:00