Commit Graph

541 Commits

Author SHA1 Message Date
60c543e52a Adds a new class for keeping track of portal options 2021-10-08 01:25:25 +02:00
76b2aab057 Tries to improve readability of the portal creation code 2021-10-06 19:46:34 +02:00
201f7eaf15 Adds a class for storing a portal's location data 2021-10-06 19:45:49 +02:00
d86aae87f3 Extracts portal creation validation into its own method 2021-09-25 13:52:00 +02:00
e4f71f1b71 Extracts some portal creation code into separate methods 2021-09-25 13:22:50 +02:00
7dcf050d96 Removes a function for checking if a control block is powered as it's never used 2021-09-25 12:46:59 +02:00
8ada84ddb3 Improves an error message 2021-09-23 18:21:15 +02:00
98cee192aa Fixes some behavior when a language is valid, but the language file does not exist 2021-09-23 18:12:57 +02:00
650a26402a Moves all config migration mappings to its own file 2021-09-23 17:50:43 +02:00
461202503e Adds migration for useiconomy and CheckUpdates which were found in old config files 2021-09-22 13:52:22 +02:00
dd7176fa12 Adds config migration to reduce annoyance and improve backwards compatibility 2021-09-22 13:42:21 +02:00
b7c7252fad Improves the differentiation between portals (stargates) and gates 2021-09-21 18:28:18 +02:00
24af26324a Renames some methods to prevent confusion 2021-09-20 19:23:57 +02:00
f2579c4b12 Adds back default constructor as removing it caused it to no longer load 2021-09-20 18:52:16 +02:00
1e29db58b9 Improves some variable names and adds some comments 2021-09-20 18:22:20 +02:00
d24f35375a Changes the default folders to prevent problems on Unix systems 2021-09-20 18:21:26 +02:00
f681db629f Refactors a lot of code, and extracts permission-related functions to the PermissionHelper class 2021-09-20 13:56:30 +02:00
b57f988b62 Improves formatting for some files 2021-09-20 13:48:03 +02:00
f12306426b Renames strings in onCommand to args for consistency 2021-09-20 13:46:20 +02:00
8ff30ed03f Improves config readability, but breaks backwards compatibility 2021-09-19 17:46:20 +02:00
d5e6f1145c Removes unused getBalance method 2021-09-19 15:06:41 +02:00
8835e69e3c Moves some code from Stargate to EconomyHandler 2021-09-19 15:05:19 +02:00
b191ac1de5 Moves some classes to the new container package, and improves some code 2021-09-18 21:51:29 +02:00
4851a0b5e2 Only gets vehicle exit world when it's actually used 2021-09-16 21:31:32 +02:00
e253e95cec Minor function cleaning 2021-09-12 15:23:22 +02:00
c35378cfe0 Improves pre-teleport chunk loading 2021-09-12 06:18:20 +02:00
319849fd96 Prevents suffocation when teleporting on a horse 2021-09-12 06:02:10 +02:00
abd48b646d Fixes code for slab checking to prevent the player from teleporting underneath the block 2021-09-12 02:21:13 +02:00
f2332badb6 Adds some missing information about creating bungee gates 2021-09-12 01:31:21 +02:00
19018e46b8 Fixes some bugs regarding bungee teleportation
Fixes the server being teleported normally after it's teleported to another server
Fixes a nullpointerexception
2021-09-12 01:23:16 +02:00
ec4ed1e086 Fixes some more warnings 2021-09-11 17:02:43 +02:00
5c601710e7 Removes the unused frameBlocks variable and isGateBlock 2021-09-11 16:44:55 +02:00
a6fb7dcb62 Fixes some warnings 2021-09-11 16:43:31 +02:00
6005c2c6d1 Adds some information about usable portal open/closed materials to the readme 2021-09-11 16:37:55 +02:00
1c3dbbe81d Renames the blox populator and block populator thread as I finally understand what they actually do 2021-09-11 15:33:45 +02:00
87735e4935 Adds some helper functions to make getting direction-related values easier
Adds a function for getting the yaw given two locations
Adds a function for getting a block face given a yaw
2021-09-11 15:04:55 +02:00
93f8f715e5 Fixes some old bugs and renames rotX to yaw
Fixes the direction of minecarts sent through a portal. This prevent the minecarts to go back through the portal
and causing a lot of confusion
2021-09-10 23:38:56 +02:00
b4059dd169 Adds an event listener to prevent the nether portal stargates from creating actual nether portals 2021-09-10 23:35:27 +02:00
a86a5de8c3 Fixes the bug with teleporting horses, but introduces a bug with teleporting minecarts 2021-09-10 21:32:58 +02:00
7b83b2440c Sets junit version 2021-09-09 15:43:50 +02:00
8ae4ac3fc7 Makes sure to only try and create the portal folder if it does not exist 2021-09-09 15:42:30 +02:00
3ac6270897 Merge branch 'master' into vehicles 2021-09-09 15:26:25 +02:00
daa3c6f868 Cleans up a bit and changes to compile for java 16 and spigot 1.17 2021-09-09 15:25:08 +02:00
75fbd44af7 Removes an s in class name of PlayerEventsListener 2021-09-02 00:31:03 +02:00
0fe2a5b380 Adds some more fixes and improvements for vehicle teleportation 2021-06-11 20:46:14 +02:00
b1aa53c1a9 Adds missing comments to BlockPopulatorThread and make end gateways teleport entities back to itself to prevent strange behavior
Because of the teleport change, end gateways work to teleport player,
and end gateways work to the end for vehicles, but vehicles cannot teleport back from the end
2021-03-02 17:55:14 +01:00
44dfa2a10d Greatly refactors gate loading 2021-02-28 21:53:27 +01:00
504ef1b52f Adds remaining missing comments to Portal 2021-02-27 22:50:44 +01:00
da32cf11d1 Fixes some things regarding vehicle teleportation
Adds extra space between the portal and the vehicle if the destination portal is always on
Fixes a bug causing vehicles not being detected soon enough
Fixes boats facing into the portal rather than out from the portal
Fixes boats spawning inside water rather than on top of it if water is in front of a portal
2021-02-27 22:34:10 +01:00
ba64572254 Adds more comments, simplifies some code and improves positioning of teleported large entities, like horses 2021-02-27 21:17:36 +01:00