Feature - You can now set a delay on your elevators. This is used to prevent players from continuously going up and down granting them some sort of immunity. If a player leaves the elevator before the time has passed they are not elevated!
Add the following to your config.yml file:
Code (YAML):
# Elevator delay: # Set the delay of the elevators. The delay is in ticks (20 ticks = 1 second) # If the player leaves the elevator before the time has passed they are not elevated. delay: 0
If you do not wish to use this feature you do not have to add the configuration part to your config. The default is 0 (no delay).
Optimization - Changed up some event handling to allow for the implementation of elevation delays.