AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Elite Admin System v6.7.2 (https://forums.alliedmods.net/showthread.php?t=317151)

edon1337 06-29-2019 18:06

Elite Admin System v6.7.2
 
2 Attachment(s)


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





- 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





Spoiler





Spoiler





  • Mistrick - help with menu memory leaks
  • ConnorMcLeod - his player models plugin

<VeCo> 06-30-2019 05:16

Re: Elite Admin System v3.4 [29/06/2019]
 
amx_exec :nono:

HamletEagle 06-30-2019 05:20

Re: Elite Admin System v3.4 [29/06/2019]
 
amx_exec has to go, there is no legitimate reason for this command to exist.

edon1337 06-30-2019 07:53

Re: Elite Admin System v3.4 [29/06/2019]
 
Quote:

Originally Posted by HamletEagle (Post 2657247)
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.

iclassdon 06-30-2019 13:28

Re: Elite Admin System v3.5 [30/06/2019]
 
This looks interesting going to give it a try. Thank you.

edon1337 06-30-2019 16:35

Re: Elite Admin System v3.5 [30/06/2019]
 
Quote:

Originally Posted by iclassdon (Post 2657294)
This looks interesting going to give it a try. Thank you.

Thanks for your time, feedbacks are welcomed.

Alber9091 07-01-2019 10:25

Re: Elite Admin System v3.5 [30/06/2019]
 
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.

edon1337 07-01-2019 10:35

Re: Elite Admin System v3.5 [30/06/2019]
 
Quote:

Originally Posted by Alber9091 (Post 2657381)
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 (Post 2657381)
The plugin feels incomplete, since lacking normal behavior..

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

Alber9091 07-01-2019 11:28

Re: Elite Admin System v3.5 [30/06/2019]
 
Quote:

Originally Posted by edon1337 (Post 2657382)
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

edon1337 07-01-2019 12:18

Re: Elite Admin System v3.5 [30/06/2019]
 
Quote:

Originally Posted by Alber9091 (Post 2657387)
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.

HamletEagle 07-01-2019 12:22

Re: Elite Admin System v3.5 [30/06/2019]
 
Quote:

Originally Posted by edon1337 (Post 2657390)
Define 'normal behavior', cuz I still don't get what you're trying to say.

Amxx is using the flags -> what he calls "normal behavior"
Your plugin doesn't use flags -> not normal behavior.

OciXCrom 07-01-2019 12:47

Re: Elite Admin System v3.5 [30/06/2019]
 
Quote:

Originally Posted by Alber9091 (Post 2657387)
Clan Tag means nick- without case sensitive

No, it doesn't. It's literally what it says it is - tag for a clan.

[Clan] Player1
[Clan] Player2
[Clan] Player3

All of these would get protected by using only [Clan] in users.ini.

Alber9091 07-01-2019 13:15

Re: Elite Admin System v3.5 [30/06/2019]
 
Quote:

Originally Posted by OciXCrom (Post 2657394)
No, it doesn't. It's literally what it says it is - tag for a clan.

[Clan] Player1
[Clan] Player2
[Clan] Player3

All of these would get protected by using only [Clan] in users.ini.

Yeah !! got it, admin with part of nick (i.e: Clan Tag)
And to avoid case sensitive, just we should not use k flag (case sensitive: account flag)

edon1337 07-01-2019 15:06

Re: Elite Admin System v3.5 [30/06/2019]
 
Quote:

Originally Posted by HamletEagle (Post 2657392)
Amxx is using the flags -> what he calls "normal behavior"
Your plugin doesn't use flags -> not normal behavior.

Got it, and is he suggesting to add flags like the old admin system? Because it doesn't need flags, I explained earlier.

HamletEagle 07-01-2019 15:42

Re: Elite Admin System v3.5 [30/06/2019]
 
I think so, but I don't see the point. If he wants to use something like the amxx admin system then he should use the amxx system. What's the point in creating something identical to something that already exists?

Alber9091 07-01-2019 16:11

Re: Elite Admin System v3.5 [30/06/2019]
 
Quote:

Originally Posted by HamletEagle (Post 2657407)
I think so, but I don't see the point. If he wants to use something like the amxx admin system then he should use the amxx system. What's the point in creating something identical to something that already exists?

Identical, don't confuses co staff !! Who haven't implemented plugin.

And yes of course it was suggestion, since, he well comed feedbacks.

tarsisd2 07-03-2019 09:18

Re: Elite Admin System v3.5 [30/06/2019]
 
Nice job, next step i'd say, make it multilang so we can help with the translate in our on language

edon1337 07-03-2019 16:12

Re: Elite Admin System v3.5 [30/06/2019]
 
Quote:

Originally Posted by tarsisd2 (Post 2657596)
Nice job, next step i'd say, make it multilang so we can help with the translate in our on language

Thanks, doing that right now.

EDIT: Done, you can find it at: https://forums.alliedmods.net/showthread.php?t=317236

edon1337 07-04-2019 09:18

Re: Elite Admin System v3.6 [04/07/2019]
 
Updated v3.6
Quote:

* Added ML System (there might be mistakes, cuz it had so many parts to edit, took me 2 hours
* Fixed some typos
* Added amx_help

edon1337 07-13-2019 15:50

Re: Elite Admin System [+Bans System] v3.6.1 [13/07/2019]
 
Updated v3.6.1
Code:

* Updated translations, they're more compact now and easier to translate in different languages.
* Added ban information that appears in console to translations
* Fixed ban information not appearing in console
* Optimized something

Please check https://forums.alliedmods.net/showthread.php?t=317236 if you want to help by translating.

SPOILER: Ranks are coming!

edon1337 07-17-2019 14:42

Re: Elite Admin System [+Bans System, Ranks] v3.7 [17/07/2019]
 
Update v3.7

Huge update!
Code:

* Optimized code somewhere
* Added Ranks
* Added 3 new commands
* Added TIME_CHECK_ADMINS for EliteAdminSystem_Commands since it was missing

Check https://forums.alliedmods.net/showthread.php?t=317515 to help with translating.

edon1337 07-20-2019 20:56

Re: Elite Admin System [+Bans System, Ranks] v3.7.1 [21/07/2019]
 
Update v3.7.1

Code:

- Fixed something that could cause people to get banned for no reason
Next version which will hopefully be released in 8-10 days will contain:
Code:

- Gag
- amx_say
- amx_tsay
- amx_csay
- noclip, godmode, warn menus
- max ban times for each player
- connect logs, chat logs, name change logs


DevilBoy.eXe 07-20-2019 22:17

Re: Elite Admin System [+Bans System, Ranks] v3.7.1 [21/07/2019]
 
This system will be only local? Or you will add mysql in the future?

Alber9091 07-21-2019 04:37

Re: Elite Admin System [+Bans System, Ranks] v3.7.1 [21/07/2019]
 
SS at the time of ban, having ban details in it.

Like:
Server Name
Player: xyz, STEAM ID: STEAM_0:1:234567, IP: (if your ban system supports amx_ban "ip")
Banned By: Admin abc,
Date: 21/07/2019, Time: 13:34 P.M
For Unban Visit: xyz forum.

Add Kick Text & Console Text: For Unban Visit xyz forums (+ see console)

In your next update, if you are adding chat, amx_chat (colored green).

These things may make your ban system some what more unique & your plugin much more complete

edon1337 07-21-2019 06:05

Re: Elite Admin System [+Bans System, Ranks] v3.7.1 [21/07/2019]
 
Quote:

Originally Posted by Alber9091 (Post 2659958)
SS at the time of ban, having ban details in it.

Like:
Server Name
Player: xyz, STEAM ID: STEAM_0:1:234567, IP: (if your ban system supports amx_ban "ip")
Banned By: Admin abc,
Date: 21/07/2019, Time: 13:34 P.M
For Unban Visit: xyz forum.

Add Kick Text & Console Text: For Unban Visit xyz forums (+ see console)

In your next update, if you are adding chat, amx_chat (colored green).

These things may make your ban system some what more unique & your plugin much more complete

There's already ban information that appears when you try to connect in a server you are banned in.

Quote:

Originally Posted by DevilBoy.eXe (Post 2659943)
This system will be only local? Or you will add mysql in the future?

For now, local.

Alber9091 07-21-2019 08:50

Re: Elite Admin System [+Bans System, Ranks] v3.7.1 [21/07/2019]
 
Then Ban SS? Like SS at the time of ban?

edon1337 07-24-2019 16:09

Re: Elite Admin System [+Bans System, Ranks] v3.7.1 [21/07/2019]
 
Quote:

Originally Posted by Alber9091 (Post 2660016)
Then Ban SS? Like SS at the time of ban?

Just do this:
Code:

amx_ss <nick>;amx_ban <nick/steamid> <time> <reason>

Alber9091 07-24-2019 17:29

Re: Elite Admin System [+Bans System, Ranks] v3.7.1 [21/07/2019]
 
Quote:

Originally Posted by edon1337 (Post 2660456)
Just do this:
Code:

amx_ss <nick>;amx_ban <nick/steamid> <time> <reason>

Complex for newbie Admins & once you do amx_ss, player is likely to leave server. Hence ban ss would be better with ban details.

edon1337 07-25-2019 03:32

Re: Elite Admin System [+Bans System, Ranks] v3.7.1 [21/07/2019]
 
Quote:

Originally Posted by Alber9091 (Post 2660487)
Complex for newbie Admins & once you do amx_ss, player is likely to leave server. Hence ban ss would be better with ban details.

How is writing 2 commands complex? Newbies shouldn’t be admins.
I can’t implement SS on ban because it may not be needed every time.

OciXCrom 07-25-2019 07:20

Re: Elite Admin System [+Bans System, Ranks] v3.7.1 [21/07/2019]
 
Quote:

Originally Posted by edon1337 (Post 2660526)
How is writing 2 commands complex? Newbies shouldn’t be admins.
I can’t implement SS on ban because it may not be needed every time.

Whenever you stumble upon a problem that includes "may not be needed every time", you should a cvar and let the end-user decide whether he needs it or not.

edon1337 07-25-2019 12:30

Re: Elite Admin System [+Bans System, Ranks] v3.7.1 [21/07/2019]
 
I’ll see what I’ll do with it when I’m back home. Maybe I’ll add a CVAR, or just implement it into the command.

UPDATE:
I'm working on the next version, which will be a huge improvement, I'm changing and adding a lot of things.

edon1337 08-02-2019 10:51

Re: Elite Admin System [+Bans System, Ranks] v4.0 [02/08/2019]
 
Updated v4.0

Code:

• Added new commands (gag, ungag, say, warn, team)
• Added new menus (gag, ungag, warn, team, map)
• Optimized code heavily
• Added chat, name change, connect logs
• Did a complete re-work on variable sizes, making them more dynamic and efficient
• Fixed log and msg ML
• Fixed bans not working properly
• Fixed invalid array issues
• Fixed ban information
• Fixed empty messages in chat
• Added admin chat (use @ when writing a message if you want only admins to be able to see it)
• Removed IP Ports
• Fixed a read_argv issue
• Optimized code overall, can't remember further.
• Added auto creation for missing files


tarsisd2 08-02-2019 11:00

Re: Elite Admin System [+Bans System, Ranks] v4.0 [02/08/2019]
 
Great so far, you could add amx_banlist so we could see a list of banned players and info on console

edon1337 08-02-2019 13:54

Re: Elite Admin System [+Bans System, Ranks] v4.0 [02/08/2019]
 
Quote:

Originally Posted by tarsisd2 (Post 2661550)
Great so far, you could add amx_banlist so we could see a list of banned players and info on console

There's already a menu for that. I think nobody would choose console text over a visual menu.

Plans for v4.1
Code:

• Team and AddGag menus
• amx_last Command
• SQL data saving (not sure)
• More Customizable Rank HUD


edon1337 08-03-2019 19:14

Re: Elite Admin System v4.1 [+Bans System | Gags System | Ranks] [02/08/2019]
 
Updated v4.1 - Important update, please consider updating or just change

Code:
;"my_name"   "my_pw"    "my_flags"   "my_prefix"   "model_t"   "model_ct"    "immunity_value"    "expire_date"
To
Code:
//"my_name"   "my_pw"    "my_flags"   "my_prefix"   "model_t"   "model_ct"    "immunity_value"    "expire_date"

Code:

• Fixed duplicated macros confusion in newer AMXX versions (1.8.3-dev-hgXX and 1.9.X)
• Fixed config file causing crash cuz I forgot to remove the semi-colon
• Added support for client_disconnected in newer AMXX versions

v4.2 gonna be lit! Something special coming

Fuck For Fun 08-04-2019 15:18

Re: Elite Admin System v4.1 [+Bans System | Gags System | Ranks] [02/08/2019]
 
Hi GREAT update but I have a pretty nice request if it would be helpful for you to do the gag by say?
If you can add option to commands through say in chat?
for example:
Quote:

!gag name time

edon1337 08-04-2019 15:46

Re: Elite Admin System v4.1 [+Bans System | Gags System | Ranks] [02/08/2019]
 
Quote:

Originally Posted by Fuck For Fun (Post 2661879)
Hi GREAT update but I have a pretty nice request if it would be helpful for you to do the gag by say?
If you can add option to commands through say in chat?
for example:

Nice idea, but sadly I'm not able to implement that, I have other plugins to fix and that would take time, maybe in the future.

Fuck For Fun 08-04-2019 16:46

Re: Elite Admin System v4.1 [+Bans System | Gags System | Ranks] [02/08/2019]
 
Quote:

Originally Posted by edon1337 (Post 2661882)
Nice idea, but sadly I'm not able to implement that, I have other plugins to fix and that would take time, maybe in the future.

Okay, thanks so I'll just wait I wanted to do all your CMD for SAY myself but I told myself before I ask you maybe it will interest you

edon1337 08-04-2019 17:07

Re: Elite Admin System v4.1 [+Bans System | Gags System | Ranks] [02/08/2019]
 
Quote:

Originally Posted by Fuck For Fun (Post 2661895)
Okay, thanks so I'll just wait I wanted to do all your CMD for SAY myself but I told myself before I ask you maybe it will interest you

If you can, then you should probably do it yourself, because it will take time.

edon1337 08-04-2019 18:18

Re: Elite Admin System v4.2 [+Bans, Gags, Ranks] [05/08/2019]
 
Updated v4.2
Code:

- Fixed missing models crashing servers, now it will check if the model exists before inserting it into the array.
- Added Immunity option to RegisterCommand native
- Cached some strings that were used multiple times within a function
- Added 'break' where it was missing, this will optimize the process by breaking the loop when what we're looking for is found
- Removed a double check in Say hook
- Fixed immunity checking, it was checking only name before, now SteamId too
- Added amx_last
- Added amx_psay
- Fixed amx_say when using bind
- Added immunity flag, make sure to give that to people you trust, if you have the immunity flag, bans and gags won't work on you.
- Fixed an addban messagemode issue



All times are GMT -4. The time now is 21:08.

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