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/
Looks very cool! :D and that the nicknames will be translated in commands is fantastic. If someone has a nickname f.e. "Tom", another player can't have the same nickname? Sorry, but :D players are able to nick other players??? I think it would be better with economy support, not these nick credits :S
@sara4012
In order to use this plugin with essentials you have to disable the nick command in essentials.
is this compatible with essentials and the /nick function in there?
Would this work in the permissions.yml?
permissions: nick.help: description: /nick help default: op nick.name: description: /nick [player] $nickname$ default: op nick.rename: description: /nick $nickname$ and /resetnick default: op nick.rename.other: description: /nick [player] $nickname$ default: op nick.prefix.admin: description: /prefix [player] $prefixname$ default: op nick.toggledisplay.other: description: /toggledisplay [player] default: op
of course lined up correctly though
@ptiber
I think I could do that. I am finishing up my thesis defense so wont be for awhile.
Also, I have another plugin I'm working on, but I will see if I can take some time to add some cool features. I do like the idea of toggling the names tho so I will put that as the top priority.
Seems to work perfectly with 1.5.1, on my end anyway.
@Jameshobbs : any chance to see another toggle command for toggling on / off the nickname in other places than above the head ? (chat, tab panel....) Great work btw :D
@deleted_8886818
The plugin works great in 1.5.1
I will post a version that is tested specifically hopefully this weekend.
Please update!
@Jameshobbs
Thanks for all your help. Can't wait to get this plugin working! XD
@Dead_Island_Dude
Sounds like Factions must be conflicting with the plugin. You will have to see if there is a way to rework the configuration of Factions.
Forgot to mention for TagAPI that by default changing the name above the player's head is toggled off. To toggle it on try /toggledisplay (each user can toggle their display name above their head on/off)
@Jameshobbs
In the example I posted, DeadArmy is my faction name and Dead_Island_Dude is my username. I tried nicknaming myself Dead, but nothing happened in chat. The only change I saw was in the "tab" player list. I also did have TagAPI. I tried nicknaming my admin and the name plate above his head didn't change. Again, it only changed the "tab" player list. I would like it to say DeadArmy<-={Owner}=-Dead>. I tried reconfiguring the ChatManager plugin, but it wouldn't work. I really hope that I will be able to get this plugin to work. I've been trying to find a plugin like this for a long time.
@Dead_Island_Dude
Sounds like you are figuring it out assuming that your displayname set by the Namer plugin is DeadArmyDead_Island_Dude.
You could always check the player file in the Namer plugin folder to make sure things are being set there.
Regarding the over player's head you need to have TagAPI installed for it to work.
@Jameshobbs
I tried resetting the ChatManager format. This is what my config file says now:
enable: true message-format: <%prefix%displayname&r%suffix> %message
But in game, it looks like this:
<DeadArmyDead_Island_Dude> (with colors) (<(Faction)(Display Name)> (Message))
Before I added ChatManager, It looked like this:
DeadArmy<-={Owner}=-Dead_Island_Dude> (with colors) ((Faction)<(Prefix)(Display Name)(Suffix)> (Message))
It also doesn't change the name plate over players' heads. It only changes the "tab" player list.
I am really confused here. Sorry if I'm being a pain. :P
(I accidently deleted my older post)
@Dead_Island_Dude
According to DarkFusioN007
when using Chatmanager you should be able to specify something like this:
message-format: '%prefix%player&r%suffix: &7%message'
In the plugin I am using the Bukkit setDisplayName for a player, so the chat plugin you are using must use the display name of the player.
@o0Julia0o
if you use a Chatmanager, (from Permissionsex)
message-format: '%prefix%player&r%suffix: &7%message'
put a "&r" before suffix or after the Displayname
"&r" resets every change, that was made from a plugin that changes the displayname.
it´s great for roll-playin-servers. Because you can decrypt your name above your head with magic-format(&kPLAYERNAME).
if i change the name to &kPLAYERNAME, it works perfecty with tagname(toggledispla) & Playerlistname & chatname.
BUT: the chattext it now with magic-format, too. So you can´t read anything. Could you please let the chattext in normal text?
-> it would be perfect, if you can choose, if the chatname will be nicknamed, too or stay at normal Playername. -> the same for login-and leave-message-name. and of course the death-message.
Question: what is the translate-function made for?
thx
Julia :)
@BEASTLYx_COOKIE
I dont see why it wouldnt :D
Does LiveChat support this plugin? Or at least can they co-exist?
hey, thanks Jameshobbs
it would be nice, if you could change your overheadname(or completely hide it, but keep the skin) for roleplaye-feeling, etc.
@o0Julia0o
Plugin should work fine with 1.5. I will update the jar file to show that :D
Also I will look into dynmap webchat!