Commit Graph

971 Commits

Author SHA1 Message Date
Joo200
f3cf4cd96e
catch ClassCastException in the ItemDatabase update method (#563) 2023-08-14 20:01:49 +01:00
Phoenix616
9bbd6028d0
Add log message that informs about the server being rate limited. 2023-08-13 19:48:18 +01:00
Phoenix616
2b36b7314f
Work around potential issues with Mojang API ratelimites on startup (#560) 2023-08-13 19:46:44 +01:00
Phoenix616
0b8fe80443
Further item name shortening fixes 2023-07-08 16:13:29 +01:00
Phoenix616
3ef02d05cd
Restore spaces in string that might be already be shortened (Fixes #558) 2023-06-21 18:32:47 +01:00
Phoenix616
3a1885e2f3
Improve logger handling
- Log transactions with custom logger `ChestShop Shops`
- Fix that non-shop log messages show in log file (Fixes #551)
- Fix shop removal logging being broken
- Allow reloading `LOG_TO_FILE` and `LOG_TO_CONSOLE` config options
- Fix the wording in the comments on `LOG_TO_CONSOLE` and `LOG_ALL_SHOP_REMOVALS`
2023-06-18 22:12:08 +01:00
Phoenix616
54cc1ce842
Fix wrong capitalization of item names (Fixes #549, #557)
Regression caused from change in ed642ccf
2023-06-17 14:53:47 +01:00
Phoenix616
dc6aa21a91
Fix compatibility with older versions (Fixes #556) 2023-06-15 16:24:00 +01:00
Phoenix616
6ba8e092b8
Add some more detailed server type statistics 2023-06-15 15:47:35 +01:00
Phoenix616
97ffc31d2b
Separate economy adapter from other dependencies in metrics 2023-06-15 15:27:03 +01:00
Phoenix616
ed642ccf3c
Compile against 1.20.1 and fix some short name issues
Partially helps with #516, #521, #549
2023-06-15 00:28:47 +01:00
Phoenix616
999f596125
Add metrics for used economy and hooked dependencies 2023-06-14 15:50:43 +01:00
Phoenix616
30ff61d14f
Improve INCLUDE_SETTINGS_IN_METRICS option comment 2023-06-14 15:46:44 +01:00
Phoenix616
978f1270f5
Send ShopDestroyedEvent for sign edits that break a shop 2023-06-13 00:22:30 +01:00
Phoenix616
7203ec17cd
Add compatibility for new sign-editing in 1.20
This allows editing of signs if you hold a sign in hand but block any other interaction.
2023-06-13 00:11:48 +01:00
Max Lee
6602be68e3
Merge pull request #553 from Krakenied/strip-price-colors
Add option to strip price colors
2023-05-20 14:46:08 +01:00
Krakenied
2fb82a2529
Strip price colors 2023-05-20 14:56:06 +02:00
Phoenix616
05ebe2d054
Properly shutdown ExecutorService 2023-03-29 16:54:10 +01:00
Phoenix616
013a21159f
Ensure NameManager caches stay consistent with multiple threads accessing them 2023-03-24 00:13:41 +01:00
Phoenix616
d52c329618
Make compatible with Folia by using own ExecutorService
Our async tasks were already pretty world-independent (update checker as
 well as some logging so this should work pretty well)

For the rest the ORMLite library should already be able to handle access from
 different threads and whether economy plugins are compatible with Folia is
 up to them, not us...
2023-03-23 23:50:43 +01:00
Phoenix616
b425dfb69f
[CI-SKIP] Add Qodana project to readme 2023-03-01 18:44:56 +01:00
Phoenix616
0a16ec1d08
Add qodana baseline of accepted warnings 2023-03-01 18:42:40 +01:00
Phoenix616
362dd856d3
Cleanup: Properly log errors 2023-03-01 18:36:46 +01:00
Phoenix616
385672ecd4
Cleanup: Fix potential NPE in Updater 2023-03-01 18:34:21 +01:00
Phoenix616
92a013dd10
Cleanup: Properly log errors 2023-03-01 18:27:04 +01:00
Phoenix616
7a09c53bde
Cleanup: Better specify exception catch and remove unused import 2023-03-01 18:16:14 +01:00
Phoenix616
93f14a330d
Cleanup: Use String#join instead of Stream#collect 2023-03-01 18:15:27 +01:00
Phoenix616
199573df59
Fix potential NullPointerExceptions 2023-03-01 18:14:18 +01:00
Phoenix616
a38f309453
Cleanup: Properly log errors 2023-03-01 18:11:35 +01:00
Phoenix616
02ef09c586
Use non-deprecated setScale, remove duplicate division calls, NPE-Fix 2023-03-01 18:10:25 +01:00
Phoenix616
aa7bfbb7ee
DoubleChest left/right side holder might be null/not BlockStates. Check that. 2023-03-01 18:06:35 +01:00
Phoenix616
7d92cb820d
Don't check block type twice
This also prevents it from getting it multiple types which would result in a chunk data query too...
2023-03-01 18:03:34 +01:00
Phoenix616
4de1f1e8c5
Fix potential out of bounds and NPE 2023-03-01 18:01:33 +01:00
Phoenix616
7ee8d07242
Cleanup: Use chained StringBuilder#append 2023-03-01 17:59:02 +01:00
Phoenix616
37c7b97fe8
Improve protection type mapping
This will return if a non-compatible type is used instead of using private.
2023-03-01 17:57:31 +01:00
Phoenix616
0d8d37eb85
Cleanup: Use 0-sized arrays and fix division 2023-03-01 17:54:31 +01:00
Phoenix616
e6a2d2f1c5
Cleanup: Properly log errors and remove unnecessary early return 2023-03-01 17:51:56 +01:00
Phoenix616
ada8cf3ae8
Cleanup: 0-sized arrays, NPE, Math.min usage 2023-03-01 17:48:07 +01:00
Phoenix616
fbfe789bfa
Fix potential NPE and properly log exceptions 2023-03-01 17:44:39 +01:00
Phoenix616
f547995164
Cleanup: Mark EconomyAPI as Nullable and fix potential NPE 2023-03-01 17:37:22 +01:00
Phoenix616
d6673c8afd
Cleanup: Use try-with and small fixes like NPE
Also make class final so that no class can extend it and start the thread
2023-03-01 17:33:34 +01:00
Phoenix616
f0661656a0
Cleanup: Use try-with and other small improvements 2023-03-01 17:24:47 +01:00
Phoenix616
967a315ff8
Add Qodana code quality checker 2023-03-01 16:26:51 +01:00
Phoenix616
59e82c7078
Add metrics for settings as separate charts
bStats has unfortunately not implemented advanced bar charts
 in years and not accepted my PR for it either :( We do it the
 hart way then...
2023-02-05 22:02:10 +01:00
Phoenix616
236c4b1b37
Add links to IssueHunt.
Also remove Patreon and deprecate dev-Bukkit bug tracker in the readme
2023-02-04 15:23:50 +01:00
Phoenix616
32879ad3cd
Update maven repos
- WorldGuard is now on enginehub.org domain
- RedProtect is in central and doesn't need repo anymore
2023-01-22 21:35:39 +01:00
Phoenix616
c15afb4d0b
Update adventure and MineDown 2023-01-22 21:29:09 +01:00
Phoenix616
852f20a50e
Add ItemBridge support (Resolves #361)
This also slightly changes how the max width is applied for generating sign item IDs
2022-12-29 15:25:26 +01:00
Phoenix616
e3ab44ae32
Don't fail account UUID checks on players that are online
This should fix some issues with Floodgate which kept popping up
2022-11-23 22:15:21 +01:00
Phoenix616
9233064273
Adjust comment regarding floodgate to their current default prefix 2022-11-17 23:28:09 +01:00