Pack: Back - teakivy/teaks-tweaks GitHub Wiki

Pack: Back (back)

Back allows players to teleport back to their last death location, or where they teleported from last.

Showcase

back

Config

The config for this pack can be found in the config.yml file for the plugin.

# Back
# Enter '/back' to go back to the last location you teleported from. (using Homes, Spawn, or TPA)
# You can also allow players to teleport back to their death location if that's enabled.
#
# Commands:
# /back (Permission: teakstweaks.command.back)
#
# Permissions:
# teakstweaks.back.death
# teakstweaks.back.teleport
back:
  enabled: false
  # Enter the number of seconds required to wait between uses of the back command
  teleport-cooldown: 0

Options

enabled

  • Type - boolean
  • Default - false
  • Description - Controls whether the pack is enabled.

teleport-cooldown

  • Type - int
  • Default - 0
  • Description - How long (in seconds) required to wait between uses of the /back command

Linked Commands

Permissions

teakstweaks.command.back

  • Default - true
  • Description - Controls whether the player can use the /back command

teakstweaks.back.death

  • Default - true
  • Description - Controls whether the player can use /back to return to their last death location

teakstweaks.back.teleport

  • Default - true
  • Description - Controls whether the player can use /back to return to their last teleport location

Messages

"back.name": "Back",
"back.description": "Allows you to teleport back to your previous location.<newline>Command: /back",
"back.error.on_cooldown": "<red>You must wait <cooldown_seconds> seconds between uses of /back!",
"back.error.no_back_location": "<red>You have nowhere to go back to!",
"back.error.moved": "<red>You must stand still to teleport!",
"back.teleporting": "<yellow>Teleporting Back...",

back.name

  • Default - Back

back.description

  • Default - Allows you to teleport back to your previous location.<newline>Command: /back

back.error.on_cooldown

  • Default - <red>You must wait <cooldown_seconds> seconds between uses of /back!

back.error.no_back_location

  • Default - <red>You have nowhere to go back to!

back.error.moved

  • Default - <red>You must stand still to teleport!

back.teleporting

  • Default - <yellow>Teleporting Back...
⚠️ **GitHub.com Fallback** ⚠️