Commit graph

54 commits

Author SHA1 Message Date
Intelli
2763952dc6 Fixed deprecated display width warnings for MySQL databases 2022-03-11 18:16:16 -07:00
Intelli
3011aece46 Fixed inventory rollbacks not modifying player equipment slots (#170) 2022-03-11 17:20:52 -07:00
Intelli
dad51fc900 Removed deprecated item durability and art ID method usage 2022-03-08 08:42:06 -07:00
Intelli
02dcc873d6 Added hidden "exclude-tnt" rollback option to exclude TNT blocks (default: false) 2022-03-07 16:39:21 -07:00
Intelli
c69ea79329 Fixed rollbacks not skipping processing for identical blocks 2022-03-06 17:05:18 -07:00
Intelli
83fc221bf2 Added logging for items traded with villagers (MC 1.18+) 2022-03-03 15:22:37 -07:00
Intelli
6714ded600 Improved logging to skip unnecessary data from newly generated chunks 2022-03-01 17:41:46 -07:00
Intelli
0bbeee65e8 Added support for time ranges in the time parameter 2022-03-01 15:58:15 -07:00
Intelli
1aaff4e2b0 Enabled write-ahead logging for SQLite 2022-02-28 17:47:07 -07:00
Intelli
5530a89189 Improved index handling when targeting a specific location 2022-02-27 17:19:37 -07:00
Intelli
596a39c965 Fixed all firework metadata not being correctly logged 2022-02-25 19:34:23 -07:00
Intelli
9bdac6db4d Added entity counts to #preview confirmation page 2022-02-25 16:33:41 -07:00
Intelli
900cad643f Fixed inventory lookups not returning correct item for planted seeds 2022-02-24 20:52:30 -07:00
Intelli
ddb804ce99 Fixed farmland displaying in inventory rollbacks 2022-02-24 20:15:48 -07:00
Intelli
5494bce0fc Added logging and rollback support for players crafting items 2022-02-24 19:52:19 -07:00
Intelli
30c1921968 Fixed inventory rollbacks not restoring shulker boxes with items 2022-02-23 19:36:08 -07:00
Intelli
262f27da3e Changed doors and beds to no longer log data as two separate blocks 2022-02-23 18:56:00 -07:00
Intelli
f9083053b2 Fixed rolling back double blocks dropping an item in the world 2022-02-23 17:27:47 -07:00
Intelli
3b93046731 Fixed ClassCastException when rolling back banner inventory transactions 2022-02-22 21:41:11 -07:00
Intelli
4445c3c4a7 Fixed inventory rollbacks not always returning correct item for placed blocks 2022-02-22 21:15:45 -07:00
Intelli
c95bf3cc30 Fixed fire/water displaying in inventory lookups 2022-02-22 20:10:55 -07:00
Intelli
f80c6ab5cd Fixed IllegalArgumentException when performing rollbacks on armor stand contents 2022-02-22 19:40:39 -07:00
Intelli
b96f47cbac Added logging and inventory rollback support for thrown/shot items 2022-02-22 19:26:17 -07:00
Intelli
a238045287 Moved BlockLookupAPI to net.coreprotect.api.BlockAPI 2022-02-21 18:22:55 -07:00
Intelli
585d8b275a Fixed inventory lookups/rollbacks missing block placement actions 2022-02-18 20:29:45 -07:00
Intelli
527be90249 Fixed item frame transactions not logging BlockFace data 2022-02-18 17:31:35 -07:00
Intelli
c652ce852f Added interaction logging for players clicking item frames 2022-02-17 21:10:49 -07:00
Intelli
fb79071ee7 Added container transaction support for item frames (...)
Fixed ClassCastException when targeting an armor stand with #container
2022-02-17 20:56:20 -07:00
Intelli
e462e68806 Fixed item frames and paintings not logging directional data 2022-02-16 19:16:56 -07:00
Intelli
a2353afd0a Added inventory rollback support for online players 2022-02-11 21:45:33 -07:00
Intelli
d5c2b908d3 Fixed a:+/-inventory displaying mixed results 2022-02-10 19:57:30 -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
3a0c86a614 Fixed some lookups being slow when specifying an action 2022-02-07 17:39:33 -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
947c59882e Fixed MySQL connections not being released when performing a reload 2022-01-04 16:49:57 -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
d7ee5257dd Changed additional timestamp values to long types 2021-12-16 18:08:56 -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
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
40b52fa321 Changed all timestamp values utilized by the API to long types 2021-07-26 18:00:21 -06:00
Intelli
f6f9c27f08 Added private constructors to utility classes 2021-07-26 17:34:45 -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