[INACTIVE][CHAT] bColoredChat 2.1.0 - Get Colors in your Chat (/Signs) [1000]

Discussion in 'Inactive/Unsupported Plugins' started by beecub, Mar 28, 2011.

  1. Offline

    beecub

    bColoredChat - Color up Minecraft:
    Version: 2.1.0
    Download bColoredChat
    [​IMG]


    A simple plugin.
    Allows you to use colors in normal Chat, compatible with all other Chat plugins (including HeroChat, iChat, ...).
    Allows you to use colors on signs.


    Features:
    • Colors in chat
    • Colors on signs
    • Permissions Support (not required)

    Color Codes:
    Show Spoiler


    Commands:
    Show Spoiler

    No need to use these. You can use color codes in your text without commands.
    If you dont want to type this long commands use bShortcut (works whith all plugins).
    • /useColor [color-code]
      • Example: /useColor &6
    • /setColor [name] [color-code]
      • Example: /useColor beecub &6 (Case sensitive)
    • /clearColor
    • /clearColor [name]
      • Example: /clearColor beecub (Case sensitive)
    • /randomColor [text]
    • /rainbowColor [text]
    • /showColors
      • show available ColorCodes ingame


    Permissions:
    Show Spoiler


    Changelog:
    Show Spoiler

    Version 2.1.0
    • /showColors - Command
    Version 2.0.0
    • save config after setColor()
    • fix /setColor [color-code]
    • /randomColor - Command
    • /rainbowColor - Command
    • &random - Color Tag
    • &rainbow - Color Tag
    • advanced error handling
    Version 1.9.1
    • fix
    Version 1.9.0
    • setColor - Command
    • Code clean up for 2.0
    Version 1.8.1
    • No permissions - fix
    Version 1.8.0

    • Bukkit 670
    Version 1.7.0
    • OpOnly-Option
    Version 1.6.0
    • Colored Signs
    Version 1.5.0
    • useColor (set colors)
    Version 1.4.0
    • Minecraft 1.4
    Version 1.3.0
    • Color tags
    Version 1.2.0
    • Permissions Support
    Version 1.1.0
    • Better Code (Thanks Drakia)
    Version 1.0.0
    • Chat colors



    Request?, i wanna do it. Give me Feedback. I want to hear your opinion. Thanks a lot :).

     
    Jessy80 and Mitsugaru like this.
  2. Offline

    Drakia

    Just took a quick look at your source, you may want to switch over to using a regular expression for color replacement, it is a lot faster/more efficient:
    Code:
    String message = event.getMessage();
    event.setMessage(message.replaceAll("(&([a-f0-9]))", "\u00A7$2"););
    
     
  3. Offline

    beecub

    Hate regular expressions.
    Love you Drakia.

    Updatet.
     
  4. Offline

    gamerluke

    Nice Plugin;
    Could I ask you to get together with "ceulemans" - Maker of the ChatterClub plugin.
    Their plugin lets you change the colour of peoples names.. and yours does the messages
     
  5. Offline

    Revenge

    What about permissions support? :)
     
  6. Offline

    beecub

    Will be done in a few minutes.
    I will update it in the next hours.

    Done Revenge :)


    Version 1.2.0
    • Permissions Support

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

    Revenge

    Thanks a lot! =)
     
  8. Offline

    Enzy

    You should make commands instead of typing &4 so you can pick a certain color to keep but you can keep the other thing for multicolor
     
  9. Offline

    beecub

    Such as /green for green text ?
     
  10. Offline

    Enzy

    That would probably conflict with something but /colorchat [color here] Would be awesome
     
  11. Offline

    beecub

    Goint to do something like that.
    Going to update it in the next hours.

    Not commands, but simple tags. No more need to learn the codes by rote. (See spoiler in first post :) )

    Version 1.3.0
    • Color tags

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

    Enzy

    Would you ever make the plugin so that you can set it instead of putting &d infront of the text because that would make this plugin the best
     
  13. Offline

    beecub

    Sry, i dont understand what you want to have. You want to choose the color code? Example: &test instead of &6?
     
  14. Offline

    Enzy

    What i want would be to use a command to set the color permanently unless you want to change it
     
  15. Offline

    beecub

    Ok, example: /usegreen, and then all following messages are green?
     
  16. Offline

    Enzy

    yea like that
     
  17. Offline

    beecub

    Update.
    Version 1.4.0
    • Minecraft 1.4
     
  18. Offline

    Enzy

    soo bee do you ever think you will add a command that will keep a certain color till you change it
     
  19. Offline

    beecub

    Sry, i missed you. Here you got it :)


    Version 1.5.0
    • useColor
     
  20. Offline

    Enzy

    Bee your deserve +1 internetz and this [diamondore]
     
  21. Offline

    zaczac

    Would it be possible to make it so only users listed in the ops.txt can use it?
     
  22. Offline

    beecub

    Going to do add this as an option.
     
  23. Offline

    Flenix

    Can you build at all on that idea of a permanant colour, so its set in the Permissions file? I'd love to be able to set different colours for different groups :)
     
  24. Offline

    beecub

    Its done :). Set OPOnly Option in config file to true.

    Version 1.7.0
    • OpOnly-Option
    Version 1.6.0
    • Colored Signs
    I also added colors on signs to this plugin. Yes, thats not the chat (plugin is called bColoredChat), but i think this is very similar and will be useful to.
     
    zaczac likes this.
  25. Offline

    zaczac

    Wow, fast update thank you very much!!, Just a quick question how do you use the command "useColor" could you give me an example if I wanted to use darkred?. Every time I try the command it just says an internal error has occured. Thanks again for the update!
    You should also make it so we can set others chat colors with that command as well.
    /usecolor [name] [color]
     
  26. Offline

    beecub

    Example:
    /useColor &6
    All your messages after this command will be orange.
    /clearColor
    Delete this :)

    You edited your post right? Or have i disregarded this? :D
    Going to do this, tomorrow. Its night here, should go to bed.

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

    zaczac

    haha I edited my post, I tried the command and It just says interal error has occured, are there any plugins that don't work well with this? and thanks for adding my suggestions :)!
     
  28. Offline

    beecub

    Uploaded another version, please try this :)

    There is a known bug with HeroChat (color-tags are only working with players who got all permissions, very curious thing... edit: fixed), but nothing governed the commands.
     
  29. Offline

    zaczac

    hmm, still seems to be doing the same thing, disabled all my plugins just to make sure too. "An internal error occured while attempting to perform this command."
     
  30. Offline

    wmchris

    works really great! Good job and thanks :)
     

Share This Page