Commit graph

1474 commits

Author SHA1 Message Date
Thinkofdeath
5818108e3a Update to 1.8.4 2015-05-17 10:37:03 +01:00
Evan Haskell
870264a3f8 Fix tile tick capping variable becoming out of sync 2015-05-03 09:08:28 +10:00
md_5
2ec6f06d35 Fix exiting due to count condition eating packets. 2015-04-20 19:12:01 +10:00
Thinkofdeath
43684c87cf Fix a deadlock that could happen in offline mode when shutting down the server 2015-04-20 09:49:39 +01:00
md_5
9284e9bd55 Use CLQ for main thread tasks.
Means netty threads aren't blocked for long synchronisations whilst tasks are running.
2015-04-19 20:20:50 +10:00
Thinkofdeath
1d14d5f8e9 Upstream merge 2015-04-16 22:34:44 +01:00
Thinkofdeath
52df9dd70f Improve NBTReadLimiter 2015-04-16 17:38:35 +01:00
Thinkofdeath
6e32d182b1 Upstream merge 2015-04-16 11:19:45 +01:00
md_5
2f787bd996 Rebuild #3 2015-04-09 13:45:13 +10:00
md_5
6a943955cd Rebuild #2 2015-04-09 13:41:04 +10:00
md_5
f26a3acc43 Rebuild #2 2015-04-09 13:40:23 +10:00
md_5
4e6ca2abdc Hash rebuild 2015-04-09 13:18:56 +10:00
md_5
946960b9f9 SPIGOT-750: Barrier blocks are transparent for xray purposes 2015-04-09 10:23:32 +10:00
Thinkofdeath
4c7d0c07e1 Patch rebuild 2015-04-05 16:09:21 +01:00
Thinkofdeath
dbe012b14f Upstream merge 2015-03-24 20:45:15 +00:00
Thinkofdeath
4b89e7be76 Upstream merge 2015-03-22 19:50:13 +00:00
Thinkofdeath
c136710bfd Upstream merge 2015-03-19 21:31:59 +00:00
Thinkofdeath
beb883d578 Upstream merge 2015-03-17 21:22:17 +00:00
Thinkofdeath
0b997a9fbf Upstream merge 2015-03-16 19:47:37 +00:00
Thinkofdeath
c80bcce9d3 Upstream merge 2015-03-16 16:15:28 +00:00
Thinkofdeath
7bd386951c Upstream merge 2015-03-16 10:19:21 +00:00
Thinkofdeath
a6deee8a8c Add missing mc-dev import 2015-03-15 22:18:05 +00:00
Thinkofdeath
3b72b52549 SPIGOT-709: Extend the block place limit to arm swings 2015-03-15 22:09:27 +00:00
Thinkofdeath
5e4ca23da2 Upstream merge 2015-03-15 21:45:15 +00:00
md_5
ea179b395a SPIGOT-660 remove unrequired patch. 2015-03-13 18:12:06 +11:00
Thinkofdeath
529ff99cb5 Patch rebuild 2015-03-11 10:19:32 +00:00
Thinkofdeath
26dfd01a77 Disable hopper check configuring, breaks various hopper machines 2015-03-08 12:43:06 +00:00
Thinkofdeath
31ba0793ff Rebuild patches 2015-03-08 11:04:41 +00:00
Thinkofdeath
fcb68de0a5 Fix null pointer issue with async skull converting 2015-03-07 15:48:05 +00:00
Thinkofdeath
b38b33ea2c Fix the player's uuid being null in Bungee mode/offline mode 2015-03-07 13:34:07 +00:00
Thinkofdeath
b100cf9e7d Update to Minecraft 1.8.3 2015-02-28 23:11:38 +00:00
Thinkofdeath
c3c767f1e4 Merge pull request #22 in SPIGOT/spigot from ~AKKARIN/spigot:todbrokethings to master
* commit '262d940478730387c77cc97c354bd99a342d9bb4':
  Fixed problems with World.getPlayers()
2015-02-27 21:21:26 +01:00
Johannes Donath
262d940478 Fixed problems with World.getPlayers() 2015-02-27 21:14:00 +01:00
md_5
6ee12f6fbc Patch rebuild. 2015-02-26 21:41:47 +11:00
Thinkofdeath
35348a58a5 Fix a possible edge case with the ticking changes by delaying removal until next tick 2015-02-22 11:08:39 +00:00
md_5
8c3dd1f281 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
a62680093d 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:28 +11:00
Thinkofdeath
ed3e3afde2 SPIGOT-593: Fix a mistake with the EntitySlice patch 2015-02-20 16:39:04 +00:00
md_5
eb87f2b1eb Fix compile of activation range, oops 2015-02-20 21:38:01 +11:00
md_5
34be43d5b7 Use Standard List for EntitySlices. 2015-02-20 21:34:11 +11:00
Thinkofdeath
bf0ac554c9 Upstream merge 2015-02-18 10:24:40 +00:00
md_5
b73910a7b7 More conflict resolution. 2015-02-15 12:55:54 +11:00
md_5
3e3f2ccfbd Fix merge conflicts. 2015-02-15 12:52:33 +11:00
Thinkofdeath
4faf77a3f5 Fix entity activation range for fireworks and items 2015-02-13 21:51:02 +00:00
Thinkofdeath
15fa8e13a1 Upstream merge 2015-02-12 14:25:18 +00:00
Thinkofdeath
8a983f97a1 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
Thinkofdeath
952179b880 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
Thinkofdeath
d0d1d8761a Fix merge conflicts 2015-01-25 14:44:52 +00:00
Thinkofdeath
58e340510d SPIGOT-459: Update the structure saving warning 2015-01-25 14:35:55 +00:00
md_5
2130aaa870 Fix merge conflicts. 2015-01-25 10:37:36 +11:00