SA-MP Forums Archive
[FilterScript] bAdministration - Advanced administration system. [70+ COMMANDS] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] bAdministration - Advanced administration system. [70+ COMMANDS] (/showthread.php?tid=490610)

Pages: 1 2


bAdministration - Advanced administration system. [70+ COMMANDS] - Blunt - 27.01.2014

bAdministration
Advanced administration system. [70+COMMANDS]

Description
bAdministration was created for advanced administration within your server, user friendly, sophisticated, smartly engineered and designed for easy-use.

Before this can function correctly,
you'll need to create a folder in your scriptfiles directory named "adminaccounts'"and
another folder named "useraccounts".

To use system you'll need the following server files:
ZCMD - https://sampforum.blast.hk/showthread.php?tid=91354
YSI/y_ini - https://sampforum.blast.hk/showthread.php?tid=175565
Incognito's streamer - https://sampforum.blast.hk/showthread.php?tid=102865
foreach - https://sampforum.blast.hk/showthread.php?tid=92679
sscanf - https://sampforum.blast.hk/showthread.php?tid=120356
Whirlpool - https://sampforum.blast.hk/showthread.php?tid=65290
svAddons -https://sampforum.blast.hk/showthread.php?tid=348044


Features

•Smartly designed admin account login & register system.
•Auto registration for non-administrators.
•70+ Commands.
•Ability to manipulate any player in-game.
•Ability to manipulate any vehicle in-game with a simple command.
•Ability to manipulate, edit or change any object in-game.
•Ability to get any information from a players inventory.
•Manipulation of any players location.
•Gain information from all vehicles.
•Gain information from all server objects.
•Gain information from all players in the server.
•Gain information from all vehicles within the server.
•Administration private chat.
•Gain information from all RCON administrators in the server.
•Gain information from all NPCS within the server.
•Ability to shake a players screen, with a simple command.
•Edit any server information dynamically in-game, such as mapname, url, servername, serverpassword and more.
•Ability to send RCON announcements in-game.
•Teleportation commands for the whole map of SA.
•An advanced ban system with reasons of ban.
•Administrator vehicles.
•Administrator objects.
How to use.
To set yourself highest administrator level, when in-game you are required to login to RCON, once logged in you execute the command /makemeadmin, then register your admin account, after that log out, go to your adminaccounts folder in the scriptfiles directory and open your player file and edit the 'Admin' data to value 6, save it and then your good to go.

In order to create a command you must use this following code anywhere in your script.
Код:
COMMAND:commandname(playerid, params[])
{
    if(AdminInfo[playerid][aLoggedOn] == 0) return SendClientMessage(playerid, COLOR_WHITE, "SERVER: You must be logged in to use this."); // Checks if you are logged into your administration account.
    if(AdminInfo[playerid][aAdmin] >= 1) // Checks if the player's admin level is 1 and above. (Un-registered and above)
    {
		// Youre functions here
    }
    else SendClientMessage(playerid, COLOR_LIGHTRED, "WARNING: You do not have access to this command"); // If player isnt an admin.
    return 1;
}

Commands.
Levels.
• Level 0 - None administrator.
• Level 1 - Un-registered administrator, being level you will need to register an administrative account.
• Level 2 - Level 1 Moderator.
• Level 3 - Level 2 General Administrator.
• Level 4 - Level 3 General Administrator.
• Level 5 - Level 4 Senior Administrator.
• Level 6 - Level 5 Lead Administrator.
Functions.

UNREGISTERED ADMIN COMMANDS: /adminregister
UNLOGGED IN ADMIN COMMANDS: /adminlogin

Moderation
/kick /spectate /warn /checkhealth /checkarmour /checkweapons
/setskin /setworld /setint /setpos /setcolor /a /getid
/gotogrove /gotols /gotosf /gotolv /gotogas /gotoelcorona
/gotomotel /gotobank /mute /unmute

General Administration
/ban /gethere /goto /spec /specoff /hack /shakeplayerscreen
/getvehiclespeed /getvehiclehealth /getvehicleangle /getip

