Two teleports with one command

Discussion in 'Plugin Requests' started by KinderGuy, Sep 3, 2019.

  1. Offline

    KinderGuy

    Plugin category: Tools and Utilities

    Minecraft version: 1.13.2

    Suggested name: Your choice.

    What I want: Hey! I would like to have a plugin that when someone is using a teleport command to go anywhere (no including staff and when staff moves others), it will find them an empty cell (like in the picture I have created several cells) which they will stay for 5-10 seconds and then teleport to their point.

    For example, if a player does /home, it will teleport them to an empty cell available for 5-10 seconds, writing a message on the screen saying like Traveling..., teleport them to his house and writing Traveling Complete

    https://i.imgur.com/CVON4pk.jpg - Example of the cells.

    Ideas for commands: Execute when he teleports (/home, /warp etc...)

    Ideas for permissions: teleport.cell (if they don't have it, it won't search for an empty cell and won't teleport them to one)

    When I'd like it by: As soon as you are available to create it :)

    Thanks for reading!
     
  2. Offline

    CryoCrafter

    I have an idea for you for that
    You install CreateYourOwnMenus
    Then you make a gui for a command (/tp)
    in the gui you find multiple items, one for /home, one for /warp etc.
    For each of the items in the gui, you can add the following:
    hold the item in hand:
    /menu script add /execute as @p run /tp @p (coords of a box)
    /menu script add /pause (time in seconds)
    /menu script add /(command to be executed after the time)

    This could work, for more help please contact me on this thread

    EDIT: You could also make the players in the wait cells invisible and turn god mode on for them, so they cant interfere with each other
     
  3. Offline

    KinderGuy

    Sounds cool, I will give it a try :)
     

Share This Page