Commit Graph

81 Commits

Author SHA1 Message Date
tastybento bc1e92ee8d Add support for hanging signs.
Warps to below the sign.
2024-01-06 22:00:24 +09:00
BONNe a1e03af13a
Update WarpsCommand.java 2023-11-05 21:35:59 +02:00
tastybento ae172b9fdf Minor variable rename 2023-06-24 13:49:33 -07:00
tastybento cb165e52b0 Updated POM; fixed tests. 2023-04-15 13:08:55 -07:00
BONNe fe6b020ac8
Update WarpsPladdon.java 2023-04-08 19:10:32 +03:00
tastybento 5a9f6495ad Updated pladdon dependencies. Removed unused imports. 2023-03-25 10:12:07 -07:00
tastybento ff4850d32a Use addon name in annotation 2023-03-25 09:59:53 -07:00
DevSolaris 7a26acefd9
Flip bool expression (#114) 2023-02-12 10:44:49 -08:00
tastybento 2be57a66d2 Fix SonarCloud bugs and smells. 2023-02-09 17:44:25 -08:00
BONNe 225b4d66f8
Update Warp.java 2023-01-19 23:15:38 +02:00
BONNe d3b45396fd
Add missing import 2023-01-19 23:10:00 +02:00
BONNe 363a628244
Improve create warps flag.
Rename the flag to PLACE_WARP as it is a more proper name.
Also, add a click handler that limits setting value from member to owner, as visitors should not be allowed.

Also, set default value outside island range as false.
2023-01-19 23:06:45 +02:00
DevSolaris 8be844b59f
Closes #69 - Fix message from being sent when the user is banned. (#116) 2023-01-19 21:59:39 +01:00
DevSolaris b3a36c75bb
Create set warp flag (#117) 2023-01-19 21:56:31 +01:00
DevSolaris 7dbb5d39ad
Add gamemode placeholder to message (#115) 2023-01-18 22:14:50 +01:00
BONNe cbaf6ce16c Implement customizable Warps Panel.
Relates to #BentoBox/issues/1931
These changes includes to removing some obsolete config settings and locales string.
Also, moved some classes around to clean up directory.
2022-03-11 12:34:16 +02:00
Huynh Tien 6cfaa0e9c0
Fix null player on removeWarp (#100) 2021-12-31 08:25:05 -08:00
tastybento 55ec1ded61 Remove this deprecated event. 2021-08-08 18:28:29 -07:00
tastybento d936fbecc1 More code cleanup 2021-08-08 18:28:19 -07:00
tastybento 00938e67da Code smell reduction. 2021-08-08 18:09:28 -07:00
tastybento 3cd93f39dd Objects.requireNonNull for User 2021-08-08 17:36:03 -07:00
tastybento 0003c91cca Make Warps a Pladdon. 2021-08-08 16:40:13 -07:00
tastybento 9333265e4d Fix PVP message when teleporting to an island. 2021-07-09 09:00:56 -07:00
tastybento fc4f6c634a Return null if Level addon is not operating in world 2021-06-05 08:37:42 -07:00
tastybento 7fbe4b5b88 Fixes sync errors and blank warps
https://github.com/BentoBoxWorld/Warps/issues/93
https://github.com/BentoBoxWorld/Warps/issues/92
https://github.com/BentoBoxWorld/Warps/issues/75
2021-01-09 15:33:27 -08:00
tastybento 82bd4c8b31 Shows GUI correctly 2021-01-09 11:37:41 -08:00
tastybento 4ad5d864ab Use SignCacheItem
Indicate whether it is real or not.
2021-01-09 11:19:35 -08:00
tastybento dcd5bd1514 Run offlinePlayer code async to avoid blocking IO 2021-01-09 10:38:47 -08:00
tastybento 2506d2ac9e Deprecated and removed WarpListEvent
Cannot be fired because this part of the code needs to run async.

https://github.com/BentoBoxWorld/Warps/issues/93
2021-01-08 22:14:03 -08:00
tastybento c882ca3288 Added owner to WarpRemoveEvent
https://github.com/BentoBoxWorld/Warps/issues/91
2021-01-03 17:54:33 -08:00
tastybento 86612b72e3 Move warp panel creation async and reworked test class. 2021-01-01 15:36:14 -08:00
tastybento 73aab77c99 Updated to BentoBox 1.15.4 API 2020-12-27 11:14:19 -08:00
Yasin e459c53c77
WarpCreateEvent (#88) 2020-09-10 18:34:56 -07:00
Gabriele C 45b968820b
Don't validate unloaded signs on startup (#85)
* Don't validate unloaded signs in startup

* Actually stop loading chunks

* Fix crash issues due to unwanted chunk loads in the sign ChunkLoadEvent listener

* Delay chunk handling, fixes CMEs
2020-09-07 09:14:44 -07:00
tastybento bee85b0db1 Do not send warp message if player is hidden.
https://github.com/BentoBoxWorld/Warps/issues/87
2020-08-29 08:58:44 -07:00
wellnesscookie fd06c0cdd7
Fixes unwanted parsing when warping to an island (#86)
* Fixes incorrect parsing when warping to similiar players

* Removes debug lines
2020-08-06 12:14:50 -07:00
tastybento 4cb6b66bc7 BentoBox 1.14 API 2020-06-10 21:31:20 -07:00
tastybento 8f38353b73 Fixes tests 2020-06-02 14:34:21 -07:00
tastybento 6d4b7c2a19 WIP 2020-06-02 13:00:09 -07:00
tastybento 94f0ff4e22 Sign Cache could get out of sync with signs.
https://github.com/BentoBoxWorld/Warps/issues/80
2020-05-27 16:48:20 -07:00
tastybento 9c4a224c97 Fixes bug where Warps would not hook with no game modes
https://github.com/BentoBoxWorld/Warps/issues/77
2020-05-20 18:57:56 -07:00
tastybento 40c0b8d791 Fixes bug where database table existed but had no valid data in it.
Fixes https://github.com/BentoBoxWorld/Warps/issues/71
2020-04-02 12:54:55 -07:00
tastybento 79b8c0cd87 Added saving of the warp sign cache to database.
Relates to https://github.com/BentoBoxWorld/Warps/issues/68
2020-01-28 17:11:23 -08:00
tastybento ef523d4332 Removed warp sign for players who leave a team or are kicked.
Fixes https://github.com/BentoBoxWorld/Warps/issues/67
2020-01-14 17:34:28 -08:00
tastybento 490caf098e Made listeners package 2020-01-14 17:03:06 -08:00
tastybento b2d5c145a5 Ties into the BentoBox delayed teleport settings.
https://github.com/BentoBoxWorld/Warps/issues/52
2019-12-08 16:02:55 -08:00
tastybento ccc1f9c849 Merge branch 'develop' of https://github.com/BentoBoxWorld/Warps.git into develop 2019-11-11 07:58:05 -08:00
tastybento ae1c2fe96f Use BentoBox utility method for BlockFaceToFloat 2019-11-11 07:57:55 -08:00
tastybento c73bf8bad7 Do not register top-level commands if config setting isn't true
https://github.com/BentoBoxWorld/Warps/issues/57
2019-11-07 15:52:49 -08:00
tastybento 9a234ef950 Added WarpsCommand test class 2019-10-31 17:33:34 -07:00