AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Advanced Admin List 1.1.4 (18-Apr-2021) (https://forums.alliedmods.net/showthread.php?t=322742)

StrikeR14 04-03-2020 12:29

[ANY] Advanced Admin List 1.1.4 (18-Apr-2021)
 
[ANY] Advanced Admin List


Features:
  • Players can view the online admin list.
  • Admins can remain invisible in the admin list for stealth circumstances.
  • Server Owners can track admins' activity by using the command /adminstime.
  • Auto reset for admins' activity per week (as the default value).
  • SQLite system that saves all the data.

Visibility idea was taken from a plugin which I can no longer find now.

NOTE: Admins are being added to the admin list by the KICK flag, which currently cannot be edited.

ConVars:
  • sm_admins_vip - Should VIPs appear in the admin list? 1 - yes, 0 - no. (default: 0)
  • sm_admins_adminflag - Admin Flag in letters, as written in admin_levels.cfg (default: 'c')
  • sm_admins_vipflag - VIP Flag in letters, as written in admin_levels.cfg (default: 'o')
  • sm_admins_resetime - Crontab code for reset activity. (default: 0 0 * * 5)
  • sm_admins_minimum - Minimum time in minutes for admins to be active on the server. (default: 420)

Commands:
  • sm_admins - Command for players to view online admins.
  • sm_admins <0/1> - Command for admins to enable/disable visibility (default flag: KICK).
  • sm_hours - Command for admins to view their activity in HH:MM format (default flag: KICK).
  • sm_adminstime - Command for Server Owners to view their admins' activity (default flag: ROOT).

Installation:
  1. Place the .smx file in addons/sourcemod/plugins
  2. Add the code to addons/sourcemod/configs/databases.cfg:
    Code:

    "AdminList"
    {
            "driver"                        "sqlite"
            "database"                        "AdminList"
    }

  3. Reload the map and enjoy!

Todo:
  • Add support for MYSQL.

Changelog:

Code:

1.1.4 - Fixed Current result set has no fetched rows issue.
1.1.3 - Added sm_admins_adminflag convar that supports custom flag tracking.
1.1.2 - Fixed minor error.
1.1.1 - Added support for temporary admins.
1.1 - Improved reset system with crontab.
1.0 - Initial Release.


Pero 07-06-2020 15:25

Re: [ANY] Advanced Admin List
 
Plugin works great but as of Yesteday whenever someone types /admins the server prints the admin list in the chat and ignores user preferences. Hidden admins aren't shown in the menu but everyone can see the chat.


//Apparently it was some other plugin that was conflicting with yours

StrikeR14 10-31-2020 10:34

Re: [ANY] Advanced Admin List
 
Updated to version 1.1 - Improved reset system with crontab (thanks to this plugin for the code).

Tonblader 10-31-2020 18:47

Re: [ANY] Advanced Admin List
 
Is possible can add temporal admin?
I want to be able to add administrators with temporary and different flag accesses, with different expiration dates.

StrikeR14 10-31-2020 19:12

Re: [ANY] Advanced Admin List
 
Quote:

Originally Posted by Tonblader (Post 2723274)
Is possible can add temporal admin?
I want to be able to add administrators with temporary and different flag accesses, with different expiration dates.

Pretty sure it won't work now (haven't tested) but I'll check & add this feature tomorrow.

StrikeR14 10-31-2020 21:57

Re: [ANY] Advanced Admin List
 
Updated to version 1.1.1 - Added support for temporary admins.

Tonblader 11-01-2020 21:25

Re: [ANY] Advanced Admin List
 
Excuse the ignorance, what would be the command to add a temporary admin?

Im on Left 4 Dead 2, this command not work
sm_nextreset

StrikeR14 11-02-2020 10:43

Re: [ANY] Advanced Admin List
 
Quote:

Originally Posted by Tonblader (Post 2723385)
Excuse the ignorance, what would be the command to add a temporary admin?

Im on Left 4 Dead 2, this command not work
sm_nextreset

Apologies, this command has been deleted from the new version (but it exists on version 1.0) and I forgot to update the thread. You also might wanna install a plugin that allows server owners to add temporary admin via command.

Tonblader 11-06-2020 19:31

Re: [ANY] Advanced Admin List
 
Left 4 Dead 2 Errorlogs:

L 11/05/2020 - 21:30:40: [SM] Exception reported: Current result set has no fetched rows
L 11/05/2020 - 21:30:40: [SM] Blaming: adminlist.smx
L 11/05/2020 - 21:30:40: [SM] Call stack trace:
L 11/05/2020 - 21:30:40: [SM] [0] DBResultSet.FetchInt
L 11/05/2020 - 21:30:40: [SM] [1] Line 77, C:\Users\almog\Desktop\adminlist.sp::OnClient Disconnect

Quote:

Originally Posted by StrikeR14 (Post 2723467)
You also might wanna install a plugin that allows server owners to add temporary admin via command.

Which plugin do you recommend?

StrikeR14 11-06-2020 21:39

Re: [ANY] Advanced Admin List
 
Quote:

Originally Posted by Tonblader (Post 2724023)
Left 4 Dead 2 Errorlogs:

L 11/05/2020 - 21:30:40: [SM] Exception reported: Current result set has no fetched rows
L 11/05/2020 - 21:30:40: [SM] Blaming: adminlist.smx
L 11/05/2020 - 21:30:40: [SM] Call stack trace:
L 11/05/2020 - 21:30:40: [SM] [0] DBResultSet.FetchInt
L 11/05/2020 - 21:30:40: [SM] [1] Line 77, C:\Users\almog\Desktop\adminlist.sp::OnClient Disconnect

Thanks for the report, I fixed the issue on the repository.

Quote:

Originally Posted by Tonblader (Post 2724023)
Which plugin do you recommend?

I know this is a well-known plugin that also manages admin addition and removal, supported by web interface. Maybe you should try it.


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

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