Commit graph

1666 commits

Author SHA1 Message Date
Zach Brown
325aa52500 Update README.md, thanks YourKit 2016-01-26 12:53:16 -06:00
Zach Brown
b594537ffe Basic OS X compatibility: It works 2015-12-29 23:55:44 -06:00
Zach Brown
af07aa4f07 Merge pull request #2 from DemonWav/master
Add Paperclip support
It's glorious https://www.youtube.com/watch?v=lq50bfQCY-8
2016-01-26 01:46:44 -06:00
DemonWav
ea61fac2ed Add Paperclip support 2016-01-26 00:36:28 -06:00
Zach Brown
92d56450d4 Add upstreamMerge.sh and update CB submodule 2016-01-26 00:04:43 -06:00
Byteflux
4431926268 Add submodules and build scripts
These will be made default in 1.9, dropping PaperTools support
2015-12-29 20:40:32 -08:00
Zach Brown
d3c1706337 Java 8 javadoc lint bypass. Until we can fix this properly (massive patch for old bukkit ???!?!?!?!) this will have to do 2016-01-21 17:39:56 -06:00
Literallie
1e06b71828 Fix JavaDoc errors introduced in Timings v1 2016-01-21 17:30:05 -06:00
Zach Brown
766c3f3884 Simplify README.md for normal end-users 2016-01-21 00:12:33 -06:00
Techcable
c2bc09af95 Add Contributing.md for developers and advanced users 2016-01-21 00:12:19 -06:00
Zach Brown
dddda71685 Re-introduce an option to limit the height of a flying tnt entity 2016-01-16 21:04:07 -06:00
Zach Brown
f04375e45c Force commands to be dispatched synchronously
[22:29:12] <Aikar> just add that
[22:29:17] <Aikar> that forces it fixed
[22:29:31] <Aikar> and then when his users spam him hell fix it :P
2016-01-12 23:00:58 -06:00
Zach Brown
b57d9f9638 Add an option to disable chest's detection of Ocelots/Cats 2016-01-10 20:47:21 -06:00
Zach Brown
a4ab2f017d Migrate timings classes to new package 2016-01-10 01:33:27 -06:00
Zach Brown
1669598daa Just a bit more information for those skript classes 2016-01-10 00:40:46 -06:00
Zach Brown
106782bc63 Skript event executor classes do not have an enclosing method 2016-01-09 18:43:35 -06:00
Zach Brown
097ffc44c1 Migrate PaperSpigot to Timings version 2 2016-01-09 00:32:38 -06:00
Zach Brown
6e5b779d20 Require Java 8 - Tell your shitty hosts to update 2016-01-09 00:13:58 -06:00
Zach Brown
f914639205 Revert "Add sexier applyPatches and rebuildPatches scripts"
THE TIME JUST WASN'T RIGHT
This reverts commit 8dfa4f8e54.
2016-01-04 04:48:00 -06:00
Byteflux
8dfa4f8e54 Add sexier applyPatches and rebuildPatches scripts 2016-01-04 00:39:30 -06:00
chickeneer
7f92ef8437 Resolve bed issues on unloaded chunks 2016-01-04 00:24:36 -06:00
Aikar
0875e3ee25 Entity teleport fix 2016-01-04 00:23:17 -06:00
Zach Brown
ec8a492d29 Make the duplicate entity UUID warning toggleable 2015-12-28 20:15:28 -06:00
Steve Anton
f532fca425 Add PlayerInitialSpawnEvent 2015-12-22 22:06:19 -06:00
Jedediah Smith
1bd859fad5 Fix player leak from entity tracker and item frames
3005a20c5c
2015-12-22 21:55:00 -06:00
Aikar
10316338d8 EAR: Fix bug with teleporting entities 2015-12-22 18:22:36 -06:00
Zach Brown
bf35c9ab26 [17:15:29] * Z750 kicks jetbrains right in the scrotum 2015-12-06 17:16:51 -06:00
Zach Brown
8c0b8acfb6 Restore a constructor that was removed in EntityFallingBlock 2015-12-06 17:14:41 -06:00
ItsHarry
cc7182a269 Also apply the "vanished players don't have rights" patch to Fishing Hook entities. 2015-11-26 19:51:01 -06:00
Aikar
c0fa6b8d12 Don't create a chunk just to unload it 2015-11-15 19:46:34 -06:00
Aikar
68c983d7cd Don't create region files when checking if a chunk exists 2015-11-15 19:44:28 -06:00
Aikar
929a5b40ed Bump thread count for chunk loading 2015-11-15 19:41:12 -06:00
Aikar
314c8f06cc Don't damage ArmorStands that are already dead 2015-11-15 19:40:32 -06:00
Zach Brown
24d21453cf SPIGOT-596: Fix EntityDismountEvent 2015-10-25 17:12:43 -05:00
Zach Brown
7b80afb6ef Remove TE/E Removal Optimizations
Causes pistons to eat blocks in certain circumstances, double piston extenders most notably
2015-10-24 02:20:30 -05:00
Aikar
ee9886c278 Update tick limiter removal and TE/E removal optimizations 2015-10-24 02:12:33 -05:00
Aikar
eac397cbab Implement EMC's optimized entity and tileentity removal 2015-10-16 22:23:05 -05:00
Zach Brown
0ab0bcc85d Don't point users at spigotmc when watchdog kills the server 2015-10-16 21:50:04 -05:00
Zach Brown
264f2c2d09 Disable spigot tick limiters 2015-10-16 21:43:03 -05:00
Zach Brown
9f7447824d Rebuild patch for upstream changes 2015-10-07 21:32:01 -05:00
md_5
af5daaeeeb Fix incorrect logic in entity tick limiter to match tile entity tick limiter.
Simply a fix to the small performance shortpath.
2015-10-07 17:23:59 +11:00
Aikar
2d37e27b37 Remove an unused list of TileEntities slowing down removal 2015-10-06 23:27:01 -05:00
Zach Brown
43fee1c16e Rebuild patches for upstream changes 2015-10-02 22:58:02 -05:00
md_5
f70bbd9ade SPIGOT-1208: Don't skip ticks for explosive creepers. 2015-10-03 11:51:46 +10:00
Zach Brown
dcef1d444b Remove our own (outdated) TE handling, for one that's closer to vanilla 2015-09-19 09:34:17 -05:00
Zach Brown
2190d87f45 Rebuild patches 2015-09-18 20:44:37 -05:00
vemacs
b12044f2b7 Re-add entity/tile entity tick limiters 2015-09-12 23:29:23 -05:00
Zach Brown
603159dedf Remove several broken or unnecessary patches.
Removes PlayerMicroMoveEvent API, the ability to disable the AsyncCatcher, and the TeleportPassengerVehicleWithPlayer patch
2015-09-12 19:57:39 -05:00
Aikar
7e89c54e7c Don't sleep between chunk saves
For some unknown reason, Minecraft is sleeping 10ms between every single chunk being saved to disk.
Under high chunk load/unload activity (lots of movement / teleporting), this causes the chunk unload queue
to build up in size.

This has multiple impacts:
1) Performance of the unload queue itself - The save thread is pretty ineffecient for how it accesses it
   By letting the queue get larger, checking and popping work off the queue can get less performant.
2) Performance of chunk loading - As with #1, chunk loads also have to check this queue when loading
   chunk data so that it doesn't load stale data if new data is pending write to disk.
3) Memory Usage - The entire chunk has been serialized to NBT, and now sits in this queue. This leads to
   elevated memory usage, and then the objects used in the serialization sit around longer than needed,
   resulting in promotion to Old Generation instead of dying young.

If there is work to do, then the thread should be doing its work, and only sleep when it is done.
2015-09-09 21:16:42 -04:00
Aikar
bbc7b0999f Optimize Chunk Saving Memory Allocation and Compression
Minecraft ineffeciently uses OutputStreams by calling .write(int) on the stream.
For Chunks, this is a DeflaterOutputStream, which allocates a single byte EVERY write.

This is causing the server to allocate tons of new byte[1] objects.
Additionally, this is very ineffecient for the Deflate process.

By Buffering Writes the same way it already is Buffering Reads, we will
write to the stream much more effeciently.

Also a more effecient RegionFile zero'ing for new chunks to speed up
new chunk generation.
2015-09-09 20:48:46 -04:00