DispNameChanger
About
DispNameChanger is a plugin that lets you easily change your display name or any other player's display name. In the current context of Bukkit, that means the username that is displayed on death, when you talk, etc etc etc. Optionally, if Spout* or TagAPI** is installed on the server, this plugin will change the display name above a users head.
*Do note that the Spout Client, SpoutCraft, is required to see this change.
**TagAPI has some restrictions in how it works in changing the display name. Please see the TagAPI page for limitations.
Quote from SniperFodder:IMPORTANT If you would like help with the plugin that is perfectly fine. However, to assist everyone better, please open a ticket if you believe there is a bug. If you would like support for another plugin, or a feature suggestion, also please open up a ticket. I can not properly support everyone in the comments section. Everyone is also free to post questions in the forum. I generally get back to people within 1 day. If I'm not answering questions in the forum, or on the main page, please feel free to highlight me on the bukkit forums; same username.
Latest Version
Download the latest compiled version of the plugin here. Source Code (GitHub Repository)
- Plugin Version: 6.0.0 | May 11th, 2013
- Bukkit Compatibility: Recommended Build: 1.5.2-RC0.1
Beta Version
Download the latest compiled beta version of the plugin here.
- Plugin Version: None Currently Live
- Bukkit Compatibility: N/A
Known Issues
These are the currently known issues. For more information please check the ticket system.
- Names that are right at 16 characters and have the prefix option enabled will be truncated by the plugin.
- Commands with Display Names don't work in server console (yet).
- If a killer's in-game name is the same as any words previous to the name in a death message, the wrong word will get replaced with the displayname.
Frequently Asked Questions
Users can find the FAQ to this plugin here.
Features
This is the current feature set of the plugin.
- Change the display name of a specified player, including yourself.
- Can use spaces in name by surrounding with quotes ""
- Supports Bukkit SuperPerms
- Persistence: Display names last through session changes (Thanks to Sammy)
- Supports Colors (Thanks to itsacoshop247)
- Spout: If installed, changes player's names above heads (Only if the client is using SpoutCraft).
- Ability to toggle title integration as well as announcements on name change
- New TagAPI: If installed the plugin will use TagAPI to replace the name above a players head.
- Please see the TagAPI page for a features list in how it works with Vanilla Servers.
- If Spout and TagAPI are both enabled on a server, TagAPI Support will be disabled in preference of Spout.
- Ability to toggle kick/quit/death message integration.
- Scoreboard/PlayerList integration
- All display names must be unique
- Localization now added!
- English
- French
- If you would like to translate the plugin into your language, please check this page here.
- DispName Prefix: Users can now turn on a Prefix that will be prepended to user names to signify that a username has been changed.
- Prefixes can now be colored.
- Display Names can be used in other commands like /kick and /tp.
- Command Filtering to prevent all names being replaced in commands.
- Display names can be globally announced, either to everyone or only those with the 'dispname.announce' permission node.
- Can restrict usage of the following chat Style codes using the following nodes:
- Bold | dispname.color.bold
- Italic | dispname.color.italic
- Magic | dispname.color.magic (Random characters)
- Strikethrough | dispname.color.strike
- Underline | dispname.color.underline
- Can restrict the usage of all Chat color codes.
- Can list all users with changed display name.
- Choose when to save Display Names!
- Completely disable saving! (Will warn user if this happens).
- Display List Command now Paginated!
- Pagination can be disabled by setting pagination to 0.
Possible Features
- Censorit Integration
- Suggestions?
More Information
You can find more about the plugin on the projects GitHub Wiki page. This includes commands, permission nodes, and the like.
Credits
Credit is needed where credit is due.
- captainawesome7 | Original Author
- itsatacoshop247 | Contributor
- Daxiongmao87 | Contributor
- Luke Zwekii | Contributor
- Sammy | Contributor
- bearbear12345 | Contributor
- morganm | Contributor
ChangeLog
Current change log for the plugin, last 2 versions.
[ ! ] Signifies a change or Bug Fix.
[ + ] Signifies the addition of something.
[ - ] Signifies the removal of something.
Version 6.0.0
- [ ! ] Resolved Reset Name Bug
- [ ! ] Resolved killer's Name being used instead of Display Name.
- [ + ] Added TagAPI Support.
- [ - ] Removed some left over debug lines.
Version 5.9.0
- [ ! ] Resolved bug with Command filter not properly filtering when number of commands to filter was greater than 0.
- [ + ] Added Ability to toggle spout title integration, as well as spout announcement for name changes.
- [ + ] Added Configuration options to config.yml for spout integration.
- [ + ] Converted project to Gradle. Building is as simple as ensuring you have Gradle installed, and calling gradle build on the plugin. The project can also easily be converted to a maven project if you so choose as well since the directory structures are roughly the same.
- [ - ] Removed some left over debug lines.
If you have questions, concerns, or just generally want to talk about the plugin, please do so here. Otherwise, general comments are welcome on the main page.

