Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
|
06-29-2019
, 19:06
Elite Admin System v6.7.2
|
#1
|
MAKE SURE TO UPDATE THE CONFIGURATION FILE AND EAS_CORE.INC EVERY UPDATE
A new admin system which packs in a lot of old and new features, improvements, bug-fixes. Possibilities are endless with this. Want to give a person access to a command? Want to give someone a rank? Maybe give someone a custom cool prefix?? Or someone else a special skin which only he will have? Or just tired of wasting your time looking at the date to see if someone's admin should be gone so you're looking for an automatic way? These are just some of the many features this system has. By the way, this system also supports all modes, such as ZP, ZE, DR, BB etc..
Spoiler
- Real time data retrieving, if you edit something from users/gags/bans files, it will be instantly applied, instead of making the player wait until map changes.
- Custom say chat prefixes for each player
- Option to give each player his own model [Terrorist/CT]
- Immunity system, you won't be able to perform actions on other players with higher immunity value
- Expire Date in users file, privileges will be disabled (suspended) when date expires
- New commands such as: amx_freeze, amx_ss, amx_warn, amx_noclip, amx_godmode, amx_team, amx_last, amx_gag, amx_addgag..
- There's menus for almost everything: ban, gag, addban, addgag, unban, ungag, kick, slap, slay, freeze, map.
- Unban menu, inside the unban menu you can find all banned players' name, steamid and ip, and you can unban them by simply clicking the item in the menu in which the person you want to unban is in.
- Instead of hard-coding stuff, I've chosen messagemode, so you can do everything your way, instead of having to choose what the author wanted, for example in ban menu, you can enter the number of minutes yourself, and not have to decide whether to ban a player for 5/10/60 minutes or permanent like in the old admin system.
- API, a native to register commands (same as register_concmd) but it has immunity option, I just added it for fun also a forward that gets called when amx_addadmin is used
- Fully customizable configuration file with tons of options starting from the options of changing prefix of dead players/spectators to changing each files name, options to log say chat, name changes, connections
- You can change the flag for each command, making it easy to choose what you want and don't admins to have
- Ranks, ranks are a new addition, they have a HUD (can turn it on/off RANKS_HUD_ENABLED), you have an option in the .cfg file called RANKS_IN_CHAT, if you enable that, your rank will be shown in front of your custom prefix in say chat.
- Ranks are shown in amx_who if RANKS_ENABLED is set to 1
- Ranks are fully customizable, you can add unlimited ranks and edit current ones to your own desire, change the rank titles, flags..
- A new ban system, you have amx_ban and amx_addban, you also have menus for them, making it easier for the front-end users
- Bans become 'unactive' when the ban date expires, there's also permanent ban option.
- Gags, you have amx_gag and amx_addgag, same as bans, they become un-active when the gag expires, there's also permanent gag option and there's menus for them.
- I've added something cool in amx_last, instead of saving only 10 latest connections, it allows all connections to be saved, but they get removed from the database after an amount of time (customizable via .cfg file)
- Option to set individual access flags for each CVAR (EliteAdminSystem_Cvars.ini)
- If you have a plugin that uses amx_* commands, you might have to change the command's syntax.
You must disable these plugins so this system can work properly:- admin.amxx
- admin_sql.amxx
- admincmd.amxx
- adminhelp.amxx
- menufront.amxx
- cmdmenu.amxx
- mapsmenu.amxx
- adminchat.amxx
- plmenu.amxx
- This plugin is a re-creation of the original AMXX admin system, it's packed with new features and improvements to the old ones
- DON'T USE SEMICOLONS (;) IN USERS FILE FOR COMMENTING, ONLY USE // and #
With this plugin you have real-time data retrieving, so if you edit something from the .ini files, it will be instantly applied.
It has it's own Ban file where all bans are stored
It has it's own Gag file where all gags are stored
There are two gag flags that can be used to gag people, s - say chat | v - voice chat
It has it's own Users file where all users are stored
It has it's own Configs file where all configurations are stored
Introducing new immunity system, immunity is a number, meaning that players with lower immunity can't perform actions on different players with higher immunity
This system is strict when it comes to parameters, you must enter all parameters, you're allowed to leave them blank ("") in some scenarios.
Put ';' in front of an admin's name to disable his admin.
If you don't want to put password for someone, just leave the password part as ""
If you don't want a prefix, leave the prefix part as ""
If you don't want a model, leave T_Model or/and CT_Model part as ""
If you don't want the admin to have an expire date, leave it as ""
The admin expires when the date expires (automatically).
Bans expire when the date expires
Gags expire when the date expires
You must have the models inside the models/player/ directory when giving models to an admin. Example the model name is 'vip'. You should have a 'vip' folder in models/player and vip.mdl file inside the 'vip' folder. Then put 'vip' in the T_Model or CT_Model in the .ini file.
All dates are in MM/DD/YYYY HH:MM:SS format
Skins are assigned by SteamID, setting a skin to a person by name won't give him the skin.
Spoiler
native AddNewUser( const szID[ ], const szPassword[ ], const szFlags[ ], const szPrefix[ ], const szSkinT[ ], const szSkinCT[ ], const iImmunity, const szExpireDate[ ], const szExpireFlags[ ], bool:bKeepPrivileges )
Spoiler
Information:
You can use this native in other plugins to add new users to the users file.
Example usage:
PHP Code:
#include < amxmodx >
#include < elite_admin_system >
public plugin_init( )
{
register_clcmd( "say /add", "@AddNewUser" );
}
@AddNewUser( id )
{
AddNewUser( "DoNii", "123456", "abcde", "[Admin]", "", "", 50, "12/31/2019 - 00:00:00", "", 1 )
}
native RegisterCommand( const szName[ ], const szCallBack[ ], const iFlags, const iImmunity )
Spoiler
Information:
You can use this native in other plugins to create a new console command that you can use inside the server.
szName - Command Name
szCallBack - Command handler
iFlags - Admin flags required to use the command
iImmunity - Immunity required to use the command
Example usage:
PHP Code:
#include < amxmodx >
#include < elite_admin_system >
public plugin_init( )
{
RegisterCommand( "test_func", "Callback", ADMIN_RCON, 100 );
}
public Callback( id )
{
client_print( 0, print_chat, "Works" );
}
forward AdminAdded( szName[ ], szPassword[ ], szFlags[ ], szPrefix[ ], szModel_T[ ], szModel_CT[ ], iImmunity, szExpireDate[ ], const szExpireFlags[ ], bool:bKeepPrivileges )
Spoiler
Information:
This forward gets called when a new admin is added by the console command
szName - Name of the person
szPassword - Password
szFlags - Accesss flags
szPrefix - the prefix set
szModel_T - Model for Terrorist team
szModel_CT - Model for Counter-Terrorist team
iImmunity - Immunity value
szExpireDate - Date when admin expires
szExpireFlags - Flags to remove when date expires
bKeepPrivileges - Whether to keep privileges when date expires
Example usage:
PHP Code:
#include < amxmodx >
#include < elite_admin_system >
public AdminAdded( szName, szPassword, szFlags, szPrefix, szModel_T, szModel_CT, iImmunity, szExpireDate, szExpireFlags, bKeepPrivileges )
{
client_print( 0, print_chat, "A new admin was added, name: %s %s %s %s %s %s %s %s %s %s", szName, szPassword, szFlags, szPrefix, szModel_T, szModel_CT, iImmunity, szExpireDate, szExpireFlags, bKeepPrivileges );
}
- Mistrick - help with menu memory leaks
- ConnorMcLeod - his player models plugin
__________________
Last edited by edon1337; 10-02-2021 at 17:53.
Reason: theme update
|
|