// NameplateChanger | [1.18] | Simple Tab/Nameplate/Chat Renamer! \\ icon

// NameplateChanger | [1.18] | Simple Tab/Nameplate/Chat Renamer! \\ -----

Very simple renamer. No crazy animations. No spam. Ezpz.



I am too lazy to make snazzy dividers and graphics sorry for an ugly plugin page. Please redirect all questions, existing plugin requests, new plugin requests, bug reports, etc here: https://discord.gg/H32FcPp

Purpose:
Someone requested from me that I make a plugin with minimal overhead/lag to rename players. They didn't want all the snazzy animations and clutter. They JUST wanted to rename players. So this is that. Separately control tablist, nameplate, and chat nicknames. It was also requested that if someone uses a custom chat renamer or a custom tablist renamer already, that this plugin pull that name and apply it to the other places (of the three name types listed above). So it does that too.

Requirements:
  • Java 11+
  • PlaceholderAPI (Let's be real you already have this)
  • ProtocolLib (Let's be real you probably already have this too)
Showcase:
[​IMG]
Code (Text):
Tab_Name_Format: "Tab: &>LCH#FF00FF[%vault_prefix%] %player_displayname%&<LCH#00FF00"
#This is the format which will be run through PlaceholderAPI for
#   players' names in the tab list.

Nameplate_Name_Format: "Nameplate: &>RGB#FF0000[%vault_prefix%] %player_displayname%&<RGB#00FFFF"
#This is the format which will be run through PlaceholderAPI for
#   players' nameplates.
#   This value has a TOTAL, FINAL length limit of 128 characters
#   excluding all chat formatting characters.

Chat_Name_Format: "Chat: &l[%vault_prefix%&r&l]&r &?%player_displayname%"
#This is the format which will be run through PlaceholderAPI for
#   players' names in chat.


Features:

  • PlaceholderAPI Support: You know what this means.
  • Pull From Tablist: Do you have a plugin you're already using that sets the tablist and you want to sync the nameplate and/or chat nickname to that? You can do that.
  • Pull From Chat Nickname: Do you have a plugin you're already using that sets the chat nickname and you want to sync the tablist and/or nameplate to that? You can do that.
  • 128 Character Long Names: Used a trick to allow nameplates to be 128 characters long (instead of 16 for spigot or 64 for paper). Takes advantage of teams prefix/suffixes. Minigames might break this, it is currently untested. Also requires some funky name changing which will be talked about in issue #1.
  • No Armor Plates/No Lag: Other plugins *cough* TAB *cough* allow extra nameplate length by using armor stands. I use 0 armor stands. I also send minimal packets. The tradeoff is issue #2.
  • Automatic Chat Gradients: Other premium plugins were including gradient placeholders. I do it for free, and better. You can make your gradients in the RGB or LCH colorspaces. If you don't know what that means, I'd say don't worry about it but you probably should it's really interesting stuff. LCH is better imo. But yeah long story short, you can do gradients. You're welcome. A tutorial on how to make gradients can be found in the base config.yml. You can mix standard color codes, LCH, and RGB gradients all in the same message as well. You can see in the above sample image that the gradients are automatic and can stretch any length of text.
  • Random Color Placeholder: Gradients are cool and all but a super basic feature which I see nobody ever include is a random color placeholder. Use "&?" for a random color. You're welcome.

"Issues" You Should Be Aware Of:

  1. Chat Autocomplete: If you use tab in chat for a player's name, you will no longer get sensible names. All players are renamed unique, random identifiers. This is NOT an issue in commands though, which is primarily where you would be tab completing. Only chat. This is NOT a bug. This CAN NOT be fixed. It is INTENTIONAL and the tradeoff for unlocking such long nameplates.
  2. No Anti-override: Some other plugins out there have fancy anti-override features so you may expect this one to. No. Absolutely not. They are glitchy and spammy and bad. If you have another plugin that conflicts with mine, configure it so it doesn't do that or REMOVE IT. Why use a bandaid which lags players when you can just fix the problem?
  3. Not All Tablist/Chat Pulls Work: If you're trying to sync with another plugin's set tablist/chat nickname, the ability of my plugin to do it successfully depends on how the other plugin manages to make it happen. I included a lot of settings you can try tweaking, and tried to explain what they do exactly, to try to make it work. But at the end of the day there is a lot of wacky ways to do things and if the other plugins don't do it in friendly ways then I can't copy them.
  4. Player Blinking: To change a player's nameplate, you MUST destroy their living entity and then bring it back to life. The result is that causes them to blink really quick. It also turns their body a different angle than before they got blinked. This is because body rotation is handled client side. You can test this by staring at someone who disconnects and reconnects and their body will have changed rotation.
  5. Name_Sync_Mode 1: If you use Name_Sync_Mode 1, if a single player joins the server their nameplate and chat name will sometimes not be updated (depending on the plugin you're copying the tablist from). It's not too severe as players can't see their own nameplates nor is there any reason to talk in chat when in a server by yourself. Once two or more players are online this issue is fixed, however. It's odd, and I could fix it, but the effort to fix vs the payoff is not worth it in my opinion so I won't be fixing it.
  6. Testing Limited To 2 Players: I only have access to 2 players, so testing was only done for 2 players. If some wacky stuff starts happening the more players join a server, PLEASE LET ME KNOW ON THE DISCORD AT THE TOP OF THIS PLUGIN PAGE. I WILL NEVER KNOW UNLESS SOMEONE TELLS ME.
Resource Information
Author:
----------
Total Downloads: 297
First Release: May 7, 2022
Last Update: May 7, 2022
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings