[ANY] Keep Player Name
[ANY] Keep Player Name Description Stores the clients player name via mysql/sqlite cookie storage. If the clients name is already stored, it wont be replaced. This plugin also blocks namechange overall. Features 1. Translation Support. Currently has English, Swedish, Spanish & Hungarian (Needs to be updated.) 2. Cookie Storage Support. (Saves clients preferred settings in mysql/sqlite.) Commands 1. sm_forcename - Force name on a client 2. sm_clearname - Clear out the stored name for the client (client gets a new stored name once he reconnects.) (Only works when you don't have a forced name. ATM) Plans 1. Add true MySQL support as replacement to cookie storage. (will happen soon.) Planned on 2.0.0 (Soon Finished) 2. Update the sm_clearname to clear everything. Planned on 2.0.0 (Finished) Changelog Quote:
|
Re: [ANY] Keep Player Name [Updated 17-01-2021] Version 1.0.0
Does the event "player_changename" works in CSGO?
|
Re: [ANY] Keep Player Name [Updated 17-01-2021] Version 1.0.0
return Plugin_Handled in player_changename event doesn't block the name change. You must check the client name in OnClientSettingsChanged() and you should block the message in SayText2 usermessage.
Quote:
|
Re: [ANY] Keep Player Name [Updated 17-01-2021] Version 1.0.0
Hello!
Thanks for the plugin! i was wondering if it's possible to FORCE a permanente nickname on a player, for example, sm_forcename "Lannister" "Targaryen" So this mean that everytime i join the server, my nickname will automatically change from "Lannister" to "Targaryen" and also it will prevent me to change it back. This will be useful for people that enters with the same account but different nickname to prevent admins from recognize them Thanks! |
Re: [ANY] Keep Player Name [Updated 17-01-2021] Version 1.0.0
Quote:
|
Re: [ANY] Keep Player Name [Updated 17-01-2021] Version 1.0.0
Quote:
|
Re: [ANY] Keep Player Name [Updated 21-01-2021] Version 1.0.1
Quote:
In L4D2, this command not work properly, does not change the player's name to the name specified in the 2nd value (in mid-game). The users can spam in chat the changename and need block "setinfo name" commands in console and with 3rd party plugins Example Can you implement any of the ideas from these other plugins from amxmodx to sourcemod? Mainly the One Name v3.0! https://forums.alliedmods.net/showthread.php?t=18232 (1 name-locked per steamuserid) https://forums.alliedmods.net/showthread.php?t=189096 (protect a nickname that can only be used by one user) https://forums.alliedmods.net/showthread.php?t=17363 (protect a nickname that cannot be used by all players) https://forums.alliedmods.net/showthread.php?t=90414 (protect change nickname spam) https://forums.alliedmods.net/showthread.php?t=79596 (protect use ip or www nicknames spam) |
Re: [ANY] Keep Player Name [Updated 21-01-2021] Version 1.0.1
Quote:
|
Re: [ANY] Keep Player Name [Updated 23-01-2021] Version 1.1.0
Quote:
|
Re: [ANY] Keep Player Name [Updated 23-01-2021] Version 1.1.0
Quote:
|
Re: [ANY] Keep Player Name [Updated 23-01-2021] Version 1.1.0
Quote:
and using the plugin via client side server shouldn't be surprising you're crashing either |
Re: [ANY] Keep Player Name [Updated 23-01-2021] Version 1.1.0
Quote:
|
Re: [ANY] Keep Player Name [Updated 23-01-2021] Version 1.1.0
Quote:
Try use the plugin on a dedicated server instead than client server. Edit: Got a Left4Dead2 test server up and it instantly crashes when using forcename command and atm don't know exactly how to solve this problem but hopefully will come up with a solution soon. |
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.1
The new 1.1.1 should fix the crash issue and cookies not functioning correctly as i somehow messed that part up lol, my bad
OnClientSettingsChanged function is not working properly and just spams errors instead and is disabled temporarily |
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.1
Quote:
and then use in console setinfo name 12345 I can change my name, when I shouldn't. |
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.1
Nice! Maybe as a new feature, you could add support to SetAuthIdCookie too.
To be able to add player names even when they still didn't join the server (through STEAMID). Since I never used this command I may be wrong. |
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.2
1.1.2 Fixes the OnClientSettingsChanged issue. (I tested renaming myself and that auto changes back as the stored or forced name)
|
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.2
Quote:
|
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.2
Quote:
It's like the command does absolutely nothing. |
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.2
Quote:
|
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.2
Quote:
I am doing this: Close L4D2 > install plugin > Open L4D2 > map c1m1 > my actual name is Tonblader > sm_forcename Tonblader 12345 > sm_clearname 12345 > setinfo name Tonblader > my name return to 12345 > this should not happen no? |
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.2
Quote:
|
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.2
Quote:
Quote:
|
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.3
type through the chat instead console.
!clearname 12344 for the listen server host, using console the client index will always be 0 and in chat usually 1 |
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.3
Quote:
|
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.3
Quote:
Quote:
Your code that included "OnClientSettingsChanged", also seem to be including a Code:
stock bool IsValidClient(int client) OnClientSettingsChanged did however not. Code:
public void OnClientSettingsChanged(int client) { Code:
public void OnClientSettingsChanged(int client) { OR, AN ALTERNATIVE WAY FOR MORE CONSISTENCY: Change your IsValidClient bool, to like e.g.: Code:
stock bool IsValidClient(int client) { Code:
public void OnClientSettingsChanged(int client) { Code:
if(GetClientTeam(client) > 0) Do you really care about spectators? Otherwise, you might want to look into this one somehow else. From include/cstrike.inc, after commit a615c13, made on 2021-01-14: Code:
#define CS_TEAM_NONE 0 /**< No team yet. */ Code:
enum TFTeam I cannot guarantee you that all games have the same "team numbers" though, but if you don't care about spectators, just as you don't care about unassigned, ... maybe you should also update your "filters" here? Just my two cents, ... or maybe a couple of more cents, but whatever. Quote:
Switch to SRCDS, and most (if not all) of your issues will likely vanish. Quote:
|
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.3
Quote:
The other reason why I use Listen Server, is because it offers me better MS/ping, unlike a dedicated server, because I need it hand in hand with this plugin: [L4D2] Auto Bunnyhop |
Re: [ANY] Keep Player Name [Updated 23-01-21] Version 1.1.3
Ty DarkDeviL :)
when i wrote the plugin, i was up too long as i couldn't sleep but i appreciate your help, i will definitely try solve the problems now before just pushing out an update and think it's "ok". :) Have some special bacon :bacon!::bacon!::bacon!::bacon!: |
Re: [ANY] Keep Player Name [Updated 25-01-21] Version 1.1.5
Looking forward this!
Good job man! |
Re: [ANY] Keep Player Name [Updated 25-01-21] Version 1.1.5
Quote:
|
Re: [ANY] Keep Player Name [Updated 25-01-21] Version 1.1.5
I look forward to Mysql version.
I hope it comes out soon. |
Re: [ANY] Keep Player Name [Updated 25-01-21] Version 1.1.5
Quote:
Have some bacon in the meanwhile :bacon!::bacon!: |
Re: [ANY] Keep Player Name [Updated 25-01-21] Version 1.1.5
Quote:
|
Re: [ANY] Keep Player Name
MySQL Version 1.2.0
I'm looking forward to the best |
Re: [ANY] Keep Player Name
Once MySQL support is finished, a web interface would be handy for this plugin. utilizing some possibilities.
|
Re: [ANY] Keep Player Name
Can add a cvar to turn on/off in real game-time ?
|
Re: [ANY] Keep Player Name
update? is mysql support coming soon? :avast:
|
Re: [ANY] Keep Player Name
Quote:
Also is it possible to make this local saving to a text file? |
Re: [ANY] Keep Player Name
Quote:
|
Re: [ANY] Keep Player Name
Have you given up on MySQL support?
|
All times are GMT -4. The time now is 07:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.