Skip to content

Player Tags

thomas edited this page May 23, 2018 · 4 revisions

This plugins give players tags in stats & chat for team (T,CT) and "rank" (VIP/admin/warden).

Commands

sm_incognito - Allows admin to toggle incognito - show default tags instead of admin tags

ConVars

// 0 - disabled, 1 - enable this MyJailbreak SourceMod plugin
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_playertag_enable "1"

// 0 - disabled, 1 - enable PlayerTag in stats
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_playertag_stats "1"

// 0 - disabled, 1 - enable PlayerTag in chat
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_playertag_chat "1"

// 0 - disabled, 1 - don't overwrite chat tags given by extern plugins ccc, togsclantags or zephyrus store
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_playertag_extern "1"

// 0 - if no tag is set in config clear the tag (show nothing) / 1 - if no tag is set in config show players steam group tag
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_playertag_overwrite "1"

// 0 - admins & VIP will recieve their tags right after join / 1 - admins & VIP will join inkognito without admin tags.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_playertag_inkognito_join "1"

// seconds how long admins stay inkognito after switch back automatic - 0 - disabled, 
// -
// Default: "50"
// Minimum: "0.000000"
sm_playertag_inkognito_time "50"

// Set your chat prefix for this plugin.
// -
// Default: "[{green}MyJB.Tag{default}]"
sm_playertag_prefix "[{green}MyJB.Tag{default}]"

// 0 - admins & VIP will recieve their tags right after join / 1 - admins & VIP will join incognito without admin tags.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_playertag_incognito_join "1"

// seconds how long admins stay incognito - 0 - disabled, you have to !incognito to enable
// -
// Default: "120"
// Minimum: "0.000000"
sm_playertag_incognito_time "120"

// Set your custom chat commands for toggle incognito mode(!incognito (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "undercover, incog"
sm_playertag_cmds "undercover, incog"

Files

/addons/sourcemod/plugins/MyJailbreak/playertag.smx
/addons/sourcemod/scripting/MyJailbreak/playertag.sp /addons/sourcemod/configs/MyJailbreak/player_tags.cfg
/addons/sourcemod/translation/MyJailbreak.PlayerTag.phrases.txt

Clone this wiki locally