Namer
NOW WITH TagAPI SUPPORT! http://dev.bukkit.org/server-mods/tag/
The TagAPI enables users to display their nicknames above their head. This is toggleable with /toggledisplay
YOU MUST HAVE THE TagAPI.jar file in your plugins folder to enable using it.
RECENTLY ADDED VAULT SUPPORT. With vault all features (such as prefixes and suffixes) will work properly.
Namer is a special plugin that I've decided to release to the public. It has been running on the play.efcraft.net server for the past year and has made nicknames fun and entertaining for all.
What makes this plugin unique is the ability for any player to nickname another player. The way I manage this without getting endless nicknames is by having nick credits for each player. A nick credit is used to nickname yourself or another player. I have setup permissions for the plugin so admins can nickname without credits, while normal users must use credits to nickname.
I also support all colors, underline, bold, italic, and special characters. See http://www.minecraftwiki.net/wiki/Classic_server_protocol#Color_Codes for details about colors.
In the efcraft server we setup a donation option to obtain nick credits to nickname themselves or others. This was extremely popular, especially when users waged nickname wars with each other.
This plugin has been tested with bPermissions and PEX. It should support any permissions system that uses bukkit perms as well.
FEATURES
- Ability to nickname yourself or others
- Ability to give players nick credits to rename themselves or others. (nick.rename permission to enable this feature)
- Automatically converts player name to nicknames for join, quit, and death messages
- Updates the tab list with your nickname
- Manages list of unusable nicknames to prevent users from changing their nickname to admin names
- Ability to set the maximum length of a nickname
- Ability to lookup the real name of a player that has a nickname
- Ability to translate a nickname when using commands
- Use all color codes as well as underline, bold, and italics.
- Added ability to change prefix/suffix of players (PermissionsEx ONLY! ... Tested with Herochat)
- Added confirmation dialog for changing others or your own nick, prefix, suffix when using nick credits.
- NEWLY ADDED: Support with TagAPI to update the name above the player (THIS CHANGES THEIR SKIN)
- Added a /toggledisplay [name] to enable/disable displaying nickname above the player
- Ability to reset your nick, prefix, or suffix with /resetpriefix, /resetsuffix, /resetnick
- New Vault support added.
COMMANDS
Commands with [ ] are optional, commands with $ are mandatory
/nick help [#] Displays nick help menu
/nick info [player] Display player nick info about credits and nickname
/nick [player] $nickname$ Changes nickname for player
/prefix [player] $prefixname$ Changes prefix for player (PermissionsEx ONLY)
/suffix [player] $suffixname$ Changes suffix for player (PermissionsEx ONLY)
/credit [player] $#$ Adds # nick credits to player
/adddisabled $ Adds string value to disabled list
/listdisabled $ Displays disabled list
/setmaxlength $#$ Sets the max length for a nickname
/t $ Translates command example: /t 1 2 /tp nick1 nick2 (translates nick1 and nick2 to use the tp command on actual usernames... The 1 and 2 after /t indicate the location of the nicknames. /tp = 0, nick1 = 1, nick2 = 2)
/nick check $nick$ Looks up nickname for username
/toggledisplay [player] Toggles displaying a players nickname above their head (NOTE this can change a players skin)
/resetnick [player] Resets a player's nickname
/resetsuffix [player] Resets a player's suffix
/resetprefix [player] Resets a player's prefix
Permissions
nick.help /nick help
nick.check /nick check
nick.listdisabled /listdisabled
nick.adddisabled /adddisabled
nick.length /setmaxlength
nick.info /nick info
nick.name /nick [player] $nickname$ nicknames yourself or other players without using credits. Also gives access to /resetnick without credits.
Alternative permission for nick.name: nick.name.admin
nick.rename /nick $nickname$ nicknames yourself using nick credits. Also gives access to /resetnick.
Alternative permission for nick.rename: nick.name.player
nick.rename.other /nick [player] $nickname$ nicknames OTHERS using nick credits
Alternative permission for nick.rename.other: nick.name.player.other
nick.prefix.admin /prefix [player] $prefixname$ Changes prefix of yourself or others without using credits. Also gives access to /resetprefix without credits.
nick.prefix.player /prefix $prefixname$ Changes prefix of yourself using credits. Also gives access to /resetprefix.
nick.prefix.player.other /suffix [player] $prefixname$ Changes prefix of OTHERS using nick credits
nick.suffix.admin /suffix [player] $suffixname$ Changes suffix of yourself or others without using credits. Also gives access to /resetsuffix without credits.
nick.suffix.player /suffix $suffixname$ Changes suffix of yourself using credits. Also gives access to /resetsuffix.
nick.suffix.player.other /suffix [player] $suffixname$ Changes suffix of OTHERS using nick credits
nick.credit /credit [player] $#$ give credits to players to nickname their own or other names
nick.translate /t translate command
nick.toggledisplay /toggledisplay command
nick.toggledisplay.other /toggledisplay [player] command
Check out my other plugin(s)! efCraftTickets http://dev.bukkit.org/bukkit-plugins/efcrafttickets/
WEprotect - WorldEdit Protection
http://dev.bukkit.org/bukkit-plugins/weprotect/
Doesn't work with 1.8.x specifically 1.8.8?
I have TagAPI and Namer installed, I'm using PEX and HeroChat. Changing my nick, as operator, only changes it in tabbed display and does not change it in chat(herochat).
Any suggestions?
This would be why: [02:07:41 WARN]: [ProtocolLib] Encountered an exception caused by incompatible plugin TagAPI. [02:07:41 WARN]: [ProtocolLib] It is advised that you remove it. [02:07:41 WARN]: FieldAccessException: No field with type java.lang.String exists in class PacketPlayOutNamedEntitySpawn. [02:07:41 WARN]: at com.comphenix.protocol.reflect.StructureModifier.readInternal(StructureModifier.java:218) [02:07:41 WARN]: at com.comphenix.protocol.reflect.StructureModifier.read(StructureModifier.java:197) [02:07:41 WARN]: at org.kitteh.tag.handler.ProtocolLibHandler$1.onPacketSending(ProtocolLibHandler.java:54) [02:07:41 WARN]: at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) [02:07:41 WARN]: at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) [02:07:41 WARN]: at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:638) [02:07:41 WARN]: at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:614) [02:07:41 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyProtocolInjector.packetQueued(NettyProtocolInjector.java:312) [02:07:41 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyProtocolInjector.onPacketSending(NettyProtocolInjector.java:278) [02:07:41 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.processSending(NettyChannelInjector.java:417) [02:07:41 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.access$500(NettyChannelInjector.java:84) [02:07:41 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$6.handleScheduled(NettyChannelInjector.java:383) [02:07:41 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$6.onMessageScheduled(NettyChannelInjector.java:351) [02:07:41 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyChannelProxy$2.schedulingRunnable(NettyChannelProxy.java:127) [02:07:41 WARN]: at com.comphenix.protocol.compat.netty.independent.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:95) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:192) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.NetworkManager.handle(NetworkManager.java:141) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.sendPacket(PlayerConnection.java:907) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.EntityTrackerEntry.updatePlayer(EntityTrackerEntry.java:330) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.EntityTracker.a(EntityTracker.java:249) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.EntityPlayer.t_(EntityPlayer.java:262) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.World.entityJoinedWorld(World.java:1607) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.World.g(World.java:1582) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1425) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:597) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:786) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [02:07:41 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [02:07:41 WARN]: at java.lang.Thread.run(Unknown Source)
Hi .. how can I set my server to have AUTOMATIC TOGGLEDISPLAY ON? I feel like i needed to toggledisplay on them everytime :<
Also if there is another way to display the players name like
(Real name) (Displayname)
Im using herochat plugin for chat!
@themanwithshoes
Could you post any exceptions your getting when the plugin is loading?
Hi James,
Loving the sound of this plugin however it doesn't seem to work for me :S.
I have vault, TagAPI installed on a Spigot 1.7.10 server.
I receive the error message ERROR Error occurred while enabling Namer v3.0 (Is it up to date?)
Also no commands appear to work. Whenever i try to use a command i just get nick [player] $nickname$
I have a feeling i'm missing something obvious.
Any ideas?
@termanator1128
It appears that there is a bug in TagAPI, which is what I use to show the name above the head. For the time being I suggest removing the permission to toggledisplay for people.
whenever i /nick and set a nickname and /toggledisplay it turns me invisible to other players How do i fix it if i can Please Help Thanks -term
whenever i set a nickname either on myself or another player that person vanishes from the tablist for everyone else, the also temporarily vanish in-game
Whenever I try to type in a nickname for myself, it says /nick [player] $nickname$ and it never gives me the nickname I chose
Future self- Nevermind, I forgot to add vault to my server
@jmankeener4403
It should work simple as that, I will take a peak again when I can.
In the meantime you can use /nick check $nickname$ in the meantime to do a quick lookup of a players nickname.
Although I'm sure it's a simple fix, and I have worked with the /t $, me and my staff are unable to tp to nicknames... I'm not sure how to do this :/
I want to be able to do /tp *my name* *players nickname*
Instead I have to look up the actual name of the nick named player and tp to that instead.
@BoureyS85
I will fix this in a later version. For the time being its not an issue, but I will update it accordingly.. Should be a one-line fix.
@ZackXD
You need to add the TagAPI plugin to your server to get the names above the head.
I really like this in terms of usage, except for the fact that the names are not displayed above the player's head as you have shown, i am currently using a MCPC+ server, when i use the command /toggledisplay it does neither change the name or skin. can anyone help me find a way to do this as i want to be able to use this in a web series but without using my normal MC username.
ran into this lil diddy on my server console........
5:34:17 PM CONSOLE: WARN]: [Namer] "Namer v3.0" has registered a listener for org.kitteh.tag.PlayerReceiveNameTagEvent on method "public void me.jameshobbs.Namer.TagListener.onNameTag(org.kitteh.tag.PlayerReceiveNameTagEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [].
Any input on this?
@Izziwizz
What is the chat plugin you are using?
The way I am setting the user's display names is by editting the player displayName that is associated with the Player. In Bukkit/Minecraft each player has two types of names (1) Player name (2) display name. So in your chat plugin if you configure it to show the users display name then it should work okay.
Some chat plugins call player name the user name as well. For example if you look at herochat: http://dev.bukkit.org/bukkit-plugins/herochat/, scroll down to where it describes "Tag" and "Message Format Tags". In there they have {sender} and {plainsender} in the chat plugin when you configure the message format, you would want to use {sender} to display the nickname.
Hope this helps! And thanks for enjoying the pluigin :) :)
After running some tests with myself and other players I have found that my display name will show up after I relog following a server restart, which is great! However, any other player will retain their username. Display names show up in tab no matter what for myself and others. I had them nick themselves and I have nicked them myself but we can't seem to get their display names to show up after a restart, even if they relog. We haven't messed with using credits yet. We have been using permissions that let you nick yourself and others without them. I've been very busy getting this fun plugin working on my server and I think I'm almost there! Any help would be appreciated :D
I'm using Namer_1.7.2_a for CB 1.7.2-R0.3 Feb 26, 2014 on CraftBukkit version git-Bukkit-1.7.2-R0.3-b3020jnks (MC:1.7.2) (Implementing API version 1.7.2-R0.3) If there is any other info I missed that would help, let me know.
@FlubbyPandaz28
Depends on what chat plugin you use. You will want to ensure your chat plugin uses the display name and not the player name. Hope this helps and glad you like the plugin! :D
This is an awesome plugin and it works great for role-play but we have one concern. In tab their nickname shows up but in chat it still says their username. Any way to fix this?
@BensDaMan
Sorry no MySQL support has been needed so I am not going to add it to the plugin. I think adding MySQL would be a bit overkill.
MySQL Support??