world.SetConfig("keyban",n,"reason=[t]")
Problem description:
How would I unbann someone when this code was used to ban them and the server is running on a linux version on a remote server?
Any special DreamDaemon command for that?
ID:141316
![]() Apr 14 2009, 12:02 pm
|
|
Code:
world.SetConfig("keyban",n,"reason=[t]") Problem description: How would I unbann someone when this code was used to ban them and the server is running on a linux version on a remote server? Any special DreamDaemon command for that? |
![]() Apr 14 2009, 12:39 pm
|
|
Don't suppose you're able to just call world.SetConfig("keyban", n, null), or do you specifically need a DreamDaemon command?
|
I could code in the command but it's not in right now.
Was hoping the banns get saved somewere to be manually editted. |
It is, there's a hidden directory in your home directory called '.byond' (the period at the beginning denotes hidden).
Inside of this directory you'll find a 'cfg' directory, inside of that will be some text files. The one called 'keyban.txt' is for these types of bans (and pager bans), the one called 'hostban.txt' is for DreamDaemon-level bans. |