BANLIST.txt format[Solved]

Author Topic: BANLIST.txt format[Solved]  (Read 2015 times)

So wait.
Apparently if you write something to BANLIST.txt it doesn't do anything?

I'm writing it the EXACT same as when I use the ban on RTB

the lines literally have no difference yet one shows up in RTB (The one using rtb's button obviously), and prevents the player from joining

However when I writeLine on the file it doesn't do anything.

Am I missing something?
There's probably a different way of registering that the player is banned ingame.
The banlist file may just be to load up the ban list.

and what do you mean "ban on RTB?"

So wait.
Apparently if you write something to BANLIST.txt it doesn't do anything?

I'm writing it the EXACT same as when I use the ban on RTB

the lines literally have no difference yet one shows up in RTB (The one using rtb's button obviously), and prevents the player from joining

However when I writeLine on the file it doesn't do anything.

Am I missing something?

The BANLIST.txt file is only read when the server is created. You have to add the ban to BanManagerSO I believe.

The BANLIST.txt file is only read when the server is created. You have to add the ban to BanManagerSO I believe.
are you aware of the arguments for the .addBan method?

if not, you may have to do BanManagerSO.loadBans(); (not sure if that takes an argument for path or anything) if you can't figure it out