Sueta
YE

Yet Another RTP

3

Yet another RTP plugin, except this time, it's focused on performance.

·Plugin
Tested MC versions
1.19, 1.20

Yes, it's yet another RTP plugin. However this time, it's focused on performance! (And customizability)
This plugin will, on command, teleport a player to a completely random location in a set area, world, and at least x blocks away. While this plugin may not be the best at showmanship, it's purpose is to excel at pure performance.

If you have a problem or suggestion for the plugin, make sure to check out the GitHub!

Commands:

/rtp

  • Permission: rtp.runcmd Only needed if require-perm: is set to true in the config
  • The main RTP command. Teleports whoever ran the command to a random location

/addused

  • Permission: rtp.add
  • Makes the plugin act as if said player has already ran the command (Useful if one-use is set to true in the config)

/removeused

  • Permission: rtp.remove
  • Makes the plugin act as if said player hasn't ran the command (Useful if one-use is set to true in the config)

Misc Permissions:

rtp.exempt

  • People with this permission can use the command without a time limit between uses

Default Config:

settings:
  one-use: false
  # Makes the command one use only
  require-perm: false
  # Makes the command require a permission
  max-dist: 5000
  # Max distance away from specified location. 5000 = -5000 to 5000 in x and z
  min-dist: 100
  # Min distance away from the center of the RTP teleport range
  pointx: 0
  pointz: 0
  # The center of the RTP teleport range. X and Z coords
  world-dest: world
  # The specified world to teleport to
  cooldown: 60
  # Amount of seconds to wait before player can use the command again
  bstats: true
messages:
  # All messages use MiniMessage format. See here: https://docs.advntr.dev/minimessage/
  run-rtp: Beginning RTP.
  # Message to send when RTP command is ran
  after-rtp:
  # Message to send after RTP command is ran
  no-perm: You don't have permission to run this command.
  # Message to send when lacking permission to run RTP command
  used-once: You've already used this command once
  # Message to send when command has already been used
  invalid-player: Invalid player specified
  # Message to send when an invalid player is specified for a command

Similar projects

Plugin →