Jump to content

/join lobby command Skript


aydencolonu99

Recommended Posts

19 minutes ago, aydencolonu99 said:

can someone give me the /join command Skript on the lobby

I'm not quite sure what you're asking. If you mean the /join <server name> command in the Minehut lobby, this isn't done in Skript, nor can you do it (as far as I know). Pretty sure Minehut disabled server transferring a while ago now.

  • Like 1

––––––––––––––––––––––––––––––––––––––––––––––––––

Please leave a reaction if my assistance was satisfactory!

 

Link to comment
Share on other sites

  • 3 weeks later...

Hi! If I understand you correctly then I made this skript which let's just say when someone does "/join bedwars" it will send them to the bedwars world. 

#change in options the name of worlds

options:    
    lobby: lobby


command /join <world>:
    trigger:
        player is in "{@lobby}"
        make console execute command "/mvtp %player% %arg-1%"

command /lobby:
    trigger:
        make console execute command "/mvtp %player% {@lobby}"

Requires Multiverse.

also the names must be "bedwars" not "world1" 

also if you want to allow player's to join without being in the lobby just remove the line "player is in "{@lobby}" "

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...