Sueta

Better Elevators

1.4

Creates and manages wool elevators, allowing players to teleport. No Skritpt addons required

·Plugin

No addons required

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.

2. /elevatorclear Command
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.

3. /elevatorremove Command
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.

4. /elevatorhelp Command
Usage:
/elevatorhelp
How it works:

  • Give you information about the other commands.

5. Block Break Event
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.

6. Teleport Events
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).

Sneak Event:

  • 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

Similar projects

Plugin →