12 Commits

Author SHA1 Message Date
888b20bb93 Implements the group set command 2023-03-30 21:07:46 +02:00
c01e1c3509 Finishes the edit command #9 2023-03-29 18:15:31 +02:00
21425f73a1 Performs a lot of changes. Mostly implements #3
Properly and persistently stores which players have beaten which arenas
Adds a hopefully fully functional DropperArenaGroup class
Stores arena groups in the arena handler
Adds a lookup map to improve performance of getting arena by name
Adds saving and loading of groups
Adds all necessary checks for whether players have beaten the required dropper arenas before joining
Removes stage from arenas
Adds a test to make sure changing the order of arenas in a group works as intended
2023-03-29 00:55:19 +02:00
3626d997b8 Implements #2 and #4
Adds a unique identifier to arenas
Stores frequently updated arena data separately from arena settings
Stores arenas keyed by their id
Prepares for storage of which players have beaten an arena
2023-03-27 21:43:16 +02:00
0c58860026 Adds a lot of small improvements
Makes the type of block players have to hit to win configurable
Separates the velocity option into vertical and horizontal velocities
Reduces some redundancy when getting an arena from an arena name
Partially implements the list command
Tries to improve the handling of players exiting in the middle of a session
Adds missing comments to ArenaStorageKey
2023-03-25 23:18:03 +01:00
6385b4c5e8 Implements the remove command 2023-03-25 12:35:15 +01:00
906543f017 Prepares for command implementation
Removes some finished TODOs
Registers all listeners
Registers all commands
Adds more descriptive TODO comments to each command
Removes unintended double storage of dropper arena sessions in DropperArenaHandler
2023-03-24 02:03:18 +01:00
ee8f232b0b Adds code for winning and losing
Adds methods for triggering a win, a loss and a quit
Calls the win, lose and quit methods as necessay in the listeners
Makes DropperArenaHandler store arena sessions and cleared stages
2023-03-23 23:13:56 +01:00
62450e8764 Adds various necessary code
Moves code for keeping track of players to DropperArenaPlayerRegistry
Adds a DropperArenaRecordsRegistry for keeping track of records
Stores playing players as DropperArenaSession to be able to store more metadata
Adds an enum for different arena game-modes
Adds a record result enum for defining which kind of record a player achieved (personal or global)
Adds a helper-class for teleporting a player to and from arenas
2023-03-23 13:00:05 +01:00
730ef3fa13 Expands DropperArenaHandler
Adds storage of currently playing players to DropperArenaHandler
Adds methods for getting, adding and removing arenas to DropperArenaHandler
Adds more annotations in some places
2023-03-22 11:39:25 +01:00
bcde657fdd Adds code for saving and loading arenas 2023-03-22 10:23:04 +01:00
0a8669263a Adds a lot of empty classes with todos
Adds commands and permissions to plugin.yml
Uses the Spigot API instead of the Paper API
Reduces the Java version to 16, just in case.
Adds a lot of empty classes to show the intended plugin structure.
2023-03-22 00:52:50 +01:00