DispNameChanger

DNC Logo

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* is installed on the server, this plugin will change the display name above a users head.

DNC Animation

*Do note that the Spout Client, SpoutCraft, is required to see this change.

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.

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).
  • List has no pagination so it's possible that not all names will be visible after being printed.

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 kick/quit/death message integration.
  • Scoreboard/PlayerList integration
    • All display names must be unique
  • Localization now added!
    • 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.
  • Display names can be globally announced, either to everyone or only those with the 'dispname.announce' permission node.
  • New Can now restrict usage of the following chat color 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

Possible Features

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.


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 5.5.3

  • [ ! ] Updated Event Priority for onCommandPreprocess from Highest to Lowest to attempt to fix conflict with PlayerStatus Plugin.
  • [ ! ] Temporarily disabled saving of nicks on kick/quit to fix a bug with MobDisguise. This will be changed in a future patch to be customizable.

Version 5.5.2

This the hotfix number skips 1 because I messed up in my commits (forgot to remove debugging line). Not knowing enough about git I just pushed out a new hotfix.

  • [ ! ] Changed list command from /list to /displaylist.
  • [ ! ] Changed List command behaviour to only print users with changed display name.
  • [ ! ] Fixed Announce target bug that would include users already messaged about the name change in the announce.
  • [ - ] Removed debugging lines

Change Log Continued...


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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of SniperFodder SniperFodder May 07, 2012 at 03:47 UTC - 0 likes

    @chaseoes: Go

    This belongs in a ticket.

    http://internetometer.com/imagesmall/6699.png

  • Avatar of chaseoes chaseoes May 07, 2012 at 03:46 UTC - 0 likes
    2012-05-06 20:45:53 [SEVERE] Could not pass event PlayerQuitEvent to DispNameChanger
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
    at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:179)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:698)
    at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:124)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:83)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.NullPointerException
    at me.captain.dnc.DPL.onPlayerQuit(DPL.java:162)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 12 more
    
  • Avatar of SniperFodder SniperFodder Apr 23, 2012 at 02:31 UTC - 0 likes

    @Jythri: Go

    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?

  • Avatar of Jythri Jythri Apr 22, 2012 at 19:04 UTC - 0 likes

    Yeah, 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.

  • Avatar of SniperFodder SniperFodder Apr 22, 2012 at 05:23 UTC - 0 likes

    @Jythri: Go

    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" ?

  • Avatar of Jythri Jythri Apr 21, 2012 at 20:54 UTC - 0 likes

    Do 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.

  • Avatar of james00000001 james00000001 Apr 17, 2012 at 19:30 UTC - 0 likes

    This looks like a very powerful plugin but the part where you said "•Spout: If installed, changes player's names above heads (Only if the client is using SpoutCraft)." is the only flaw

    I do not know if my comment will help you one bit (sorry if this is true) but another guy (rymate1234) managed to create something similar to what you have WITH the ability to change much more than just your chat name ( http://dev.bukkit.org/server-mods/changeplayername/ ). Is it possible for you to do the same as his plugin is pre 1.8 and most likely not working anymore

  • Avatar of SniperFodder SniperFodder Apr 17, 2012 at 09:22 UTC - 0 likes

    @HavenOfKairos: Go

    Also, before we continue, do you have Essentials Chat installed?

  • Avatar of SniperFodder SniperFodder Apr 17, 2012 at 09:07 UTC - 0 likes

    @HavenOfKairos: Go

    Have a look at this, and write out what you want your various group prefix's and suffix's to be: http://ess.khhq.net/wiki/Chat_Formatting#Chat_Formatting

    And I can help insert them into the config.

Facts

Date created
Oct 29, 2011
Categories
Last update
Apr 12, 2012
Development stage
Release
Language
  • enUS
License
Mozilla Public License 1.1 (MPL 1.1)
Curse link
DispNameChanger
Downloads
11,990
Recent files

Authors

Relationships

Optional dependency
Spoutcraft
SpoutPlugin