Commit Graph

1103 Commits

Author SHA1 Message Date
Thinkofdeath
060c7ee7c0 SPIGOT-927: Only schedule ticks for blocks in loaded chunks 2015-05-27 23:54:17 -05:00
md_5
015e038b89 Add back hopper tick scheduling
Tick a hopper only if certain conditions have changed i.e. inventory changes, redstone updates, etc.
2015-05-27 23:53:59 -05:00
md_5
f3abde1675 Fix crop growth patch 2015-05-27 23:53:48 -05:00
olivervscreeper
48c32652a2 Added growth rate modifier to NetherWart 2015-05-27 23:53:33 -05:00
Ginger Geek
e02c239421 Allow specifying location of spigot.yml
As requested here: http://www.spigotmc.org/threads/specify-location-of-spigot-yml.67747/
2015-05-27 23:53:24 -05:00
md_5
2c46441a7b Update to Minecraft 1.8.6 2015-05-25 15:24:33 -05:00
Thinkofdeath
e6c909c623 Update to 1.8.5 2015-05-23 12:03:12 -05:00
Thinkofdeath
033b54d5de Update to 1.8.4 2015-05-18 16:56:05 -05:00
Evan Haskell
7b3e9e5197 Fix tile tick capping variable becoming out of sync 2015-05-10 19:17:28 -05:00
md_5
5ce6c2914b Fix exiting due to count condition eating packets. 2015-04-21 17:27:48 -05:00
Thinkofdeath
cbef2f32fe Fix a deadlock that could happen in offline mode when shutting down the server 2015-04-21 17:27:42 -05:00
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