ColorName

ColorName:

Description:

This plugin is a simple plugin that simply lets players change their name color in chat. Admins with the admin permission or ops can change other people's chat name color. This plugin was made by: Forseth11 and was requested by: icomputerz.

Commands:

User commands:

  • /color <COLOR> - Set the color of your name.
  • /color reset - Reset you name color to white.
  • /color help - Gives you a help list and color list.

Admin/op commands:

  • /color <NAME> <COLOR> - Color another user's name.
  • /color <NAME> <RESET> - Reset user's name color to white.

Permissions:

  • ucc.colorname.changecolor - Allows a player to color their name if this permission is set to false or op. Default: true
  • ucc.colorname.admin - This gives a player the admin commands. Default: op

Config:

  • colorSet - Message for players when they set their color. (%c is where the color that it was changed to goes.)
  • colorSetDefault - Message to player when they reset their color.
  • colorSetByAdminToAdmin - Message to admin when they change a player's color. (%c is where the color that it was changed to goes. %p is where the changed player's name goes)
  • colorSetByAdmin - Message sent to player when an admin changes their color. (%c is where the color that it was changed to goes.)
  • colorSetByAdminToAdminDefault - Same as colorSetByAdminToAdmin just it is for admin reset.
  • colorSetByAdminDefault - Same as colorSetDefault just it is for admin reset

How to use the Config:

How to use permissions:

How to download and use:

Donate

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

  • Avatar of AggePagg AggePagg Aug 02, 2014 at 10:58 UTC - 0 likes

    Hello, i discovered a bug with your plugin. When you want to remove someone elses namecolor from the console it wont work. This is the error that pops up in the console when it happens:

    13:00:38 CONSOLE: WARN]: Unexpected exception while parsing console command "color aggepagg reset"
    13:00:38 CONSOLE: exception executing command 'color' in plugin ColorName v1.2.0
    13:00:38 CONSOLE: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_7_R3.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
    

    Could you please fix this? I really need it fixed! :)

    Also when you do ''/color rainbow'' you get the rainbowy name and a red text on the messages you send in the chat. However after you relog, the red text on the messages you send will become white. That is nothing that bothers me much, but thought i'd just share it anyway.

    Last edited Aug 02, 2014 by AggePagg
  • Avatar of forseth11 forseth11 Mar 14, 2014 at 02:43 UTC - 0 likes

    @Dandamann312: Go That spelling is just for the plugin to check the config to check for information on players. It does not matter. If you want to update this plugin I am fine with sending you the source. All my public Bukkit plugins are junk. I make custom plugins for both my server and others who pay me.

    My server: play.DuskFall.us

  • Avatar of Dandamann312 Dandamann312 Mar 13, 2014 at 21:39 UTC - 0 likes

    Hey There,

    This is a nice plugin and works fine, one suggestion, maybe make default colour configurable. I have had a quick look through your source-code and it looks easy enough to implement. For now have manually modified your source and rebuilt it changing the reset command to set default to blue.

    Also I found a minor spelling mistake in your code that doesn't seem to affect anything but thought you may want to know about it

    if(args[0].equalsIgnoreCase("DARK_AQUA")){
        cor = true;
        currentColor = "DRAK_AQUA";
        refresh();
        String playerN = player.getName();
        player.sendMessage(ChatColor.GREEN + message[0]);
        player.setDisplayName(ChatColor.DARK_AQUA + playerN+ ChatColor.WHITE);
    }
    

    Should be

    if(args[0].equalsIgnoreCase("DARK_AQUA")){
        cor = true;
        currentColor = "DARK_AQUA";
        refresh();
        String playerN = player.getName();
        player.sendMessage(ChatColor.GREEN + message[0]);
        player.setDisplayName(ChatColor.DARK_AQUA + playerN+ ChatColor.WHITE);
    }
    

    Thanks, Dan

  • Avatar of DJMacBeat DJMacBeat Feb 26, 2014 at 23:25 UTC - 0 likes

    Works great to change my own name color, but when I type /color darkness1234 PINK to change other people's names colors, it gives me : Error: Args[1] invalid. My arguments seem OK! And, I'm OP... Please HELP! :) Nic

  • Avatar of ThisUsernameIsMine ThisUsernameIsMine Jan 19, 2014 at 00:23 UTC - 0 likes

    @ MohammadCreeper: If you're an Op(erator), try setting the below value to 'none' in your Essentials config.yml

    # A color code between 0-9 or a-f. Set to 'none' to disable.
    ops-name-color: '4'

    Last edited Jan 19, 2014 by ThisUsernameIsMine
  • Avatar of MohammadCreeper MohammadCreeper Jan 17, 2014 at 14:28 UTC - 0 likes

    Is this plugin supported with Essentials? Essentials is changing our color name to RED but when I try to change my color name with this plugin, it's still RED.

  • Avatar of tomaste tomaste Jan 14, 2014 at 21:23 UTC - 0 likes

    Simple, and works well. Thanks!

  • Avatar of forseth11 forseth11 Jan 08, 2014 at 20:45 UTC - 0 likes

    @GusGold: Go

    @IanSzot: Go

    @RazorHeart222: Go

    @Ethnikoi: Go

    I have updated this plugin. I am waiting for bukkit to approve it. This new version (1.2.0) will now allow you to have a rainbow colored name, it remembers your name color, and it also supports the command /colour too.

  • Avatar of forseth11 forseth11 Jan 06, 2014 at 15:10 UTC - 0 likes

    I will be updating this plugin soon.

  • Avatar of GusGold GusGold Jan 05, 2014 at 03:23 UTC - 0 likes

    Can you please add chat styles like bold, italics and underlined? Thanks

    BFAK:90642827,57ae638eae9c84a158514f89f17ef23064fcc3ce6230b15006db255b43bb8f4d

Facts

Date created
Mar 26, 2013
Category
Last update
Jan 09, 2014
Development stage
Mature
Language
  • enUS
License
All Rights Reserved
Curse link
ColorName
Downloads
19,839
Recent files

Authors