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.
@sammy23
I'd also like to point out that I don't natively support inserting colors into nicknames.
@sammy23
Umm, for spaces you need to surround the name in quotes. Like so:
You also need the 'dispname.changespace' permission.
The only problem I can foresee is that colors might not work properly with a space.
@ The name showing up in the PlayerList for essentials, I would contact the essentials author and ask them to see about adding a setting to disable changing of the player list name.
@SniperFodder
Thanks for getting back to me so soon.
Well the good news is i figured it out.. Assuming it was a huge stuff up on my part i deleted the essentials folder and reloaded it and ensured the following in the following sections:
Essentials (Global)
change-displayname: false
EssentialsChat
format: '<{DISPLAYNAME}> {MESSAGE}'
I left everything as it was.
I don't know if this did anything or nothing, but the DispNameChanger plugin works, with a minor glitch. Let me explain..
When i do for example: /rename sammy23 &9[&5Mod&9]&fSammy it notifies in green text that it's changed the name to &9[&5Mod&9]&fSammy ...
When the player types in the chat you see the <&9[&5Mod&9]&fSammy> Hey guy's!!
But when the player relogs it shows up correctly.
So it works but the player needs to relog for the changed to be seen.
So it's a good thing that it works. If we have to relog so be it.
Another question i have is how do we put a space in between the '] and the Sammy?
To answer you question about the /nick command.. When i use the essentials /nick it changes the players username to the 'nickname' in the list when you use the 'tab' button. I don't like this as i like to see the 'real' usernames of all players there. I know i can use /whois etc but i prefer players and myself to see the real usernames in the 'tab' list.
Sorry for the long post. Self confessed moron learning this stuff. Just wanted to explain it the best way i know how.
Thank's again :)
@sammy23
Hrm. I would attempt to ensure that Essentials chat formatting is set up correctly: http://wiki.ess3.net/wiki/Chat_Formatting
However, I would like to point out that If essentials does what I think it does, Then there is now way this plugin could co-exist with essentials.
What I think it does, is instead of just changing the bukkit displayname property, it actually stops a user's chat message, and just prints it using their own formatter, completely bypassing the displayname change.
So what this means is this. When you talk, instead of letting Bukkit print the message for you, Essentials completely stops the chat event. They then take the contents of what you want to say, format it the way you want, and print it like a server message instead of using Bukkit Chat. The bonus of this is you have complete control of how messages are displayed. The side effect of this is that plugins like Essential probably ignore the DisplayName Value. That is probably why essentials has a built in Nick Command.
Can I ask why you don't want to use the Nick command for Essentials?
Hi there.. As I've said in a previous post about setting up a server. I'm completely new at all of this. I have installed the plugin set the permissions and when i use the /rename it says that the 'playername' has been changed to 'blahblah' but it doesn't show on the chat. it's still the default setting. I only have the EssentialsChat plugin and i'm not sure how to configure that in the 'chat' section so it allows DispNameChanger to be read. I would prefer not to use the /nick command. I apologize for the 'probably' very dumb question, but any help would be appreciated. Thanks in advance :)
ok thanks, just making sure, when it updates is it &3
@kickbutt101
Which color plugin are you using? If you are just trying to add colors right off the bat, You can not using this plugin. I support colors in that the DisplayName will not break if colors are used with it. Otherwise I can not help you. I would suggest trying a coloring plugin like this one here: http://dev.bukkit.org/server-mods/colorme/
EDIT:
I'll be pushing out an update soon for DNC. It'll include updates to ensure compliance with the new Event System, as well as possibly a new feature or two.
I can't get colours to work, how do i use colours, plz help
@FurmigaHumana
This plugin is compatible with any chat program that will monitor the display name properly. I can not guarantee this will work with prefixers do to the nature of how the prefix is displayed.
which chat plugin is compatible? to when i change the nick, changes to the default prefix too?
@Wilko343
It is possible and in my ToDo feature list.
Could you add command support? So I can for example: /tp Jordan Ryan Is that possible?
@lawliet555
No, it should be the same letter, k. However, the color is defined as ChatColor.MAGIC in the code. I'm thinking that HeroChat will probably have to update to support the new color. Most color changing programs will have to update to support it.
The most I can do is ensure that the new color code is properly stripped from name searches and the like.
I have tried using the colour code &k but did not get it to work, Do you know if they changed it to a different letter or number?
@lawliet555
Alright. Then you don't need to change anything(asside from updating to the latest snapshot of craftbukkit). The way this plugin is written, as soon as they added the support for that new color this plugin automatically supported it on the new build.
If however you are still having issues let me know and I'll recompile against the latest Bukkit snapshot.
What do you mean by plugin for using colours? We are using Hero Chat for the chat colours if that's what your looking for.
@lawliet555
Well they added it so I can automatically work around it. What plugin were you using for colors? Because they would have to implement the command to add colors to nicks. I could do it... but it could take awhile.
I was looking through the updates for bukkit and noticed that they added the chat colour in. http://ci.bukkit.org/job/dev-Bukkit/org.bukkit$bukkit/1165/ With this it should be easy to just hook into it and then I can have the players on the server trying to figure out what to call me when my name is completely comprised of those characters :)
@Leadmau5
Hrm, Death message... That is on my todo list actually. I haven't quiet figured out what event I need to hook to change that message. As for scoreboard, have you enabled the scoreboard option in the config?
Is there a way to change the death message and scoreboard to my new name? Login/out/kick/chat and above head all work (With spoutcraft) But I can't get death and scoreboard to.