How do I add a ban system to my game

[BHPD] 0030
Joined 22/03/2021
Posts 847
12:16 AM 13/02/2022
so for example if someone was making weird jokes about me I would ban them, is there a in game ban system?


[Pie] Piero
Joined 19/02/2020
Posts 1,296
05:30 PM 13/02/2022
Yes, you'll need the player's ID which you can find on their profile. Then you can put it in an array and script it so when the player joins the game will check their ID and ban them.

https://pastebin.com/mcXH0Yad


dargy
Joined 23/06/2019
Posts 4,820
07:17 PM 13/02/2022
Quote from Piero , 05:30 PM 13/02/2022
Yes, you'll need the player's ID which you can find on their profile. Then you can put it in an array and script it so when the player joins the game will check their ID and ban them.

https://pastebin.com/mcXH0Yad
Adding onto this with a command and admin array:

https://gist.github.com/dragonismcode/76bbc84e94b789c9049bbc7b4710849c


[Brick] 1nator
Joined 11/10/2017
Posts 11,114
08:58 AM 19/02/2022
cheat's admin commands

depends on what you use for hosting there are different methods for enabling cheat's admin commands

1