AirWalker

Description
A lightweight plugin that allows players to walk on air, similar to frost walker enchantment, by creating temporary blocks under their feet. Can be used to assist survival players in building, implemented in minigames, as a donation perk or even simply as a unique feature to make your server stand out.
Features
- Material of blocks is customizable
- Formatting and color code supported messages
- Easy vertical movement controlled by sneak and jump
- Blocks under a stationary player will not despawn
Commands
/airwalk - Toggles the player's own airwalk state
Aliases: /aw
/awblock (material) - Set the material of blocks
/awtime (number) - Set the time, in seconds before blocks despawn
/awreload - Reloads the plugin's configuration files
Permissions
airwalker.use - Permission for /airwalk. Enabled by default if no permissions are set in the server
airwalker.admin - Permission for /awtime, /awblock and /awreload
Configuration
The config is split into config.yml and messages.yml
config.yml
Code (YAML):
# What a line in messages.yml will start with if you don't want to use messageformat
# For example "Plugin > some message" is the default message
# You can change it to "some message" if you replace the default with the following in messages.yml
# example: "--some message"
negateformat
:
"--"
# Material of the block the player walks on. Can be changed in game
# Barrier and glass are most recommended
# Use other blocks at your own discretion
# Plugin will not work properly with physics (sand, gravel) or non-proper blocks (signs)
material
:
"glass"
# Time, in seconds, till blocks despawn. Accepts decimals
time
: 2
# Radius of the platform around player. 1 or 2 is recommended as they have been tested
# However, 1 might cause glitchy movement due to desync
# A value of 1 creates a 1x1 platform, 2 creates 3x3, 3 creates 5x5 and so on
radius
: 2
# The minimum player velocity in the y axis for platforms to generate
# Set lower (greater magnitude in negative direction) to compensate for desync
# However, setting this too low will cause the plugin to not function properly
# Do not modify this unless necessary
# Default value: -0.4
# Based on tests, values around -0.6 will do fine, if a bit glitchy
velocity
: -0.4
messages.yml
Code (YAML):
# The format that all messages will follow unless negated with prefix stated in config.yml
messageformat
:
"&eAirWalker &8> &f{message}"
nopermissions
:
"You can't use that command!"
usage
:
"Usage: {usage}"
airwalkoff
:
"You are no longer walking on air!"
airwalkon
:
"You are now walking on air!"
Support
If you found a bug or have a suggestion,
add a comment
Satisfied? Leave a review!