RSSy MYGO.pl Opublikowano Kwiecień 3, 2020 o 16:29 RSSy Udostępnij Opublikowano Kwiecień 3, 2020 o 16:29 [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_vipflag - VIP Flag in letters, as written in admin_levels.cfg (default: 'o') sm_admins_resetime - Time in seconds to reset admins' activity. (default: 604800) sm_admins_minimum - Minimum time in minutes for admins to be active on the server. (default: 420) NOTE: Changing sm_admins_resetime value will reset the timer. 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_nextreset - Command for admins to view the upcoming reset date (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: Place the .smx file in addons/sourcemod/plugins Add the code to addons/sourcemod/configs/databases.cfg: Code: "AdminList" { "driver" "sqlite" "database" "AdminList" } Reload the map and enjoy! Todo: Add support for MYSQL. Add ConVar for the required admin flag to appear in the admin list. Changelog: Code: 1.0 - Initial Release Attached Files Get Plugin or Get Source ([ANY] Admin List.sp - 13.1 KB) [ANY] Admin List.smx (11.1 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi