View Single Post
Author Message
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Old 01-16-2021 , 20:54   [ANY] Keep Player Name
Reply With Quote #1

[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:

Version 1.1.5
+ Updated the translation phrase lines
+ Updated code to simply change chat tag when compiling yourself
+ Updated clearname function to check if the target has a forced name or not

Version 1.1.4
+ Updated syntax regarding cookies
+ Updated code
+ Added Hungarian translation (Thanks to Ladis92/KasperH)

Version 1.1.3
+ Fixed sm_clearname not clearing out the name in the cookie storage (my bad, how did i miss this?)
+ Updated translations

Version 1.1.2
+ Enabled OnClientSettingsChanged and fixed its function error

Version 1.1.1
+ Fixed crash
+ Fixed cookies not functioning properly
- Disabled OnClientSettingsChanged function temporarily due to not functioning correctly atm

Version 1.1.0
+ Fixed Error Spam and quite some other issues.
+ Updated sm_forcename (sm_forcename to reset your stored forced name, sm_forcename <#userid|target name> to reset someone elses name>
+ Updated sm_clearname (sm_clearname to reset your stored name, sm_clearname <#userid|target name> to reset someone elses name>
- Removed sm_removeforcename as it were useless
+ Name change events should be suppressed completely now (Taken from Suppress Manager)

Version 1.0.1
+ Added sm_forcename command to force a name on a client
+ Added sm_removeforcename command to remove the forced name on a client
+ Added sm_clearname to clear out the stored player name in the storage (client gets new name stored once reconnected)
+ Added Translation support

Version 1.0.0
+ Release

GitHub Repository | Latest Version
__________________

Last edited by Teamkiller324; 03-15-2024 at 16:02.
Teamkiller324 is offline