Random Tp to Set Location

Discussion in 'Archived: Plugin Requests' started by KosmosPvP, Jun 18, 2014.

  1. Offline

    KosmosPvP

    Its a plugin that allows someone to set a location, then when players hit a button on a piece of bedrock (configurable) it tp the player to the set location! However, if it has more than one set location like 3, it has a 1/3 chance of picking one! The same thing with more locations! Maybe set up to 30 locations? Permissions could be rls.create and rls.use. Anyways, the plugin should do the main thing, set locations and allows player to have a random chance of teleporting to one. If there is 10, 1/10 chance of picking one! Thanks
     
  2. Offline

    KosmosPvP

  3. Offline

    Onlineids

    KosmosPvP <Edit by Moderator: Redacted mediafire url>
    You can set up to 100 locations the more you set the lower the percent of traveling to one (1/10 = 10% ect)
    I didn't add a button like you said but if you download the plugin server signs you can execute the random tp command when they click a sign or something.
    (What I would do would be when they click sign add perm execute command then remove perm so they can't random tp with command only sign)
    Code:
    commands:
        randomtp:
          description: Randomly teleport!
          aliases: [rtp]
    permissions:
        randomtp.use:
          description: Permission to use /rtp tp
          default: op
        randomtp.setloc:
          description: Permission to use /rtp setloc
          default: op
     
    Last edited by a moderator: Nov 2, 2016

Share This Page