Banned xml

Post Reply
skorpio
A semi-regular
A semi-regular
Posts: 16
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Wed Apr 13, 2011 11:37 am

Banned xml

Post by skorpio »

On the File Manager pull down there is a /banned.xml. This appears new. I have a list of players banned recently.

Can I modify the /banned.xml to change ban length, or unban?

Otherwise, this looks like a helpful file.
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Banned xml

Post by Edge100x »

You can shut down the server and edit that list manually if you need to, yes. You can also edit the bans in-game through rcon. The Crytek documentation talks about the commands for this (http://www.nfoservers.com/forums/viewto ... =64&t=5195):

ban <playername> - bans player for whatever the timeout is currently
ban_timeout <minutes> - Sets the ban time. A time of 0 is permanent
ban_remove <playername> - Removes the ban
ban_status - Lists the currently banned players and times
skorpio
A semi-regular
A semi-regular
Posts: 16
Joined: Wed Apr 13, 2011 11:37 am

Re: Banned xml

Post by skorpio »

Thank you edge. I tried modifying the /banned.xml. But the changes did not take effect. I'm guessing I needed to restart. But server running full so won't do it just now.

So I ran a ban_status; pulled up the banned list. Copied the id number, and did another rcon ban using the saved id and the new time.

This time the ban was changed immediately and extended to new desired length (Crytekprogrammer hacker).
skorpio
A semi-regular
A semi-regular
Posts: 16
Joined: Wed Apr 13, 2011 11:37 am

Re: Banned xml

Post by skorpio »

Also, set the ban_timeout 0, so I just rcon "ban <name>" and default is the ban_timeout setting.

It's fast and simple.

Thank you NFO for all your hard work.
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Banned xml

Post by Edge100x »

It's good to hear that their system works :)
Sim
This is my homepage
This is my homepage
Posts: 179
Joined: Thu Jul 30, 2009 9:02 am

Re: Banned xml

Post by Sim »

I used the cpanel Rcon line to see what ban_timeout is set to, it returns this.
The server has replied: $3ban_timeout = $630 $5[DUMPTODISK]$4

The two numbers after $6 is how many minutes the ban is correct?
($630 $5[DUMPTODISK]$4 blue = ban in minutes)

Will you be adding a ban_timeout to the easy setup page for Crysis 2 when you have time?
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Banned xml

Post by Edge100x »

Sim wrote:I used the cpanel Rcon line to see what ban_timeout is set to, it returns this.
The server has replied: $3ban_timeout = $630 $5[DUMPTODISK]$4

The two numbers after $6 is how many minutes the ban is correct?
($630 $5[DUMPTODISK]$4 blue = ban in minutes)
Yes. The $x bits are probably just color codes.
Will you be adding a ban_timeout to the easy setup page for Crysis 2 when you have time?
I will try to test this when I have the chance. (There's a decent chance that it won't work to put it in dedicated.cfg, since the reserved slot commands don't.) Have you tried adding it?
Post Reply