RSSy MYGO.pl Opublikowano Styczeń 29, 2024 o 22:29 RSSy Udostępnij Opublikowano Styczeń 29, 2024 o 22:29 History This plugin was originally built on this , but I modified it for my own personal needs and added more functionality, making it a completely different plugin now.Description This plugin adds custom tags based on admin flags or based on SteamID's. It also has support for LevelsRank and it can add the Translation Phrase of the corresponding rank from LR before the tag. You should read the plugin's beggining to understand some key-factors and if you want to enable the support for LevelsRankDependenciesSimple Chat Processor MultiColors Optional: LevelsRank ConVars and Commands Spoiler PHP Code: // This file was auto-generated by SourceMod (v1.11.0.6952) // ConVars for plugin "advanced-tagmanager.smx" // Enable or disable the plugin menu // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" sm_advtm_enable "1" // THIS CVAR WONT EXIST IF YOU DO NOT ENABLE LEVELSRANK SUPPORT IN THE PLUGIN // Try to fit rank, tag and name before the ':' (only affects clients that have both a rank and a tag) // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" sm_advtm_trim "1" // And commands sm_advtm_reload: "Reloads all of the configs and reassigns tags" sm_advtm_getcookie <name/userid>: "Get the advtm_chattag cookie of a client" sm_advtm_setcookie <name/userid> <cookie>: "Set the advtm_chattag cookie of a client (dont use unless necessary)" Installation Copy and paste the files into your SourceMod folder. If you want to compile for SourceMod 1.10 or if you want to enable LevelsRank support and compile make sure you have the dependencies installed.ImportantThe config file "advancedtagmanager_simpletags.cfg" should be ranked by the flags required and it should always exist with an entry present, otherwise the plugin will fail; the other two files are optional. It provides a fast and easy configuration by just specifying the flags, but if two flags of the tags are the same or anything else that would make the user get the incorrect flags you must use the "advancedtagmanager_tags.cfg" where you specify the STEAMID2 of the user. "advancedtagmanager_tags.cfg" will always take priority over "advancedtagmanager_simpletags.cfg" because it is a more targeted way of managing the tag. If the client's name gets trimmed because of the length of the rank or the tag, either modify the rank from the Translation Phrase of LevelsRank or shorten the tag length, or just enable sm_advtm_trim 1 and it will move the name into the message. If someone can test this on CS:GO and reply if it works it would be great. I would also love to post pictures if I figure out how xdTested on Sourcemod 1.10 and 1.11! Attached Files advanced-tagmanager.zip (30.9 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi