Commit Graph

203 Commits

Author SHA1 Message Date
tastybento afec2f56f5 Java 16 Minecraft 17 2021-06-20 11:29:45 -07:00
tastybento fc4f6c634a Return null if Level addon is not operating in world 2021-06-05 08:37:42 -07:00
Huynh Tien 9db549ea0d
Add files via upload (#95) 2021-02-03 12:14:32 -08: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 36284d963b Merge branch 'develop' of https://github.com/BentoBoxWorld/Warps.git into develop 2020-12-27 11:14:43 -08:00
tastybento 73aab77c99 Updated to BentoBox 1.15.4 API 2020-12-27 11:14:19 -08:00
gitlocalize-app[bot] 1591bfc36d
Translate tr.yml via GitLocalize (#90)
Co-authored-by: Over_Brave <soncesurlar@gmail.com>
2020-12-09 11:51:43 -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
tastybento abf4b882c0 Fixes test 2020-08-06 21:06:19 -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
NotMyFault 262889c49f
Fix typo (#82) 2020-06-04 07:26:57 -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 826b86ae64 Merge remote-tracking branch 'origin/develop' 2020-05-19 19:34:45 -07:00
John 23b2d19b0d
Add german (de) translation (#74) 2020-04-29 20:40:06 -07:00
Krystian 45813ee39a
Add Polish translation (#73) 2020-04-20 07:36:28 -07:00
tastybento eea1ea25e1 Updated permissions 2020-04-19 08:36:17 -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 f3fe87c757
Czech translation. Credit @Polda18 2020-01-30 10:22:26 -08: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
gitlocalize-app[bot] 685f2beb5f Translate lv.yml via GitLocalize (#66)
Co-authored-by: BONNe <bonne@bonne.id.lv>
2020-01-10 16:29:24 -08:00
gitlocalize-app[bot] a63a6c2372 Translate zh-CN.yml via GitLocalize (#65) 2019-12-27 12:28:24 -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 46333baa52 Merge remote-tracking branch 'origin/master' into develop 2019-12-08 08:45:14 -08:00
tastybento bf6d7994dd Version 1.9.1
Changes stand alone command to /wwarp and /wwarps to match original
Welcome Warp Signs plugin.
2019-12-08 08:44:08 -08:00
András Marczinkó 0176019d19 Update hu.yml (#63)
Removed spaces after color codes.
2019-12-06 13:39:46 -08:00
András Marczinkó 2d796471c5 Update hu.yml (#62) 2019-12-06 08:30:38 -08:00
tastybento d2ef5d9400 Removed blank locale files. 2019-12-02 13:43:22 -08:00
tastybento 8ee9168a55 Merge branch 'develop' of https://github.com/BentoBoxWorld/Warps.git into develop 2019-12-02 13:23:33 -08:00
tastybento d14a6e1282 Cleaned up color codes and added spaces. 2019-12-02 13:23:24 -08:00
gitlocalize-app[bot] 8f677e362b Translate ru.yml via GitLocalize (#60) 2019-11-28 15:03:30 -08:00
András Marczinkó cf0755e7ce Translated into Hungarian (#59) 2019-11-24 13:50:18 -08:00
tastybento 3dab96e546
Create id.yml 2019-11-16 18:32:16 -08:00
tastybento c361f0a1a3
Create ro.yml 2019-11-16 18:32:08 -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
gitlocalize-app[bot] 197957648b Translate fr.yml via GitLocalize (#55) 2019-10-28 22:11:56 -07:00
DuckSoft 5ee1520d8b Translate zh-CN.yml via GitLocalize (#51) 2019-09-20 07:14:47 -07:00
BONNe 0f00c7bd52 Translate lv.yml via GitLocalize (#50) 2019-09-19 17:08:35 -07:00
tastybento f8243e3035 Added test cases. 2019-09-19 14:45:15 -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 b98d83fffc Added WarpSignsManager test class 2019-09-18 16:48:54 -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
Florian CUNY 8de53d1a81
Renamed addon to "Warps" to follow the repo's name in addon.yml
+ added icon
2019-09-07 14:21:46 +02:00
BONNe b001aad4d9 Translate lv.yml via GitLocalize (#42) 2019-09-03 07:55:40 -07:00
tastybento b29457cc97 Updated locale files for GitLocalize 2019-09-03 07:35:41 -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
tastybento 57bed61167 Added help to /is warp with no parameter. Improved locale clarity 2019-08-20 07:54:51 -07:00
tastybento 8c6fb4f4ee Fixed permission reference 2019-08-20 07:50:11 -07:00
tastybento af3a055bcc Merge branch 'develop' of https://github.com/BentoBoxWorld/addon-welcomewarpsigns.git into develop 2019-08-11 12:51:22 -07:00
tastybento 18c7ee5e0d Updated POM to show build numbers and updated test class 2019-08-11 12:51:14 -07:00
wellnesscookie 9ae7e39259 Fixes wrong permissions (#33) 2019-07-31 09:13:11 -07:00
tastybento 43bc50687c Fixes bug where warp sign text wasn't showing in chat response
https://github.com/BentoBoxWorld/addon-welcomewarpsigns/issues/28
2019-06-30 20:09:07 -07:00
tastybento 4621772fe8 Caches sign type as well as sign text.
https://github.com/BentoBoxWorld/addon-welcomewarpsigns/issues/27
2019-06-26 17:30:11 -07:00
tastybento 45ee5b1186 Hybrid version. Works on 1.13.2 and 1.14.1 2019-05-15 15:16:15 -07:00
tastybento ddffcf3f38 Merge remote-tracking branch 'origin/develop' into 1.14
Conflicts:
	pom.xml
	src/main/java/world/bentobox/warps/config/Settings.java
2019-05-10 18:26:49 -07:00
tastybento 14a992a057 Merge remote-tracking branch 'origin/develop' into 1.14
Conflicts:
	src/main/java/world/bentobox/warps/WarpPanelManager.java
2019-05-10 18:24:46 -07:00
tastybento 6029ae6b2d YAML fix 2019-05-08 12:30:53 -07:00
tastybento 5a7648f998 Spanish locale translation. Credit @SrAcosta. 2019-05-08 12:30:53 -07:00
tastybento a5ff39cbec Uses ConfigObject instead of DatabaseObject for config file. 2019-05-08 12:30:53 -07:00
tastybento 684b17cc34 Fixes tests 2019-05-02 11:43:57 -07:00
tastybento 5b07d33491 Works, but tests do not pass due to Tag issue 2019-04-29 23:23:54 -07:00
BONNe 0f9232d016 Add ability to change icon in Warps panel. (#24) 2019-03-30 14:32:31 -07:00
tastybento 622057c906 Checks for null worlds on load. 2019-03-06 22:04:47 -08:00
tastybento 79b568fbdf Updates locales. Fixes nether and end warping.
Fixes issue with warp level checking wrong environment.

Adds warning when warping to PVP enabled islands.

https://github.com/BentoBoxWorld/addon-welcomewarpsigns/issues/21
2019-03-03 18:53:36 -08:00
Florian CUNY 88c8ed89cf Added fr-FR locale 2019-02-22 14:42:09 +01:00
tastybento 479c84e8fe
Merge pull request #15 from BONNe/permissions
Update Addon Permissions
2019-02-03 19:14:58 -08:00
BONNe 2f86f91fa4 Add CaveBlock and SkyGrid permissions. 2019-02-03 17:07:08 +02:00
tastybento 35f0ecb6f0 Fixes config.yml
uniqueId was missing.
2019-02-02 16:11:40 -08:00
BONNe 9c88792b27 Disable warp teleport while falling if world Flags.PREVENT_TELEPORT_WHEN_FALLING is enabled. 2019-01-31 20:27:15 +02:00
BONNe aa1f0bdcba Rename PluginConfig to Settings.
- Settings is now correct Config for Addon.
Improve Warp class a bit:
- add some javaDoc.
- load only if hooked.
2019-01-31 20:25:32 +02:00
tastybento da996714a1 Check for warp file before loading 2019-01-29 14:04:56 -08:00
tastybento e80be18712 Updated to lated API 2019-01-16 12:46:39 -08:00
Florian CUNY 695e8b4c6b The Flattening + renamed to "WelcomeWarps" + codemc CI 2018-10-31 14:32:21 +01:00
tastybento 91274fb414 Fixed for 0.12.0 API. 2018-10-30 18:12:30 -07:00