Zach Brown
68cdc4fa90
Remove non-zero BlockIterator block and Loading chunks earlier in player TP patches
...
Allowing only non-zero BlockIterators breaks an API contract explicitly allowing them
(*eyeroll*)
And loading chunks earlier in the TP patch did not resolve the original issue, and now
that it is resolved, shouldn't actually provide any tangible benefits
2016-04-18 09:41:11 -05:00
Spottedleaf
6876b1d7a6
Also fix javadocs in the Server interface
2016-04-17 13:35:49 -05:00
Spottedleaf
dc9ab4dafc
Fix silly Javadocs in Bukkit.broadcast
2016-04-16 09:23:37 -07:00
Zach
2924ae631e
Merge pull request #205 from kashike/feature/handshake
...
Add handshake event
2016-04-13 23:10:34 -05:00
kashike
66d3688b39
Add handshake event to allow plugins to handle client handshaking logic themselves
2016-04-13 21:12:57 -07:00
Zach Brown
d07eac31bc
Update bungeecord chat API graduations
2016-04-13 22:21:42 -05:00
Zach Brown
a406f34921
Only allow non-zero value maxDistances for BlockIterators
...
Prevents them from iterating infinitely and hanging the server
2016-04-12 23:10:04 -05:00
Zach Brown
ef3f6a481a
Update upstreams
2016-04-11 10:30:12 -05:00
Zach Brown
6dae26cf14
Use 'Paper' for our config file in timings
2016-04-05 23:27:53 -05:00
Aikar
98ea811d9b
Update Timings to use Region based chunk reporting
...
This will drastically reduce file size on large servers and help
avoid the parser failing to load the report.
This will also reduce memory usage of timings data.
2016-04-05 01:20:25 -04:00
kashike
871920f2f5
Add PlayerUseUnknownEntityEvent
2016-04-02 18:10:41 -07:00
Aikar
c92ce02363
Move fastutil from a patch file to a library, and improve EAR
2016-04-01 00:18:18 -04:00
Aikar
38df6e505c
Paper 1.9.2 Update
2016-03-30 20:50:23 -04:00
Aikar
f051ea2ab3
Use FastUtil Long/Int HashMap's
...
For DataWatcher, swap out plain Integer key HashMap for a Int2ObjectOpenHashMap
For ChunkProviderServer, swap out CB's custom LongHashMap with Long2ObjectOpenHashMap
These collections are super fast as seen
http://java-performance.info/hashmap-overview-jdk-fastutil-goldman-sachs-hppc-koloboke-trove-january-2015/
2016-03-30 09:43:11 -05:00
DemonWav
4bf9c3c177
Add getEntity by UUID API
2016-03-30 01:20:36 -05:00
Aikar
31a482e9f0
Move Timings v2 TimingHandler to FastUtil Int map
2016-03-30 01:59:47 -04:00
Aikar
c2f872aed3
Add Minimal FastUtil int/long collections.
...
Importing the full library would double the jar size... its way too large.
So lets just import the basic int/long based collections to then use
to improve performance on these kind of collections.
2016-03-30 01:57:56 -04:00
Aikar
48dff29f31
Remove, not invalidate, Metadata on reload
...
Objects loaded over different class loaders are not the same. Nasty dragons lie here.
Also clean up the previous patch to no longer butcher imports.
2016-03-28 22:43:05 -04:00
Aikar
3d61632b53
Remove last patch, doesn't exactly do what I thought it was doing
2016-03-28 22:28:52 -04:00
Aikar
e77e65499f
Remove Invalidated Metadata
...
Bukkit was using an unimplemented method to invalidate plugin meta.
2016-03-28 22:15:23 -04:00
crast
6a54004bb4
Reduce thread synchronization in MetadataStoreBase
...
Use ConcurrentHashMap to allow thread-safe access methods and very
limited synchronized portions to allow much higher concurrency in
MetadataStore as well as far less locking, especially on reads
2016-03-28 22:10:01 -04:00
Aikar
e90cdc3639
Remove some code from Timings v2 that was only for EMC.
2016-03-28 21:41:17 -04:00
Aikar
b99e8381ab
EntityPathfindEvent
...
Fires when an Entity decides to start moving to a location.
This is not the same as a move event. This only fires when an entity chooses
to start moving to a location, and allows cancelling that pathfind.
Additionally, only get is supported for now. Unsure if changing target location
is safe to do.
2016-03-28 21:24:45 -04:00
Aikar
22b248d631
Entity AddTo/RemoveFrom World Events
...
These events will give plugins a reliable way to track every entity that is added
or removed from a world, so that one may always ensure they are in a desired state.
2016-03-28 20:33:10 -04:00
Zach Brown
b210aa7dfe
Update upstream B/CB/Spigot and rebuild
2016-03-27 20:48:50 -05:00
Zach
5108183346
Merge pull request #153 from kashike/feature/slot
...
Access items by EquipmentSlot
2016-03-27 02:24:12 -05:00
Zach Brown
85ee80938b
Update upstream and rebuild
2016-03-27 01:40:17 -05:00
kashike
eeb64630cd
Access items by EquipmentSlot
2016-03-26 22:23:42 -07:00
Byteflux
ced183982a
Add Entity Origin API
...
This replaces the TNT and Falling Block Source Location API with a more
general purpose API that works with all entities.
2016-03-25 02:24:27 -07:00
Byteflux
1d88720b2c
Relocate Timings v2 patch
2016-03-24 22:04:44 -07:00
Aikar
e091466f34
Allow command line arg to allow normal reload
2016-03-21 21:56:52 -04:00
Aikar
646b62a220
Make /reload require typing confirm to actually reload
2016-03-21 21:40:29 -04:00
willies952002
62580304f4
Add Bukkit#reloadPermissions()
...
Fix issues with Paper build #544
2016-03-21 21:29:41 -04:00
Aikar
def021fb9b
fix rebuild patches and rebuild current patches
2016-03-21 20:46:54 -04:00
Daniel Ennis
8616dc012c
Merge pull request #91 from willies952002/feature/permReload
...
Allow Reloading of Custom Permissions - resolves #49
2016-03-21 20:24:27 -04:00
William
869ab5202e
Allow Reloading of Custom Permissions
...
Add the ability to reload the custom permissions file by doing "/reload permissions"
Implements Feature Request: https://github.com/PaperMC/Paper/issues/49
2016-03-21 19:28:52 -04:00
kashike
3b15da52db
Custom replacement for eaten items
2016-03-19 17:31:06 -05:00
Aikar
82db846be6
set default goals on all pom poms </cheer>
2016-03-18 02:13:51 -04:00
Aikar
1bd454082e
Add sender name to commands.yml replacement
...
This allows you to use $sender in commands.yml definitions to make
commands that auto target self.
2016-03-18 00:29:35 -04:00
Aikar
b4d1aa418a
Add event call helper
...
This simplifies new event calling by reducing the diff to actually fire the event and check for cancelled state.
2016-03-18 00:29:11 -04:00
Zach Brown
80b1308735
Update and rebuild patches
2016-03-12 13:52:49 -06:00
Techcable
752452373d
Handle static methods
2016-03-12 09:43:39 -07:00
Zach Brown
244196f8cb
Rebuild some patches
2016-03-12 00:40:16 -06:00
Techcable
386693ee50
Use ASM for event execution
...
Reflection (although highly optimized), has noticable overhead.
It also creates noticable GC overhead by allocating arrays with arguments, as @Aikar has said.
Based on WaterfallMC/Waterfall@1692934370
Merge pull request #45 from Techcable/feature/asm-executors
2016-03-12 00:26:02 -06:00
Techcable
b4bf59de2e
Improve Paper's version checking system
...
Will now check commit hashes from this repo as a fallback when it is unable to find a build from our CI server. Because not everyone uses it directly
2016-03-11 22:30:43 -06:00
Zach Brown
e208ee6102
Update patch numbers for PR merges
2016-03-09 19:48:14 -06:00
Zach Brown
b4e8b79728
Merge pull request #73 from kashike/feature/you-are-very-resourceful-you-know-yes-you-are-very-resourceful-yes
2016-03-09 19:45:55 -06:00
kashike
9216a46316
Add more complete resource pack API
2016-03-08 22:24:16 -08:00
kashike
a8ecaee65f
Add methods for working with arrows stuck in living entities
2016-03-08 21:11:46 -08:00
kashike
9a9033c6c1
Add BaseComponent sendMessage methods to CommandSender
2016-03-08 13:16:54 -08:00