Commit Graph

125 Commits

Author SHA1 Message Date
Intelli
bc39bc03d6 Fixed NullPointerException when logging player death item drops (fixes #71) 2021-08-22 14:25:26 -06:00
bermudalocket
da718de252
Make user mutable via CoreProtectPreLogEvent (#66)
* Make user mutable via CoreProtectPreLogEvent

* Cleanup & added missing toLowerCase in getId

* Docs: add Event category; add CoreProtectPreLogEvent

* Merged event documentation into API documentation

* Removed event.getUser() equality check

* Added IllegalArgumentException check within PreLogEvent

* Reverted docs/index.md

Co-authored-by: Intelli <contact@intelli.software>
2021-08-06 18:40:21 -06:00
Intelli
697ad1b3ce Minor cleanup in adapters 2021-08-01 16:53:14 -06:00
Intelli
922e4478dc Improved hopper logging performance when using Paper
Disables snapshot creation when getting inventory holders
2021-08-01 16:42:07 -06:00
Intelli
aeba1918f3 Changed name of "coreprotect.lookup.item" permission to "coreprotect.lookup.inventory" 2021-07-26 18:49:39 -06:00
Intelli
490b5eb0ee Removed unnecessary array length check 2021-07-26 18:09:17 -06:00
Intelli
40b52fa321 Changed all timestamp values utilized by the API to long types 2021-07-26 18:00:21 -06:00
Intelli
3c82dc337a Simplified regex when parsing server version 2021-07-26 17:56:30 -06:00
Intelli
f6f9c27f08 Added private constructors to utility classes 2021-07-26 17:34:45 -06:00
Intelli
40ff1e7778 Additional cleanup in ChestTool 2021-07-25 21:15:53 -06:00
Intelli
e178ed91ca Fixed double chests not rolling back correctly when each half is in a separate chunk 2021-07-25 21:08:53 -06:00
Intelli
d2614ed6dc Fixed risk of NullPointerException when logging container transactions 2021-07-25 16:53:58 -06:00
Intelli
130614bfdd Minor refactoring in PlayerInteractListener and BlockExplodeListener 2021-07-22 18:06:24 -06:00
Intelli
ae3768695f Skip extra checks on furnaces when processing hopper transactions
This more aggressively aborts transaction logging to improve performance
2021-07-22 14:11:45 -06:00
Intelli
2f1c45cae1 Moved inventory checkTasks to directly before onInventoryInteract
This improves performance (allows unused threads to return faster), and resolves issues with pass-through transactions
2021-07-22 13:31:08 -06:00
Intelli
6fce87386d Fixed hopper transactions not always detecting invalid events 2021-07-22 13:17:40 -06:00
Intelli
3f0291e0d5 Fixed AssertionError when logging hopper transactions 2021-07-21 22:49:44 -06:00
Intelli
718d7d7a80 Fixed NullPointerException when logging container transactions 2021-07-21 19:01:32 -06:00
Intelli
45e1fee9ff Fixed hopper transaction logging not always logging all items 2021-07-21 18:48:04 -06:00
Intelli
aa55472c1a Utilize item caching on invalid hopper events 2021-07-21 18:47:23 -06:00
Intelli
38f1e304e0 Fixed entities not being excluded when using the "exclude" parameter 2021-07-20 15:00:10 -06:00
Intelli
b5b6acaa9d Minor refactoring in Util class 2021-07-19 17:19:35 -06:00
Intelli
fae4c9e690 Fixed blocks broken by portal events not being logged (#45) 2021-07-19 16:29:43 -06:00
Intelli
03bac937c3 Minor refactoring in PortalCreateListener 2021-07-19 16:28:40 -06:00
Intelli
48ef18e2c8 CoreProtect v20.0 release 2021-07-16 12:13:54 -06:00