[FilterScript] SchurAdmin - Administration Filterscript (0.1 alpha)
#1

SCHURADMIN


Features:

* • IP autologin
* • Anti-swear
* • Timed server info printer (default timer: 20 minutes)
* • A variety of admin commands.
* • Mute system
* • Secret admin password for setting yourself as level 5 admin (highest)
* • 5 admin levels

Admin Commands:

Code:
Level 1 Commands: /kick /mute /slap /freeze /unfreeze /a /aglobal
Level 2 Commands: /goto /gethere /whois /disarm
Level 3 Commands: /explode /givemoney /fine
Level 4 Commands: /kickall /killall /healall /armourall
Level 5 Commands: /gmx /setlevel /lockserver /unlockserver
Passworded Command:

There is a passworded command, which the password could be set from inside the filterscript. The command is /makemeadmin [pass] which makes you a level 5 admin.

Q: Whats the highest admin level? - A: 5

Q: What is included in the players file? - A: Cash, Admin, Score, Skin, IP

Q: How many lines are in the script? - A: 1012

Q: Whats the command to view a-commands? - A: /acmds


Installation:
You need: ZCMD, SSCANF, DINI.

Open the script and change the HIREADMINPASSWORD to the desired one.

Put the compiled SCHURADMIN.amx into your filterscripts folder.

Add "SCHURADMIN" to your "filterscripts" line in server.cfg

Run the server. - Wait for it to shut down

Go into the scriptfiles and find config.ini.

Open config.ini and change EDITED to 1, and change the SCRIPTER, OWNER, and WEBSITE to the desired string.
(OPTIONAL NOTE; if you change VENTRILO or TEAMSPEAK to something other than 'NONE', it will appear in the server info.)

Go in game and register, then type /makemeadmin [yourpassword] to get your admin level!

Download:
ALPHA v0.1 here
ALPHA v0.2 here

BUG REPORTS:
If you find ANY bugs just post here and they will be fixed ASAP for the final version.
Reply
#2

Copied and pasted from your script... Do you see anything wrong? :P
pawn Code:
format(string, sizeof(string),"[MUTE]: %s has been muted for 20 seconds for swearing.");
Reply
#3

EDIT: Oh, nevermind, I do see whats wrong now.

EDIT2: Fixed, new link updated.
Reply
#4

No i mean t i copied and pasted it :P

i think you just missed something, look at the differents

pawn Code:
//From your script
format(string, sizeof(string),"[MUTE]: %s has been muted for 20 seconds for swearing.");

//Edited
format(string, sizeof(string),"[MUTE]: %s has been muted for 20 seconds for swearing.", name);
Reply
#5

Fixed.
Reply
#6

good job , man
Reply
#7

Thanks.
Reply
#8

hey guys, uhh was wondering, could anyone add a ban command to this, also, is there a reg/login sytem with this? if not ill add my own login system to it, thanks
Reply
#9

I was an idiot back then. Removed at 2012-12-31
Reply
#10

Quote:
Originally Posted by Schurman
View Post
Dumbasses these days....There IS a ban command, and there IS a reg/login. Download it and find out.
why are you flaming, I see no point in it, this is what happens when you release something. Deal with it or just don't respond, its not hard dude.

yet you put "Admin Commands:", and /ban isn't there, so he assumed it and asked.

edit: $hit isn't a swear

in your public, public timedmute(playerid) there is no return 1, players can desync sometimes when not returning one in a public

and in restart(), SendInfo()

command(slap, playerid, params[]) slaps them +y, isn't it surpose to be +z?
command(explode, playerid, params[]) the radius is to big, that will kill many players near by, try 3 or lower
command(whois, playerid, params[]) - why is the pIP variable 256? try 17 or 16
Reply
#11

...fixed.
Reply
#12

Good Job
Reply
#13

You made this nice, im using this! Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)