Commit Graph

64 Commits

Author SHA1 Message Date
904761ba4e Finishes the changes for parkour arenas, hopefully 2023-04-15 18:29:58 +02:00
12789980c0 Parkour implementation safety save 4
This is just a safety save in case the code gets too broken to fix.
2023-04-14 14:45:59 +02:00
8f77fc5910 Parkour implementation safety save 3
This is just a safety save in case the code gets too broken to fix.
2023-04-13 22:49:31 +02:00
1acaebb3bc Parkour implementation safety save 2
This is just a safety save in case the code gets too broken to fix.
2023-04-13 20:13:29 +02:00
9a3f9841ab Parkour implementation safety save
This is just a safety save in case the code gets too broken to fix.
2023-04-13 13:24:43 +02:00
b1e86a928b Adds a config options section to the README 2023-04-11 20:26:08 +02:00
4de5ae469b Fixes a few problems
Makes sure to actually load the configuration when starting the plugin
Makes sure all numeric configuration values are within expected bounds
Adds improved descriptions of configuration values' bounds
Removes the option to not override the vertical speed
Adds options for whether sneaking and sprinting should be blocked while in an arena
Adds more materials to the default config's whitelist
Fixes reloading not properly loading the new config
Fixes config options not loading because the root node was missing
Prevents players combusting while in an arena
2023-04-11 20:04:04 +02:00
2f4d4ff4c6 Fixes a few problems
Makes sure to actually load the configuration when starting the plugin
Makes sure all numeric configuration values are within expected bounds
Adds improved descriptions of configuration values' bounds
2023-04-11 13:55:46 +02:00
50978d8baf Implements several configuration options #15 2023-04-11 13:25:45 +02:00
3bbf41206c Makes sure arena data is deleted with the arena 2023-04-09 18:22:45 +02:00
6a41664fef Adds some missing comments and annotations 2023-04-07 20:33:03 +02:00
d1964e9d7b Caches group records for 30 seconds 2023-04-07 20:23:46 +02:00
cd7d8eded0 Fixes a bug causing duplicate records to be stored 2023-04-07 18:51:07 +02:00
b95cc294ab Adjusts the README a bit 2023-04-07 15:54:32 +02:00
458dbc2beb Fixes displaying player names in placeholders 2023-04-07 15:37:50 +02:00
efaca03434 Revert "Removes group record for now"
This reverts commit fe016fd6
2023-04-07 15:23:47 +02:00
58b5b422f0 Merge branch 'master' of https://github.com/SunNetservers/Dropper
 Conflicts:
	src/main/java/net/knarcraft/dropper/placeholder/DropperRecordExpansion.java
2023-04-07 15:22:15 +02:00
483a0a16dc Merge branch 'group-placeholders' 2023-04-07 15:21:00 +02:00
e1c4a6a97c Fixes various issues
Makes ArenaRecord abstract to make serialization possible
Makes IntegerRecord and LongRecord serializable
Adds a null check when summing records
Fixes records not being saved, as a copy was edited
2023-04-07 15:15:41 +02:00
5be6f0d00e Fixes equals check for arena ids 2023-04-07 14:16:47 +02:00
f6a272b0c0 Implements group record placeholders 2023-04-07 13:42:45 +02:00
46e52812af
Merge pull request #18 from SunNetservers/dev
Placeholders, and adjustments for multiple players
2023-04-06 22:23:39 +00:00
fe016fd620 Removes group record for now 2023-04-07 00:19:54 +02:00
8e9b274fc0 Adds unfinished code for group record placeholders 2023-04-07 00:17:57 +02:00
2b9cfeebb1 Implements placeholders for arenas 2023-04-06 17:07:36 +02:00
096f23d468 Generifies arena records, and prepares for PlaceholderAPI 2023-04-06 00:43:33 +02:00
3ebf5fa924 Disables player collisions, and makes players invisible in the arena 2023-04-05 23:15:19 +02:00
579c1ea0f9 Merge branch 'dev' 2023-04-01 01:20:43 +02:00
d41154281b Allows players to pass through wall signs 2023-03-31 23:46:17 +02:00
f852de7309 Fixes a bug where newly created dropper arenas had a null reference to the handler 2023-03-31 23:20:11 +02:00
fb6550afe7
Merge pull request #17 from SunNetservers/dev
Many changes and implementations
2023-03-31 16:48:39 +00:00
e5a3f9206d Implements the group swap command 2023-03-31 18:43:01 +02:00
dfdf04a0ee Implements the group list command 2023-03-31 17:35:25 +02:00
888b20bb93 Implements the group set command 2023-03-30 21:07:46 +02:00
c29fcdc166 Adds skeleton classes for the three group commands 2023-03-30 20:24:47 +02:00
f9008ca050 Implements #13 and #14
Removes deaths and time as separate game-modes, and instead always tracks records.
Adds two proper game-modes. One inverts the player's controls, and the other randomly inverts the player's controls every 7 seconds.
Saves cleared status and records for each game-mode separately
Only allows 0-1 for the horizontal velocity
Requires arenas in arena groups to be cleared in sequence on all game-modes, not just the default one.
2023-03-30 14:59:44 +02:00
572bb980c1 Changes the default vertical velocity to 3.92 2023-03-30 12:57:29 +02:00
c01e1c3509 Finishes the edit command #9 2023-03-29 18:15:31 +02:00
ca5b0fcbca Makes it possible to get the current value from /dedit
Finally gets rid of the redundancy when checking if a record has been beaten
Adds tab-completions for arenas and properties to the edit command
Adds an ArenaEditableProperty enum to keep track of editable arena properties
2023-03-29 11:37:26 +02:00
34989e6673 Removes some TODOs 2023-03-29 02:19:40 +02:00
45bdb3f2a6 Removes usage of SerializableUUID outside of serialization 2023-03-29 02:07:00 +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
51237cb11a Fixes #6 by re-applying the arena state
Additionally, as a feature of fixing #6, the hit-detection has been made more accurate.
Also, all non-solid blocks are now triggered when they are passed through, rather than when hit.
2023-03-28 16:59:50 +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
9a7d3ca360 Implements #5 and stuff
Uses a player entry state to store and restore a player's state such as game-mode and fly-mode.
Removes the restriction of fly mode and game-mode, and sets all arena players to adventure mode.
Force-quits all sessions when exiting the plugin.
Prevents usage of any commands other than the leave command when playing in an arena.
2023-03-27 14:23:55 +02:00
9a56f58f2f Adds a reload command 2023-03-26 17:56:49 +02:00
592f53ec9e Implements persistent storage of records 2023-03-26 17:42:55 +02:00
49eb0ac82c Adds some missing command argument checks 2023-03-26 15:52:54 +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