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
This commit is contained in:
2023-04-11 20:04:04 +02:00
parent 2f4d4ff4c6
commit 4de5ae469b
10 changed files with 132 additions and 60 deletions

View File

@ -1,8 +1,10 @@
# Configuration values for droppers
dropper:
# Whether the vertical velocity should be overridden, and thus changeable. If not enabled, all horizontalVelocity
# settings, both the global one and per-arena, will be ignored.
overrideVerticalVelocity: true
# Whether to block using the shift key to drop faster than the intended drop speed
blockSneaking: true
# Whether to block using the sprint key for slightly improved air speed
blockSprinting: true
# The vertical velocity used as default for all arenas. Must be greater than 0. 3.92 is the max speed of a falling
# player.
@ -47,4 +49,11 @@ dropper:
- LAVA
- +WALL_SIGNS
- +STANDING_SIGNS
- STRUCTURE_VOID
- STRUCTURE_VOID
- WALL_TORCH
- SOUL_WALL_TORCH
- REDSTONE_WALL_TORCH
- +BANNERS
- +BUTTONS
- +CORALS
- +WALL_CORALS