by Double-O-Seven
I'm running since a long time a selfmade Anti-Cheat script on my server. Now, after many bans, I've decided to put the script into an include and release it!
â™ What does it do?
Ban for the most used cheats (weapons, some types of health cheats)
Ban for jetpack
Ban/kick for specific cheats from the most advanced cheat tool (spectate+carjacking)
Kick for teleporting
Kick laggers
Make money cheats useless
Prevent (command) spam
Prevent swearing/insulting
Prevent drive-by
Ban players temporary
Ban players (name) for ever!
Ban a player's IP without banning other player with the same IP
Example: The IP is range-banned 192.168.*.*. But you don't want to ban Charli with the IP 192.168.1.1, so you use
"/whiteadd Charli" to add him to the whitelist and he will be able to play!Whitelist
"Plug & Play": You just need to include it. You don't need to add any of your codes (except some re-definitions if there are)
â™ Can you disable some codes?
Yes! You can configure the whole script in the file "JunkBuster.cfg".
You need to defined the bad words and the forbidden weapons, too.
You need to write all weapons into the file "ForbiddenWeapons.cfg" and the bad words into the file "BadWords.cfg".
BUT: Don't repeat letters of bad words. If you want to forbid the word "noob", write "nob" into the file.
WeaponHack=1
MoneyHack=1
Jetpack=1
HealthHack=1
ArmourHack=1
DriveBy=1
Spam=1
CommandSpam=1
BadWords=1
CarJackHack=1
TeleportHack=1
MaxPing=500
SpectateHack=1
Blacklist=1
IpBans=1
TempBans=1Set the variable you want to disable to 0 to disable it.
â™ How to install?
You need to extract the folder "JunkBuster" into the folder "scriptfiles". If the folder doesn't exist, your server will crash.
After this, open the file "readme.txt" which you have downloaded the, too.
In the ReadMe everything is written.
Comment about Anti-Teleport and Anti-Moneyhack:
You DON'T need to change functions like GivePlayerMoney or SetPlayerPos! The include does all those things for you:
#define GetPlayerMoney JB_GetPlayerMoney
#define ResetPlayerMoney JB_ResetPlayerMoney
#define GivePlayerMoney JB_GivePlayerMoney
#define PutPlayerInVehicle JB_PutPlayerInVehicle
#define GivePlayerWeapon JB_GivePlayerWeapon
#define SetPlayerPos JB_SetPlayerPos
#define SetVehiclePos JB_SetVehiclePosâ™ There are new commands in the update!
/cfg - Read new configuration from file
/blackadd
- Add someone to blacklist /blackdel
- Remove someone from blacklist /whiteadd
- Add someone to whitelist /whitedel
- Remove someone from whitelist /tban
/tunban
- Remove temporary ban of someone /banIP
- Ban someone's IP /unbanIP
- Unban an IP /jbvarlist - Get a list of all variables
/jbsetvar
<0/1(/max ping)> - Change a variable ingame
â™ Where can you download it?
Here:
DOWNLOAD on Sendspace.com (.INC + scriptfiles + Example )
Here you can download updated version ("Plug & Play" added and new ban functions added):
DOWNLOAD UPDATED VERSION on Sendspace.com (.INC + scriptfiles + Example )
Here you can download Update 2! (Anti-Spawnkill added+Allow forbidden weapon for a player):
DOWNLOAD UPDATE 2 on Sendspace.com (.INC + scriptfiles + Example )
Please report bugs and write a comment! 🙂
Have Fun!
Greets, Double-O-Seven