- Supported Skript Version
- 2.9
- Supported Minecraft Versions
- 1.20
- 1.21
No addons required
1. /elevatorset Command
Usage: /elevatorset
How it works:
Usage: /elevatorclear [confirm]
How it works:
Usage: /elevatorremove
How it works:
Usage: /elevatorhelp
How it works:
What it does:
Jump Event:
7. Change the block elevator type:
What it does:
1. /elevatorset Command
Usage: /elevatorset
How it works:
- Targets a wool block.
- Checks if there are wool blocks stacked above it (up to 100 blocks high).
- If valid, registers the wool block as part of the elevator and confirms with a message.
- If invalid, notifies you that the elevator cannot be added.
- Prevents duplicate registration of the same elevator block.
Usage: /elevatorclear [confirm]
How it works:
- Without confirm: Requests confirmation before clearing all elevators.
- With confirm: Deletes all registered elevator blocks and notifies the player.
Usage: /elevatorremove
How it works:
- Targets a wool block.
- Removes the targeted block from the elevator list if it's registered.
- Handles both top and bottom elevator blocks, ensuring no duplicates are left.
Usage: /elevatorhelp
How it works:
- Give you information about the other commands.
What it does:
- Triggered when a wool block is broken.
- If the broken block is part of a registered elevator:
- Removes the block from the elevator list.
- Ensures associated elevator blocks above or below are also unregistered if needed.
- Notifies the player that the elevator has been removed.
Jump Event:
- Triggered when a player jumps on a registered elevator (wool block).
- Teleports the player to the nearest valid wool block above them (up to 100 blocks).
- Triggered when a player sneaks on a registered elevator (wool block).
- Teleports the player to the nearest valid wool block below them (up to 100 blocks).
7. Change the block elevator type:
What it does:
- Open the betterElevators.sk file and change the option at the beginning of the script to the block you want