Raised This Month: $12 Target: $400
 3% 

Elite Admin System v6.7.2


Post New Thread Reply   
 
Thread Tools Display Modes
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 03-31-2020 , 07:43   Re: Elite Admin System v6.7.1 [+Bans, Gags, Ranks System]
Reply With Quote #151

Quote:
Originally Posted by anderpp View Post
EliteAdminSystem_Commands

public client_putinserver( id )
{
get_user_authid( id, g_szAuthId[ id ], charsmax( g_szAuthId[ ] ) );
get_user_name( id, g_szName[ id ], charsmax( g_szName[ ] ) );
get_user_ip( id, g_szIp[ id ], charsmax( g_szIp[ ] ), 1 );

CheckGagged( id );
CheckBanned( id );
}

in, public CheckBanned( id ) missed
equali (g_szName [id], eData [Player_Name])
Names are not checked on ban/gag, I already mentioned it a few versions ago. It's unreliable to check names.

Quote:
Originally Posted by anderpp View Post
CHECK_CONSOLE_INFO

does not work
I just tested, CHECK_CONSOLE_INFO shows properly, only the ban information is not being displayed, I'll see what I can do.
__________________
edon1337 is offline
anderpp
Junior Member
Join Date: Feb 2018
Old 04-01-2020 , 08:20   Re: Elite Admin System v6.7.1 [+Bans, Gags, Ranks System]
Reply With Quote #152

Quote:
Originally Posted by edon1337 View Post
Names are not checked on ban/gag, I already mentioned it a few versions ago. It's unreliable to check names.

I just tested, CHECK_CONSOLE_INFO shows properly, only the ban information is not being displayed, I'll see what I can do.
yes, only the ban information. Kick info ok.
anderpp is offline
Old 04-05-2020, 15:54
anderpp
This message has been deleted by anderpp. Reason: error
anderpp
Junior Member
Join Date: Feb 2018
Old 04-05-2020 , 16:02   Re: Elite Admin System v6.7.1 [+Bans, Gags, Ranks System]
Reply With Quote #153

@Freeze
@FreezeMenu

send_message( 0, LOG, false, "%L", LANG_PLAYER, "FREEZE_UNSET", g_szName[ id ], g_szAuthId[ id ], g_szName[ iPlayer ], g_szAuthId[ iPlayer ], g_szIp[ iPlayer ] );

send_message( 0, LOG, false, "%L", LANG_PLAYER, "FREEZE_SET", g_szName[ id ], g_szAuthId[ id ], g_szName[ iPlayer ], g_szAuthId[ iPlayer ], g_szIp[ iPlayer ] );

replace to
LOG_FREEZE_UNSET
LOG_FREEZE_SET
anderpp is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 04-05-2020 , 17:58   Re: Elite Admin System v6.7.1 [+Bans, Gags, Ranks System]
Reply With Quote #154

Quote:
Originally Posted by anderpp View Post
@Freeze
@FreezeMenu

send_message( 0, LOG, false, "%L", LANG_PLAYER, "FREEZE_UNSET", g_szName[ id ], g_szAuthId[ id ], g_szName[ iPlayer ], g_szAuthId[ iPlayer ], g_szIp[ iPlayer ] );

send_message( 0, LOG, false, "%L", LANG_PLAYER, "FREEZE_SET", g_szName[ id ], g_szAuthId[ id ], g_szName[ iPlayer ], g_szAuthId[ iPlayer ], g_szIp[ iPlayer ] );

replace to
LOG_FREEZE_UNSET
LOG_FREEZE_SET
Thanks for reporting, I'll make the necessary changes as soon as I have time.
__________________
edon1337 is offline
iclassdon
AlliedModders Donor
Join Date: May 2006
Old 04-14-2020 , 02:33   Re: Elite Admin System v6.7.1 [+Bans, Gags, Ranks System]
Reply With Quote #155

