Commit Graph

37 Commits

Author SHA1 Message Date
Phoenix616 b8d686d9d3
Re-add backwards support down to 1.13
Also update PaperLib dependency and repo
2022-05-22 12:42:51 +01:00
Phoenix616 4a77bf1519
Use configured unsafe blocks in height validator 2022-03-08 14:41:16 +01:00
Phoenix616 9dfc62f9f5
Fix safe vs. save error 2021-02-16 19:50:17 +01:00
Phoenix616 dea38a1579
Fix placeholder replacements not working 2020-09-16 00:28:43 +01:00
Phoenix616 73a49f779b
Only apply cooldown if teleport was successful 2020-09-16 00:24:11 +01:00
Phoenix616 a8db0033df
Add MineDown support (and with that RGB colors) 2020-09-03 17:23:23 +01:00
Phoenix616 952feb83f9
Teleport async and send message on fail to fix issues with world changes 2020-07-20 17:35:29 +01:00
Phoenix616 e0f1ed950b Add delay between random location checks and command parameter to set it 2020-06-22 21:49:34 +01:00
Phoenix616 a76b60a3c7 Fix option parser issues with minus values (Fixes #38) 2020-06-01 17:15:11 +01:00
Phoenix616 0c35fe9bb9 Require 1.13 2020-04-17 23:31:45 +01:00
Phoenix616 dd6fffe0d5 Force random location to the middle of block before teleporting (#33)
Also add 0.1 to the y so that the player is guaranteed to be above the below block
2019-10-03 13:46:42 +01:00
Phoenix616 081d217053 Added min and max y settings (Resolves #2)
Max y will be 127 in the nether by default. Use the -maxY parameter to change it. Also once a maxY is set it will try to find a random y between the values if the highest block is above the max y value.
2019-10-02 17:02:09 +01:00
Phoenix616 8eb93d138e Fix compatibility with 1.12 2019-09-19 20:02:29 +01:00
Phoenix616 e979043e14 Send target location block change to player (possibly related to #33)
This has been shown to stop the client from falling into blocks while teleporting in the past and might as well still solve some issues where the client hasn't received the chunk data yet.
2019-09-19 18:21:10 +01:00
Phoenix616 66b02e8201 Fix randomteleport.cooldownexempt not working 2019-08-23 19:50:48 +01:00
Phoenix616 aa9d995e4d Re-add ability to only search in loaded chunks 2019-07-27 15:38:55 +01:00
Phoenix616 6ee71ec50e Set id to preset name if not specified (Fixes #32) 2019-07-27 15:28:28 +01:00
Phoenix616 a49cc5fc8f Use correct index 2019-04-27 17:00:03 +01:00
Phoenix616 5b5450ad08 Add some more permissions and properly set command permission 2019-04-27 02:48:49 +01:00
Phoenix616 8a17bfc000 Check correct exception for logging it 2019-04-27 01:24:24 +01:00
Phoenix616 58c1a98005 Fix duplicate message and only log unexpected errors 2019-04-27 01:04:55 +01:00
Phoenix616 b25e38f393 Rename maxChecks to maxTries and add command flag 2019-04-27 01:03:59 +01:00
Phoenix616 32de0ca58b Fix Y coordinate at the proper location
This is necessary as the searcher is validating the block below the player's feet, not the one the player is standing in. Therefore we add one to the Y coordinate when completing.
2019-04-27 01:00:18 +01:00
Yannick Lamprecht 483a0bb2b3 Add an API (#27) 2019-04-27 00:57:32 +01:00
Phoenix616 9a1004723c Use correct location in teleporting messages 2019-04-13 12:17:50 +01:00
Phoenix616 5f73ccc955 Fix cooldown, y location calculator and teleport target 2019-04-12 22:38:42 +01:00
Phoenix616 f0f014cc23 Use correct cooldown message 2019-04-12 22:13:21 +01:00
Phoenix616 c4d9fd74af Don't start multiple searches at once
This only applies to sign interactions and when a player uses a preset himself
2019-04-12 16:07:06 +01:00
Phoenix616 3d378bdb7b Add option for setting the spawnpoint after teleporting 2019-04-12 13:10:39 +01:00
Phoenix616 d16f95b3b1 Add simple cooldown functionality
Currently doesn't support storing of that information beyond server restarts.
Also improve formatting in the plugin.yml
2019-03-27 19:02:21 +01:00
Phoenix616 2ae3593687 Fix y height and async chunk load errors
Also use the correct placeholder name for the world
2019-03-27 13:54:26 +01:00
Phoenix616 93149fe488 Add support for teleporting Entities on API level (Necessary for #26) 2019-03-25 21:28:48 +01:00
Phoenix616 b9c1f02e2e Support listing players in a comma-separated list 2019-03-25 21:26:25 +01:00
Phoenix616 f8a335a405 Fix center z setting 2019-03-25 21:20:14 +01:00
Phoenix616 7c5f658de1 Add preset commands and signs 2019-03-25 21:16:05 +01:00
Phoenix616 59bcf6e79a Implement validators and command parsing. Also add language support.
Theoretically this should already work...
2019-02-20 00:44:10 +01:00
Phoenix616 bb8528dbc6 [WIP] Some initial code and structure for v2 2019-01-09 01:34:52 +01:00