tastybento
d831722821
Shift to using ConcurrentHashMap ( #2397 )
...
Sometimes, these calls are made async, but as they now update the cache,
there could be concurrency issues. This fixes that.
2024-06-02 08:30:40 -07:00
Minecraft_15
961a35bace
Corrected translation errors ( #2391 )
...
* Delete src/main/resources/locales/zh-CN.yml
delete old language file(zh-CN)
* Readd language zh-CN.yml
Corrected translation errors
2024-06-02 08:26:38 -07:00
tastybento
affb0c263a
Added %[gamemode]_visited_island_rank% #2390 ( #2395 )
...
* Added %[gamemode]_visited_island_rank% #2390
* Fix test
2024-06-01 12:25:34 -07:00
tastybento
250c7950f9
Fixes for Island cache issues
...
Fix the size check and the new island creation.
2024-06-01 11:42:22 -07:00
tastybento
01dcd6ecc6
Adds more options around getting islands and caching ( #2394 )
...
Sometimes, there is a need to get an island once but not cache it. For
example, when loading addons they may need to scan all the islands, but
not have them cached.
2024-06-01 08:37:37 -07:00
tastybento
475f6372e2
Added defensive code for JUnit testing
2024-05-31 17:11:43 -07:00
tastybento
8e68349004
Add way to bypass code during testing, if required.
2024-05-31 17:04:13 -07:00
tastybento
fc9b00233b
Sends messages only once to all players on the island ( #2389 )
...
Was sending to visitors and all players so visitors saw it twice.
2024-05-26 17:56:46 -07:00
tastybento
1fd4a9043f
Protect pumpkins from being sheared ( #2388 )
...
Requires Paper
2024-05-26 17:45:45 -07:00
tastybento
ee3b0bfcc2
Update en-US.yml ( #2387 )
2024-05-26 17:36:45 -07:00
tastybento
35704b3fd3
Update zh-CN.yml ( #2386 )
2024-05-26 17:34:01 -07:00
tastybento
60fa60372d
Fix tests
2024-05-26 17:27:41 -07:00
tastybento
8b0a5a3d0b
Do not load all players just to get a name.
2024-05-26 17:01:02 -07:00
tastybento
ca15740a8c
Fixes a bunch of items related to making the cache smaller ( #2383 )
...
* Fixes a bunch of items related to making the cache smaller
* Fix test
2024-05-25 22:38:53 -07:00
tastybento
5e5707f2a2
Fixes #2377 , was not accounting for unknown UUIDs ( #2380 )
2024-05-24 16:43:55 -07:00
tastybento
ef58838c41
Fixes #2378 where an unknown UUID was yielding null instead of "" ( #2379 )
2024-05-24 15:57:46 -07:00
BONNe
885d2449d9
Fixes creeper ignation by visitors ( #2375 )
...
This fixes a long-standing bug which was introduced with a code that prevented hostile entities from targeting visitors.
As player was not a target for creeper it allowed it to explode.
This code change prevents visitors from igniting creepers as I do not see a reason why we should allow them to ignite them, while still protecting from griefing.
Addresses issue reported in #2372
2024-05-24 07:22:20 -07:00
tastybento
888b485f82
Fixes #2376
2024-05-24 07:18:39 -07:00
tastybento
e2d9c2ce34
Avoids loading islands into cache unless they are needed. ( #2373 )
...
* Avoids loading islands into cache unless they are needed.
* Adjust methods that were calling all islands
When we cached all island, this was an inexpensive call but not now. The
methods remain but pull from the database directly. The use of them were
changed to be player specific.
2024-05-23 21:42:14 -07:00
tastybento
8aba736383
Fixes breaking rooted dirt exploit ( #2371 )
2024-05-19 15:35:38 -07:00
tastybento
50276cb8e5
Abstract out getting and setting islands by ID
...
This is preparation for potentially making the cache smaller and pulling
from the database instead when required. However, there are issues with
this because some calls can result in loading the whole database anyway.
2024-05-18 22:49:20 -07:00
tastybento
d701b7e43c
Uses Bukkit version method instead of class names ( #2370 )
...
* Uses Bukkit version method instead of class names
See https://forums.papermc.io/threads/important-dev-psa-future-removal-of-cb-package-relocation.1106/
* Fix tests
* Fix server compatibility reporting issue with Paper
* Remove unused import
2024-05-18 21:47:09 -07:00
tastybento
2fc3396a8f
Remove debug code that slipped in.
2024-05-18 20:08:21 -07:00
tastybento
99717f5b60
Reduces storage of Island objects in the cache #2360 ( #2369 )
2024-05-18 19:48:42 -07:00
tastybento
290158e6ef
Allow NPC's to hit players ( #2368 )
...
* WIP for debug only
* Allow attacks from NPC's
2024-05-18 11:07:59 -07:00
tastybento
7126e837ed
Admin command updates ( #2367 )
...
* Enables tp'ing to specific islands of a player
* Admin delete command. Fixes to admin tp command.
2024-05-16 21:02:45 -07:00
tastybento
45e5621d4c
Update README.md
2024-05-16 17:22:07 -07:00
tastybento
f536a13c59
Back to 1.20.6
2024-05-12 17:20:14 -07:00
tastybento
f4780659e3
Downgrade to 1.20.5 to get tests to pass.
...
Tech debt - need to reword tests for 1.20.6
2024-05-11 13:21:00 -07:00
tastybento
aad50eab38
Just use null.
2024-05-11 13:03:50 -07:00
tastybento
24d81da907
Update to latest 1.20.6 API for PlayerDeathEvent
2024-05-11 12:55:14 -07:00
tastybento
d288528a17
2356 better deletion ( #2364 )
...
* Fix 1.20.4 backwards compatibility
* Improve deletion speed and memory usage
2024-05-11 11:07:47 -07:00
tastybento
83698c267f
Purges based on team members all being offline for too long ( #2362 )
...
* Purges based on team members all being offline for too long
* Fix to riff off real team members not trusts and banned as well
2024-05-11 08:50:28 -07:00
tastybento
52a280dc0b
Remove an unused Map in cache. ( #2361 )
2024-05-11 08:50:03 -07:00
tastybento
4a0d44c035
Implement new API for ItemsAdder item deletion ( #2353 )
2024-05-11 08:49:47 -07:00
tastybento
b8e1f33800
Fixes #2352 obsidian scooping NPE ( #2358 )
2024-05-07 21:25:58 -07:00
tastybento
d8891796cd
JavaDoc fixes and fix for Particle enums
2024-05-05 21:28:04 -07:00
tastybento
61e7c22bbc
Add a hook for Multipaper ( #2354 )
2024-05-05 21:11:16 -07:00
tastybento
b1fe76c45d
Multipaper ( #2343 )
...
* Switch to use database for team invites.
* WIP multipaper
* Fixes teams. Test still need to be fixed.
* Islands are now updated correctly across servers.
This build has a lot of debug in it!
* Fix tests
* Remove debug
* Remove primary island listing
* Version id
* Fix team management and ranks
* Removed debug
* Handle island deletion better
* Island deletion across servers.
* Fix bug with MythicMobs changes #2340
* 2.4.0
* Load of debug - trying to solve the settings slowness
* Debug debug
* Bug found - addPlayer being called instead of getPlayer
* Uncomment code after debug
* Fix tests
2024-05-04 22:27:58 -07:00
tastybento
5afd454fb3
Update Slimefun
2024-05-04 21:19:21 -07:00
tastybento
a55c51412d
Shift Github Build Script to Java 21
2024-05-04 21:05:19 -07:00
tastybento
01a8055379
Merge pull request #2348 from BentoBoxWorld/1.20.5_compatibility
...
1.20.6 compatibility
2024-05-04 13:29:15 -07:00
tastybento
744665a16e
Merge branch 'develop' into 1.20.5_compatibility
2024-05-01 18:01:51 -07:00
tastybento
3e4ff33d30
Merge pull request #2349 from BentoBoxWorld/Blueprint_Bundle_Info
...
Write the Blueprint bundle meta data to admin info
2024-05-01 17:58:34 -07:00
tastybento
09ede87971
Write the Blueprint bundle meta data to admin info
2024-05-01 17:58:05 -07:00
tastybento
b1418c144f
Update README.md
2024-05-01 08:05:11 -07:00
tastybento
15335eb992
Add NMS for latest
2024-04-29 22:26:09 -07:00
tastybento
e33823d0c0
Fix tests
2024-04-29 21:37:08 -07:00
tastybento
63cc0a01d9
Fix compatibility for 1.20.6
2024-04-29 19:46:06 -07:00
tastybento
6949432cb6
1.20.5 compatibility. Not all backward compatibility done
...
Won't run on 1.20.4 yet without stopping due to enum incompatibility
2024-04-28 17:56:02 -07:00