Skip to content

Changes

Summary

  1. Began work on locale support (details)
  2. Modified all player messages to reference Locale Data (details)
  3. locale.yml was being made a directory (details)
  4. Added comments, cleaned up code, general coding improvements with better readability (details)
  5. Rewrote GameManager class, removed unnecessary code. (details)
  6. Checking whether Player is in game or not is done by GamePlayer instead of GameManager. (details)
  7. Created new ArenaManager class to handle Arena data, loading, unloading (details)
  8. GameManager handles all interfacing with the rest of the plugin (details)
  9. Modified Game to remove unnecessary code (details)
  10. Added ArenaListener to handle all Arena related Events (details)
  11. Improved readability of GamePlayer and improved encapsulation (details)
  12. Removed useWorlds boolean from Main, reference should always have been just from ConfigData (details)
  13. Simplified Version API Glow#register() method (details)
  14. Added getStatus to Arena and ArenaWorld along with enum ArenaStatus to streamline Arena states (details)
  15. First attempt to integrate new Arena#getStatus() changes (details)
  16. New files updated License headers (details)
  17. GameVoter now uses String lists instead of Arena lists (details)
  18. Fixed self-referencing initialization loops causing StackOverflow (details)
  19. Removed delete condition from ArenaWorld (details)
  20. Implemented update method to convert older Data files (details)
  21. ArenaManager was initializing too fast for FileManager (details)
  22. Reimplemented newer serialization method for Arena.class (details)
  23. Updated dependencies to 1.18.2 (details)