PHP Code:
L 04/13/2020 18:53:13String formatted incorrectly parameter 13 (total 12)
L 04/13/2020 18:53:13: [AMXXDisplaying debug trace (plugin "EliteAdminSystem.amxx"version "6.7.1")
L 04/13/2020 18:53:13: [AMXXRun time error 25parameter error 
L 04
/13/2020 18:53:13: [AMXX]    [0EliteAdminSystem.sma::OnHookSayTeam (line 1087
iclassdon is offline
Send a message via MSN to iclassdon
Snake.
Senior Member
Join Date: Jul 2017
Old 05-05-2020 , 01:09   Re: Elite Admin System v6.7.1 [+Bans, Gags, Ranks System]
Reply With Quote #156

Thanks for this great plugin. Is it possible you can make this plugin works with your admin system ?

Last edited by Snake.; 05-05-2020 at 01:33.
Snake. is offline
Send a message via Skype™ to Snake.
mauri
New Member
Join Date: May 2020
Old 05-17-2020 , 18:37   Re: Elite Admin System v6.7.1 [+Bans, Gags, Ranks System]
Reply With Quote #157

Quote:
Originally Posted by Snake. View Post
Thanks for this great plugin. Is it possible you can make this plugin works with your admin system ?
donde encuentro el archivo amxx del complemento?
mauri is offline
mauri
New Member
Join Date: May 2020
Old 05-17-2020 , 18:39   Re: Elite Admin System v6.7.1 [+Bans, Gags, Ranks System]
Reply With Quote #158

Quote:
Originally Posted by edon1337 View Post


*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 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)
*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:


*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
  • Skins are assigned by SteamID, setting a skin to a person by name won't give him the skin.

*Commands:
Code:
• amx_kick <name> <reason> - Kicks a player out of the server.
• 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 recently disconnected players information
• amx_psay - Sends a private message to a player
• amx_modules - Shows modules
• amx_vote - Creates a vote with up to 3 options
• amx_votemap - Creates a vote with up to 3 maps
• 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" "Flags_Remove" "Keep_Privileges"

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) [don't put .ini at the end of the name]
GAGS_FILE - File name for gags file
CVARS_FILE - File name for cvars 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

ENABLE_MODELS - Enable custom player models system
DEFAULT_MODEL_T - Default skin for Terrorists
DEFAULT_MODEL_CT - Default skin for Counter-Terrorists

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
VOTE_FLAG - Flag to use amx_vote
VOTEMAP_FLAG - Flag to use amx_votemap

VOTE_MAP_TIME - How long should a votemap last (seconds)
VOTE_TIME - How long should a vote last (seconds)

TEAM_SAY - Say team <0-Off|1-On>

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_Cvars.ini
Code:
You can modify access flags for each CVAR here, for example you want all admins with flag 'b' to have access to amx_nextmap, you can do
amx_nextmap = b
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 (MM/DD/YYYY - HH:MM:SS) format (24hrs)
<reason> - The reason he got banned
<banned_by_admin> - The name of the admin who applied the ban
EliteAdminSystem_Gags.ini
Code:
Info: All gags are stored here
Syntax: <name> <steamid> <ip_address> <gag_reason> <gag_flags> <gag_expire_date> <gagged_by>

<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 (MM/DD/YYYY - HH:MM:SS) format (24hrs)
<gagged_by> - Name of the admin who applied the gag
*Servers running this system:
List of Servers

*Credits:
* Mistrick - help with menu memory leaks
* ConnorMcLeod - his player models plugin



where do i find the amxx file to activate the plugin on my server?
mauri is offline
iclassdon
AlliedModders Donor
Join Date: May 2006
Old 05-17-2020 , 22:09   Re: Elite Admin System v6.7.1 [+Bans, Gags, Ranks System]
Reply With Quote #159

@ mauri

Download this file Elite Admin System v6.7.1.zip. Unzip the file then compile the 3 separate sma files inside of it to create the amxx files you are looking for.
iclassdon is offline
Send a message via MSN to iclassdon
Old 05-23-2020, 18:05
Manurockeru
This message has been deleted by Manurockeru. Reason: Fixed
Manurockeru
Junior Member
Join Date: Jul 2019
Old 05-24-2020 , 14:30   Re: Elite Admin System v6.7.1 [+Bans, Gags, Ranks System]
Reply With Quote #160

Hi,

Got a small problem (kind of small).

I have a Zombie Plague server and my problem is that whenever I try commands like "zp_nemesis/zp_human.. etc" I get this:
Code:
] zp_nemesis
Usage:  zp_nemesis <target> - Turn someone into a Nemesis
All good so far, however, if I specify a <target> I get this:
Code:
] zp_nemesis Archeon
Unknown command: zp_nemesis
Also from the "Admin Menu" this doesn't work (to turn someone into a nemesis/zombie...etc) I can only start a mode but I can't specify a certain player.

I also have another plugin that uses zp_ command and it works fine (zp_giveap <target>).

Thanks.

Edit:
This is what I get in the server's console:
Code:
L 05/24/2020 - 22:25:48: Invalid CVAR pointer
L 05/24/2020 - 22:25:48: [AMXX] Displaying debug trace (plugin "zombie_plague_special_44.amxx")
L 05/24/2020 - 22:25:48: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 05/24/2020 - 22:25:48: [AMXX]    [0] zombie_plague_special_44.sma::zp_log_message (line 8317)
L 05/24/2020 - 22:25:48: [AMXX]    [1] zombie_plague_special_44.sma::command_special (line 8157)
L 05/24/2020 - 22:25:48: [AMXX]    [2] zombie_plague_special_44.sma::cmd_nemesis (line 4875)

Last edited by Manurockeru; 05-24-2020 at 15:25.
Manurockeru is offline
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 08:34.


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