19.02.2010, 06:36
bAdmin - v1.1
Scripted by [RP]Brock
_________________________________________________Scripted by [RP]Brock
What is it?
bAdmin is a small admin script I've been working on, it currently has 23 commands (planning on adding more for future versions) with dialog register and logins. Most of the commands are able to be used in the RCON window, so you don't have to join the game to control your server! This script has 4 admin levels.
Commands List:
- /mute [id] - Mutes the desired player.
- /unmute [id] - Unmutes the desired player.
- /whois [id] - Shows some info about the desired player.
- /kick [id] [reason] - Kicks a player and shows a reason which you typed.
- * Ibanez slaps [id] around a bit with a large trout. - Slaps a player sending him up into the air.
- /goto [id] - Teleports you to a players location.
- /get [id] - Teleports a player to your location.
- /spec [id] - Lets you spectate a player, type it again to stop spectating.
- /@ [text] - Private admin chat for only the admins to see.
- /ann [text] - Announces a message you type in a GameText.
- /explode [id] - Explodes a player.
- /setskin [id] [skinid] - Lets you change the skin of a player. (Skin saves on disconnect)
- /rename [id] [name] - Renames the player to another name you type.
- /akill [id] - Admin kills the selected player.
- /ban [id] - Bans the player.
- /setweather [weatherid] - Sets the weather for everyone.
- /sethealth [id] [amount] - Sets the health of a player to what you choose. (Amount must be 0 - 100)
- /setarmour [id] [amount] - Sets the armour of a player to what you choose. (Amount must be 0 - 100)
- /restart [reason] - Just like /rcon gmx, but shows a message and a reason which you type.
- /makeadmin [id] [level] - Makes a certain player a level which you choose. (Must be between level 0 & 4)
- /setvw [id] [vwid] - Sets a certain player virtual world.
- /banip [*.*.*.*] - Bans an IP in the format of *.*.*.* (e.g: /banip 127.0.0.1)
- /unbanip [*.*.*.*] - Unbans an IP in the format of *.*.*.* (e.g: /unbanip 127.0.0.1)
How To Install:
- Place bAdmin.pwn into your filterscripts folder.
- Add bDUDb.inc, dutils.inc & Dini.inc to your includes folder (pawno/includes/)
- Open up bAdmin.pwn and compile it.
- Add bAdmin to your filterscripts line in server.cfg
- Make a folder called bAdmin in your scriptfiles folder
- Make another folder called Accounts in your bAdmin folder (scriptfiles/bAdmin/)
- Make another folder called Logs in your bAdmin folder (scriptfiles/bAdmin/)
dcmd - Dracoblue
bDUDb - Me (edited version of DUDB to work with bAdmin)
rcmd - Don Correlli
sscanf - ******
Scripting - Me
Downloads:
1.1 (recommended):
- Pastebin - Indentation stuffed up due to Pastebin.
- uploadFFS bAdmin.rar
1.0 (old):
- Pastebin - Indentation stuffed up due to Pastebin.
- uploadFFS bAdmin.rar
Bugs? Suggestions?
Post them here and i'll fix/add them if they're good enough!
Changelog:
- 1.1: Changed all dcmd to zcmd, created chatlog, deathlog, killslog, fixed a few bugs.
- 1.0: Initial release, 20 cmds.