Description
This mod enables you to ban users on a different way than normal. This banning method is not based on a client's IP, thus cannot be evaded with dynamic IP's.
Installation
Installation is quite easy. You place the 2 file's, provided below, in your System folder, and open your DeusEx.ini. Find the following part:
- Code: Select all
[DeusEx.DeusExGameEngine]
Below that, add the following:
ServerPackages=MMAdvBan110
ServerActors=MMAdvBan110.AdvBanMutator
Then scroll down to the end of your DeusEx.ini, and add this:
[MMAdvBan110.AdvBanMutator]
bKickPlayer=True
BanCommand=
Updating
Open your DeusEx.ini and find
- Code: Select all
[MMAdvBan100.AdvBanMutator]
Replace it with
[MMAdvBan110.AdvBanMutator]
Usage
This mod is fairly easy. You go into your server, login as admin, and type the following:
- Code: Select all
Mutate AdvBan [PlayerID]
Of course, you replace [PlayerID] with the player ID of the player you want to ban. You can retrieve the list by typing "playerlist".
When a banned player tries to join, he enters the server, and after 2 or 3 seconds, he gets kicked automatically.
Explanation
bKickPlayer means if the player gets kicked when he gets banned. If you set it to false, the player does get banned, but doesn't get kicked.
BanCommand is the command that will be executed on the banned player when he joins. You can add multiple commands, by adding a | symbol between them. Do mind: Some commands are executed faster, causing the other commands to be disabled.
You don't need to fill BanCommand, the player gets kicked automatically when he joins & he is banned.
As soon as you load up the mod, your DeusEx.ini gets filled a bit more, with things like this:
Banned[0]=
BanInfo[0]=
The Banned[] part contains the value that is being compared with, when the player joins, so do not empty this variable, unless you want to unban someone! BanInfo[] contains info about the player you banned. It will contain the IP & PlayerName of the person you banned. It has no further use.
Known Bugs
None so far. Please, report if found asap!
Special Thanks
Nobody. Even though he doesn't know he helped with this, he did, quite a while ago.
DJ. The bastard who kept asking for the administrator password. The bastard who got banned as the first with this mod.
Updates
110: Fixed a small bug & now it also logs the ban hash in the server-console, so you can ban a player when he isn't in the server.