General > Developers Corner

Player:Ban()

(1/1)

XxLMM13xX:
Alright so where exactly does the info go when i do Player:Ban( time ) and how could i reach them for unbanning....

Thanks!

MrPresident:
I believe it calls the engine ban function which stores the info in garrysmod/cfg/banned_user.cfg

XxLMM13xX:
So would there be a way to then remove the ban using a steamid?

Caustic Soda-Senpai:
You'd have to manually go and remove it from the .cfg file noted above.

Megiddo:
Or you can use ULib.unban -- http://ulyssesmod.net/docs/files/lua/ulib/server/player-lua.html#unban

Or you can use removeid at the console

You have many options

Navigation

[0] Message Index

Go to full version