Raised This Month: $89 Target: $400
 22% 

Elite Admin System v5.0.2 [+Bans, Gags, Ranks System]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-29-2019 , 18:06   Elite Admin System v5.0.2 [+Bans, Gags, Ranks System]
Reply With Quote #1



*A picture showing features (click to maximize):

MAKE SURE TO UPDATE THE CONFIGURATION FILE AND EAS_CORE.INC (TO HELP ME MONITOR) EVERY UPDATE


*Description:
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..

*Advantages over the old admin system:
Code:
- 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 showed 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)
*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

*Important (MUST READ):
You must disable these plugins so my system can work properly:
Quote:
admin.amxx
admin_sql.amxx
admincmd.amxx
adminhelp.amxx
menufront.amxx
cmdmenu.amxx
mapsmenu.amxx
adminchat.amxx
plmenu.amxx
*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
  • 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, 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

*Commands:
Code:
 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)
*API:
Spoiler


*Configs:

EliteAdminSystem_Users.ini
Code:
Info: This is the file where you can assign players different flags, prefixes, and such.

Syntax:
"Nick|SteamID" "Password" "Flags" "Prefix" "Model_T" "Model_CT" "Immunity" "ExpireDate"

Notes:
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
EliteAdminSystem_Config.cfg
Code:
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)
GAGS_FILE - File name for gags file

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 <0-None|1-Chat|2-Log|3-Both>

SHOW_ADMIN_EXPIRE_DATE - A way for admins to see when their privileges expire <0-Off|1-Connect|2-Command|3-Both>
ADMIN_EXPIRE_CMD - Command to see expire date

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_FLAG - 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
EliteAdminSystem_Ranks.cfg
Code:
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.

Default ranks:

"V.I.P" = t
"Lite Admin" = bcde
"Admin" = bcdeij
"Power" = abcdeijmno
"Moderator" = abcdefgijmnpqr
"Head Admin Helper" = abcdefghijmnopqrst
"Head Admin" = abcdefghijkmnopqrstu
"Owner" = abcdefghijklmnopqrstuxyz
EliteAdminSystem_Bans.ini
Code:
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
EliteAdminSystem_Gags.ini
Code:
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)
*Credits:
* Mistrick - help with menu memory leaks
* HishamGamer - Spanish translation
Attached Files
File Type: zip Elite Admin System v5.0.2.zip (38.0 KB, 9 views)
File Type: txt elite_admin_system.txt (10.0 KB, 14 views)
__________________

Last edited by edon1337; 09-09-2019 at 12:20. Reason: Updated v5.0.2
edon1337 is offline
Send a message via Skype™ to edon1337
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 06-30-2019 , 05:16   Re: Elite Admin System v3.4 [29/06/2019]
Reply With Quote #2

amx_exec
__________________
<VeCo> is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-30-2019 , 05:20   Re: Elite Admin System v3.4 [29/06/2019]
Reply With Quote #3

amx_exec has to go, there is no legitimate reason for this command to exist.
__________________
HamletEagle is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-30-2019 , 07:53   Re: Elite Admin System v3.4 [29/06/2019]
Reply With Quote #4

Quote:
Originally Posted by HamletEagle View Post
amx_exec has to go, there is no legitimate reason for this command to exist.
amx_exec is useful for executing commands that I haven't registered, what's the worst that can happen when Valve has already blocked harmful commands?
Anyways, I removed it since I found out there's bypasses to the blocked commands.
__________________

Last edited by edon1337; 06-30-2019 at 08:13.
edon1337 is offline
Send a message via Skype™ to edon1337
iclassdon
AlliedModders Donor
Join Date: May 2006
Old 06-30-2019 , 13:28   Re: Elite Admin System v3.5 [30/06/2019]
Reply With Quote #5

This looks interesting going to give it a try. Thank you.
iclassdon is offline
Send a message via AIM to iclassdon Send a message via MSN to iclassdon
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-30-2019 , 16:35   Re: Elite Admin System v3.5 [30/06/2019]
Reply With Quote #6

Quote:
Originally Posted by iclassdon View Post
This looks interesting going to give it a try. Thank you.
Thanks for your time, feedbacks are welcomed.
__________________
edon1337 is offline
Send a message via Skype™ to edon1337
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Some Where On Earth
Old 07-01-2019 , 10:25   Re: Elite Admin System v3.5 [30/06/2019]
Reply With Quote #7

What about this?

Quote:
; Account flags:
; a - disconnect player on invalid password
; b - clan tag
; c - this is steamid/wonid
; d - this is ip
; e - password is not checked (only name/ip/steamid needed)
; k - name or tag is case sensitive. eg: if you set it so the name "Ham"
; is protected and case sensitive (flags "k" only), then anybody
; can use the names "haM", "HAM", "ham", etc, but not "Ham"
The plugin feels incomplete, since lacking normal behavior.
Else, Excellent.
__________________
Alber9091 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-01-2019 , 10:35   Re: Elite Admin System v3.5 [30/06/2019]
Reply With Quote #8

Quote:
Originally Posted by Alber9091 View Post
What about this?
disconnect player on invalid password - Automatic
clan tag - Idk what this is
this is steamid/wonid - you can use name or SteamID in the first field
this is ip - I don't support saving by IP.
password is not checked - just leave password field empty ("")
name or tag is case sensitive - This is automatic, Ham and ham are counted as 2 different people.

Quote:
Originally Posted by Alber9091 View Post
The plugin feels incomplete, since lacking normal behavior..
I don't understand what you meant by 'lacking normal behavior'.
__________________
edon1337 is offline
Send a message via Skype™ to edon1337
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Some Where On Earth
Old 07-01-2019 , 11:28   Re: Elite Admin System v3.5 [30/06/2019]
Reply With Quote #9

Quote:
Originally Posted by edon1337 View Post
disconnect player on invalid password - Automatic
clan tag - Idk what this is
this is steamid/wonid - you can use name or SteamID in the first field
this is ip - I don't support saving by IP.
password is not checked - just leave password field empty ("")
name or tag is case sensitive - This is automatic, Ham and ham are counted as 2 different people.

I don't understand what you meant by 'lacking normal behavior'.

I mean, if you, any time check user.ini in AMXX by default, you will find lines and with normal behavior I mean't how we normally make admin in AMXX default.

Clan Tag means nick- without case sensitive
__________________
Alber9091 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-01-2019 , 12:18   Re: Elite Admin System v3.5 [30/06/2019]
Reply With Quote #10

Quote:
Originally Posted by Alber9091 View Post
I mean, if you, any time check user.ini in AMXX by default, you will find lines and with normal behavior I mean't how we normally make admin in AMXX default.

Clan Tag means nick- without case sensitive
Define 'normal behavior', cuz I still don't get what you're trying to say.
__________________
edon1337 is offline
Send a message via Skype™ to edon1337
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:18.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode