Inactive [CHAT] SimplyColor V1.0 - Simple plugin for colored nicknames [1.2.4 R-1]

Discussion in 'Inactive/Unsupported Plugins' started by Perdog, Jul 28, 2011.

  1. Offline

    Perdog

    SimplyColor! - The simple plugin for colored nicknames
    Version - 1.0

    NOTE: When you first start the server, the plugin will fail to load, because you have yet to enter your MySQL information. Just shut down the server, find the config.yml for this, enter your information, save, then restart your server and everything will be running smoothly :)

    Description:

    This is a completely re-written version of the previous plugin. I have added 3 new command arguments to be used, which can be read below. It uses MySQL databases to store the information for each player that logs onto your server. It also stores the names of players that haven't changed their color, just to make it easier to handle player log ins. There are also quite a few new permission, also found below.

    Features:
    • Colors can be limited to 1 player per color. Disabled
    • Players with the appropriate permission can use the command '/simplycolor <color>' to set their display name to that color.
    • I've added 3 new parameters (each also have their own permission)
      • Magic: Turns the display name into the "changing letters". Players need the separate permission 'sc.magic' for this parameter.
      • Rainbow: Does what it says, sets the letters of the players name to the colors of the rainbow.
      • Random: Sets each separate letter in the players name to a random color.
    • Stores the colour values for player nicknames in a MySQL database
    Commands & permissions:

    The format for the information below is as follows:

    Command:
    What it does
    Permission required

    Code:
    /simplycolor <color>:
        Description: Sets the colour of your name
        Permission: simplycolor.change
    /simplycolor magic:
        Description: Changes your name to the funky changing letters
        Permission: simplycolor.magic
    /simplycolor random:
        Description: Changes your name to random colors for each letter
        Permission: simplycolor.random
    /simplycolor rainbow:
        Description: Changes your name to the colors of the rainbow
        Permission: simplycolor.rainbow
    /simplycolor <playername> <color>
        Description: Sets the colour of that players name. Note that the new arguments can be used with this command
        Permission: simplycolor.override
    The is also:
    /simplycolor reset, which resets the color back to white

    I've included other ways of typing the command, for you americans or people that want a short form version. All acceptable command names are:
    • /simplycolor
    • /simplycolour
    • /sc
    Configuration:
    "config.yml" can be found in your "plugins/SimplyColours" directory:
    Code:
    Allow doubles - Whether players can use the same color name or not (if set to false it will only allow 16 colored nicknames on the server!)
    *Temporary disabled this feature

    The MySQL database information is also stored in here, fill it out and your good to go :)

    Known conflictions:
    There are non *for sure* though I'm going to go ahead and say it may conflict with essentials.


    Note: If you are using essentials, please edit the properties to look like this to get rid of any conflictions.
    Code:
    ############################################################
    # +------------------------------------------------------+ #
    # |                Essentials (Global)                  | #
    # +------------------------------------------------------+ #
    ############################################################
     
    # A color code between 0-9 or a-f. Set to 'none' to disable.
    ops-name-color: 'none'
     
    # The character(s) to prefix all nicknames, so that you know they are not true usernames.
    nickname-prefix: '~'
     
    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: false
     
    # Adds the prefix and suffix to the displayname of the player, so it will be displayed in messages and lists.
    # The prefix/suffix can be set using Permissions, Group Manager or PermissionsEx.
    # The value of change-displayname (above) has to be true.
    add-prefix-suffix: false
    
    Please let me know if you stumble upon any more so I can add them to this list.



    [​IMG]
    Download

    Known bugs:
    • None :)
    Change-log:
    • Version 1.0
      • Complete re-write, since I deleted the source a while ago :p
      • Added 3 new commands as well, read main post above
      • A bunch of permissions, because I know all you out there like your permissions
     
    Cap K and Zelif like this.
  2. Offline

    Fantarar

    It's update to 1.7.3?
    I'm start it and have error.
    Code:
    14:03:40 [SEVERE] Could not load 'plugins\SimplyColours.jar' in folder 'plugins'
    :
    java.lang.ClassNotFoundException: me.Perdog.SimplyColours
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:168)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:207)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:130)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  3. Offline

    Perdog

    build 1000, so yup :)

    *FIXED sorry, leave out one little line and everything goes all weird and doesn't work lol re-download it should be working now

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  4. Offline

    Fantarar

    Ok, it's work! I test in game later.
     
  5. Offline

    Perdog

    @Fantarar Good :) If you find any more bugs just let me know
     
  6. Offline

    Fantarar

    Ok!
     
  7. Offline

    Munchies

    ANY.. I repeat.. ANY .. color plugin for names doesn't work.. it says it changes the colour but it doesn't PLEASE PLEASE.. help me.. Permissions 3.1.6 if you wanted to know.. build 1000...
     
  8. Offline

    captainawesome7

    What plugins are you using?
     
  9. Offline

    Zelif

    Yay a non American spelling of colour! I was starting to write color all the time instead of colour. :/
    Works fine ^_^

    Was working fine beforenow it is not setting, I think it might be a problem with ichat. (no errors in the log either)
     
  10. Offline

    Munchies

    authme bigbrother chaaircraft craftbook deathfeed essentials factions ichat jail mcmmo mobarena mutliInv multiVerse permissions permissionsplus simplycolours worldedit
     
  11. Offline

    ACallander

    Doesn't work for me. Says it sets the color and permissions shows info: prefix: '&9' but its not showing in-game.
     
  12. Offline

    captainawesome7

    Somebody said essentials messes up display name changing.
     
  13. Offline

    Perdog

    @Zelif @Munchies @ACallander I've tested it by itself and it works perfectly fine?

    @captainawesome7 Thanks for helping these guys out while I was away :) greatly appreciated

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  14. Offline

    Munchies

    I tried removing essentials.. Still same issue.. It says it changes colour but i type and im still white?
     
  15. Offline

    captainawesome7

    Do you use any chat plugins?
     
  16. Offline

    Perdog

    This is really strange because it works on my test server.. I'll update the link, that might help.. But like captain said you may have a conflict if you're using another chat plugin like ichat or something
     
  17. Offline

    Munchies

    I am using ichat also..
     
  18. Offline

    Perdog

    Hmm.. I really don't want to tell you to delete iChat just to see if this would work without it.. I'll download iChat and see if I get any conflicts and let you know
     
  19. Offline

    Munchies

    Thank you for helping me.. It means alot to me ;)
     
  20. Offline

    Perdog

    So I just checked it out, and iChat is the issue, I'll add a note in the description that lets people know about the conflict. Sorry if this is a problem for you :(
     
  21. Offline

    Munchies


    Ok.. Thanks for the help!
     
  22. Offline

    MonsieurApple

    Approved!
     
  23. Offline

    Perdog

    Woot! haha
     
  24. Offline

    Salad Fingers

    Soo how do I change my nickname? Downloaded, and I type in /colour NEWNICKNAME black and it just brings up a list of commands.
     
  25. Offline

    Perdog

    You can't change your nickname? The name thing is if you're OP or server owner, you can administer the colour of other peoples names
     
  26. Offline

    scout109

    Doesnt work with heroicchat either and ColorMe doesnt support permissions anymore. Seems like people on my server will suffer white names forever.
     
  27. Offline

    rokugin

    Doesn't work with Essentials either. Console prints that it did change the name color but it doesn't.
     
  28. Offline

    Perdog

    Thank you, added it to the known conflicts :)
     
  29. Offline

    rokugin

    Wanted to post new so you'd see this: It can work with Essentials but you have to make sure to set it so that Essentials doesn't try and override it. It's up in the very top of the config file. Works fine with the right settings.
     
  30. Offline

    Perdog

    Would you mind posting a screen shot of that? I could put a spoiler somewhere in the thread so that people with essentials would know how to set it up to work :)
     

Share This Page