GLOBALELITE.PL GLOBALELITE.pl 83 Napisano 6 Września 2017 Share Napisano 6 Września 2017 CT Bans - Max BansA new admin command !tctban <player> <time> <optional: reason> is created to allow admins to give a limited timed CT Ban. If admins cannot be trusted to dispense permanent CT Bans then this command will allow them to still take the minimum action needed to remove a rule-breaker from the CT team. The default admin flag for !ctban is ADMFLAG_SLAY and the default for !tctban is ADMFLAG_CHAT. These can be changed using Admin Overrides:https://wiki.alliedmods.net/Overridi..._ConfigurationYou can configure the maximum ban length (in minutes) with the convar:sm_ctban_maxbans_timeThe default is 120 minutes.Custom CT Bans Reasons (configs/ctban_reasons.ini) will appear in the Reason menu, if provided.Custom CT Bans Lengths (configs/ctban_times.ini) will appear in the Time menu, if provided.Note: Ban lengths that exceed the sm_ctban_maxbans_time convar will not be available as menu options.This plugin requires the CT Bans plugin, include (for compiling), and translation phrases file to be installed on the server.https://forums.alliedmods.net/showthread.php?t=166080 Attached Files Get Plugin or Get Source (ctban_maxbans.sp - 12.4 KB) ctban_maxbans.smx (10.6 KB) Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=301052&goto=newpost Odnośnik do odpowiedzi Udostępnij na innych stronach
Rekomendowane odpowiedzi