Senior Administration
/givegun /reconnect /clearplayerchat /clearallplayerschat
/countallplayers /countallvehicles /countallpausedplayers /removeweapon
/setplayermoney /crashplayer /explodeplayer /killplayer /explodevehicle

Lead Administration
/jetpack /disablesprunkmachines /freezeall /unfreezeall /sendaudiomessagetoall
/changeserverpassword /changeservermap /changeserverwebsite /changeservername
/countallobjects /getallplayers /countallrconadmins /countallnpcs
/sendrconmessagetoserver /sendmessagetorconadmins /setadmin /setplayercolor
/muteallplayers /unmuteallplayers /spawnvehicle /spawnobject
SOLIDFILES[/URL]
PASTEBIN[/CENTER][/B]
Bugs.
If any bugs within the script please comment below or visitor message me so I can update the links with fixed versions, thank you.

Credits.
Blunt - Author of this administration script.
ZeeX - For the command processor used in this script.
****** - For y_ini, Whirlpool, sscanf and foreach.
Incognito - For use of the streamer.
SuperViper - For use of his addon include.



Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Avi Raj - 27.01.2014

Simply Awesome.
+Repped


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Scrillex - 27.01.2014

Good job on this mate


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Blunt - 27.01.2014

Update - Many optimizations and fixes towards the script.


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Blunt - 28.01.2014

@Alphlax

Appreciated.


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - rakshith122 - 28.01.2014

Just one word, "Awesome"


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - PlayHard - 28.01.2014

C:\Users\Samsung\Desktop\DriftWorld\pawno\include\ YSI\..\YSI_Storage\y_ini.inc(201) : fatal error 100: cannot read from file: "..\amx\os"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Where can I find this file?


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Blunt - 28.01.2014

@PlayHard
You need to download y_ini from ******'s library.


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Team_PRO - 30.01.2014

Nice liked


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Sojo12 - 31.01.2014

That awesome.+rep


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - kymkazuya - 31.01.2014

D:\Games\SIERRA\GTA San Andreas\DemonStar\Player1\Virus Scanning\SERVERS\1v1_DM_Server_v4.2.0\filterscript s\bAdministration.pwn(17) : fatal error 100: cannot read from file: "samp_addons"


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Blunt - 31.01.2014

@kymkazuya - You must rename 'samp_addons' to 'svAddons'


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Beckett - 31.01.2014

Keep it up.


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - eyutha - 31.01.2014

I got 'Diz problem
Quote:

\bAdministration.pwn(1515) : error 017: undefined symbol "CountTotalObjects




Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Team_PRO - 31.01.2014

I'm glad if you gonna add anti-cheat i suggest that like
Anti weapon hack
Bunnyhop
Or any hack and anti swear too
This might help to improve your admin system


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Rube - 31.01.2014

Thanks! I like it might use it for my server.


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Blunt - 31.01.2014

@euyatha - Make sure youre using the include svAddons, and it will compile correctly, if your having any issues look at the main thread and check you haven't accidentally mistyped any function by looking through the forum thread of svAddons.


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - eyutha - 01.02.2014

Quote:
Originally Posted by Blunt
Посмотреть сообщение
@euyatha - Make sure youre using the include svAddons, and it will compile correctly, if your having any issues look at the main thread and check you haven't accidentally mistyped any function by looking through the forum thread of svAddons.
I use svAddons version 1.4 and i got Error . I download the recruitment include and i got error.
Код:
\pawno\include\svAddons.inc(1971) :error 017: undefined symbol "PATH_SERVERSTATS"
\pawno\include\svAddons.inc(1973) : error 017: undefined symbol "PATH_SERVERSTATS"
\pawno\include\svAddons.inc(1978) : error 017: undefined symbol "PATH_SERVERSTATS"
\pawno\include\svAddons.inc(1980 -- 1988) : error 017: undefined symbol "SERVER_STATS_KLLS"
Suggest,Pack the Fs with recruitment file in rar and upload it , Its helpfull for newbie like meh muahahaha.


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Blunt - 01.02.2014

@eyutha - Remove anything related with the 'SERVER STATS' function in your script and then contact SuperViper, the author of svAddons.


Re: bAdministration - Advanced administration system. [70+ COMMANDS] - Sky96 - 01.02.2014

Very nice