-
View User Profile
-
Send Message
Posted Apr 15, 2012I finally found a way to show display name, along with having a (fake)prefix, while still having my beloved Essentials...(half-smile) By doing this: "/rename [playername] &6[Tired]&fBillyBob"
It's a good find on my part,only think is that I can not have a suffix... I guess that's as good as it gets.
-
View User Profile
-
Send Message
Posted Apr 14, 2012@HavenOfKairos
File a ticket. Additionally, look at the FAQ. To be Specific, http://dev.bukkit.org/server-mods/dispnamechanger/pages/main/faq/#w-q-will-disp-name-changer-work-with-insert-your-favorite
-
View User Profile
-
Send Message
Posted Apr 14, 2012When I rename myself,why is it that in chat it still shows my original name? Pretty sure i'm not doing anything wrong. Please help. Thanks!
-
View User Profile
-
Send Message
Posted Apr 13, 2012@VasVadum
Yea. Well I don't want to toy around with packets so Spout it is. Maybe when the MOD api comes out they will have a function to change the name above a players head.
-
View User Profile
-
Send Message
Posted Apr 13, 2012Thanks. This is definately nice. Wish it didn't require spout to see the names change above player heads.
-
View User Profile
-
Send Message
Posted Apr 12, 2012@Swords761
Ah, you are talking about the double replace? Unfortunately, this is just a side effect of how I have to work with replacing commands. Since I'm replacing on all commands for all plugins, not just Bukkit Native commands, I have no reliable way of knowing what should be left as is, when I encounter display names in commands. Because a command can have 1 to N arguments, I have to ensure that for a command to work properly, the display name is replaced with it's login name equivilant.
I think I have a solution to this problem, but it will take some ingenuity on my part. I think I can add a filter section for commands in the config. Essentially, it'll allow you to specify how many names need to be replaced in a command's argument list, like from 0 to N.
Yea... I think I can do that...
Let me open up a ticket on this to see if I can get this working.
-
View User Profile
-
Send Message
Posted Apr 12, 2012@SniperFodder
Thanks Sniper for fixing what you could on your end, the duplicate messages are gone. DispNameChanger however will change the name in the private message if it detects it though, so like for the player leftovers5:
/msg left hey there, left! (DNC ->) /msg leftovers5 hey there, leftovers5!
A more annoying problem is like when I say:
/msg left dude you left your chest open! (DNC ->) /msg leftovers5 dude you leftovers5 your chest open!
Get the issue? The duplicate messages was the only thing really bugging me, but if you could somehow fix this too (especially if it involves problems with the PlayerStatus code) I'd really appreciate it.
-
View User Profile
-
Send Message
Posted Apr 12, 2012@VasVadum
And to be more precise: Commands are found here - https://github.com/SniperFodder/DispNameChanger/wiki/Commands
I moved the content to GitHub wiki A) Because I wanted to clean up the main page, B) That is where the code is actually hosted. The only thing you can find here on Bukkit Dev is the Compiled jars.
If you have anymore questions ask away.
-
View User Profile
-
Send Message
Posted Apr 12, 2012I do not see the command listed anywhere on this page. I have dyslexia but, even after rereading the page a few times I didn't see it... How do I change people's names including myself?
-
View User Profile
-
Send Message
Posted Apr 11, 2012@Swords761
@lawliet555
Please try the latest version of the plugin (5.5.3). I have adjusted the event priority of DNC's onCommandPreprocess and this seems to have resolved the issue for me with the double messages in PlayerStatus.
-
View User Profile
-
Send Message
Posted Apr 11, 2012@Swords761
Yea, I took a look at it. His repo is outdated so much. But he is using event.isCanceled() in that code. So I don't know. I actually think it's more about event priority. I'll try changing event priority on my end. And we'll see if that fixes it.
-
View User Profile
-
Send Message
Posted Apr 11, 2012@SniperFodder
No, there is no setting a message for anyone when they log in. It's the latter, I think PlayerStatus isn't using the event.isCanceled() call. Not sure if there's anything you can do on your side, but the developer of PlayerStatus isn't replying to my query...
-
View User Profile
-
Send Message
Posted Apr 7, 2012@Swords761
Ah, I think I know what's happening. You are using a slash command to set a message for someone when they get on? I might have accidentally something. Or, whatever plugin you are using isn't handling chat events properly and ignoring the event.isCanceled() call. Let me look at code.
-
View User Profile
-
Send Message
Posted Apr 7, 2012@SniperFodder
To Sniper & lawliet55:
I'm having the same issue- do you think it's PlayerStatus causing it? Do you have that installed, lawliet?
Here's what my console does:
23:07:57 [INFO] [PlayerStatus]Swords761 told leftovers5: this is a chat test for debug
23:07:57 [INFO] [PlayerStatus]Swords761 told leftovers5: this is a chat test for debug
23:07:57 [INFO] [DispNameChanger] Converted |/msg left this is a chat test for debug| to |/msg leftovers5 this is a chat test for debug |.
23:08:11 [INFO] [PlayerStatus]Swords761 told leftovers5: this is a chat test left for debug
23:08:11 [INFO] [PlayerStatus]Swords761 told leftovers5: this is a chat test leftovers5 for debug
23:08:11 [INFO] [DispNameChanger] Converted |/msg left this is a chat test left for debug| to |/msg leftovers5 this is a chat test leftovers5 for debug
-
View User Profile
-
Send Message
Posted Apr 6, 2012@lawliet555
Yea, sounds like a plugin is failing to cancel the chat event when editing the chat. So you get two chat messages, each different
@VasVadum
Check the wiki under more information.
-
View User Profile
-
Send Message
Posted Apr 6, 2012I don't see the permission nodes available, can you list them in the page info? Even if it's only one node, it'd be nice to see them >.>
-
View User Profile
-
Send Message
Posted Apr 6, 2012@SniperFodder
Yah they are on two separate lines. I dont think that it would be Hero Chat so ill have to run through and see if I can track it down.
Thx
-
View User Profile
-
Send Message
Posted Apr 5, 2012@lawliet555
Well, is each message on a new line, or are they both on the same line? Honestly it sounds like one of your chat plugins isn't configured correctly. I never touch the actual chat API except for commands, and that's only to do a replace. It wouldn't trigger on non-commands (i.e it won't trigger on anything that does not start with forward slash '/').
To debug this, try disabling chat plugins one by one until the problem goes away. This includes DNC, though I would recommend disabling it last. Once you've found the culprit, check the configuration options. If you've updated that plugin recently, it's possible the configuration options have changed causing this bug.
-
View User Profile
-
Send Message
Posted Apr 5, 2012When someone types my nick-name into chat it comes out with a second message repeating the first but with my real name. Do you know what could be causing this?
Example: Hi Sayomie That would be displayed as Hi Sayomie Hi Sayomie555
Thx
-
View User Profile
-
Send Message
Posted Mar 30, 2012@cognx12
Still waiting on that ticket.