Commit Graph

3994 Commits

Author SHA1 Message Date
tastybento
c6ed2a8ccd Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2024-07-16 20:54:57 -07:00
tastybento
d9ef8dfd10 Remove isGenerated checks 2024-07-16 20:54:47 -07:00
tastybento
f515ae2e84
Merge pull request #2432 from BentoBoxWorld/2422_flags_for_1.21
2422 flags for 1.21
2024-07-16 17:11:44 -07:00
tastybento
72515170d4
Merge branch 'develop' into 2422_flags_for_1.21 2024-07-16 17:11:18 -07:00
tastybento
18cd62dd6c Slight tweak to not cause lag due to a inGenerated query 2024-07-14 21:49:51 -07:00
tastybento
570fe7448e WIP Try to add protection to decorative pots. 2024-07-14 21:44:43 -07:00
tastybento
b4ecb1dadd Fix tests 2024-07-14 20:21:33 -07:00
tastybento
1c5a52de4c Added test class for candles 2024-07-14 16:23:14 -07:00
tastybento
16592c595b Added CANDLES and BELL_RINGING flags and protections 2024-07-14 16:02:00 -07:00
tastybento
3d00191b90 Enhance to include gates, trapdoors, and doors 2024-07-14 15:23:25 -07:00
tastybento
b2d5e0b84e Add protection for Wind Charge explosions #2422 2024-07-14 15:10:32 -07:00
tastybento
2d9bbb9cc1 Support for new trial spawners protection 2024-07-09 07:31:25 -07:00
tastybento
2733e31535 Remove nonNull annotation because it is wrong. 2024-07-09 07:31:09 -07:00
tastybento
34060740c7
Merge pull request #2427 from Hephaisto-dev/patch-1
Update Island.java
2024-07-07 21:40:35 -07:00
tastybento
a77b380fb0
Merge pull request #2428 from BentoBoxWorld/2423_Island_team_GUI_head_getter
Prevents Creative players from getting player heads.
2024-07-07 21:39:53 -07:00
tastybento
945728ccac Prevents Creative players from getting player heads.
Waits a tick before closing the inventory.
2024-07-07 20:07:24 -07:00
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