Commit Graph

  • 1c906528f2 Cleans up message logging quite a bit EpicKnarvik97 2021-10-26 15:05:05 +02:00
  • eaf7596014 Adds information about the new default gates to the Building a gate section EpicKnarvik97 2021-10-26 12:51:05 +02:00
  • 669767ef89 Renames RelativeBlockVector's right, depth and distance to right, down and out respectively EpicKnarvik97 2021-10-24 22:48:13 +02:00
  • 822f8fb2b5 Changes BungeeCord messages to use UUID instead of player name EpicKnarvik97 2021-10-24 21:15:43 +02:00
  • 3367d4bb76 Disables the generation of buttons on bungee portals EpicKnarvik97 2021-10-23 22:17:02 +02:00
  • a100ad3fea Fixes a check which broke all bungee portals EpicKnarvik97 2021-10-23 22:16:36 +02:00
  • 2541391d3e Moves all config related code from Stargate to StargateConfig EpicKnarvik97 2021-10-23 18:34:31 +02:00
  • b7998023f5 Moves activeTime and openTime into the StargateGateConfig EpicKnarvik97 2021-10-23 14:35:07 +02:00
  • deba2e5c2c Makes the stargate logger private EpicKnarvik97 2021-10-23 14:25:46 +02:00
  • 7cc8685e26 Moves all methods for sending messages to players to the MessageSender class EpicKnarvik97 2021-10-23 14:10:33 +02:00
  • 50084c40f9 Moves the Bungee Queue to BungeeHelper EpicKnarvik97 2021-10-23 12:58:31 +02:00
  • 2196d5b99e Moves some config values from StarGate and into the StarGateConfig class EpicKnarvik97 2021-10-23 03:56:59 +02:00
  • 070e7250df Re-draws every portal sign each time a new world is loaded to prevent weird states EpicKnarvik97 2021-10-22 21:56:35 +02:00
  • 9a0f16e558 Moves the portal owner name and owner UUID to the PortalOwner class which makes the TwoTuple unnecessary EpicKnarvik97 2021-10-22 19:51:46 +02:00
  • 485ca284b0 Extracts portal saving and loading to the PortalFileHelper class EpicKnarvik97 2021-10-22 16:18:35 +02:00
  • 4e09b44c7c Extracts portal registration and all portal lookup to the PortalRegistry class EpicKnarvik97 2021-10-21 23:59:16 +02:00
  • 593d528bcd Extracts the portal creation and validation part of the PortalHandler into the PortalCreator EpicKnarvik97 2021-10-21 20:15:29 +02:00
  • 79a43b82e5 Fixes the readme's max sign character limits as the real limit is 11, not 12 EpicKnarvik97 2021-10-21 20:13:34 +02:00
  • cb2f7443f5 Improves comments for PortalOptions EpicKnarvik97 2021-10-21 16:39:35 +02:00
  • 8eff9ae5e6 Fixes comments for the PortalOpener class EpicKnarvik97 2021-10-21 00:27:42 +02:00
  • 4b42d4914a Renames openTime to activatedTime, though it's kind of used for both opening and activation EpicKnarvik97 2021-10-20 20:57:00 +02:00
  • 2650e31d97 Fixes comments for the portal activator EpicKnarvik97 2021-10-20 20:55:51 +02:00
  • d2e8c81a5a Splits the portal class into Portal, PortalActivator, PortalOpener and PortalStructure EpicKnarvik97 2021-10-20 16:09:35 +02:00
  • 635d08b1b3 Makes the SignHelper helper class into the proper PortalSignDrawer which each Portal now has one instance of EpicKnarvik97 2021-10-20 01:33:36 +02:00
  • 1d4b988ca4 Moves the rest of the sign drawing code from Portal to SignHelper EpicKnarvik97 2021-10-18 19:12:30 +02:00
  • 82ed28bba0 Removes the DirectionHelper's getBlockAt method as it only increased complexity EpicKnarvik97 2021-10-18 18:52:24 +02:00
  • 0506cf1b61 Splits the PortalTeleporter into a PlayerTeleporter and a VehicleTeleporter for better structuring EpicKnarvik97 2021-10-18 18:38:36 +02:00
  • f4ec5e05d6 Improves sign drawing during portal loading EpicKnarvik97 2021-10-18 18:34:35 +02:00
  • 8c16ddbed5 Adds some tests to the relative block vector EpicKnarvik97 2021-10-18 15:22:55 +02:00
  • 27b1f0641e Adds some block location tests EpicKnarvik97 2021-10-18 14:57:12 +02:00
  • ac045fa7db Fixes a severe bug caused by trying to simplify GateLayout's saveLayout method EpicKnarvik97 2021-10-18 04:00:18 +02:00
  • 982d8abf65 Extracts teleportation code into the PortalTeleporter class to improve readability EpicKnarvik97 2021-10-18 03:41:16 +02:00
  • f96e8ed2da Adds a method for checking if a player can afford a given fee EpicKnarvik97 2021-10-18 03:36:56 +02:00
  • d9ae5456cc Improves permission checking for vehicles with multiple passengers EpicKnarvik97 2021-10-18 03:35:59 +02:00
  • fabe0dda80 Fixes inconsistencies in coloring of the portal name when drawing signs. The - is now white. EpicKnarvik97 2021-10-17 22:47:27 +02:00
  • 3de785d5ab Improves and fixes comments for the gate layout class EpicKnarvik97 2021-10-16 16:44:11 +02:00
  • 59069d1423 Improves comments in the GateHandler class and extracts some code into GateReader EpicKnarvik97 2021-10-15 22:16:02 +02:00
  • 5299efaa86 Renames types to characterMaterialMap inside the GateHandler class EpicKnarvik97 2021-10-15 19:46:25 +02:00
  • e2c91c1feb Changes EconomyHandler method names to be more consistent EpicKnarvik97 2021-10-15 19:25:31 +02:00
  • d45af537cd Removes the unused getCorners method EpicKnarvik97 2021-10-15 19:24:15 +02:00
  • 6e658003e0 Improves Gate comments where possible EpicKnarvik97 2021-10-15 19:23:17 +02:00
  • 382156a719 Adds missing information about gate economy config values EpicKnarvik97 2021-10-15 18:52:02 +02:00
  • 44325eeb6a Improves and fixes comments for listeners EpicKnarvik97 2021-10-13 16:46:30 +02:00
  • bf7a10636e Improves comments for Stargate events, and adds a new event for teleporting entities EpicKnarvik97 2021-10-13 15:45:15 +02:00
  • 0ab6cb52c0 Makes some small comment adjustments EpicKnarvik97 2021-10-13 14:08:38 +02:00
  • f16a7089f4 Updates the comments for BlockLocation EpicKnarvik97 2021-10-13 13:35:56 +02:00
  • 4bdc5b6bd9 Populates default gates after migrating config to update default gates for old installations EpicKnarvik97 2021-10-12 20:41:45 +02:00
  • 5b6e3f81a6 Updates readme to mark end portals as functional EpicKnarvik97 2021-10-12 04:18:58 +02:00
  • 0709c18e30 Adjusts height to get above slabs to an entire block as empty minecarts clipped through single slab layers EpicKnarvik97 2021-10-12 03:48:13 +02:00
  • e14007380f Adds proper checking and odd case catching before teleporting players through artificial end portals EpicKnarvik97 2021-10-12 02:47:09 +02:00
  • 53cd55938b Fixes teleportation of players using end portals to and from the end EpicKnarvik97 2021-10-12 01:11:52 +02:00
  • 51afa1527f Updates the API version used as 1.16 is no longer the target version EpicKnarvik97 2021-10-11 20:16:36 +02:00
  • 72c1b5a239 Updates About information EpicKnarvik97 2021-10-11 20:13:50 +02:00
  • b0c350a140 Updates README to reflect vehicle teleportation capabilities EpicKnarvik97 2021-10-11 01:35:12 +02:00
  • 06757ef9ee Removes debug output for chunk unloading EpicKnarvik97 2021-10-11 01:20:50 +02:00
  • 9efc960696 Makes sure to check entrance blocks when, and only when, protectEntrance is enabled EpicKnarvik97 2021-10-11 00:11:04 +02:00
  • 1bf9914c39 Generifies another vehicle check EpicKnarvik97 2021-10-11 00:03:49 +02:00
  • 05123d54bd Generifies the check for non-living vehicles just in case EpicKnarvik97 2021-10-10 23:38:20 +02:00
  • 2e4d545955 Changes the vehicle check to prevent players in boats from leaving their boat to teleport EpicKnarvik97 2021-10-10 23:17:29 +02:00
  • f8fae1fbf1 Makes sure to ignore mounted players if handleVehicles is disabled EpicKnarvik97 2021-10-10 23:11:52 +02:00
  • 964eb0f898 Adds a new The End- inspired gate for more default diversity EpicKnarvik97 2021-10-10 23:03:39 +02:00
  • 38ea543b80 Improves chunk unloading EpicKnarvik97 2021-10-10 22:33:30 +02:00
  • 69a62c921c Fixes the color inconsistency for the portal selection "arrows" for gates with colored names EpicKnarvik97 2021-10-10 17:21:19 +02:00
  • 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