Commit Graph

3676 Commits

Author SHA1 Message Date
tastybento
2ba295024f Fix or ignore tests 2024-10-23 21:55:24 -07:00
tastybento
8160e08d4f Fix tests 2024-10-23 21:42:06 -07:00
tastybento
d758c92621 Fix test 2024-10-23 21:35:42 -07:00
tastybento
03888f811d WIP 2024-10-23 20:22:13 -07:00
tastybento
fdd8b7f894 Fix test 2024-10-23 14:35:18 -07:00
tastybento
618a86b464 Fix hex codes conversion.
Using the spigot chat API requires conversion from legacy codes.
2024-10-23 14:09:57 -07:00
tastybento
c994dbdd3d Fix by removing mock 2024-10-22 22:51:49 -07:00
tastybento
6a638a550f Test fixed by removing line. 2024-10-22 22:50:04 -07:00
tastybento
68ede87bb9 Do not use isAir() because it cannot be mocked. 2024-10-22 22:33:17 -07:00
tastybento
57b8a517f0 Fix panel title 2024-10-21 17:41:07 -07:00
tastybento
3d696e10d5 Avoid loading islands unless necessary 2024-10-20 20:32:49 -07:00
tastybento
801af3d592 Merge branch '2531_command_button_panel' into 2534_new_island_scaling 2024-10-20 17:59:56 -07:00
tastybento
f9c34e5df6 Test fixes 2024-10-20 17:57:59 -07:00
tastybento
6766c0f906 Store the island sizes in the grid to avoid database loadings #2534 2024-10-20 17:10:10 -07:00
tastybento
e0a3f48aed Adds an island home panel. #2531
Also enhances the customizable panel API by making templates load
dynamically when requested.
2024-10-20 16:29:32 -07:00
tastybento
58690f203b WIP 2024-10-19 10:48:45 -07:00
tastybento
29c50574c3 Fix tests, optimize tests, reord imports. 2024-10-04 22:25:43 -07:00
tastybento
0da7130165 Add clickable text and hover text 2024-10-04 18:35:09 -07:00
tastybento
9cb8d1cb5e Test fix for teleporting using new in-progress message 2024-10-02 08:21:07 -07:00
tastybento
b949727912
Update IslandGoCommand.java
Typo
2024-10-02 08:03:17 -07:00
tastybento
3992102355
Merge branch 'develop' into 2524_is_teleport_command_delay 2024-10-02 08:02:26 -07:00
tastybento
1782dd666f Remove unused imports 2024-10-02 07:47:03 -07:00
tastybento
a7f9f21e65 Make all islands Op's 2024-10-02 07:42:28 -07:00
tastybento
aa19319d58 Improve teleporting #2524 - this commit has debug. 2024-10-01 11:25:24 -07:00
tastybento
80e1063015 Add AdminResetHome command #2522
Fixed bug with tab complete for MaxHomes and fixed tests.
2024-09-30 17:50:22 -07:00
tastybento
f1219ecc02 Remove test class 2024-09-28 16:55:53 -07:00
tastybento
4a972a86ae Add placeholders. Put in defensive code against nulls. 2024-09-28 16:02:11 -07:00
tastybento
2784f197cb Added test class and made some methods easier to test 2024-09-28 15:53:10 -07:00
tastybento
fd1ab22cee Implements admin command to set an island's max homes #2517 2024-09-28 13:22:19 -07:00
tastybento
541d9667fe Fix for 2515 2024-09-27 16:39:38 -07:00
tastybento
a40e9eceba Add test 2024-09-21 17:21:24 -07:00
tastybento
a15b437249 NPE fix for #2512 2024-09-21 17:08:58 -07:00
tastybento
d2410a5f85 Do not fix island centers 2024-09-18 14:19:35 -07:00
tastybento
4876064a46 Remove unused import 2024-09-16 21:26:25 -07:00
tastybento
5a4cbcce25 Add some tests 2024-09-16 21:23:45 -07:00
tastybento
625bfa631b Change how creeper damage flag works. #2507 2024-09-16 21:04:44 -07:00
tastybento
0965e07d93 Make the rank clearing async to avoid lag. #2504 2024-09-14 16:43:25 -07:00
tastybento
2b6c7f85a6 Improve command rank GUI with helpful text descriptions #2502 2024-09-14 16:13:23 -07:00
tastybento
8240484d4f Added test case 2024-09-13 08:00:17 -07:00
tastybento
8ba3f034f7 Prevent null island worlds from blocking purging. #2500 2024-09-13 07:53:22 -07:00
tastybento
6896a4579c
Merge pull request #2499 from BentoBoxWorld/2496_null_to_location
Protect against null to locations. #2496
2024-09-07 18:01:05 -07:00
tastybento
a9b8613cdc Protect against null to locations. #2496 2024-09-07 18:00:26 -07:00
tastybento
80219f38cb Add protection around meta data being written that is immutable 2024-09-07 11:06:51 -07:00
tastybento
dbf4bb75b1 Fix bug with saving mobs in blueprints #2497 2024-09-07 11:06:35 -07:00
tastybento
7050973b11 Fix tests 2024-08-31 20:08:44 -07:00
tastybento
b4615697fc Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2024-08-31 17:41:09 -07:00
tastybento
11259415cc Check for object existing before loading 2024-08-31 17:41:01 -07:00
tastybento
e87cd7e4d2 Fix team invites 2024-08-31 17:40:50 -07:00
tastybento
3fbfd27e64 Use a temporary cache for players of 2 hours 2024-08-31 16:28:09 -07:00
tastybento
caae0af50e Added cache expiration for head getting.
Heads must be gotten within 5 seconds otherwise the cache is cleared.
Heads that have been retrieved will be kept in cache for 1 day
2024-08-31 09:50:11 -07:00
tastybento
2a56414b40 WIP 2024-08-31 09:06:54 -07:00
tastybento
05524ae69c Clean up prior invites #2488 2024-08-31 08:20:39 -07:00
tastybento
debcd2c331 Remove debug 2024-08-31 08:16:32 -07:00
tastybento
28457aba52
Merge pull request #2487 from BentoBoxWorld/2486_Island_spawn_does_not_stay_set_after_a_reboot
Fixes #2486 where spawn island was not being saved
2024-08-29 17:28:13 -07:00
tastybento
e476f33743 Fixes #2486 where spawn island was not being saved 2024-08-29 17:27:50 -07:00
bengibbs
86eb9f5edd Allow wandering trader interaction at any time #2484 2024-08-28 12:54:13 -07:00
tastybento
c2737f00e1 Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2024-08-27 18:06:00 -07:00
tastybento
5521c8258d Add cactus to harvest-able blocks. 2024-08-27 18:05:50 -07:00
dawuehr
7962e3ebc7 Translate de.yml via GitLocalize 2024-08-27 20:56:16 +00:00
tastybento
8ee366de51 Translate de.yml via GitLocalize 2024-08-27 20:56:16 +00:00
mt-gitlocalize
36fde3cfee Translate de.yml via GitLocalize 2024-08-27 20:56:15 +00:00
tastybento
8d75bc697b Fix tests 2024-08-22 19:15:44 -07:00
tastybento
3d3965fe17 Convert placeholders for [gamemode] and [friendly_name] 2024-08-22 16:54:16 -07:00
tastybento
908230047f Remove debug 2024-08-21 14:10:06 -07:00
tastybento
6cbbdad34e
Merge pull request #2474 from DinoFengz/patch-1
Update RemoveMobsListener.java
2024-08-20 22:25:01 -07:00
tastybento
fdbb2480b4 Fix NPE when setting the protection center 2024-08-20 21:58:12 -07:00
DinoFeng
9305bf7163
test build 2024-08-20 20:17:58 +08:00
DinoFeng
04745330c7
Update RemoveMobsListener.java
Prevent null value
2024-08-19 21:38:48 +08:00
tastybento
d82b3488a2 Expand crop harvesting #2472 2024-08-18 19:40:08 -07:00
tastybento
5df1965778 Fix test 2024-08-11 17:12:25 -07:00
tastybento
d3123a75bb Add 1.21.1 support 2024-08-11 16:34:31 -07:00
tastybento
67dd30e709 Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2024-08-11 16:20:29 -07:00
tastybento
3c29f88d23 Put a try catch around head getting #2464 2024-08-11 16:20:20 -07:00
tastybento
50dba5cb82 Use valueOf as the class is no longer an Enum 2024-08-10 20:06:39 -07:00
tastybento
ed700a1915 Use a common method for Events so they can be changed easily. 2024-08-10 20:04:34 -07:00
tastybento
21efeb813b Make the catch specific to the potential error 2024-08-07 21:46:31 -07:00
tastybento
d2a6398b4d Add a try around the new API for glow and fallback to old way #2459 2024-08-07 21:29:26 -07:00
tastybento
3194195009
Merge pull request #2454 from BentoBoxWorld/2436_placeholder
Added placeholder to show if a player is on an island or not
2024-08-05 17:39:30 -07:00
tastybento
ac9aa91532 Fix tests 2024-08-05 17:38:53 -07:00
tastybento
220fc72a21
Merge pull request #2458 from BentoBoxWorld/2456_mysterious_exception
More code to clean up when an island is deleted. #2456
2024-08-05 17:06:21 -07:00
tastybento
c9c57e113f More code to clean up when an island is deleted. #2456 2024-08-05 12:22:32 -07:00
tastybento
2f055b2a8e Handle nulls if they happen 2024-08-03 09:03:19 -07:00
tastybento
afe07a8c23 Register and unregister done properly 2024-08-02 08:05:53 -07:00
tastybento
0766f2967d Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop 2024-08-02 07:45:46 -07:00
tastybento
505de3b5f9 Use a long to calculate the purge limit. This may solve a problem
reported on Discord. Suspect is that there may be a calculation
overflow.
2024-08-02 07:45:38 -07:00
tastybento
fc589334df
Merge branch 'develop' into API-hideWhen 2024-08-01 10:14:03 -07:00
tastybento
fc22fd23da Fix for NPE when unregistering islands via console
Issue is that console does not have a UUID to log.
2024-07-30 21:48:16 -07:00
TreemanK
ef86bdbdc5 feat: further api improvements hideWhen 2024-07-29 11:39:56 +10:00
tastybento
d704aa9c67 Use dedicated glint API instead of enchantments 2024-07-28 15:43:04 -07:00
tastybento
cccc9ee98d WIP 2024-07-28 15:27:44 -07:00
tastybento
f4d3e791d6 Provides an API to hide sub-flags #2437 2024-07-27 21:22:08 -07:00
tastybento
fcff388810 Add placeholders for trusted and coop island members #2445 2024-07-27 13:39:37 -07:00
tastybento
05eef0f8ef Fix for #2446 that showed console error when player joined. 2024-07-27 13:18:15 -07:00
tastybento
4bfd405c4e Add try/catch around potioneffects for older servers 2024-07-23 13:19:24 -07:00
tastybento
93d50db77f #2442 Fixes issue with loading blueprints with villagers on 1.21 2024-07-23 10:37:10 -07:00
tastybento
30ffc5f919 Shift InventoryClickEvent listener to LOW priority #2433 2024-07-16 22:06:47 -07:00
tastybento
c1582a81cd Prevent concurrent modification exception 2024-07-16 21:39:57 -07:00
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
72515170d4
Merge branch 'develop' into 2422_flags_for_1.21 2024-07-16 17:11:18 -07:00