1
0
mirror of https://github.com/BentoBoxWorld/Warps.git synced 2024-09-28 23:27:32 +02:00
Commit Graph

68 Commits

Author SHA1 Message Date
BONNe
076b71ce9b Merge into master 2022-05-17 12:31:32 +03: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
tastybento
d93f0608ec
Release 1.11.2 (#101)
* Version 1.11.2

* Renamed plugin Pladdon

* Update es.yml (#98)

* Build to BentoBox 1.18 API

* Fix plugin.yml

* Fix null player on removeWarp (#100)

Co-authored-by: KrazyxWolf <68208993+KrazyxWolf@users.noreply.github.com>
Co-authored-by: Huynh Tien <huynhqtienvtag@gmail.com>
2021-12-31 15:29:29 -08: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
tastybento
d7e0b36623 Added WarpCommand test class 2019-10-31 17:05:12 -07:00
tastybento
55558711cc Code smell - simplified listener 2019-10-31 14:49:26 -07:00
tastybento
6d788b6f66 Fixes potential null bugs 2019-10-31 14:22:32 -07:00
tastybento
85334079da Fixed code smells 2019-10-31 14:12:44 -07:00
tastybento
afb03e6d42 Enables warps to operate in any world. Commands can be changed.
https://github.com/BentoBoxWorld/Warps/issues/53
https://github.com/BentoBoxWorld/Warps/issues/54
2019-10-31 10:09:33 -07:00
tastybento
38c5496118 Added random warp button to warps panel
https://github.com/BentoBoxWorld/Warps/issues/20
2019-09-19 14:23:29 -07:00
tastybento
bbc748aae3 Enabled formatting of warp sign text
https://github.com/BentoBoxWorld/Warps/issues/48
2019-09-18 16:48:38 -07:00
tastybento
d0355e8b9e Listener was not registered using BentoBox API so caused reload issues. 2019-09-15 16:41:17 -07:00
tastybento
0814f22424 Config file was not being read.
Signs removed by breaking blocks under them and then replaced were not
being correctly handled. Now they are deleted and remade. No need for
the "duplicate sign" text.

https://github.com/BentoBoxWorld/Warps/issues/47
https://github.com/BentoBoxWorld/Warps/issues/46
https://github.com/BentoBoxWorld/Warps/issues/32
2019-09-13 18:13:03 -07:00
BONNe
5dbc762027 Implement ability to change Warp Sign Icon in Warps panel via user permission. (#41)
Permission that will be checked is "[gamemode].island.warp.[material]"
This will not filter out invalid materials.
2019-09-02 09:16:54 -07:00
tastybento
4d1d9a5098 Removed inaccessible API. 2019-08-22 15:21:47 -07:00
tastybento
c671e35661 Adds the missing support for PLAYER_HEAD icons
https://github.com/BentoBoxWorld/Warps/issues/38
2019-08-22 15:08:14 -07:00
tastybento
633f2a63e2 Adds an API to request data from the WarpSignsManager class
https://github.com/BentoBoxWorld/Warps/issues/39
2019-08-22 12:53:38 -07:00