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/
Hello!
I'm liking this plugin more and more everyday! Recently I have noticed the display names are not being applied after a server restart. The names in the tab list are fine. Re executing the command will change the display name again until another restart occurs. Is this supposed to happen or should I rummage around to see if something is bugging the plugin?
Also I'm getting the little warning like others. Just in case that helps at all.
Update: Okay so I thought I had fixed it but I now realize I have not. I've installed HeroChat thinking that my other chat plugin wasn't working well with the display names but it still is failing to save the nicknames after a server restart. I've checked nicks.yml and everything is in there. I'll continue to work on this until I get it solved. However, any insight would still be highly appreciated ;)
I also get this warning and was wondering if this could be the problem why my server can't keep up.
The plugin works fine but how much does this effect my server performance?
[23:08:47 WARN]: [Namer] "Namer v3.0" has registered a listener for org.kitteh.t ag.PlayerReceiveNameTagEvent on method "public void me.jameshobbs.Namer.TagListe ner.onNameTag(org.kitteh.tag.PlayerReceiveNameTagEvent)", but the event is Depre cated. "Server performance will be affected"; please notify the authors [].
@stadham
Sorry to bother you. I fixed it.
Added Vault and it works.
Thanks for a great plugin.
@Jameshobbs
I do have essentials and chat. I need to look at the config files. Thanks for your help.
@stadham
The warning you are getting should not cause the plugin to not work. If the plugin is not working then it is possible that a plugin like Essentials is preventing you from changing nick names.
Also it is possible that you have not configured your chat plugin correctly. (Just a couple guesses)
@Jameshobbs
Thanks for checking on it for me. I am unable to change names so maybe an update will help.
@stadham
Looks like TagAPI has updated and deprecated one of the events I was handling. I will see what they changed later and update. Thanks for the information.
Fortunately it's only a warning, so nothing to worry about for now (unless something is broken for you).
Getting this message:
2:50:07 PM Namer: Enabling Namer v3.0 2:50:07 PM Namer: 3.0 loading. 2:50:07 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 [].
using craftbukkit 1.7.2
Please help
Hey!
First I would like to confirm that your plugin works with zPermissions as far as prefixes and suffixes!
Second, is the chat supposed to be affected when changing nicknames? So far it changes the name in the "Tab" list only. I might have something conflicting with it so I want to make sure. Thanks
Edit:
I did a little reading and found that I needed to change the formatting for my chat plugin to use the display name instead of using the player name. Simple fix! Sorry to bother, cheers!
@Jameshobbs
I meant a general nick prefix, to indicate that this name is indeed a nickname - so assuming the prefix was * and I did /nick Notch, it would be displayed as <pex prefix> *Notch.
Thanks for the quick reply :)
@ResidentWeasel
I do a check to see if the nick name is the name of a player in the game, so if you want to nickname yourself ... yourself... then I think you would have to do /nick sonicsick4 sonicsick4
@rasnyderiii
I dont understand your question... You want essentials to handle the nicknames and have my plugin just display current nick "nameplate" ... what is a nameplate?
Essentials already handles nicknames perfectly - is there anything I am missing that would let this hook into that API and this just displays current nick nameplate?
HELP
When I use the /nick command, I do /nick sonicsick4 (that's my username, if you were wondering) blahblahblah, but then instead of it saying something like "Your username has been changed!" it just says /nick [player] $nickname$. Can anyone help? And, yes, I do have TagAPI working.
@robocroque
Interesting idea, I could add this into the config.yml
Would you want the nickprefix to be custom for each nickname or just a generic nick prefix to indicate that the name the player has is indeed a nickname?
Really cool plugin, but I have one feature request: Is it possible to add a prefix/character that is shown in front of every nickname (but only nicknames)? Like this:
That would make it much easier for other players and more importantly staff to see what is a nickname and what isn't.
Thanks in advance!
@RustyDagger
Not to get into particulars, but I code all day at work, which usually means i have little brain left (or energy) to work on plugins for bukkit :P
I should be able to upload a fix tonight though.
As to when it gets posted... I'll keep everyone posted on the status of it getting accepted by bukkit's reviewer.
Update: Uploaded a fix for the permissions issues involving the nick command. I also added aliases for some existing permissions. Just awaiting approval from bukkit. Here are the updated permissions:
@Jameshobbs
yea no rush man it should be a simple fix atleast I know what its like working a TON I get loads of crazy Shifts to work because I am a TAXI driver I have to work tonight then a dayshift the next day then a Night shift the day after I forsee not a lot of sleep.....
@RustyDagger
Indeed that is why I said I have one idea as to what the problem is, in past versions of the code I had checkOwner always equal true as it was something special for my server I had put in there. I think I might have accidentally modified this to check if op (normally it would check just my username).
Accidentally included that version when uploading which is a big nono for bukkit, and mistakenly didn't change it to always return true, but instead returned op.
I'll see what I can do about adding the additional nick.name.admin
@Jameshobbs
Look below I already found the issue your checking the node AND if they are op its Not OR like it should be its checking to see if they have the permission and Are OP before running the code.