Commit Graph

32 Commits

Author SHA1 Message Date
Phoenix616
24e92041c1 Fix random infinite loop and wrong axis usage in coordinate check 2019-04-27 01:06:56 +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
58353be4bd Fix loop exit condition 2019-04-12 19:46:39 +01:00
Phoenix616
f44c491324 Improve random coordinate selection
This will test all x/z coordinates in a chunk instead of loading extra chunks
2019-04-12 19:42:54 +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
80eeab8fc0 Update to PaperLib 1.0.2 to fix version detection 2019-04-12 15:44:15 +01:00
Phoenix616
2434bcfb07 Fix hook order reversal 2019-04-12 13:17:23 +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
8fe13fa16d Fix SimpleOptionParser 2019-03-27 13:53:40 +01:00
Phoenix616
94ce85551a Fix hook loading 2019-03-26 20:23:34 +01:00
Phoenix616
5eba37c68b Fix maven building issues 2019-03-26 13:06:51 +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
17f303fb01 Use block state directly instead of creating a new snapshot 2019-01-23 00:49:52 +01:00
Phoenix616
9017dadc15 Fix issues with maven build 2019-01-23 00:48:02 +01:00
Phoenix616
f0ed0105d1 Add hook for WorldBorder plugin 2019-01-23 00:19:08 +01:00
Phoenix616
69686dd43f Add hooks for Worldguard 6 and 7 2019-01-23 00:10:16 +01:00
Phoenix616
ff4106253b Check if player can build as we don't care about actual protection info 2019-01-22 23:59:54 +01:00
Phoenix616
514e2bb684 Prepare plugin hooks module 2019-01-22 23:15:32 +01:00
Phoenix616
fd552c9ecb Rename hooks module to just hook 2019-01-22 23:05:13 +01:00
Phoenix616
bb8528dbc6 [WIP] Some initial code and structure for v2 2019-01-09 01:34:52 +01:00