Join Date: Jun 2016
*A picture showing features (click to maximize):
MAKE SURE TO UPDATE THE CONFIGURATION FILE AND EAS_CORE.INC (TO HELP ME MONITOR) 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.
*Advantages over the old admin system:
*Issues that you might encounter:
- If you have a plugin that uses amx_* commands, you'll have to edit it, as I've changed the order of things inside the commands, but there's not many plugins that use amx_* commands
You must disable these plugins so my system can work properly:
- 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 [t/ct]
- New 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 (with respawn option)
- There's menus for almost everything: ban, gag, addban, addgag, unban, ungag, kick, slap, slay, freeze, map.
- I'm not totally sure, but I think the old admin system didn't have an unban menu, this one does, and it shows all of the banned players name, steamid and ip in a menu, where you can simply click one of the entries to remove it from the file and database.
- Instead of hardcoding 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.
- 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 showed infront of your custom prefix in say chat.
- Ranks are showed 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, they 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 unactive 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)
*Information and features (READ BEFORE POSTING):
- 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
- 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, and they're automatically removed from the .ini file
- Gags expire when the date expires, and they're automatically removed from the .ini file
- 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
• amx_kick <name> <reason> - Kicks a player out of the server, this system obligates you to enter a reason, if you don't have one, leave it as "".
• amx_ban <name> <minutes> <reason> - Kicks a player out of the server and adds him to the banlist, making him unable to connect to the server.
• amx_addban <name> <steamid> <ip_address> <minutes> <reason> - A more advanced way of banning, you can use this to add a person that isn't connected to the server to the banlist.
• amx_unban <nick/steam/ip> - Unbans a player, removes him from the banlist.
• amx_slay <nick> <reason> - Kills/Slays a person.
• amx_slap <nick> <value> <reason> - Slaps (damages) a person for x damage.
• amx_gag <nick|steamid|ip> <seconds> <reason> <flags> - Gags player from say chat/voice chat
• amx_ungag <nick|steamid|ip> - Ungags a gagged player
• amx_say <message> - Writes message in all green text
• amx_who - Shows connected players information
• amx_map <map> - Changes the map to another one
• amx_nick <current_nick> <new_nick> - Changes a person's nick to another one
• amx_addadmin (default) <Nick|SteamID> <Password> <Flags> <Prefix> <T_Model> <CT_Model> <Immunity> <Expire_Date> - Adds a new admin via console
• amx_cvar <cvar> <value> - Sets a CVAR's value to another one
• amx_plugins - Shows list of plugins
• amx_rcon <cmd> <value> - Sends command to server
• amx_showrcon - Shows rcon password
• amx_help - Shows commands list
• amx_last - Shows last players to disconnect information
• amx_psay - Sends a private message to a player
• amx_modules - Shows modules
• amx_freeze <name> <off/on> - Freezes player movement and mouse
• amx_ss <name> - Takes screenshot on player
• amx_warn <name> <reason> - Warns a player
• amx_noclip <name> <value> - Sets noclip on player
• amx_godmode <name> <value> - Sets godmode on player
• amx_team <name> <team> <respawn> - Changes player team (and respawns if you set it to 1)
• amx_addgag <nick> <steamid> <ip> <seconds> <flags> <reason> - A more advanced way of gagging, adds player to the gag list even if he isn't connected
• amx_chat <message> - Sends a message in chat to all players that have the required flag
• amx_exgag <nick|steamid|ip> <seconds> - Extends (adds seconds) someone's gag time in seconds
• amx_regag <nick|steamid|ip> <seconds> - Reduces someone's gag time in seconds
• eas_menu, eliteadminmenu, amxmodmenu (default) - Console commands to open admin menu
(new commands are highlighted red)
(console commands are highlighted blue)
AddNewUser( const szID[ ], const szPassword[ ], const szFlags[ ], const szPrefix[ ], const szSkinT[ ], const szSkinCT[ ], const iImmunity, const szExpireDate[ ] )
You can use this native in other plugins to add new users to the users file.
#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" )
RegisterCommand( const szName[ ], const szCallBack[ ], const iFlags, const iImmunity )
You can use this native in other plugins to create a new console command that you can use inside the server.
- Command Name
- Command handler
- Admin flags required to use the command
- Immunity required to use the command
#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" );
AdminAdded( szName[ ], szPassword[ ], szFlags[ ], szPrefix[ ], szModel_T[ ], szModel_CT[ ], szExpireDate[ ] )
This forward gets called when a new admin is added by the console command
- Name of the person
- Accesss flags
- the prefix set
- Model for Terrorist team
- Model for Counter-Terrorist team
- Date when admin expires
#include < amxmodx >
#include < elite_admin_system >
public AdminAdded( szName, szPassword, szFlags, szPrefix, szModel_T, szModel_CT, szExpireDate )
client_print( 0, print_chat, "A new admin was added, name: %s", szName );
Info: This is the file where you can assign players different flags, prefixes, and such.
"Nick|SteamID" "Password" "Flags" "Prefix" "Model_T" "Model_CT" "Immunity" "ExpireDate"
Immunity is a number, if someone has an immunity of 50, he can't perform actions on another admin with higher immunity.
ExpireDate should be in MM/DD/YYYY - HH:MM:SS format
Info: This is the file where you can change configs of the system (file names, values).
DEAD_PREFIX - The prefix that will show before player's name when he's talking while dead.
SPECTATOR_PREFIX - The prefix that will show before player's name when he's talking while he is a spectator.
COMMAND_ADDADMIN - The command name to add a new admin (amx_addadmin by default)
USERS_FILE - File name for users file
BANS_FILE - File name for bans file
LOGS_FILE - File name for logs file (located in logs folder)
CONNECT_LOG - Connect Logs <0|1>
NAME_CHANGE_LOG - Name change Logs <0|1>
CHAT_LOG - Say chat Logs <0|1>
BANNED_CONNECT_LOG - Show when a banned player attempts to connect <1-Chat|2-Log|3-Both>
RANKS_ENABLED - Ranks shown in amx_who <0|1>
RANKS_HUD_ENABLED - Ranks HUD enabled <0|1>
RANKS_IN_CHAT - Ranks to appear in say chat <0|1>
RANKS_SHOW_UNRANKED - Show HUD for people without rank <0|1>
SYSTEM_PREFIX - Chat prefix
DISCONNECT_INFO_SECONDS_EXPIRE - How long should an entry in amx_last last for (seconds) until it's removed completely
FREQUENCY_UPDATE_ALL_FILES - Frequency (seconds) to update all files
CMDMENU_COMMANDS - Commands to open admin menu
ADMIN_ADD_FLAG - Flag required to add a new admin
KICK_FLAG - Flag to use amx_kick
BAN_FLAG - Flag to use amx_ban
ADD_BAN_FLAG - Flag to use amx_addban
UNBAN_FLAG - Flag to use amx_unban
SLAY_FLAG - Flag to use amx_slay
SLAP_FLAG - Flag to use amx_slap
WHO_FLAG - Flag to use amx_who
CVAR_FLAG - Flag to use amx_cvar
PLUGINS_FLAG - Flag to use amx_plugins
MAP_FLAG - Flag to use amx_map
NICK_FLAG - Flag to use amx_nick
RCON_FLAG - Flag to use amx_rcon
SHOW_RCON_FLAG - Flag to use amx_showrcon
MODULES_FLAG - Flag to use amx_modules
FREEZE_FLAG - Flag to use amx_freeze
SCREENSHOT_FLAG - Flag to use amx_ss
COMMANDS_MENU_FLAG - Flags to open admin menu
WARN_PLAYER - Flag to use amx_warn
NOCLIP_FLAG - Flag to use amx_noclip
GODMODE_FLAG - Flag to use amx_godmode
UNGAG_FLAG - Flag to use amx_ungag
GAG_FLAG - Flag to use amx_gag
SAY_FLAG - Flag to use amx_say
TEAM_FLAG - Flag to use amx_team
IMMUNITY_FLAG - Flag for immunity (bans and gags won't work on immunity players)
PSAY_FLAG - Flag to use amx_psay
LAST_FLAG - Flag to use amx_last
ADD_GAG_FLAG - Flag to use amx_addgag
CHAT_FLAG - Flag to use amx_chat and to see amx_chat messages
RANK_ALIVE_HUD_R - Red as in RGB for alive players Rank HUD
RANK_ALIVE_HUD_G - Green as in RGB for alive players Rank HUD
RANK_ALIVE_HUD_B - Blue as in RGB for alive players Rank HUD
RANK_ALIVE_HUD_X - X axi for alive players Rank HUD
RANK_ALIVE_HUD_Y - Y axi for alive players Rank HUD
RANK_DEAD_HUD_R - Red as in RGB for alive players Rank HUD
RANK_DEAD_HUD_G - Green as in RGB for alive players Rank HUD
RANK_DEAD_HUD_B - Blue as in RGB for alive players Rank HUD
RANK_DEAD_HUD_X - X axi for alive players Rank HUD
RANK_DEAD_HUD_Y - Y axi for alive players Rank HUD
You can add/edit ranks here
Usage: "Rank_Title" = flags
Let's say you want rank "Power" you'll need flags that are written after the equal sign in the same line.
"V.I.P" = t
"Lite Admin" = bcde
"Admin" = bcdeij
"Power" = abcdeijmno
"Moderator" = abcdefgijmnpqr
"Head Admin Helper" = abcdefghijmnopqrst
"Head Admin" = abcdefghijkmnopqrstu
"Owner" = abcdefghijklmnopqrstuxyz
Info: All bans are stored here
Syntax: <name> <steamid> <ip_address> <ban_expiration_date> <reason> <banned_by_admin>
<name> - Banned player's name
<steamid> - Banned player's steamid
<ip_address> - Banned player's IP address
<ban_expiration_date> - Time when ban expires (DD/MM/YYYY - HH:MM:SS) format (24hrs)
<reason - The reason he got banned
<banned_by_admin> - The name of the admin who banned him
Info: All gags are stored here
Syntax: <name> <steamid> <ip_address> <gag_reason> <gag_flags> <gag_expire_date>
<name> - Gagged player's name
<steamid> - Gagged player's steamid
<ip_address> - Gagged player's IP address
<gag_reason> - The reason he got gagged
<gag_flags> - Gag flags (s -say chat | v - voice chat)
<gag_expire_date> - Gag expire date (DD/MM/YYYY - HH:MM:SS) format (24hrs)
Last edited by edon1337; 08-17-2019 at 14:44.
Reason: v4.8.1 update