How do I make /spawn

Discussion in 'Plugin Development' started by talkativecloud, Jul 13, 2018.

Thread Status:
Not open for further replies.
  1. Offline


    I'm using multiverse for multiworlds and multiverse's spawn command is /mvspawn
    and if i use /mvspawn in spawn world then okay, im spawning at the center of server's spawn
    if i will use /mvspawn in different world then im spawning at the spawn of this world where im in at this time
    I want to
    /mvspawn spawn player in the spawn world not this world
    How to edit plugin to replace command /mvtp spawn to /spawn to make it looks more natural

    I prefere the second one

    Also for each of them i need some plugin/code line that will force waiting 5 seconds without moving to get to spawn

    Im in c++ and c# but i have no idea about java
  2. Online

    timtower Moderator Moderator

    @talkativecloud Nobody is just gonna spoonfeed code.
    Start by registering a command.
  3. Offline


    just an extra note c# and java are similarish because they are both OOP
  4. You need to make a command, then save a location to a config file. Then get that, then teleport.

    It's so easy that I doubt anybody is going to give you the code.
Thread Status:
Not open for further replies.

Share This Page