Commit Graph

  • 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
  • e49b94cf9a Adds a class for helping to decide if a material is a wall coral (dead or alive) EpicKnarvik97 2021-02-10 02:19:48 +01:00
  • a8c0574f3b Adds other authors to plugin.yml EpicKnarvik97 2021-02-10 02:17:49 +01:00
  • f0a7ff8c47 Adds more BlockLocation tests EpicKnarvik97 2021-02-09 23:25:52 +01:00
  • 32410a82ba Adds some tests for the equals method of BlockLocationTest EpicKnarvik97 2021-02-09 21:12:43 +01:00
  • b6d18a4217 Adds an extra constructor to Stargate required for testing EpicKnarvik97 2021-02-09 21:12:04 +01:00
  • 68f3bca04f Adds MockBukkit and JUnit dependencies for testing EpicKnarvik97 2021-02-09 21:11:22 +01:00
  • 2bd5bb36cf Updates README to account for recent changes EpicKnarvik97 2021-02-09 20:40:48 +01:00
  • 5a9d70f827 Adds a warning against treating BlockLocation as a Location EpicKnarvik97 2021-02-09 20:38:50 +01:00
  • a5cf1a7cd3 Improves translation rate of info and error strings EpicKnarvik97 2021-02-09 20:10:17 +01:00
  • af6a2537b8 Adds more information regarding why economy could not be enabled EpicKnarvik97 2021-02-09 20:09:49 +01:00
  • cdae2d8f35 Adds language strings related to loading Vault EpicKnarvik97 2021-02-09 20:08:40 +01:00
  • 9ace568047 Fixes garbled text caused by writing, but not reading language files as UTF-8 EpicKnarvik97 2021-02-09 20:07:56 +01:00
  • 5a8e8a219e Replaces several static strings with strings from the language files EpicKnarvik97 2021-02-09 18:47:54 +01:00
  • 3521257cb2 Adds some vault related strings to the english language file EpicKnarvik97 2021-02-09 18:46:55 +01:00
  • b9cbe9ee4c Makes Vault a soft dependency EpicKnarvik97 2021-02-09 18:46:30 +01:00
  • e702a0d734 Tidies up and comments the economy handler and removes the depreciated method of getting an offline player by username EpicKnarvik97 2021-02-08 14:30:14 +01:00
  • f97cb32466 Improves messages for the language loader EpicKnarvik97 2021-02-08 14:27:53 +01:00
  • 4f5cb84d02 Improves error handling when unable to load a language and always uses english as backup language to make sure the plugin won't crash when an invalid language is chosen EpicKnarvik97 2021-02-08 05:10:10 +01:00
  • 341a445d16 Fixes language file formats, fixes name of Norwegian Bokmål and adds Norewgian Bokmål EpicKnarvik97 2021-02-08 05:07:35 +01:00
  • df111c2750 Adds Norwegian translation EpicKnarvik97 2021-02-08 01:54:18 +01:00
  • 6825266a92 Fixes a bug caused by BlockLocation not being able to be instantiated from a location object EpicKnarvik97 2021-02-08 00:35:34 +01:00
  • 6d6a7e52b2 Renames usages of BungeeCoordListener to BungeeCordListener EpicKnarvik97 2021-02-08 00:33:55 +01:00
  • 6e1a69881c Cleans, comments and renames BungeeCordListener EpicKnarvik97 2021-02-08 00:32:58 +01:00
  • 9233776b2c Adds comments to BloxPopulator EpicKnarvik97 2021-02-08 00:32:20 +01:00
  • 27aa0ed29d Removes a function from BlockLocation present in Location which caused an infinite loop EpicKnarvik97 2021-02-08 00:31:53 +01:00
  • 4e3867eae9 Simplifies BlockLocation by making it extend Location EpicKnarvik97 2021-02-07 16:58:33 +01:00
  • ad2be87404 Cleans and commments the BlockLocation class by storing most of its information as a Location EpicKnarvik97 2021-02-07 16:37:42 +01:00
  • a268370f52 Updates plugin version to 0.9 EpicKnarvik97 2021-02-07 16:34:13 +01:00
  • c8d82a8575 Removes CommonFunctions as it wasn't used EpicKnarvik97 2021-02-07 16:33:45 +01:00
  • 6ff998ac3b Restructures the plugin and starts work on cleaning and commenting the code EpicKnarvik97 2021-02-07 03:37:25 +01:00
  • 2480a432a4 Document button configuration in README.md 0.8.0.3 Michael Smith 2020-10-18 01:13:38 -07:00
  • 188f27d419 8.0.3 release Michael Smith 2020-10-18 00:53:49 -07:00
  • 2628553627 Add custom buttons for gates (Closes #7) Michael Smith 2020-10-18 00:53:38 -07:00
  • 457d004abd Fix economy support (Closes #8) Michael Smith 2020-10-18 00:45:02 -07:00
  • 2bad9ec73d 8.0.2 release Michael Smith 2020-09-04 08:04:31 -07:00
  • 9f71eeb08b Add color code support in lang files (Fixes #5) Michael Smith 2020-09-01 05:10:22 -07:00
  • 654ddefb6e Fix player relative yaw when exiting portal (Fixes #4) Michael Smith 2020-08-28 02:51:25 -07:00