Sueta
CU

CustomTeleport

1.1

You can create your own Custom Teleport command

·Plugin

Here is an example of how to set up the config of this plugin

Custom teleport permit you to create your own personal teleport commands like '/spawn' '/info'
down here there is an example

locations.json

[
  {
    "name": "spawn",
    "world" : "world",
    "x" : -85.5,
    "y" : 65,
    "z" : -188.5,
    "yaw" : 0,
    "pitch": 0,
    "cooldown" : 3,
    "description" : "Teleporting to spawn!",
    "usage" : "/spawn",
    "permission":"spawn"

  },
  {
    "name": "info",
    "world" : "world",
    "x" : -84.5,
    "y" : -44,
    "z" : -137.5,
    "yaw" : -135,
    "pitch": 0,
    "cooldown" : 3,
    "description" : "Teleporting to spawn!",
    "usage" : "/info"
  }
]

With this config, the plugin will create a command
/spawn that has a 3-second cooldown and you need the permission
customtp.spawn to access it

/info is the same as spawn, without the permission

Add this permission to a player to ignore the cooldown
customtp.nocd

Similar projects

Plugin →