Stop players from changing clan tags

Please post any questions about developing your plugin here. Please use the search function before posting!
Senior Member
Posts: 349
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany

Stop players from changing clan tags

Postby decompile » Sun Sep 10, 2017 12:25 am

As Title says,

I know you can do it with the name by hooking player_changename event and reset it, but how with clan tags?
User avatar
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow

Re: Stop players from changing clan tags

Postby iPlayer » Sun Sep 10, 2017 5:42 am

Try OnClientSettingsChanged listener. It might fire when a player changes their clan tag. It's just that you'll need to save the old tag and check against the current tag in this listener (or maybe 1 tick later - dunno).
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 4 guests