<div><a class="proxied-img-link" href="https://i.imgur.com/oQHhHes.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/7ab00910763b33a6a4d26804a77bb5349c9618a8/68747470733a2f2f692e696d6775722e636f6d2f6f5148684865732e6a7067" border="0" alt="" /></a><br /><br />Welcome.<br /><br /><b>Change Your Name</b> is a plugin that allows you to change your name in-game independently of your Steam name (and much more!). This version replaces and supercedes <a href="https:forums.alliedmods.net/showthread.php?p=2592819" target="_blank" rel="nofollow noopener"> Set My Name</a>, which is now considered obsolete/out-of-date.<br /><br />As a player, change your name to anything you would like, reset any time or see if another player has changed their name! Have the fun you deserve with options!<br /><br />As an admin, control the names you want to keep out of your server! Prevent players from changing their names at all! Force lock a name on a player! Rename your players with an updated rename command! Or have some fun from time to time by randomizing somebodys name! A lot of options to keep bad actors at bay!<br /><br />Plugin comes with statistics and a full admin command suite for server administrators with no SRCDS access.<br /><br /><a class="proxied-img-link" href="https://i.imgur.com/SaAK55c.jpg" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/b51f3cb3a3dbdea20f5c91c90cff2e61b3838ee6/68747470733a2f2f692e696d6775722e636f6d2f5361414b3535632e6a7067" border="0" alt="" /></a><br /><br /><b>Change Your Name</b> has a lot of commands. Most of them sets up how the plugin behaves. Default values should work fine. You will find <b>sm_name.cfg</b> in <b>cfg/sourcemod</b> where values can be configured.<br /><br /><font size="4"><b><font color="DarkOrange">ConVars</font></b></font><br /><ol style="list-style-type: decimal"><li><b>sm_name_version</b> - Displays the current version of the plugin. (1.7.0.1963)</li>
<li><b>sm_name_help_enable 0/1</b> - Displays/Hides <i>[NAME] This server allows name changes. Type !nhelp for more information</i> message when players connect to the server. [Default: 1]</li>
<li><b>sm_name_enable 0/1</b> - Enables/Disables plugin. [Default: 1]</li>
<li><b>sm_cname_enable 0/1</b> - Enable/Disable the ability to change name. [Default: 1]</li>
<li><b>sm_oname_enable 0/1</b> - Enable/Disable fetching the name players had when they connected to the server. [Default: 1]</li>
<li><b>sm_sname_enable 0/1</b> - Enable/Disable fetching players Steam name. [Default: 1]</li>
<li><b>sm_srname_enable 0/1</b> - Enable/Disable resetting to Steam name. [Default: 1]</li>
<li><b>sm_name_ban_time <time in minutes></b> - Defines the behavior or the ban time if a player joins the server with a banned name.<br /> -2 -> Removes their name [Default]<br /> -1 -> Kicks player<br /> 0 and above -> Bans player (time in minutes)</li>
<li><b>sm_name_ban_reason <reason></b> - Defines the kick message. [Default: [AUTO-DISCONNECT] This name is banned from being used. Please change it.] [CSGO: AUTOKICK - Banned player name detected. Please change it]</li>
<li><b>sm_name_cooldown <time in seconds></b> - Defines the amount of time a player has to wait before being able to change their name again. Time in seconds, but formatted in MM:SS in-game. [Default: 30 seconds]</li>
<li><b>sm_name_bannednames_checker 0/1</b> - Defines whether players names will be checked against banned_names.ini [Default: 1]</li>
<li><b>sm_name_bannedids_checker 0/1</b> - Defines whether players SteamID will be checked against banned_id.ini [Default: 1]</li>
<li><b>sm_rename_cooldown <time in seconds></b> - Defines how long a player will have to wait before changing their name again after an admin has renamed them. Time in seconds, but formatted in MM:SS in-game. [Default: 600 (10 minutes)]</li>
</ol><br />The following ConVars are for debugging purposes. When turned on, they will log information into <b>logs/NameChanger</b>. Please note that debugging mode will turn itself off on map end or on server restart.<br /><ol style="list-style-type: decimal"><li><b>sm_name_debug 0/1</b> - Enable/Disable debug mode. [Default: 0]</li>
<li><b>sm_name_debug_sound 0/1</b> - Enable/Disable sound notification when debug mode is enabled/disabled. [Default: 1]</li>
<li><b>sm_name_debug_snd_on <sound file></b> - Defines the sound to use relative to the sounds folder whenever debug mode is turned on. [Default: hl1/fvox/bell.wav] [CSGO: training/bell_normal.wav] [L4D/L4D2: buttons/bell.wav]</li>
<li><b>sm_name_debug_snd_off <sound file></b> - Defines the sound to use relative to the sounds folder whenever debug mode is turned off. [Default: hl1/fvox/beep.wav] [CSGO: buttons/combine_button_locked.wav] [L4D/L4D2: buttons/blip1.wav]</li>
</ol><br /><b>Note:</b> You may have to manually set debug sounds for the game you run this plugin on.<br /><br /><font size="4"><b><font color="DarkOrange">Admin Commands</font></b></font><br /><ol style="list-style-type: decimal"><li><b>sm_name_ban <name to ban></b> - Name to ban. Do not put white spaces Bananas is valid, but I hate bananas is not. More information below.</li>
<li><b>sm_name_unban <name to unban></b> - Name to unban.</li>
<li><b>sm_name_banid <SteamID to ban></b> - SteamID to ban. It must be a Steam 2 ID format. More information below.</li>
<li><b>sm_name_reload</b> - Reloads files storing banned names and SteamIDs.</li>
<li><b>sm_rename <#userid|name> <new name></b> - Renames a player. You must use quotes if the new name has white spaces. You must also replace playercommands.smx with the new version posted here. It disables the standard sm_rename from SM.</li>
<li><b>sm_name_random <#userid|name></b> - Randomizes a players name.</li>
<li><b>sm_name_force <#userid|name> <new name></b> - Forces a new name on a client. They will not be able to change their name through sm_name or sm_srname or even on Steam.</li>
<li><b>sm_name_unforce <#userid|name></b> - Removes a forced locked name.</li>
<li><b>nameadmin <command> [argument]</b> - Main administration interface for plugin. Explained below.</li>
</ol><br />The command <b>nameadmin</b> allows your server administrators to view plugin statistics, such as overall number of name changes, resets, queries, etc. In addition to plugin statistics, you can also check individual player statistics, providing the same amount of information. Finally, it allows them to restart the plugin should the plugin run into issues for any reason.<ul><li><b>nameadmin</b> - Displays the available commands.<br /> <ol style="list-style-type: decimal"><li><b>nameadmin cmd</b> - Displays arguments you can use with cmd.<br /> <ul><li><b>nameadmin cmd list</b> - Displays a list of available cmds.<br /></li>
<li><b>nameadmin cmd <cmd name|#cmd></b> - Displays info on a specific cmd.</li>
</ul> <br /></li>
<li><b>nameadmin cvar</b> - Displays arguments you can use with cvar.<br /> <ul><li><b>nameadmin cvar list</b> - Displays a list of available cvar.<br /></li>
<li><b>nameadmin cvar <cvar name|#cvar></b> - Displays info on a specific cvar.</li>
</ul> <br /></li>
<li><b>nameadmin plugin</b> - Displays the arguments you can use with plugin.<br /> <ul><li><b>nameadmin plugin info</b> - Displays general plugin info.<br /></li>
<li><b>nameadmin plugin stats</b> - Displays precise plugin statistics.<br /></li>
<li><b>nameadmin plugin reload</b> - Reloads the plugin the same way <b>sm plugins reload <file></b> would. Please note that this wipes previously stored information in memory and thereby, will prevent players from using the plugin until the map has reloaded/changed.<br /></li>
<li><b>nameadmin plugin reload map_reload</b> - Reloads the plugin the same way <b>sm plugins reload <file></b> would and reloads the map to refresh information stored in memory.</li>
</ul><br /><b>Note:</b> Anytime the plugin is unloaded or reloaded, the latest statistics are printed into the server console and dumped into Sourcemod's logs.<br /> <br /></li>
<li><b>nameadmin player</b> - Displays the arguments you can use with player.<br /> <ul><li><b>nameadmin player status</b> - Displays all the connected players in a list with necessary information.<br /></li>
<li><b>nameadmin player status <#userid|name></b> - Displays player name statistics.</li>
</ul></li>
</ol> <br /></li>
<li><b>nameadmin credits</b> - Displays detailed credits listing.<br /> <br /></li>
<li><b>nameadmin version</b> - Displays detailed plugin version.</li>
</ul><br />The following is taken from <b>banned_names_example.ini</b>. Check this file again if you need to review instructions.<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Adding banned names manually to file instructions:<br /><br />To add a name, simply type the name you want to have banned. YOU MUST ADD A NEW BLANK LINE AFTER THE LAST NAME! NAMES CANNOT HAVE WHITE SPACES!<br />Banned names will be read on server restart, next map or by manually reloading files through sm_name_reload. <br /><br />A banned name means that if the banned name is found anywhere in somebody's player name, the entire name gets removed (or the player is kicked based on your server settings) i.e. if you ban the name "Apple", if a player is named "Apple is the best fruit", the entire name will be removed (or the player will be kicked). Be careful with the names you ban as this could quickly lead to undesired effects.<br /><br />MAXIMUM NUMBER OF BANNED NAMES IS 255!<br /><br />ADMINS ARE IMMUNE TO NAME BANS!<br /><br />EXAMPLES:<br /><br />Valid examples:<br /><br /> Snowflake<br /> Sucker<br /> Clown<br /><br />Invalid example (DO NOT DO THIS):<br /><br /> I hate bananas -> Invalid due to white spaces used<br /> <br />Do not add any comment behind a name, as this will mess the file up if you use sm_name_unban later on, plus, there is no guarantee the name will be read properly. Play it safe.</code><hr />
</div>The following is taken from <b>banned_ids_example.ini</b>. Check this file again if you need to review instructions. <br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">READ THIS FILE CAREFULLY, AS IT EXPLAINS HOW TO USE IT AND HOW BANNED STEAM IDS ARE STORED.<br /><br />To add a Steam ID, simply type the Steam ID in a Steam 2 ID format (beginning with STEAM_0:). YOU MUST ADD A NEW BLANK LINE AFTER THE LAST STEAM ID! DO NOT ADD ANY EXTRA INFORMATION BEHIND THE STEAM ID!<br />Banned Steam IDs will be read on server restart, next map or by manually reloading files through sm_name_reload. <br /><br />MAXIMUM NUMBER OF BANNED STEAM IDs IS 255!<br /><br />ADMINS ARE IMMUNE TO STEAM ID BANS!<br /><br />EXAMPLES:<br /> <br /> STEAM_0:1:012345678<br /> STEAM_0:1:876543210<br /> <br />Again, do not add any comment behind a SteamID. It is common to add the name that is tied to the SteamID, but this will mess the file up if you use sm_name_unbanid later on, plus, there is no guarantee the SteamID will be read properly. Play it safe.</code><hr />
</div><font size="4"><b><font color="DarkOrange">Public Commands</font></b></font><ol style="list-style-type: decimal"><li><b>sm_name <new name></b> - Change your name to a new name. Quotes are NOT required.</li>
<li><b>sm_oname <#userid|name></b> - Fetches the name a player had when they connected to the server.</li>
<li><b>sm_sname <#userid|name></b> - Fetches the Steam name of a player.</li>
<li><b>sm_srname</b> - Resets your current name to your Steam name.</li>
<li><b>sm_nhelp</b> - Prints public commands to the console.</li>
<li><b>sm_name_credits</b> - Prints credits listing to the console.</li>
</ol><br /><a class="proxied-img-link" href="https://i.imgur.com/3iWdEuB.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/ed38d263bd350a13830b3c23066959abfa295bca/68747470733a2f2f692e696d6775722e636f6d2f336957644575422e6a7067" border="0" alt="" /></a><br /><br />This plugin does not require any third-party plugins or extensions to function, <b>except for Half-Life 2: Deathmatch</b>.<br /><br />=============================================<br /><b>FOR HL2DM USERS: YOU MUST INSTALL <a href="https:forums.alliedmods.net/showthread.php?t=344023" target="_blank" rel="nofollow noopener">player model fix plugin</a> to fix a bug with cl_playermodel.</b><br />=============================================<br /><br />Plugin can be automatically updated through <a href="https:forums.alliedmods.net/showthread.php?t=169095" target="_blank" rel="nofollow noopener">Updater</a> by GoD-Tony, but it is not required for this plugin to function.<br /><br /><b>For developers</b><br /><br />If you need to recompile the plugin for any reason, the only include that is not Sourcemod standard issued is <a href="https:forums.alliedmods.net/showthread.php?t=300350" target="_blank" rel="nofollow noopener">Unix time.</a><br /><br /><a class="proxied-img-link" href="https://i.imgur.com/eQyxWKM.jpg" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/313a669fbcf4dedcf64d275f17f6128278ccb76b/68747470733a2f2f692e696d6775722e636f6d2f65517978574b4d2e6a7067" border="0" alt="" /></a><br /><br />To install this plugin:<ol style="list-style-type: decimal"><li>Download the ZIP in the attachment below.</li>
<li>Extract the ZIP anywhere you would like.</li>
<li>Inside the <b>Plugins</b> folder, you will find a number of folders corresponding to some games. As their names suggest:<br /><ul><li>For <b>Counter-Strike: Global Offensive</b> -> Open folder <b>Counter-Strike Global Offensive</b> and copy the contents inside of it into your <b>Counter-Strike Global Offensive's SRCDS directory (e.g. C:SteamCMDcsgocsgo)</b></li>
<li>For <b>Half-Life 2: Deathmatch</b> -> Open folder <b>Half-Life 2: Deathmatch</b> and copy the contents inside of it into your <b>Half-Life 2: Deathmatch's SRCDS directory (e.g. C:SteamCMDhl2mphl2mp)</b></li>
<li>For <b>Left 4 Dead 1 and 2 </b>-> Open folder <b>Left 4 Dead 1 & 2</b> and copy the contents inside of it into your <b>Left 4 Dead's or Left 4 Dead 2's SRCDS directory (e.g. C:SteamCMDl4dl4d)</b></li>
<li>For all other Source engine games not listed above, open folder <b>General</b> and copy the contents inside of it into your game's SRCDS directory of your choice:<ul><li>For <b>Counter-Strike: Source -> e.g. C:SteamCMDcsscstrike</b></li>
<li>For <b>Team Fortress 2 -> e.g. C:SteamCMDtf2tf</b></li>
<li>Etc.</li>
</ul></li>
</ul></li>
</ol>If you would like a no color version (no colored text in chat), copy and paste the contents from folder <b>General No Color</b> into your games SRCDS directory of your choice.<br /><br /><b><u>Tested games</u></b><ul><li> Counter-Strike: Global Offensive<br /></li>
<li> Counter-Strike: Source<br /></li>
<li> Half-Life 2: Deathmatch<br /></li>
<li> Left 4 Dead 2<br /></li>
<li> Team Fortress 2</li>
</ul><br /><b>Note:</b> Despite my best efforts, I could not test the plugin on Left 4 Dead 1. I was stuck on the loading screen when connecting to my server, and it would not budge. That or I would get a black screen. If this is anything to go by, Left 4 Dead 2 was working fine for me, so did the plugin, so I will assume it is working fine in Left 4 Dead 1 as well. If not, let me know what is going on.<br /><br />Please make sure to use the correct version for the game you run a SRCDS server for. Failsafes are in place to ensure that. Do not try to use the no color version on CSGO, HL2DM or L4D as they will not work. It is possible to create a no color version for those games if there is demand for it.<br /><br /><a class="proxied-img-link" href="https://i.imgur.com/Q7pFPmJ.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/6a05456fcfdf18144fc1efb51dd679d0d107b567/68747470733a2f2f692e696d6775722e636f6d2f51377046506d4a2e6a7067" border="0" alt="" /></a><ul><li>Plugin latest compile: <b>09/26/23</b></li>
<li>Plugin latest version: <b>1.7.0.1963</b></li>
<li>Compiled on Sourcemod version: <b>1.11.0.6936</b></li>
<li>Plugin tested on local servers running: <b>Windows 10 x64</b></li>
<li>Linux status: Unknown</li>
<li>MacOS status: Unknown</li>
</ul><br />This plugin will not run on previous versions of Sourcemod.<br />It is unknown if plugin runs fine or at all on 1.12.0.7047<br /><br /><a class="proxied-img-link" href="https://i.imgur.com/bd2sBI4.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/1c6ef50dff8e8cda5cb8c0a7de2eff86b9bfa5bf/68747470733a2f2f692e696d6775722e636f6d2f626432734249342e6a7067" border="0" alt="" /></a><br /><br />Counter-Strike: Global Offensive<br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><a class="proxied-img-link" href="https://i.imgur.com/wrdpHsR.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/81f7698f507d0f1e9d61dc36e020972ab9e6c980/68747470733a2f2f692e696d6775722e636f6d2f777264704873522e6a7067" border="0" alt="" /></a></div>
</div>
</div><br /><br />Counter-Strike: Source<br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><a class="proxied-img-link" href="https://i.imgur.com/91WFU6Z.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/940dbdbe4014606de4b84674928cd731151b32d8/68747470733a2f2f692e696d6775722e636f6d2f3931574655365a2e6a7067" border="0" alt="" /></a><br /><a class="proxied-img-link" href="https://i.imgur.com/SXJrOwV.jpg" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/992e50acb9f03efc7423c78d8c586775b6ab4cb6/68747470733a2f2f692e696d6775722e636f6d2f53584a724f77562e6a7067" border="0" alt="" /></a></div>
</div>
</div><br /><br />Half-Life 2: Deathmatch<br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><a class="proxied-img-link" href="https://i.imgur.com/jPfhMl4.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/3e3129efe8b046d867b97ce7362737f88123695b/68747470733a2f2f692e696d6775722e636f6d2f6a5066684d6c342e6a7067" border="0" alt="" /></a><br /><a class="proxied-img-link" href="https://i.imgur.com/7RDNGnC.jpg" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/1705bdb271382b6c89d2f013af89cf8d0e5158b5/68747470733a2f2f692e696d6775722e636f6d2f3752444e476e432e6a7067" border="0" alt="" /></a></div>
</div>
</div><br /><br />Left 4 Dead 2<br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><a class="proxied-img-link" href="https://i.imgur.com/an78ncb.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/63a9cb41dfbcbda6d1b0a84e67f7280fc99134cd/68747470733a2f2f692e696d6775722e636f6d2f616e37386e63622e6a7067" border="0" alt="" /></a><br /><a class="proxied-img-link" href="https://i.imgur.com/OBKPFlO.jpg" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/3e715a7119b03345da46931f2027b7284012e8aa/68747470733a2f2f692e696d6775722e636f6d2f4f424b50466c4f2e6a7067" border="0" alt="" /></a></div>
</div>
</div><br /><br />Team Fortress 2<br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><a class="proxied-img-link" href="https://i.imgur.com/Uymfh0k.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/6de372e81be9594c1c85beb4a232e8e02e08f612/68747470733a2f2f692e696d6775722e636f6d2f55796d6668306b2e6a7067" border="0" alt="" /></a></div>
</div>
</div><br /><br />Latest plugin statistics dumped on plugin unload/reloaded in the SRCDS dedicated console<br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><a class="proxied-img-link" href="https://i.imgur.com/uiX9oGx.png"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/2365900c3325ccc86f997069b9a465a0666d39ab/68747470733a2f2f692e696d6775722e636f6d2f756958396f47782e706e67" border="0" alt="" /></a></div>
</div>
</div><br /><br /><a class="proxied-img-link" href="https://i.imgur.com/FeCUxUz.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/59eb31bab23fdef2ef5eab9da3582c47bb25ce1a/68747470733a2f2f692e696d6775722e636f6d2f4665435578557a2e6a7067" border="0" alt="" /></a><br /><br />Before posting, make sure that:<ul><li>You are using the latest stable build of Sourcemod.</li>
<li>That the problem is clearly from this plugin and not another one. If conflicts arise from another plugin, let me know, and I will look into solutions.</li>
<li>That the issue can be consistently reproduced.</li>
</ul><br />If you run into issues with the plugin:<ul><li>Turn on debug mode and see what is happening.</li>
<li>Restart server.</li>
<li>Reinstall plugin.</li>
</ul>If all fails, for the best possible assistance, provide your Sourcemod version, screenshots/videos of the issue(s), steps to reproduce.<br /><br /><a class="proxied-img-link" href="https://i.imgur.com/AssMhTt.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/cc608c870854820fd1b20da55f67111fbef4bb21/68747470733a2f2f692e696d6775722e636f6d2f4173734d6854742e6a7067" border="0" alt="" /></a><br /><ul><li>It is possible that if you rename a player while he is on cooldown after using <b>!name</b> or <b>srname</b>, some seconds might be skipped on the admin rename cooldown. It is recommended to keep <b>sm_name_cooldown</b> to a low value (default is 30 seconds, which is best for most servers) and <b>sm_rename_cooldown</b> to at least 300 seconds (5 minutes) (default 600 seconds 10 minutes).</li>
</ul><br /><a class="proxied-img-link" href="https://i.imgur.com/vtwtIBP.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/8be4541459a818fceb4890e8d691afc0eb09ee97/68747470733a2f2f692e696d6775722e636f6d2f767477744942502e6a7067" border="0" alt="" /></a><ul><li>Add <b>sm_name_reset <#userid|name></b> - Resets a players name to their Steam name.<br /> Currently did not feel like adding it, because it is the same as doing !sname <#userid|name> and !rename <#userid|name> <new name>, even if currently, it requires 2 commands.</li>
<li>Add <b>sm_name_history <#userid|name></b> to display their latest names used.</li>
<li>Create a separate plugin version with <b>MySQL</b> support (pretty large thing to do, no guarantee it will ever be made if there is no demand for it).</li>
<li><b>sm_permaname <new name></b> - Sets a name and will be set every time a player joins the server.</li>
<li><b>sm_permaname_remove</b> - To remove a permanently set name.</li>
<li>Allow for customizing the tag. This is so that servers can be more homogenous when other plugins are used.</li>
<li>Allow for customizing colors.</li>
</ul><br /><a class="proxied-img-link" href="https://i.imgur.com/k7YSgn8.jpg"rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/aa4cbf4a773b05727706693b5924d3e6a9a7fe2b/68747470733a2f2f692e696d6775722e636f6d2f6b375953676e382e6a7067" border="0" alt="" /></a><br /><br /><b>Q:</b> Can this run on Source 2?<br /><b>A:</b> Unknow at this time. I would like to wait and see where Counter-Strike 2 is headed before making large decisions.<br /><br /><b>Q:</b> There is a game I want to run this on, but it does not work.<br /><b>A:</b> If it is running on Source, name the game. I will definitely look into it to make it compatible if I can.<br /><br /><b>Q:</b> Can you make this available on AMX?<br /><b>A:</b> Unlikely.<br /><br /><b>Q:</b> What is the difference between !oname and !sname anyway? Why not use one?<br /><b>A:</b> They both differ in their own way. When you connect to the server, your name you connect with is stored in memory. If you change your Steam name, that name that was stored does not change. This could still be useful for admins for catching bad actors who joined with a bad name for example. !sname will always fetch the Steam name you currently have.<br /><br /><b>Q:</b> Plugin is conflicting with plugin X. Can you fix it?<br /><b>A:</b> Depends on the nature of this conflict. If it is caused by my plugin, then I will look into it.<br /><br /><b>Q:</b> Can you add feature X?<br /><b>A:</b> Maybe. If the feature makes sense for this plugin, I might consider it for a future update.<br /><br /><b>Q:</b> Why does HL2DM require an extra plugin? Could it not work without it?<br /><b>A:</b> It can technically work without the player model fixer, but you would be running into issues with servers that have mp_teamplay set to 1. As a precaution, you need to use the player model fix.<br /><br /><b>Q:</b> Could you make a feature where a player cannot take the name used by another player? Can you make VIP names?<br /><b>A:</b> I looked into it, but concluded this is too risky to implement and here is why. Player names are not unique and if I start doing things like preventing a player from using a name, because another is using the same name, it is going to cause a huge conflict in the long run, even as an option you could enable/disable.<br /><br /><b>Q:</b> Can you adapt the plugin for my server?<br /><b>A:</b> If I start doing this, I am probably never going to see the end of it. One of the major goals of this plugin was to provide options. If it is lacking something you want, post a suggestion below.<br /><br /><b>Q:</b> Why does your code look horrible?<br /><b>A:</b> I am not an experienced Sourcemod coder and this is my first large project so to speak. I continued off of the previous code that I had made back 2018, when I was learning Sourcemod from scratch. I would like to re-visit this in the future and optimize the code. Right now, things work as they should.<br /><br /><b>Q:</b> I use Updater by GoD-Tony, do I need to download new versions here as they release?<br /><b>A:</b> No. I will ensure that if you use Updater, you will not have to worry about manually updating anything.<br /><br /><b>Q:</b> Is there a more minimalistic version?<br /><b>A:</b> There is always <a href="https://forums.alliedmods.net/showthread.php?p=2596041" target="_blank" rel="noopener">eyal282s version</a> at your disposal. I can eventually look into providing individual modules if there is enough demand for it.<br /><br /><b>Q:</b> Do you have a Github repository?<br /><b>A:</b> Yes! Plugins can be found on Github <a href="https://github.com/speedvoltage/sourcemod/tree/master/addons/sourcemod" target="_blank" rel="nofollow noopener">here.</a></div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie...attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...Plugins.zip</a>(418.2 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse

[ANY] Ultimate Change Your Name
Temat rozp. Adminek AMXX.PL, 26.09.2023 22:09
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych