#Whitelist
1 messages · Page 1 of 1 (latest)
You manage it by playerSpawn event, and a loop (by runinterval)
On playerSpawn event if player has tag (whatever tag u want) you kick him.
Or the contrary: if it doesn’t have the tag you kick it...
Btw if that is your aim, maybe you should consider using the whitelist provided by the server software itself
Ty
Btw I was making a whitelist for a realm
Nice
Be aware that this approach has a remarkable disadvantage
If you “banned” someone without a database there is a problem with unban
Say u wanna unban someone with tag “banned”. This person is not online, so you can’t edit it’s tags. You could try to save the name on some variable and then when he tries to join, you remove its “banned” tag. But if server is restarted in he meanwhile the value will be lost, and the person still banned
I was planning on doing this one
Where I can toggle a whitelist and me and staff can join but everyone else gets kicked
Then I toggle it off and they can join again