Solved Lobby without bungee

  • 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.

AndrewKopera

Member
Mar 18, 2021
18
0
1
24
Hello,
I want to add a lobby system to my server, but I don't want to buy an extra server and a bungee.
What I mean by lobby system is that when you join, you are in a lobby and when you go to survival you get teleported to your last location.

With bungee this would be easy, but financially it is not. That's why I want to do it this way.


Thank you for your help
 
The cheapest bungee network would cost around maybe $2-3 a month?

And this is just the world change event instead of the join event
When the player leaves or switches his gamemode a variable with his location gets set, e. g.
Code:
on quit:   
    set {lastloc::%player%} to location of player

and then you have to teleport the player to that location
Code:
command /backtosurvival:
    trigger:
        teleport player to {lastloc::%player%}
 
The cheapest bungee network would cost around maybe $2-3 a month?

And this is just the world change event instead of the join event
When the player leaves or switches his gamemode a variable with his location gets set, e. g.
Code:
on quit:  
    set {lastloc::%player%} to location of player

and then you have to teleport the player to that location
Code:
command /backtosurvival:
    trigger:
        teleport player to {lastloc::%player%}
Hello,
Thanks for the answer, but this breaks if they quit in lobby world.
 
Status
Not open for further replies.