Commit Graph

131 Commits

Author SHA1 Message Date
Intelli
e462e68806 Fixed item frames and paintings not logging directional data 2022-02-16 19:16:56 -07:00
Intelli
7398f7dfe6 Added "/co consumer <pause|resume>" console command 2022-02-16 16:09:43 -07:00
Intelli
eb5b3b5bcc Added "inspector" as alias for inspect command 2022-02-16 15:01:20 -07:00
Intelli
abfecda8d0 Added queueLookup method to API 2022-02-15 21:29:33 -07:00
Intelli
c5d5308753 Minor cleanup in SessionLookup class 2022-02-15 20:20:46 -07:00
Intelli
25b03511c2 Added sessionLookup method to API 2022-02-15 19:59:25 -07:00
Intelli
d9eea32b19 Improved WorldEdit logging and added compatibility with FAWE 2022-02-15 16:47:50 -07:00
Intelli
a2353afd0a Added inventory rollback support for online players 2022-02-11 21:45:33 -07:00
Intelli
29d55e6ba9 Fixed blocks placing when using shift+click to inspect trapdoors (#134) 2022-02-10 21:08:11 -07:00
Intelli
21eefff53f Added hidden "log-cancelled-chat" option (default: true) (#154) 2022-02-10 20:49:10 -07:00
Intelli
b1c2795289 Fixed "coreprotect.inspect" permission not being checked at the time of inspection (fixes #133) 2022-02-10 20:36:38 -07:00
Intelli
fdb98bd329 Fixed missing safety checks when inspecting certain blocks 2022-02-10 20:33:12 -07:00
Intelli
dc359a1be3 Added "+container" and "-container" to tab-complete 2022-02-10 19:59:44 -07:00
Intelli
d5c2b908d3 Fixed a:+/-inventory displaying mixed results 2022-02-10 19:57:30 -07:00
Intelli
54da739c1d Inverted action tags for deposits/withdraws 2022-02-10 19:36:23 -07:00
Intelli
01e6351194 Fixed "drop/pickup/deposit/withdraw" actions being incorrectly mapped 2022-02-10 19:26:27 -07:00
Intelli
855a2e5ae2 Renamed "a:inventory" to "a:item" in lookups 2022-02-10 19:21:30 -07:00
Intelli
971de8c078 Changed a:inventory to only display player inventory transactions 2022-02-10 19:18:32 -07:00
Intelli
cd8ef0d273 Improved permission handling for "inventory" and "item" actions 2022-02-10 17:32:11 -07:00
Intelli
02afc6c530 Changed a:item to no longer include container transactions 2022-02-10 17:19:29 -07:00
Intelli
748490b8f0 Added "logins", "logouts", "blocks", and "signs" as new action aliases 2022-02-09 19:43:29 -07:00
Intelli
40561e41c0 Fixed player disconnections not being logged on server shutdown 2022-02-09 19:34:06 -07:00
Intelli
6a978128af Improved performance of rollback/restore previews 2022-02-09 18:14:46 -07:00
Intelli
635a2b0d95 Fixed IllegalArgumentException when performing a rollback preview containing an end crystal 2022-02-09 17:28:49 -07:00
Intelli
ea69bf0dc5 UI improvements & action colours 2022-02-08 20:17:40 -07:00
Intelli
19efdeff89 Added clickable page numbers to lookup pagination 2022-02-08 19:25:07 -07:00
Intelli
673529df54 Fixed coordinates in lookups not always being properly aligned 2022-02-07 18:03:53 -07:00
Intelli
3a0c86a614 Fixed some lookups being slow when specifying an action 2022-02-07 17:39:33 -07:00
Intelli
70f74ced0f Added tooltips for clickable commands in lookup results 2022-02-03 20:36:27 -07:00
Intelli
2c8e289c43 Added "/co page" alias command for page lookups 2022-02-03 20:18:17 -07:00
Intelli
b0d14f4d2b Fixed SQLiteException on lookups 2022-02-03 18:16:35 -07:00
Intelli
29d01a158a Added internal caching of table names & table counts 2022-02-02 21:19:06 -07:00
Intelli
67d9f2f832 Improved rollback speeds, now up to 2,000% faster 2022-01-31 21:49:44 -07:00
Intelli
591110cbb2 Improved lookup query performance 2022-01-31 20:03:07 -07:00
Intelli
286cf2afb9 Manually load SQLite JDBC driver 2022-01-19 15:11:11 -07:00
Intelli
19ed0162e5 Fixed MySQL purges not being gracefully interrupted on shutdown 2022-01-04 19:19:08 -07:00
Intelli
03bd19480e Fixed SQLite purges not successfully completing on some systems 2022-01-04 17:55:52 -07:00
Intelli
947c59882e Fixed MySQL connections not being released when performing a reload 2022-01-04 16:49:57 -07:00
Intelli
8ed4216c64 Fixed SQLException when MySQL driver isn't automatically detected (#117) 2022-01-04 16:32:30 -07:00
Intelli
64188f5a75 Fixed the top block of bamboo growth not being logged (#129) 2022-01-04 15:58:09 -07:00
Intelli
55fec1d092 Moved entity & teleport methods out of Util class 2022-01-04 15:20:01 -07:00
Intelli
c1eecefa6f Fixed radius selections not supporting negative heights 2021-12-21 15:31:08 -07:00
Intelli
3201a18b16 Fixed PoolInitializationException when initializing HikariCP 2021-12-17 17:00:06 -07:00
Intelli
085e410ab1 Fixed NoClassDefFoundError when using Paper 1.16 (#120) 2021-12-17 11:31:04 -07:00
Intelli
a4c21ec8f3 Added MC 1.18 to adapters 2021-12-17 11:24:29 -07:00
Intelli
d7ee5257dd Changed additional timestamp values to long types 2021-12-16 18:08:56 -07:00
Intelli
f0779d288c Incremented API version to 8 2021-12-16 14:01:23 -07:00
Intelli
550c3038b8 Added support for Paper AsyncChatEvent (fixes #75) 2021-11-30 19:11:19 -07:00
Intelli
d864bbe233 Replaced commons-lang with Guava 2021-11-22 15:39:57 -07:00
Jan Erik Petersen
fc99c24a0a
Add HikariCP connection pool for MySQL (#86)
* Add HikariCP connection pool for MySQL

* Make code more compatible with connection pooling

- Remove connection caching in Process/Consumer
- Use try-with-resources to make sure Connections always get closed, even in
  when an Exception occurs.

* Disable SSL for MySQL
2021-11-15 17:57:33 -07:00
Intelli
2d90f9cc08 Fixed moving pistons logged during explosions not rolling back correctly (#92) 2021-11-09 16:42:48 -07:00
Intelli
370558cec5 Fixed piston heads not being logged when the piston base is broken 2021-11-09 14:53:42 -07:00
Intelli
69184302c9 Fixed ClassCastException when logging chat and command messages 2021-11-04 13:59:48 -06:00
Intelli
a61df070e6 Fixed InventoryMoveItemEvent still processing if both hopper & item transactions are disabled 2021-10-16 16:05:39 -06:00
Intelli
3742e018c4 Minor readability improvements in EntityDamageByBlockListener 2021-10-04 16:09:08 -06:00
Intelli
554e17df02 Use isAlive for monitoring consumer thread 2021-10-04 15:55:54 -06:00
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