[CHAT] Colors v2.0.2 (2.0.3b4) - Adds color to your chat [1.5.1-R0.2] [Permissions/bPermissions/PEX]

Discussion in 'Plugin Releases' started by tyzoid, Apr 23, 2011.

     
  1. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [IMG]
    Latest version:

    Dev Build:

    All Downloads:

    Announcements:
    Beta 2.0.3b4 needs more extensive testing. It works fine on bPermissions/bPermissions nano

    Notices:
    Works on MC 1.2.5


    Allows users to color their chat by using a configurable character (By default, the ampersand "&" and the carat "^") followed by a hexadecimal number (0-F). I recieved a request to post this plugin after someone used it on my server.

    Rainbow mode is toggled by a configurable command (by default "/colors" and "/colours"). This can be disabled in the settings.

    Admin can use the admin command (by default "/ca") to set and reset players' and groups' prefixes/suffixes. If you don't have permissions installed, the admin command will default to Op, and the two groups that will exist are: "Op" and "Default"

    Users can change their own prefixes and suffixes using configurable commands (by default "/prefix" and "/suffix").

    A small note about version numbers: x.y.z
    • X.Y represents the Minecraft version number that was out when the update was released.
    • The Z represents the release number.
    So the version 1.7.2 would indicate that it is the second release of the plugin, on minecraft 1.7

    Starting with version 2.0.0,
    The version number is unrelated to the minecraft version. It goes by major.minor.release
    Any questions, comments, suggestions, or plugin breaks (I'm not always on the latest version of CB), please post here.
    Video:

    Hello &9there.
    results in:
    Hello there.

    /colors Hello there.
    results in:
    [IMG]
    (If the image isn't loading, click here.)

    [IMG]

    Syntax
    /<colorsadmin> [set/get/remove/reset] [prefix/suffix] [p:/g:] <name> (<prefix/suffix>)

    Command breakdown:
    • [Set/get/remove/reset]
      • Required
      • Remove and reset are alises
      • Remove and reset removes the prefix/suffix
      • Set sets a prefix/suffix
      • Get tells the admin what the current prefix/suffix is
    • [prefix/suffix]
      • Required
      • Self explanatory
    • [p:/g:]
      • Required
      • p: tells the plugin you are setting the player's prefix/suffix
      • g: tells the plugin you are setting the group's prefix/suffix
    • <name>
      • Required
      • Fill it in with either the group, or player name, depending on what you put for [p:/g:]
    • (<prefix/suffix>)
      • Required in certain contexts
      • Only use if you are setting a username [set]
      • Just type in the prefix/suffix you want to set here.
    To color a name, just set a prefix with the last 2 characters be the hex code for the color (using the character set in the properties file).

    Example:
    /ca set prefix p: tyzoid &cAdmin &a
    When tyzoid (me) talks, it will look like this:
    <Admin Tyzoid> Hello.

    Permissions nodes:
    • colors.hex
      • This is the node that allows people to use (or not use) the "&" or "^" character (or a different one, depending on your configuration) followed by a hexadecimal code.
    • colors.rainbow
      • This is the node that allows people to use (or not use) rainbow mode. (Use with care - can create an eyesore)
    • colors.admin
      • This is the node that allows people to use the admin commands. (Setting/resetting prefixes and suffixes) Use with care.
    • colors.prefix
      • This node allows users to change their own prefix.
    • colors.suffix
      • This node allows users to change their own suffix.
    • colors.reload
      • This node allows people to reload the settings in-game.

    Version 1.7.4
    • Added support for superperms
    • Added ability to reload configuration files in-game (Default command: /creload and /cr)
    • New permissions node
      • colors.reload
    • Added crash protection (If the server crashes, prefix/suffix data will not be lost.
    Version 1.7.3
    • Fixed bug #5
    Version 1.7.2
    • Added ability for players to color their own names.
    • added two new permissions nodes
      • colors.prefix
      • colors.suffix
    • The suffix no longer needs to be colored white.
    Version 1.7.1
    • Minor bugfixs
    • Player names are no longer case sensitive. (Group names still are)
    Version 1.6.2
    • Fixed bug #2
    • Fixed bug #3
    • Fixed bug #4
    Version 1.6.1
    • Build with a newer version of permissions
    • Fixed bug #1
    Version 1.5.5
    • Added admin commands.
    • Added a permissions node:
      • colors.admin
    • Added a few more configuration options.
    • Added Prefixes and suffixes.
    Version 1.5.4
    • Added permissions support.
    • Added two permissions nodes:
      • colors.hex
      • colors.rainbow
    Version 1.5.3
    • Added a configuration file.
    Version 1.5.2
    • Releasing my plugin by request.

    Bugs:
    1. Prefixes and suffixes clear if the server crashes.(Fixed in 1.6.1)
    2. Incompatibility with defaultCommands.(Fixed in 1.6.2)
    3. Individual suffix not setting.(Fixed in 1.6.2)
    4. Permissions nodes not working.(Fixed in 1.6.2)
    5. Bug with superperms not having groups.(Fixed in 1.7.3)
    6. Double chat with some chat plugins.(Fixed in 1.7.5)
    7. Player's name as "null"(Fixed in 2.0.0)
    8. Fix regex error.(Fixed in 2.0.1)
    9. Fix another permissions glitch.(Fixed in 2.0.1)
    10. Fix NPE when the person is offline.(Fixed in 2.0.1)
    Todo:
    • Add a configuration file.(Added in 1.5.3)
    • Add Permissions Support(Added in 1.5.4)
    • Add an admin command (by default "/ca") to allow prefixing names.(Added in 1.5.5)
    • Add ability of players (with permissions) to be able to color their own names.(Added in 1.7.2)
    • Support bukkit's new internal permissions manager.(Added in 1.7.4)
    • Add chat formatting. (Toggle-able)(Added in 2.0.0)
    • Add rainbow prefixes.(Added in 2.0.0)
    • Add color lock for messages.(Added in 2.0.0)
    • Implement support for PEX and bPermissions for groups.

    This post has been edited 62 times. It was last edited by tyzoid Apr 23, 2013.
  2.  
  3. Offline

    Soxra

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You should add external download Link for Guests.
  4. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Good point. Doing that now.

    Update:
    Uploaded and link added.
  5. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Version ranges should only be used when necessary
  6. Offline

    CHIKINS!!!

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    :D I'm so happy it's released, sorry I was hoping to be the first one to post. :(
    tyzoid likes this.
  7. Offline

    Exidous

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    will this work with permissions?
  8. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not currently, but I have an update, and permissions is next on my list.
    ElektrikBanana likes this.
  9. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yup, for anyone wondering, Chikins was the one who requested me to post the plugin.
  10. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just added permissions support. Enjoy!
  11. Offline

    CHIKINS!!!

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ur awesome ty. and btw everyone Tyzoid's server is AMAZING. sorry I havn't been on much, working on my server.:cool: (P.S. I love these smily face icons :):D;):):cool: haha they're so fun!)
  12. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I will test this with CB740 later. Can anyone else confirm that it works?

    Update: Confirmed. It does work on CB740. Enjoy.
  13. Offline

    Aerunaur

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have a suggestion: if we can have like a config file where certain people have certain color names, sort of like permissions, only without support from what I think are annoying things like HeroChat. Because, I DONT WANT CHANNELS. Period. I just want certain people to have certain color prefix/suffix, NAME!, and message. Sorry if it seems like I am flaming :p. Not like I am outing the commands that give you colors on the spot, it is just that it seems tedious if that is all you are using. I want my name, prefix, and messages to be (insert color here) all the time, not just when I feel like it XD
  14. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is part of the update i am planning (and hoping) to release this weekend, a persistant prefix/suffix. The cool thing about this, is that you can add colors to the prefix that will also color the name. I won't go very deep on what I plan to implement, but i will implement a group prefix/suffix, and an individual prefix/suffix.
  15. Offline

    CHIKINS!!!

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    WorldEdit, WorldGuard, Factions, Permissions, HeadBlocks, Essentials, MagicCarpet, BlastControl, ArrowWall, DefaultCommands, BetterShop, MotherNature, SnowBallz, iConomy, AntiHack, Colors, and ColorMe.

    I hope this isn't too much to work with. Thnx Tyzoid for helping me with my bug fix!:D
  16. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is probably your problem.
    Kohle likes this.
  17. Offline

    Valrix

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yep, Essentials' current chat module breaks a bunch of others by doing an all-or-nothing approach so any changes any other plugin makes won't ever be noticed.
  18. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    His problem is that the chat looks like this:
    Code:
    <chikin> Hello.
    <chikin> Hello.
    
    while only typing it once.
    Not sure if this is a problem with essentials, but this is the first thing I saw.
  19. Offline

    Per Henrik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey guys! I have downloaded this plugin and I dont know how to use it! xD
    In the chat I write /colors and it says: Colors enabled...
  20. Offline

    Aerunaur

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @tyzoid:
    Good, I will hope that that will be up and running soon. Right now I am kinda depending on HeroChat, because I don't know if it will come into use in my RP server. It might come in use, who knows. However, it seems like it doesn't allow you to color name or prefixes, so as I said, I will be depending on you :D
  21. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just type anything into chat and it will appear to be a rainbow of letters (Rainbow mode).

    Yea, i am in the about 70-80% done with this this next update, so you should get it before the weekend is over.

    P.S. It saves the prefixes and suffixes separate from permissions, (permissions can't save individual prefixes) and this isn't meant to be a plugin for permissions.
  22. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello Everyone, I don't want to seem like I am making excuses, but the plugin is taking longer than I anticipated. (I had about 7 bugs to step on) and i have a few more things to do. Hopefully you will get the release later today, but it might not happen. (Just an FYI)
  23. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Actually, the two other bugs weren't that hard to fix. I have the plugin version 1.5.5 DONE!! (Finally). Well anyway, you should see a download link pop up within the next 30 mins.

    Update: The link is up!!! (Finally) Enjoy!
  24. Offline

    CHIKINS!!!

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Tyzoid, when I took colors out it the speak went 2 times , but when I had colors in was in the speak went 3 times:

    Like this:

    With Colors:
    Code:
    <Chikincows>:Hello
    <Chikincows>:Hello
    <Chikincows>:Hello
    Without Colors:
    Code:
    <Chikincows>:Hello
    <Chikincows>:Hello
    That's what would happen, so there's probably three plugins that don't work together on my server.
  25. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    try removing essentials.
  26. Offline

    CHIKINS!!!

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  27. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Did that fix it?
  28. Offline

    Lighty

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I tried using this alongside Factions but it does not change the username colour. Do you have any suggestions so I can make the admin colour red?

    Cheers.
  29. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Do you have permissions installed?
    If you do, try this /ca set prefix g: <groupname> &c
  30. Offline

    CraZzyRussak

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey soxra or tyzoid you ahre germany???? when yes pleas help me i have a server in the beta and i cond can make plugins i need a boy/girl who make plugins
    Sorry for my bad englisch im german 7 class

  31. Offline

    tyzoid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm not German, but Google Translate works well. I don't really have any time to program plugins (don't have much time to update mine) You might want to ask another plugin developer. They might be able to help you.

Share This Page