SMART BAN

 

 

--------------DESCRIPTION--------------

Smart mod to ban (un-ban), kick and transfer players in spectator mode.
The player will be banned by IP, by SmartBan ID
(SBNID) and if the server uses ACE anti-cheat (ACE), by ACE HWID.
SmartBan (
SBN) has a graphical interface.

--------------
UPDATE--------------

Copy the new
sbnXX.u (XX - new version SBN, YY - old version SBN) to games System folder.

Change the all values
sbnYY to sbnXX in the files:
UnrealTournament.ini, SmartBan.ini, mapvote.ini (the name file may be different depending on the mapvote you are using)

EXAMPLE:

UnrealTournament.ini:
ServerPackages=
sbnYY --> ServerPackages=sbnXX
ServerActors=
sbnYY.SmartBanActor --> ServerActors=sbnXX.SmartBanActor

SmartBan.ini:
[
sbnYY.SmartBan] --> [sbnXX.SmartBan]

--------------
INSTALLATION--------------

Copy files WinClient.u and
sbnXX.u (XX - version mod) to games System folder.

If using ACE anti-cheat on server copy also:

IACEv12.u and sbe12.u for ACE1.2x

IACEv13.u and sbe13.u for ACE1.3x

UnrealTournament.ini:
[Engine.GameEngine]
ServerPackages=
sbnXX
ServerActors=
sbnXX.SmartBanActor (or as a mutator: sbnXX.SmartBan)

After starting the server, the SmartBan.ini file with the mod settings is created in the games System folder.
Description of settings:


[
sbnXX.SmartBan]
bDebugLog=False
bNoLogFiles=
False (Info below in LOGS)
bKickLogsOnly=True (
Info below in LOGS)

bNoHWID=False (True - if ACE is not used on the server, False - if the server uses ACE and the ability to ban players also by ACE HWID)

HWIDWaitTimer=10 (Works if bNoHWID=False. This is the time during which SmartBan can receive HWID from ACE and if no HWID – kick player)

bHalfHWIDTimer=False (Works if bNoHWID=False. True - the HWIDWaitTimer is halved if the player reconnects)
bBypassFiring=False (Works if bNoHWID=False. False - HWIDWaitTimer starts after Fire or Typing in chat. True - HWIDWaitTimer starts immediadley after player joins)

bCheckAce=True (Works if bNoHWID=False. True - quick check of ACE install on the client without HWID check, if there is no ACE on the client then started HWIDTimer and if no HWID – kick player)
BannedPlayer[0]=(Name="",Id="",RT="",HW="",IP="") (Banned player details)
BannedPlayer[1]=(Name="",Id="",RT="",HW="",IP="")
BannedPlayer[2]=(Name="",Id="",RT="",HW="",IP="")

............
BannedPlayer[100]=(Name="",Id="",RT="",HW="",IP="")

 

[sbnXX.SmartBanKick]

bCenterText=True

bSmallFont=False

BannLine1=BANNED

BannLine2=Breaking server rules or cheats

BannLine3=Admin:

KickLine1=KICKED

KickLine2=Breaking server rules or cheats

KickLine3=Admin:

NoNameLine1=Access is possible

NonameLine2=by having a correct name

NoNameLine3=Change name in Player Setup

AceLine1=For play need OS Windows + ACE anti-cheat

AceLine2=Also problems - slow computers or bad connection

AceLine3=Admin:

--------------
HOW TO USE--------------

1. Log as Administrator or StealthAdmin
2. To open the SBN graphics window type in console: mutate smartban

BAN/KICK/SPECTATE:
In the Currents Player column, select the player you want to ban or kick or transfer in spectator mode and click the corresponding button.
Banned player goes to Banned Players column. The kicked player will be kicked from the server before the end of the current match.

UN-BAN:
In the Banned Players column, select the player you want to un-ban and click the un-ban button.

 

MADE SBN ADMIN:

An Options Tab in the Currents Player column, select the player you want made SBN admin, optionally check the box "Allow Banning" and click the "Add New Admin" button. SBN admins goes to Current Admins column.

SETTINGS:
In the CONFIG tab, the admin can change the SBN settings.

In the TEXT tab, the admin can change text in the window that kicked players see.

--------------
SBN Admin--------------

SmartBan includes the option of appointing up to 10 SBN Admin.
An Options Tab in the Menu is available only to the Server Admin.
Only the Server Admin can select or remove a SBN Admin.

SBN admin open graphics window type in console: mutate smartban

SBN Admin Operations:
1. The SBN Admin can only see the Kick/Ban Menu.
2. The SBN Admin can only Kick a Player or send the Player to Spectate.
3. The SBN Admin can Ban or Un-Ban a Player only if the Server Admin has ticked the Allow Banning.
4. The SBN Admin is not a Server Admin and does not have any Server Admin rights.
5. The SBN Admin is always an admin and does not need to login etc.
6. The SBN Admin uses
SBNID as his/her login Key.

--------------
INFO--------------

If
ACE is installed on the server and bNoHWID=False in the SmartBan.ini settings, then players with Linux/Mac, as well as players with Windows, who closed the ACE installation window, will be kicked from the server. This is due to the fact that these players do not have ACE installed and, accordingly, they can use cheats.

 

About HWIDWaitTimer:

- If bCheckAce=False recommended value HWIDWaitTimer=35 and above. Result - player will be kicked if SBN does not receive HWID from ACE within 35 seconds. Decreasing HWIDTimer can may result in kicked off players with slower computers or bad connections.

- If bCheckAce=True recommended value HWIDWaitTimer=2. Result - if the player does not have ACE on client, then after 2 seconds he will be kicked.

If a players user.ini has an empty name "Name=" SBN kicks the player with a window in which text that can be changed in "NoNameLine"

An administrator can get information about a player in the SBN.ini file in the local System folder by double-clicking the player name in the SBN window.

--------------
LOGS--------------

 

There are two types of logs that will be written (depending on the settings) to the Servers\Logs folder:

1. Player Info – additional info about SBN activities.

Example: [SBN]_2022.11.07-12.15.43_PlayerName_Info.log

2. Player Kick – info about kick or ban.

Example: [SBN]_2022.11.07-12.15.43_PlayerName_Reason.log

If bNoLogFiles=False (Default) in the SmartBan.ini file then "
Player Kick" and "Player Info" logs will be written.
If bKickLogsOnly=True (Default) in the SmartBan.ini file then only "Player Kick" logs files will be written.
These log files will be titled as follows and have contents similar to:


-------------------------------------------------------------------------
                              Player Kick
-------------------------------------------------------------------------
Date-Time..........: 2022.11.07-12.07.32
PlayerName.......:
Test
PlayerIP.............: 192.168.8.189
SBNID..............: 20226201057536
HWID...............: F413F294AF86A5AF524CB4DB808D82E4
Reason..............: Kicked
Times Kicked...: 3
Admin..............: Server

This indicates that the player tried to connect but was kicked by the Server.
If this was a direct kick initiated by the admin, the Admins name would appear instead of `Server`

 



Developer:
ProAsm
Idea and Tester:
asosed