14.12.2010, 18:37
(
Последний раз редактировалось DeathOnaStick; 02.01.2011 в 11:31.
)
GAAC - Green Administration & Anti-Cheat
GAAC is a project I started about a year ago. Goal of this project was to combine Anti-Cheat and Administration in a simple way and to add unique features.GAAC has:
- Full viewable code!
- ~70 commands (I know, it's not much, so feel free to give me some ideas for more commands)
- Blacklist, using the HTTP-function!
- Anti-Weaponhack
- SecureBan-method, gives you full control over every banned player.
- Ability to store the Playerfiles/banfiles/etc in a GreenAAC-folder or just directly in the scriptfiles-folder
- LocalSecuritySystem kicks every player that joins with the given name, if you dont connect over localhost (if you are not home-hosting, you can disable it ofcourse)
- PM and AdminChat-feature (you can disable both seperatly)
- Respawning empty cars after a given amount of hours
- Ping-Kick
- Configuration-Section, makes changed in the script extremely easy, just by changing some defines, e.g.:
- Disable/Enable LocalSecuritySystem
- Disable/Enable SecureBan
- Disable/Enable PM-Feature
- Disable/Enable AdminChat-Feature
- Change the time that passes until all unused cars get respawned
- Disable/Enable Anti-Weaponhack
- Set forbidden weapons (weapons that you dont use in your gamemode)
- Set the maximum ping until a player get's kicked
- Lock/Unlock server (ingame changeable through /lock, /unlock)
- Default Lockpassword (you need to enter it when server is locked)
- Disable/Enable Blacklist
- Disable/Enable the usage of the GreenAAC-folder
- Example:pawn Код:#define AntiWeaponHackActive
//Warns players that get illegally purchased weapons, e.g. by using a weaponhack.
//default: uncommented
//Comment the line to disable this function
- PVars
- Anti-Spam
- Auto-Message when version is out of date
- Control over many rcon-commands using a dialog
- Not logged in:
- /gregister
- /glogin
- /vispris - Visit prison
- /admins
- /killme
- No Admin, but logged in:
- /aoff - Automessages off
- /aon - Automessages on
- Level 1:
- /adminhide - Hide admin-level and name for /admins
- /adminshow - Show admin level and name for /admins
- /jetpack
- /parachute
- /nos - Nitros
- /rv - repair vehicle
- /goto
- /vworld - go to virtual world
- /carcolor
- /wlist - list weapons with weaponid's and names
- Level 2:
- /gethere
- /givepara - Give somebody a parachute
- /freeze
- /unfreeze
- /warn
- /vc - Creates a vehicle
- /seatme - Puts yourself into somebodys vehicle
- /seat - Seats somebody to your vehicle
- /slap
- /force - Force player to class-selection
- /setskin
- Level 3:
- /wep [playerid] [weaponid]
- /eject
- /w [playerid] [weaponid] [ammo]
- /mute
- /unmute
- /kick
- /whois - Gives you information about a specific player
- /sethp
- /setarmour
- /givecash [playerid] [amount]
- Level 4:
- /givegun
- /disarm
- /crash - Does not work correctly yet, but i will work on it
- /explode
- /spec - spectate
- /unspec
- /spos
- /gpos
- /dpos
- /lpos
- /poshelp - Use it to get help about the pos-commands
- /maxping - Set maximum ping until a player gets kicked
- Level 5:
- /gga [playerid] [weaponid] [ammo] - Give a player gun and ammo
- /jail - Jail a player
- /release - And release him
- /god - Not really a godmode, just extremely high HP
- /ungod
- /serverlock [pass]
- /serverunlock
- /gmx
- Level 6:
- /bancmds - Lists the commands to ban and unban
- /ban
- /unbanid - Actually useless, but i have it anyway
- /unbanip
- /unbanname
- /SetAdmin [playerid] [level]
- /grcon - Shows a list of some rcon-commands
IMPORTANT! If you want to use Anti-Weaponhack include <GInclude.inc> into all of your scripts.
Also please always read the full text about the features in the Configuration-Section
Download GAAC v.1.1.0!
Watch version 1.0.0 on pastebin.com
Known Bugs:
- Sometimes theres a problem with buying weapons in an ammunation. Going to fix this with the next version.
Changelog
- 1.0.1
- Fixed serious problem in Anti-Cheat-Include (GInclude.inc)
- 1.0.2
- Added Dialog-based login and registration (you can disable/enable it in the config.-section)
- 1.1.0
- Added Anti-Spam for chat and commands
- New Update Messages. Will give different messages for the urgency of the update of GAAC
- Fixed Anti-Cheat bug with pickups type two
- Now saves score in the Userfile
- Added /gconfig to change certain values, that could just have been changed through the config.-section before. Enabling and Disabling of Blacklist and Anti-Cheat is still bugged, tho.
- ClientMessages have been changed. GAAC will now tell you from which part of the script the message comes.
In progress:
- Online Control-Panel (still looking for experienced PHP-scripter)
- Anti-Velocity Hack/Teleport
- Anti-Flooding
If anybody has suggestions for this script, feel free to write me a PM.
Thank you for reading!
(I know, this topic does not look very professional, but I will update it soon enough )
Download GAAC v.1.1.0!
Watch version 1.0.0 on pastebin.com