ULX
Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
Player:Ban()
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Player:Ban() (Read 1609 times)
0 Members and 1 Guest are viewing this topic.
XxLMM13xX
Sr. Member
Posts: 265
Karma: -51
New to lua development
Player:Ban()
«
on:
December 06, 2015, 12:21:27 PM »
Alright so where exactly does the info go when i do Player:Ban( time ) and how could i reach them for unbanning....
Thanks!
Logged
Made addons:
ulx voterestart
---
ulx darkrp
---
Simple Hopper
---
ulx user commands
---
ulx bailsystem
---
ulx timeout
---
Police Ticket System
---
My Steam
---
My YouTube
MrPresident
Ulysses Team Member
Hero Member
Posts: 2728
Karma: 430
Re: Player:Ban()
«
Reply #1 on:
December 06, 2015, 12:55:04 PM »
I believe it calls the engine ban function which stores the info in garrysmod/cfg/banned_user.cfg
Logged
XxLMM13xX
Sr. Member
Posts: 265
Karma: -51
New to lua development
Re: Player:Ban()
«
Reply #2 on:
December 06, 2015, 12:56:00 PM »
So would there be a way to then remove the ban using a steamid?
Logged
Made addons:
ulx voterestart
---
ulx darkrp
---
Simple Hopper
---
ulx user commands
---
ulx bailsystem
---
ulx timeout
---
Police Ticket System
---
My Steam
---
My YouTube
Caustic Soda-Senpai
Sr. Member
Posts: 469
Karma: 54
<Insert something clever here>
Re: Player:Ban()
«
Reply #3 on:
December 06, 2015, 01:00:30 PM »
You'd have to manually go and remove it from the .cfg file noted above.
Logged
Once you get to know me, you'll find you'll have never met me at all.
Megiddo
Ulysses Team Member
Hero Member
Posts: 6214
Karma: 394
Project Lead
Re: Player:Ban()
«
Reply #4 on:
December 06, 2015, 02:06:42 PM »
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
Logged
Experiencing God's grace one day at a time.
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
Player:Ban()