Commit Graph

96 Commits

Author SHA1 Message Date
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
4f977d394c Minor description update to documentation 2021-12-17 11:25:05 -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
08aeb5d5aa Updated GitHub workflow to use Java 17 2021-12-16 15:25:38 -07:00
Intelli
c1a4323ce4 Added base Ukrainian language file (#119) 2021-12-16 15:10:34 -07:00
Intelli
a5d063dced CoreProtect v20.2 release 2021-12-16 14:01:43 -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
dependabot[bot]
ba0ad6c15c
Bump mkdocs from 1.2.1 to 1.2.3 (#108)
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.2.1 to 1.2.3.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.2.1...1.2.3)

---
updated-dependencies:
- dependency-name: mkdocs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 15:27:12 -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
Ghost_chu
39cd888440
Fixed sign message phrase in zh-cn.yml (#63)
It shouldn't translate to `Signature Message`, this commit fixed it to `Sign Message`
2021-08-03 13:07:25 -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
2fd366389b Changed base dependency to Paper 2021-08-01 16:36:17 -06:00
Intelli
5e3a19f208 Added base Vietnamese language file 2021-07-27 18:45:52 -06:00
Intelli
37d49a0900 Added stale.yml configuration file 2021-07-27 15:10:14 -06:00
Intelli
adef057590 CoreProtect v20.1 release 2021-07-27 14:16:20 -06:00
Intelli
ac1726a1a5 Added base Polish language file 2021-07-27 13:20:29 -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
蘭蘭露 Flandre_tw
a7eb6a48c9
Fix Traditional Chinese translation (#54)
* Fix Traditional Chinese translation 

Fixed some wrong usages and punctuations.

* Update zh-tw.yml

* Apply suggestions from code review

Co-authored-by: KID <jyhsu2000@yahoo.com.tw>

* Reverted colon punctuation marks to english characters

* Fixed spacing in zh-tw.yml

Co-authored-by: Intelli <6790859+Intelli@users.noreply.github.com>
Co-authored-by: KID <jyhsu2000@yahoo.com.tw>
2021-07-26 14:32:02 -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
div2005
5d6388fff7
Improved Russian translation (#55)
* Update ru.yml

* Fixed ru.yml regressions

Co-authored-by: Intelli <6790859+Intelli@users.noreply.github.com>
2021-07-25 17:17:57 -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
bd98bdfe05 Added Gradle build folder to .gitignore 2021-07-21 14:31:22 -06:00
Intelli
38f1e304e0 Fixed entities not being excluded when using the "exclude" parameter 2021-07-20 15:00:10 -06:00
Intelli
e68daef7db
Added FUNDING file 2021-07-20 13:17:56 -06:00