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 Jul 11, 2012When will this be updated to re-add saving of names on log out?
no issues with anything else
-
View User Profile
-
Send Message
Posted Jul 1, 2012@bearbear12345
Probably need quotes. Around the arguments for message-format and global-message-format. Maybe not a valid reason but try it.
WikiPage
-
View User Profile
-
Send Message
Posted Jul 1, 2012Not to sure, honestly. Sounds like you are missing a configuration option somewhere to change regular messages. Idk though cause I don't use PEX
-
View User Profile
-
Send Message
Posted Jul 1, 2012Hi,
For some reason the plugin seem to to what I want it to.
I am using PEX's ChatManager
ChatManager's config.yml:
When I chat without the !, it says [S.Admin] bearbear12345: blahblah
But when i use the ! (eg. !blah) it says Andrew: blahblah (Yeh, my name is andrew.....)
What is wrong???
Thx
-
View User Profile
-
Send Message
Posted Jun 30, 2012@Swords761
Pastebin your log. I can see it working fine on my end just fine.
-
View User Profile
-
Send Message
Posted Jun 29, 2012@SniperFodder
Your fix doesn't seem to be working, it's almost identical to the last version in that the names are still replaced no matter the config options I've set.
For example, I put msg: 1 under the commands section, yet when my admin leftovers5 with nickname left is online and I write "/msg left hi left what's up left", it'll still do "/msg leftovers5 hi leftovers5 what's up leftovers5" as before.
-
View User Profile
-
Send Message
Posted Jun 27, 2012@SniperFodder
Thanks Sniper! So far looks like everything works, I'll let you know if I notice problems with the nicks (just installed as of this post, need time to check when users are on).
-
View User Profile
-
Send Message
Posted Jun 26, 2012@Swords761
Alright, I've compiled the dev branch into a release branch. If you can, I recommend using the release I've just pushed, since a change to bukkit (I think) will constantly add "example: 0" to the config under the commands section. I've set up a versioning system to prevent the plugin from doing that.
-
View User Profile
-
Send Message
Posted Jun 25, 2012@Swords761
I'll see what I can do. I gotta do some Editing for someone tonight, and then maybe I'll work on getting DNC compiled. I reformatted my computer a couple months ago so I basically don't have my dev environment setup anymore. So I need to set it up again, and this seems like a worthy enough cause to get that done.
-
View User Profile
-
Send Message
Posted Jun 25, 2012@SniperFodder
I'm actually having a friend do it who has a development setup with Eclipse, the Bukkit files, etc. because I don't want to have to download everything myself just to compile your code.
It'd be super if you could compile it for me, take your time though, no rush :)
-
View User Profile
-
Send Message
Posted Jun 23, 2012@Swords761
You didn't add in the localization folder properly. This is what it should look like in the jar(Where names without file extensions are folder names):
DispNameChanger.jar |---me |---captain |---dnc |---DispNameCE.class |---DispNameChanger.class |---DNCCommands.class |---DNCLocalization.class |---DNCStrings.class |---DP.class |---DPL.class |---DPLSpout$RenameTask.class |---DPLSpout.class |---META-INF |---MANIFEST.MF |---translations |---DNCStrings.properties |---DNCStrings_en.properties |---config.yml |---plugin.ymlWhat are you using to compile the code? Cause I use eclipse. I get it to build me a jar which works out just fine.
If you want, I can build out that dev branch for you, maybe Monday. Kind of busy this weekend.
-
View User Profile
-
Send Message
Posted Jun 23, 2012Hey Sniper, I got tired of waiting for you to compile your dev brance for that /msg fix of yours (;D) so I went ahead today and did it myself. However, I get the following error:
2012-06-24 00:26:46 [INFO] [DispNameChanger] Enabling DispNameChanger v5.5.3
2012-06-24 00:26:46 [INFO] [DispNameChanger] English Translation Selected.
2012-06-24 00:26:46 [SEVERE] Error occurred while enabling DispNameChanger v5.5.3 (Is it up to date?)
java.util.MissingResourceException: Can't find bundle for base name translations/DNCStrings, locale en
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at me.captain.dnc.DNCLocalization.loadTranslations(DNCLocalization.java:24)
at me.captain.dnc.DispNameChanger.loadConfig(DispNameChanger.java:1232)
at me.captain.dnc.DispNameChanger.onEnable(DispNameChanger.java:405)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:381)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:368)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:197)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
And I'm not sure if it's my compilation or your code that's buggy, so help me out here. :D
-
View User Profile
-
Send Message
Posted May 24, 2012@Beaupedia
That's fantastic to hear. I'm really glad that users find this plugin useful. Even though I didn't write the original code, I somehow convinced myself to maintain it. One thing that I've found is, even if I stop playing a game, I try to keep any plugins I've written for that game running so others can continue to use them. As long as bug reports flow in (Or conversely, don't flow in) I know that the plugin is being used and needs to be maintained. I haven't actually played on a Minecraft server in quite awhile so I don't use the plugin as much as some others would.
@ Essentials: I believe it to be possible to configure DNC and Essentials to work side by side, if you are still looking for the functionality Essentials provides (other than Display names). It's all a matter of getting the correct configuration settings. I've never personally done it, but I have had reports from users who have had some success.
Anyways, if at all in the future you have a problem with the plugin or a feature suggestion, drop a comment or ticket (bug reports in tickets please!) and I'll see to getting the bugs squashed.
-
View User Profile
-
Send Message
Posted May 24, 2012Just wanted to thank you for your continued work on this plugin. It's just a lifesaver. We actually switched (back) to Essentials a couple of days ago, but not having the ability to do commands with nicks made it not worth it. So we dumped essentials just to keep using this plugin.
It's a fantastic plugin, thanks again!
-
View User Profile
-
Send Message
Posted May 6, 2012@chaseoes
This belongs in a ticket.
-
View User Profile
-
Send Message
Posted May 6, 2012-
View User Profile
-
Send Message
Posted Apr 22, 2012@Jythri
Mmmm partials. Idk how I'd do that. Something for a rainy day. But this already does name replaces for display names. If your name is userbob225, and your display is SuperBob, This plugin will automatically replace SuperBob with userbob225 in commands so they execute properly. If you need some configuration flexibility in the amount of replaces with display names in commands the plugin does, you can compile my dev branch off git hub. I added an option for that. For instance if you only wanted a command to replace the first display name found and leave the rest alone, it can do this.
i.e. /msg SuperBob I'm coming over to your house SuperBob if that is alright with you?
With the current code in the dev branch you can tell it to only replace the first occurence of SuperBob. So it would be:
/msg userbob225 I'm coming over to your house SuperBob if that is alright with you?
Instead of what will currently happen which is:
/msg userbob225 I'm coming over to your house userbob225 if that is alright with you?
-
View User Profile
-
Send Message
Posted Apr 22, 2012Yeah, I'm good with Chat name now. :) Found the Towny Chat options.
What I'm trying to do now is complete the "fiction" of names. 1) I want the /who list to show people's display names. I'm using "Playerz" right now and it's still not picking up Display name. I was seeing if their are other options 2) I'd like to use the diaply names in user commands to other players, specifically /tell. That's the one thing TownyChat doesn't do yet, it seems. I'd love if it would pick up partial display names too.
-
View User Profile
-
Send Message
Posted Apr 21, 2012@Jythri
A good chunk of your chat programs out there I believe have configuration for using display names, you just have to dig around the configs to get it setup properly.
And what do you mean by "grouped names by display name" ?
-
View User Profile
-
Send Message
Posted Apr 21, 2012Do any of you use a /who or /list plugin that will show grouped names by display name?
Also, looking for a chat plugin that's configurable for using displaynames.