Commit Graph

15 Commits

Author SHA1 Message Date
6385b4c5e8 Implements the remove command 2023-03-25 12:35:15 +01:00
14572de102 Improves collision detection
This change majorly improves the hit-detection for blocks hit by a player while dropping.
2023-03-25 12:14:25 +01:00
fba75d2c3f Abuses flight mode for better in-air control 2023-03-24 16:22:52 +01:00
eb67705300 Fixes various smaller issues
Fixes players immediately being thrown out because the spawn teleportation triggered the PlayerLeaveListener
Reduces default velocity from the insane terminal velocity to just 1
Uses UUID instead of player object when storing dropper arena sessions
Prevents players from joining an arena if in creative, spectator mode, or is flying
Implements the leave command to allow leaving the arena
Only counts fall damage as a loss, but still prevents all damage in the arena
Prevents players from dying of fall damage when exiting the dropper arena
Prevents loadArenas from returning null
2023-03-24 13:15:56 +01:00
b840a3f500 Mostly implements the join and create commands 2023-03-24 11:43:33 +01:00
52de9e5161 Implements the join command 2023-03-24 11:23:56 +01:00
a9e14497d8 Adds LICENSE and improves README 2023-03-24 02:33:42 +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
724de147fd Adds Annotations dependency 2023-03-22 16:47:56 +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
e1bff97f12 Initial commit 2023-03-21 22:30:59 +01:00