Commit 1e5f083d8d6382312b557fae3c9151241d3da3b8 by Justin Rose
Began work on locale support
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Main.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/PlayerData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GamePlayer.java (diff)
The file was addedtnt-plugin/src/main/resources/locale.yml
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/DataController.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/SignHandler.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/FileManager.java (diff)
The file was addedtnt-plugin/src/main/java/com/justinian6/tnt/io/LocaleData.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/WorldLoader.java (diff)
The file was addedtnt-plugin/src/main/java/com/justinian6/log/Messenger.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Cmd.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/PlayerState.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameVoter.java (diff)
The file was removedtnt-plugin/src/main/java/com/justinian6/tnt/util/Messenger.java
Commit fd1ff782f7fe30072efe3fc9ab947440571662d1 by Justin Rose
Modified all player messages to reference Locale Data
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/LocaleData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/DataController.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/FileManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/WorldLoader.java (diff)
The file was modified tnt-plugin/src/main/resources/locale.yml (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Cmd.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GamePlayer.java (diff)
The file was addedtnt-plugin/src/main/java/com/justinian6/tnt/util/Messenger.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/PlayerState.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Main.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameVoter.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/PlayerData.java (diff)
The file was removedtnt-plugin/src/main/java/com/justinian6/log/Messenger.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/SignHandler.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
Commit 5ea70ce7efe230d87cc2350ea369c5a3701f924e by Justin Rose
locale.yml was being made a directory
locale.yml shouldn't be saved
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/LocaleData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/FileManager.java (diff)
Commit 5fe75fe519ee6a4ac30604395647753666f503e4 by Justin Rose
Added comments, cleaned up code, general coding improvements with better readability
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/PlayerData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/CrashHandler.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GamePlayer.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/PlayerState.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/Messenger.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/FileManager.java (diff)
The file was removedtnt-plugin/src/main/java/com/justinian6/tnt/io/PrefData.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/DataController.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameVoter.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/ConfigData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/ArenaData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/WorldData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/SignHandler.java (diff)
The file was removedtnt-plugin/src/main/java/com/justinian6/tnt/io/StatData.java
The file was modified tnt-plugin/src/main/resources/locale.yml (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/SignData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/LocaleData.java (diff)
The file was removedtnt-plugin/src/main/java/com/justinian6/tnt/game/GameState.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/ArenaLocation.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/WorldLoader.java (diff)
Commit a57ed11fb39d8bed3f7a5494607297e7cd3834e8 by Justin Rose
Rewrote GameManager class, removed unnecessary code.
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Cmd.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
Commit 388b452ce797838b8c2f13a4af5294ff38aff459 by Justin Rose
Checking whether Player is in game or not is done by GamePlayer instead of GameManager.
ArenaData and WorldData now utilize List instead of ArrayList for serialization.
GameManager cleaned arena methods... Will put into separate class soon.
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/ArenaData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/SignHandler.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Cmd.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Arena.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameVoter.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GamePlayer.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/WorldData.java (diff)
Commit 7a0d45b40ef242a88dba89129d8c74c8befcf124 by Justin Rose
Created new ArenaManager class to handle Arena data, loading, unloading
The file was addedtnt-plugin/src/main/java/com/justinian6/tnt/game/ArenaManager.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/SignHandler.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameVoter.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Cmd.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
Commit d8c29db260f69be87501b5d695f362c3822d059f by Justin Rose
GameManager handles all interfacing with the rest of the plugin
Simplified Game code by letting GameManager handle termination
GameListener now Listens for all events that are Game related
Arena related objects have been moved to separate package, ArenaManager will handle all interfacing
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/WorldData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/CrashHandler.java (diff)
The file was addedtnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaWorldLoader.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
The file was addedtnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaWorld.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Cmd.java (diff)
The file was addedtnt-plugin/src/main/java/com/justinian6/tnt/game/GameListener.java
The file was addedtnt-plugin/src/main/java/com/justinian6/tnt/arena/Arena.java
The file was removedtnt-plugin/src/main/java/com/justinian6/tnt/game/ArenaWorld.java
The file was removedtnt-plugin/src/main/java/com/justinian6/tnt/util/WorldLoader.java
The file was addedtnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaLocation.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/event/TagArenaUpdateEvent.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Main.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GamePlayer.java (diff)
The file was removedtnt-plugin/src/main/java/com/justinian6/tnt/game/Arena.java
The file was addedtnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaManager.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/SignHandler.java (diff)
The file was removedtnt-plugin/src/main/java/com/justinian6/tnt/game/ArenaManager.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/ArenaData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/PlayerState.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameVoter.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/FileManager.java (diff)
The file was removedtnt-plugin/src/main/java/com/justinian6/tnt/util/ArenaLocation.java
Commit a0f0c2f2979189b4ee9612c07b6d43c275c1124a by Justin Rose
Modified Game to remove unnecessary code
ArenaWorldLoader listens for TagEndEvent to unload ArenaWorlds
Misc code modifications
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaWorld.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaWorldLoader.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/SignHandler.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Cmd.java (diff)
Commit 77d3d93cb47946b8087500f7cff3372dc70aae94 by Justin Rose
Added ArenaListener to handle all Arena related Events
ArenaManager now tracks which Arenas are in use
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaWorld.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Cmd.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/CrashHandler.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaWorldLoader.java (diff)
The file was addedtnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaBusyException.java
The file was addedtnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaListener.java
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/Arena.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
Commit cb2486faea4827f2461d52d8d807e370cfb390c9 by Justin Rose
Improved readability of GamePlayer and improved encapsulation
Added GameManager#playerLeave(Player) so player can leave through GameManager.
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Cmd.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameListener.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GamePlayer.java (diff)
Commit 64b763f30d97fdcf81cd945f3dfa098fd540219c by Justin Rose
Removed useWorlds boolean from Main, reference should always have been just from ConfigData
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaWorldLoader.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/SignHandler.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Main.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Cmd.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaListener.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/CrashHandler.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameListener.java (diff)
Commit 2cd278f46f9401e59e125014b4b759aba45b0fb8 by Justin Rose
Simplified Version API Glow#register() method
Using regex to check Version during Main#loadAPI()
Testing if GameListener gets loaded by GameManger correctly
The file was modified tnt-latest/src/main/java/com/justinian6/tnt/api/latest/Glow.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Main.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/FileManager.java (diff)
The file was modified tnt-v1_12_R2/src/main/java/com/justinian6/tnt/api/v1_12_R2/Glow.java (diff)
Commit b04ea99724caa0f288e2f3c0061bafb7335bf63a by Justin Rose
Added getStatus to Arena and ArenaWorld along with enum ArenaStatus to streamline Arena states
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaWorld.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/Arena.java (diff)
Commit 107a44a6be053f3e4128027e5f86c6b659426765 by Justin Rose
First attempt to integrate new Arena#getStatus() changes
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Cmd.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/Game.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/Arena.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/Main.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/util/SignHandler.java (diff)
Commit f23fb13728e2dbaffef0f3058e1420c3d898851b by Justin Rose
New files updated License headers
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameListener.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaBusyException.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaListener.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaManager.java (diff)
Commit 64d53b48ac96327c8be3e000c0f3fa47a0d29ad1 by Justin Rose
GameVoter now uses String lists instead of Arena lists
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameVoter.java (diff)
Commit 8196897783c9627dd6aa6223d22446538171ed25 by Justin Rose
Fixed self-referencing initialization loops causing StackOverflow
The file was modified tnt-plugin/pom.xml (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/ArenaData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameListener.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaListener.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/WorldData.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/Arena.java (diff)
Commit 204114e983cad7c3dcbdf0178b724e528526c646 by Justin Rose
Removed delete condition from ArenaWorld
Removed Test message from GameManager
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/game/GameManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaWorld.java (diff)
Commit fd4c70fbe3e2fb473510338e33b9f9e906d8bf92 by Justin Rose
Implemented update method to convert older Data files
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/FileManager.java (diff)
Commit 960e0f2c0bf8f8f16fa31a7eb4a19148865a7d92 by Justin Rose
ArenaManager was initializing too fast for FileManager
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/io/FileManager.java (diff)
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/ArenaManager.java (diff)
Commit e73c75d0061508938c3404a54336afc76efab567 by Justin Rose
Reimplemented newer serialization method for Arena.class
The file was modified tnt-plugin/src/main/java/com/justinian6/tnt/arena/Arena.java (diff)
Commit 5622502d948ca47dd372400531d8fad7237a283e by Justin Rose
Updated dependencies to 1.18.2
The file was modified tnt-plugin/pom.xml (diff)
The file was modified tnt-latest/pom.xml (diff)