Commit Graph

276 Commits

Author SHA1 Message Date
Intelli
66b77ee75a Improved safety block handling during rollback teleports (#328) 2023-10-12 11:28:53 -06:00
Intelli
488392cdbc Added missing new method to WorldEditBlockState 2023-10-12 10:50:16 -06:00
Intelli
e49913bc09 Fixed item names containing vertical bars displaying incorrectly (fixes #450) 2023-09-25 14:27:02 -06:00
Intelli
d944c2bd89 Fixed SQLFeatureNotSupportedException when logging entity data (fixes #455) 2023-09-25 14:04:50 -06:00
Intelli
f76b0d45bd Clear entityBlockMapper cache after 5 seconds 2023-09-22 15:51:38 -06:00
Intelli
9f3196dc97 Fixed rollbacks not checking world when teleporting players. (Fixes #453) 2023-09-18 15:46:33 -06:00
Intelli
34421b64f7 Check that using CampfireStartEvent before comparing campfire types 2023-08-23 17:08:20 -06:00
Intelli
0edf160f43 Added hidden "enable-ssl" database option (default: false) 2023-08-23 16:31:40 -06:00
Intelli
45d4642086 Fixed tree growth still being logged when disabled via config 2023-08-23 16:21:37 -06:00
Take-John
af35a98b1d
Fix CoreProtect API hasPlaced() and hasRemoved() (#434) (#435) 2023-08-22 17:54:42 -06:00
Take-John
950cf9460b
Add clause "implements Cancellable" (#431) 2023-08-22 17:52:41 -06:00
Intelli
1b6d2ec667 Fixed dropper transactions not being logged when using Paper 2023-08-08 16:57:51 -06:00
Intelli
d7910262be Added support for displaying lore in item tooltips (#420) 2023-08-08 15:46:45 -06:00
Intelli
8459181f77 Fixed IndexOutOfBoundsException when modifying signs on Paper 1.17-1.19 2023-08-01 17:49:55 -06:00
Jeff P
7fd50a0507
Add method override for FAWE logging (#417) 2023-07-24 13:48:42 -06:00
Intelli
9e1d5af97d Fixed NullPointerException while logging container transactions 2023-07-19 17:12:00 -06:00
ianiiaannn
4cce566e37
Update Traditional Chinese translation (#392)
* Update Phrase to make strings correctly split by fullwidth colons (U+FF1A)

* Fix Traditional Chinese translation

* Replace U+FF1A with `: `
2023-07-19 14:35:25 -06:00
Intelli
703c36f356 Added automatic forward compatibility for extended logging of new wood types 2023-07-17 18:41:05 -06:00
Intelli
1dd293c5a4 Renamed "mysql-maximum-pool-size" to "maximum-pool-size" 2023-07-17 17:33:57 -06:00
Radiant
1331b8d0c5
Added hidden "unknown-user" logging option (default: false) (#397)
* Allow unknown user logging (attempt to patch a bug of tnt splashing blocks and it not being logged)

* Changed "unknown-logging" to be hidden (default: false)

* Update BlockFormListener.java

---------

Co-authored-by: Radiant <i.like.using.discord@gmail.com>
Co-authored-by: Intelli <6790859+Intelli@users.noreply.github.com>
2023-07-17 17:25:35 -06:00
violetc
2476aa2ea8
Utilize internal cache in StructureGrowthProcess (#371)
* Use whoPlacedCache

* Still perform database lookup if cache is empty

---------

Co-authored-by: Intelli <6790859+Intelli@users.noreply.github.com>
2023-07-17 16:55:16 -06:00
Keno Medenbach
6045799fea
Make MySQL maximumPoolSize configurable (#411)
* Make MySQL maximumPoolSize configurable

* Correctly assign default value to mysql-maximum-pool-size

---------

Co-authored-by: Intelli <6790859+Intelli@users.noreply.github.com>
2023-07-17 16:47:52 -06:00
Intelli
342fadd0f6 Fixed invalid config values defaulting to zero rather than default value 2023-07-17 16:42:12 -06:00
Intelli
e501046073 Fixed sign edits being logged even if no changes were made 2023-07-14 15:27:30 -06:00
Intelli
c6a0f20fff Improved logic for logging brushing of suspicious blocks 2023-07-14 14:59:18 -06:00
Intelli
05aebe7544 Added logging for brushing suspicious blocks (implement #409) 2023-07-14 14:29:36 -06:00
Intelli
36ad62007f Added missing break keywords in BukkitAdapter 2023-07-13 19:44:04 -06:00
Intelli
bdde2d36be Fixed signs using SpigotAdapter instead of BukkitAdapter 2023-07-13 19:41:51 -06:00
Intelli
f32a3e7c5e Fixed Folia teleportation not using adapter 2023-07-13 19:27:53 -06:00
Intelli
c7cf035564 Check that CampfireStartEvent exists before registering 2023-07-13 19:27:03 -06:00
Intelli
d4997cca60 Added extended support for new cherry/bamboo blocks 2023-07-13 19:10:48 -06:00
Intelli
355eea1cf9 @kugge: Fixed Folia teleportation in unloaded chunks (#368) 2023-07-13 18:35:49 -06:00
Intelli
d7b76135c8 Reduced MySQL connection lifetime from 5m to 1m (fix #362) 2023-07-13 18:07:15 -06:00
Intelli
1a06e6a6bf Made PreLogEvent cancellable (implements #325) 2023-07-13 17:55:00 -06:00
Intelli
e7a6f21d88 Added inventory transaction logging for placing items on a campfire (#357) 2023-07-13 17:28:14 -06:00
Intelli
5973206bb3 Added interaction logging for chiseled bookshelves 2023-07-13 15:51:04 -06:00
Intelli
1e007c98a4 Cleanup 2023-07-13 14:43:09 -06:00
Intelli
df9b478be7 Split up MySQL upgrade query to resolve issues from interrupted queries 2023-07-13 13:56:27 -06:00
Intelli
054beb700b Fixed ConcurrentModificationException in ProjectileLaunchEvent 2023-07-13 13:49:13 -06:00
Intelli
47a000a57f Added support for hanging signs 2023-07-13 13:06:47 -06:00
Intelli
cde18dc529 Update formatting 2023-07-12 16:33:50 -06:00
asdanjer
d200616fe1
Improved performance of ItemStack merging (fix #385) 2023-07-12 16:29:22 -06:00
Intelli
e0d65453b6 Added logging for destruction of suspicious sand/gravel 2023-07-12 16:26:38 -06:00
Intelli
d414db1c0b Added item mapping for torchflower seeds 2023-07-12 15:58:47 -06:00
Intelli
4e43a42662 Added logging and rollback support for double sided signs 2023-07-12 15:17:14 -06:00
Intelli
7e97e12969 Added inventory transaction logging for chiseled bookshelves 2023-07-08 14:55:24 -06:00
Intelli
d7d53bf9e2 Fixed NullPointerException while performing rollbacks 2023-07-08 13:57:36 -06:00
Intelli
b9309482cf Fix config typo 2023-07-08 13:52:00 -06:00
Intelli
410eba5559 Fixed Folia detection 2023-06-19 18:59:58 -06:00
ByteExceptionM
814ae4d9d5
Fixed NullPointerException when breaking/placing a spawner (#380)
* fix: Make Util#getEntityId parameter nullable

* Removed JetBrains Nullable

* Updated to follow contribution guidelines

---------

Co-authored-by: Intelli <6790859+Intelli@users.noreply.github.com>
2023-06-13 17:14:09 -06:00
Intelli
5d90f25211 Fixed logging and lookup issues after performing "/co reload" (fix #366) 2023-05-05 16:47:56 -06:00
Intelli
7825f61e45 Fixed NullPointerException when processing transactions for dyed armor 2023-04-09 13:19:02 -06:00
Intelli
7e49c95832 Fixed InventoryClickEvent exception when using Magma 2023-04-08 17:38:31 -06:00
Intelli
4b9e69c40f Fixed tree/mushroom growth not respecting config file when using bonemeal (...)
Fixed mushroom growth logging invalid data when using bonemeal
2023-04-06 13:55:57 -06:00
Sofiane H. Djerbi
f2934fd876
Fix Folia Teleportation (#349) 2023-04-03 18:15:16 -06:00
Intelli
f706bcf38e Added repeating task support to Scheduler 2023-03-31 16:43:27 -06:00
Intelli
fe6023450c Added missing methods to WorldEditBlockState 2023-03-29 19:11:48 -06:00
Intelli
ace870b930 Fixed item frame & armor stand logging under Folia 2023-03-24 18:10:11 -06:00
Intelli
7170e29452 Added support for Folia 2023-03-23 19:45:44 -06:00
Intelli
29345e2fb1 Use HumanEntity instead of Player when logging item crafting (fix #336) 2023-03-13 13:32:22 -06:00
Intelli
acb71a83a2 Fixed performLookup in API not returning valid block data (#308) 2023-01-03 12:17:09 -07:00
Intelli
5d6fd60d40 Added tooltips to lookups that display item names and enchantments (#67) 2022-12-21 19:11:34 -07:00
Intelli
20710a00de Added legacy component serialization support for signs in Paper 1.17+ 2022-12-20 14:37:22 -07:00
Intelli
5eabee6504 Added logging for dragon egg teleportation (#303) 2022-12-19 16:05:02 -07:00
Intelli
97eb0d777b Fixed incorrect amounts when dispensing items in Paper 1.19.3+ 2022-12-19 14:57:46 -07:00
Intelli
61847f2f8d Changed minimum required version to Spigot 1.15 2022-12-15 16:45:24 -07:00
Intelli
12f2000085 Fixed sign lookups displaying incorrectly when containing hex colors 2022-12-15 16:06:41 -07:00
Intelli
66e32c02bf Added player interaction logging for jukeboxes 2022-12-15 15:36:19 -07:00
Intelli
9da1343f7f Add logging and rollback support for jukebox transactions 2022-12-15 15:25:53 -07:00
Intelli
272ecae858 Fixed networking API connections being reset when reloading config
Credit: https://github.com/PlayPro/CoreProtect/pull/211/files#diff-1342ad937bb4d40012db93a64c02a41e92f2d6f35b069435f464af03aca69b00 (@vacla)
2022-12-10 14:12:33 -07:00
Intelli
2f28183261 Fixed NoSuchMethodErrorr when stopping server using Paper 1.14 2022-12-08 17:55:30 -07:00
Intelli
d82f92e06b Fixed tab completion not fully respecting player permissions (#226) 2022-12-08 17:35:03 -07:00
Intelli
ce5c1c50bf Added logging for player inventory transactions with allays 2022-12-08 16:24:53 -07:00
Intelli
026b9ce322 Fixed IllegalStateException when modifying containers using FAWE 2022-12-08 13:56:14 -07:00
Intelli
3cedc69205 Added extended support for mangrove blocks 2022-12-07 19:52:54 -07:00
Intelli
f4fe410141 Added logging and rollback support for tadpole age data 2022-12-07 19:14:44 -07:00
Intelli
e3b82858b4 Updated config description regarding donation keys 2022-12-07 18:56:18 -07:00
Intelli
990f90bab9 Rename #sculk to #sculk_catalyst 2022-12-07 18:38:40 -07:00
Ryan Huston
3b349c9d07
Add support for 1.19 specific features. (#239)
* Added support for 1.19 specific features.

* Removed leftover import from testing

* Added missing sculk materials for the catalyst and changed user field to #sculk

* Reverted version to v21.2

Co-authored-by: Intelli <6790859+Intelli@users.noreply.github.com>
2022-12-07 18:26:45 -07:00
Intelli
319d104622 Fixed NullPointerException when killing NPC (#261) 2022-12-07 17:49:50 -07:00
Intelli
9f8c2e8a2f Set Hikari maxLifetime to 5m, keepaliveTime to 1m (fixes #199) 2022-09-26 15:22:07 -06:00
dkim19375
b450f4d05a
Make version comparisons by long - Support WorldEdit 7.2.11 Beta 1 (#240) (Fixes #245) 2022-06-27 20:15:23 -06:00
Intelli
606c043bf0 Fixed NullPointerException when processing hopper transactions 2022-04-19 20:07:56 -06:00
Intelli
204456d6c5 Fixed queueLookup API method returning data in wrong order 2022-03-25 16:50:05 -06:00
Intelli
d34b60dc8f Improved database index handling 2022-03-24 19:16:57 -06:00
Intelli
070c5139e1 Fixed IllegalArgumentException when processing corrupt data 2022-03-24 17:11:58 -06:00
Intelli
acdfb3515b Fixed NullPointerException on disable if plugin failed to load 2022-03-23 18:56:53 -06:00
vacla
8cdf99429d
Added Networking API (#180)
* sent data to client

* send more data + debug + add docs + switch to handshake

* add diff between container and normal changes

* fix docs

* changes according guidelines

* make requested changes + cleanup

* correct documentation

* Improved Networking API documentation

* Moved networking API channel registration out of main class

* Cleanup

* Removed debug on chat/command lookups

* Optimized array merging

* Fixed ClassCastException when running console commands

* Skip preparing networking data if not a channel player

* Renamed "networking-debug" to "network-debug"

* Fixed failed handshake still registering players

* Adjusted networking phrases

* Renamed pluginchannel to channel

Co-authored-by: Intelli <contact@intelli.software>
2022-03-23 18:49:46 -06:00
Intelli
703d52bcc7 Changed inventory lookups to always require a username 2022-03-21 16:42:30 -06:00
Intelli
01ed2e9f97 Fixed NullPointerException when logging player projectile data 2022-03-21 15:12:58 -06:00
Intelli
5861570f8a Added post-rollback sorting for player inventories 2022-03-20 17:34:24 -06:00
Intelli
840eb3b4ee Added hidden "disable-wal" database option (default: false) 2022-03-20 16:37:20 -06:00
Intelli
92e030f3e8 Fixed WAL checkpointing not running on some systems 2022-03-20 16:29:51 -06:00
Intelli
d97f5482ee Fixed rollbacks/restores not correctly updating all blocks (#175) 2022-03-20 16:03:54 -06:00
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
64106e2d64 Fixed "user not found" error when performing inventory lookups/rollbacks 2022-03-09 15:32:18 -07:00
Intelli
975a030ebe Fixed NullPointerException when trading with wandering traders 2022-03-08 13:59:19 -07:00
Intelli
829f4e95d5 Fixed exploited end crystals logging phantom fire data (#164) 2022-03-08 11:59:39 -07:00
Intelli
dad51fc900 Removed deprecated item durability and art ID method usage 2022-03-08 08:42:06 -07:00