how to get bungeecord server

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Byteeely

New Member
Aug 16, 2017
6
0
0
25
Im new in bungeecord so I want to ask if this code would work:

code_language.skript:
on join:
    if player is on bungeecord server "Main":
        teleport player to {Spawn::Main}
        send "You were teleported to the main spawn"
 
Bungeecord servers are just linked via a proxy that manages connections between them. You just have to place the exact same code, without the server condition, on the scripts folder of the server where you want the player to get teleported on join.
 
code_language.skript:
on join:
    if current bungeecord server of "%player%" is  "Main":
        teleport player to {Spawn::Main}
        send "You were teleported to the main spawn"
Using Skellett and SkellettProxy
 
Status
Not open for further replies.