tastybento
84be104a07
Version 2.4.2
2024-07-07 14:28:36 -07:00
Héphaïsto
2b1f18eafe
Update Island.java
...
fix doc
2024-07-07 13:25:12 +02:00
tastybento
251abae6cb
Merge pull request #2425 from BentoBoxWorld/2424_Name_lookup_from_UUID_takes_too_long
...
2424 name lookup from UUID takes too long
2024-07-05 11:04:45 -07:00
tastybento
a8f01f746e
Add a UUID Fetcher class in Utils - not used right now
2024-07-05 10:19:37 -07:00
tastybento
cb2d0e7efd
Add cache for name lookup
2024-07-05 10:19:21 -07:00
tastybento
f4604b4c27
Fix to make it work
2024-07-03 16:39:43 -07:00
tastybento
755452cd3c
Added support for serializing Pairs
2024-07-03 15:43:17 -07:00
tastybento
8e97dcff7e
Merge pull request #2419 from TreemanKing/fix-locale-tamed-animals
...
fix: typo
2024-07-03 09:45:10 -07:00
TreemanK
6bb148ec76
fix: typo
2024-07-03 13:06:47 +10:00
tastybento
5e0d80e514
Don't make constants that depend on Bukkit
2024-07-02 11:35:26 -07:00
tastybento
e7be920376
Merge pull request #2418 from BentoBoxWorld/2417_Add-on_disable_does_not_always_get_run
...
Add onDisable override method to Pladdon
2024-07-02 09:08:27 -07:00
tastybento
ff1438f3a3
Add onDisable override method to Pladdon
2024-07-02 08:47:09 -07:00
tastybento
a969bbf317
Merge pull request #2415 from BentoBoxWorld/more_cache_control
...
Adds more island cache methods. Adds tests.
2024-07-01 08:49:21 -07:00
tastybento
0ffa213fd2
Adds more island cache methods. Adds tests.
2024-07-01 08:46:17 -07:00
tastybento
566956fc54
Version 2.4.1
2024-06-30 14:56:31 -07:00
tastybento
59fd8d94b5
Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop
2024-06-29 15:44:56 -07:00
tastybento
58937d6353
Add 1.21 compatibility
2024-06-29 15:44:47 -07:00
TreemanKing
534fd675b3
feat: new flag - handle tamed animals ( #2412 )
2024-06-24 07:31:53 -07:00
tastybento
24fa4fe8d3
Fix for #2413 - support for 1.20.1
2024-06-23 17:18:29 -07:00
tastybento
2f9e3c42fd
Better migration of databases relates to #2404 ( #2411 )
...
Also, adds support for 1.21.
2024-06-19 09:08:07 -07:00
tastybento
09c5cbb449
Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop
2024-06-14 21:43:23 -07:00
tastybento
894b063694
Split out the Paper-only event
2024-06-14 21:43:13 -07:00
tastybento
d23f15f16f
Rework tests to not break so much with constant definitions ( #2407 )
2024-06-14 18:49:08 -07:00
tastybento
96564275a8
Support nms pasting ( #2406 )
2024-06-14 13:10:01 -07:00
tastybento
86e5a02516
Fix for #2402 player record was deleted on quit ( #2403 )
...
This was due to the changes to the Player cache. On quit the cache was
cleared, but this was also deleting the player from the database.
2024-06-10 16:16:00 -07:00
tastybento
156c3da3bb
Add command to teleport users. ( #2399 )
...
* Add command to teleport users.
* Fix bugs
2024-06-02 18:23:23 -07:00
tastybento
0938df8824
Added API methods for direct database loads and saves #2396 ( #2398 )
...
* Added API methods for direct database loads and saves #2396
* Fix test
2024-06-02 18:05:48 -07:00
tastybento
f68af5529f
Remove concurrent hashmap because it cannot handle null values.
...
Need to use another approach if concurrency is required.
2024-06-02 18:04:54 -07:00
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