Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
4

[SOLVED] How can I make a server unjoinable?

Asked by 9 years ago

So, when I shutdown all instances, I've made this thing that saves the players' data and warns them it's about to shut down. I want to make it like berezaa's War Games so that players can rejoin (without joining that server even if there is space) as soon as the server shutting down message appears. There's probably some property somewhere, I've looked in so many places but can't find anything that looks like it might. This is slightly related to scripting but also slightly a general question. Thanks in advance if you can help, this must be possible, I'm just not sure how.

NOTE: I do not mean it just kicks them if a player joins, on berezaa's game it invalidates the server somehow.

0
I'd imagine it uses httpservice. I haven't really used HttpService before, nor do I know much about it, but from what I've heard/seen I'd imagine that's probably what you would use for it. OneTruePain 191 — 9y
0
Its possible to use a game.Players.Player:Remove() and it would remove the player, however you would have to use a true false script to make sure that if a certain person, persons joins it doesn't kick them. I am a bit confused though and this is a bit of a request so I recommend giving us some code to work with. Conmmander 479 — 9y

2 answers

Log in to vote
2
Answered by 9 years ago

When when shutting down servers, the OnCalled connection does not keep the server active. It is made unjoinable like you wanted it to, I think you just didn't realise it already did that! Hope this helps...

1
OMG thanks I'd have thought I'd have noticed that by now! General_Scripter 425 — 9y
0
No problem! idontcare2004 5 — 9y
Ad
Log in to vote
3
Answered by 8 years ago

What the guy that answered said!

0
LOL Filipalla 504 — 7y

Answer this question