Commit Graph

  • b847002617 Adds some small changes which seem to completely fix all horse teleportation bugs. Fixes #1 EpicKnarvik97 2021-10-10 17:15:00 +02:00
  • 6ad7fa4cb9 Removes the IllegalStateException Removing entity while ticking! TODO as it seems to have been fixed by preventing portal creation EpicKnarvik97 2021-10-10 16:14:51 +02:00
  • 2abe10bcde Improves the way chunks are loaded, and decreases the wait time before players are put into minecarts EpicKnarvik97 2021-10-10 15:10:36 +02:00
  • 7a9dbb8046 Implements some Java 14 code migrations EpicKnarvik97 2021-10-09 23:41:19 +02:00
  • 3a8943baef Configures the maven-compiler-plugin to also compile the source code as Java 16 EpicKnarvik97 2021-10-09 23:38:55 +02:00
  • be8de83bcc Forces a teleported horse to become tamed EpicKnarvik97 2021-10-09 18:48:59 +02:00
  • ba3304a716 Fixes a minecart rotation bug caused by changing the rotation of the deleted vehicle instead of the new one EpicKnarvik97 2021-10-09 17:03:19 +02:00
  • 051a6b8f98 Removes the temporary ignoreEntrances option and replaces it with proper snowman blocking. Fixes #3 EpicKnarvik97 2021-10-09 15:09:14 +02:00
  • f87ffc906c Minor comment and formatting cleanup EpicKnarvik97 2021-10-09 03:57:24 +02:00
  • 336c3c4bfb Updates information about plugin settings EpicKnarvik97 2021-10-09 03:02:00 +02:00
  • 2fec641d9d Fixes typos EpicKnarvik97 2021-10-08 23:23:06 +02:00
  • 0c29788a31 Fixes the behavior of backwards portals EpicKnarvik97 2021-10-08 18:59:14 +02:00
  • fff4d8d78b Gets rid of the rest of the modX and modY usages, and removes some unused code EpicKnarvik97 2021-10-08 18:23:42 +02:00
  • a68dc4b464 Updates the README with new info and fixes a ton of gramatical errors EpicKnarvik97 2021-10-08 18:21:30 +02:00
  • 6d5c4802bc Creates some new methods to get a location from a relative location which I can actually understand EpicKnarvik97 2021-10-08 15:28:12 +02:00
  • e7fc1daafe Moves functionality to the PortalOptions and PortalLocation classes EpicKnarvik97 2021-10-08 01:26:12 +02:00
  • 60c543e52a Adds a new class for keeping track of portal options EpicKnarvik97 2021-10-08 01:25:25 +02:00
  • 76b2aab057 Tries to improve readability of the portal creation code EpicKnarvik97 2021-10-06 19:46:34 +02:00
  • 201f7eaf15 Adds a class for storing a portal's location data EpicKnarvik97 2021-10-06 19:45:49 +02:00
  • d86aae87f3 Extracts portal creation validation into its own method EpicKnarvik97 2021-09-25 13:52:00 +02:00
  • e4f71f1b71 Extracts some portal creation code into separate methods EpicKnarvik97 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 EpicKnarvik97 2021-09-25 12:46:59 +02:00
  • 8ada84ddb3 Improves an error message EpicKnarvik97 2021-09-23 18:21:15 +02:00
  • 98cee192aa Fixes some behavior when a language is valid, but the language file does not exist EpicKnarvik97 2021-09-23 18:12:57 +02:00
  • 650a26402a Moves all config migration mappings to its own file EpicKnarvik97 2021-09-23 17:50:43 +02:00
  • 461202503e Adds migration for useiconomy and CheckUpdates which were found in old config files EpicKnarvik97 2021-09-22 13:52:22 +02:00
  • dd7176fa12 Adds config migration to reduce annoyance and improve backwards compatibility EpicKnarvik97 2021-09-22 13:42:21 +02:00
  • b7c7252fad Improves the differentiation between portals (stargates) and gates EpicKnarvik97 2021-09-21 18:28:18 +02:00
  • 24af26324a Renames some methods to prevent confusion EpicKnarvik97 2021-09-20 19:23:57 +02:00
  • f2579c4b12 Adds back default constructor as removing it caused it to no longer load EpicKnarvik97 2021-09-20 18:52:16 +02:00
  • 1e29db58b9 Improves some variable names and adds some comments EpicKnarvik97 2021-09-20 18:22:20 +02:00
  • d24f35375a Changes the default folders to prevent problems on Unix systems EpicKnarvik97 2021-09-20 18:21:26 +02:00
  • f681db629f Refactors a lot of code, and extracts permission-related functions to the PermissionHelper class EpicKnarvik97 2021-09-20 13:56:30 +02:00
  • b57f988b62 Improves formatting for some files EpicKnarvik97 2021-09-20 13:48:03 +02:00
  • f12306426b Renames strings in onCommand to args for consistency EpicKnarvik97 2021-09-20 13:46:20 +02:00
  • 8ff30ed03f Improves config readability, but breaks backwards compatibility EpicKnarvik97 2021-09-19 17:46:20 +02:00
  • d5e6f1145c Removes unused getBalance method EpicKnarvik97 2021-09-19 15:06:41 +02:00
  • 8835e69e3c Moves some code from Stargate to EconomyHandler EpicKnarvik97 2021-09-19 15:05:19 +02:00
  • b191ac1de5 Moves some classes to the new container package, and improves some code EpicKnarvik97 2021-09-18 21:51:29 +02:00
  • 4851a0b5e2 Only gets vehicle exit world when it's actually used EpicKnarvik97 2021-09-16 21:31:32 +02:00
  • e253e95cec Minor function cleaning EpicKnarvik97 2021-09-12 15:23:22 +02:00
  • c35378cfe0 Improves pre-teleport chunk loading EpicKnarvik97 2021-09-12 06:18:20 +02:00
  • 319849fd96 Prevents suffocation when teleporting on a horse EpicKnarvik97 2021-09-12 06:02:10 +02:00
  • abd48b646d Fixes code for slab checking to prevent the player from teleporting underneath the block EpicKnarvik97 2021-09-12 02:21:13 +02:00
  • f2332badb6 Adds some missing information about creating bungee gates EpicKnarvik97 2021-09-12 01:31:21 +02:00
  • 19018e46b8 Fixes some bugs regarding bungee teleportation EpicKnarvik97 2021-09-12 01:23:16 +02:00
  • ec4ed1e086 Fixes some more warnings EpicKnarvik97 2021-09-11 17:02:43 +02:00
  • 5c601710e7 Removes the unused frameBlocks variable and isGateBlock EpicKnarvik97 2021-09-11 16:44:55 +02:00
  • a6fb7dcb62 Fixes some warnings EpicKnarvik97 2021-09-11 16:43:31 +02:00
  • 6005c2c6d1 Adds some information about usable portal open/closed materials to the readme EpicKnarvik97 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 EpicKnarvik97 2021-09-11 15:33:45 +02:00
  • 87735e4935 Adds some helper functions to make getting direction-related values easier EpicKnarvik97 2021-09-11 15:04:55 +02:00
  • 93f8f715e5 Fixes some old bugs and renames rotX to yaw EpicKnarvik97 2021-09-10 23:38:56 +02:00
  • b4059dd169 Adds an event listener to prevent the nether portal stargates from creating actual nether portals EpicKnarvik97 2021-09-10 23:35:27 +02:00
  • a86a5de8c3 Fixes the bug with teleporting horses, but introduces a bug with teleporting minecarts EpicKnarvik97 2021-09-10 21:32:58 +02:00
  • 7b83b2440c Sets junit version EpicKnarvik97 2021-09-09 15:43:50 +02:00
  • 8ae4ac3fc7 Makes sure to only try and create the portal folder if it does not exist EpicKnarvik97 2021-09-09 15:42:30 +02:00
  • 3ac6270897 Merge branch 'master' into vehicles EpicKnarvik97 2021-09-09 15:26:25 +02:00
  • daa3c6f868 Cleans up a bit and changes to compile for java 16 and spigot 1.17 EpicKnarvik97 2021-09-09 15:25:08 +02:00
  • 75fbd44af7 Removes an s in class name of PlayerEventsListener EpicKnarvik97 2021-09-02 00:31:03 +02:00
  • 0fe2a5b380 Adds some more fixes and improvements for vehicle teleportation EpicKnarvik97 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 EpicKnarvik97 2021-03-02 17:55:14 +01:00
  • 44dfa2a10d Greatly refactors gate loading EpicKnarvik97 2021-02-28 21:53:27 +01:00
  • 504ef1b52f Adds remaining missing comments to Portal EpicKnarvik97 2021-02-27 22:50:44 +01:00
  • da32cf11d1 Fixes some things regarding vehicle teleportation EpicKnarvik97 2021-02-27 22:34:10 +01:00
  • ba64572254 Adds more comments, simplifies some code and improves positioning of teleported large entities, like horses EpicKnarvik97 2021-02-27 21:17:36 +01:00
  • 79703e49af Adds a class which helps with modZ and modX calculations EpicKnarvik97 2021-02-27 21:15:39 +01:00
  • 496b5d9779 Moves sign drawing to a helper class to reduce the complexity of the portal class EpicKnarvik97 2021-02-24 18:12:26 +01:00
  • 378a59586d Heavily simplifies sign drawing and cleans up vehicle teleportation code EpicKnarvik97 2021-02-24 17:48:01 +01:00
  • 2b52759e00 Makes sure teleportation not from a plugin does not trigger vehicle teleportation EpicKnarvik97 2021-02-24 17:45:53 +01:00
  • 4acea17ba3 Fixes boats sometimes not detecting the portal before the player detects the portal EpicKnarvik97 2021-02-23 19:43:49 +01:00
  • 5f685b2460 Fixes some oddities regarding vehicle teleportation EpicKnarvik97 2021-02-23 19:17:05 +01:00
  • e42da6d6bd Updates the README with some of the recent changes EpicKnarvik97 2021-02-23 00:41:40 +01:00
  • 681014a431 Improves some code formatting in the portal open method EpicKnarvik97 2021-02-23 00:35:48 +01:00
  • af693bddd2 Fixes the timing of the block populator thread which caused a delay between opening a gate and it displaying as open EpicKnarvik97 2021-02-23 00:35:18 +01:00
  • 151c242e69 Changes names of some variables and one method to increase readability EpicKnarvik97 2021-02-22 20:36:37 +01:00
  • e5fef0b16a Moves the EconomyHandler to utility and adds some encapsulation for three of its variables EpicKnarvik97 2021-02-22 20:26:10 +01:00
  • e665a49f03 Adds missing comments to Gate and changes the matches function from n^2 to n execution time EpicKnarvik97 2021-02-22 20:25:07 +01:00
  • 279ea9d8f0 Fixes some nullpointerexceptions in PlayerEventsListener's onPlayerMove EpicKnarvik97 2021-02-22 20:23:12 +01:00
  • d26196b8aa Adds some extra explanations to gate layout's description EpicKnarvik97 2021-02-22 18:34:23 +01:00
  • fb70b8bc75 Splits Gate into Gate, GateLayout and GateHandler, and creates a new portal package with portal related classes EpicKnarvik97 2021-02-22 17:01:47 +01:00
  • c422cb9ea9 Overrides toString and equals methods of the relative block vector to make it testable EpicKnarvik97 2021-02-22 15:49:44 +01:00
  • a475e8d8b1 Adds missing comments to the world event listener and adds faster gate unloading EpicKnarvik97 2021-02-20 16:21:18 +01:00
  • 1d642bfcf2 Adds missing comments to the vehicle event listener EpicKnarvik97 2021-02-20 14:59:59 +01:00
  • 1da0f4eddc Adds comments to the plugin event listener EpicKnarvik97 2021-02-20 14:55:23 +01:00
  • 889a9d2cbc Finishes commenting and refactoring the player events listener EpicKnarvik97 2021-02-20 14:42:41 +01:00
  • 1721750aa1 Adds comments and simplifies some of the code EpicKnarvik97 2021-02-20 13:57:04 +01:00
  • 2ae4fc9645 Adds class comment to the stargate tab completer EpicKnarvik97 2021-02-19 12:07:34 +01:00
  • c912624df1 Adds comments to all custom events EpicKnarvik97 2021-02-19 12:06:23 +01:00
  • 5b7f5649b1 Makes a whole lot of changes EpicKnarvik97 2021-02-16 21:58:31 +01:00
  • df074b9ff5 Adds an entity portal event listener which fixes the infuriating bug which caused empty minecarts to disappear into the nether EpicKnarvik97 2021-02-12 01:35:55 +01:00
  • 42fa6ed8d7 Huge refactoring EpicKnarvik97 2021-02-12 00:26:47 +01:00
  • bd4586e386 Adds annotations to prevent warnings EpicKnarvik97 2021-02-12 00:24:27 +01:00
  • 1719e92494 Moves a bunch of inner classes to their own files EpicKnarvik97 2021-02-11 15:53:54 +01:00
  • 56410a58f8 Improves formatting of custom gate information EpicKnarvik97 2021-02-10 15:12:48 +01:00
  • ff8f762ea8 Fixes information about water gates and adds a list of all valid buttons EpicKnarvik97 2021-02-10 15:05:41 +01:00
  • c41429b6e0 Makes default gates load from files rather than being defined in code EpicKnarvik97 2021-02-10 14:32:01 +01:00
  • d472eab21b Adds two gate types to resources EpicKnarvik97 2021-02-10 14:30:30 +01:00
  • 095e59c65e Makes it easier to use any compatible block as a button EpicKnarvik97 2021-02-10 03:29:28 +01:00
  • 7b9f5a6de5 Adds underwater portal support using any wall coral as a button replacement EpicKnarvik97 2021-02-10 02:20:50 +01:00