[CHAT] Colors v2.0.2 (2.0.3b4) - Adds color to your chat [1.6.4-R2.0] [Permissions/bPermissions/PEX]

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

  1. Offline

    tyzoid

    [​IMG]
    Latest version:
    Dev Build:
    All Downloads:​

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

    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:
    Example: (open)

    Hello &9there.
    results in:
    Hello there.

    /colors Hello there.
    results in:
    [​IMG]
    (If the image isn't loading, click here.)
    List of Color Codes (open)

    [​IMG]
    The Admin Command: (open)

    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: (open)

    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.
    Changelog: (open)

    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 and Todo: (open)

    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.
     

    Attached Files:

  2. Offline

    tyzoid

    Odd, I will take a look at that... :/
     
  3. Offline

    aciid

    Would appreciate a quick fix, thanks for your work ;)

    Also PEX:

    Admin:
    prefix: '&a[Admin]&e '
     
  4. Offline

    tyzoid

    Attached Files:

  5. Offline

    QuadCore

    why colors dont work with permissionsEx on craftbukkit-1.2.3-R0.2-2036? all players can using the commands /prefix /suffix and other with no permissions node.
    Sorry for my bad english, I'm russian :)
     
  6. Offline

    tyzoid

    If you don't give the permission node, it will default to true.

    You have to tell set the nodes to false manually.

    Also, could you post a plugin list?

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

    QuadCore

    how?
     
  8. Offline

    aciid

    When I logged in after enabling the plugin this happened:
    [​IMG]

    Here is the console output from when I logged in, after a short conversation and then I ran /cprefix &r before saying "test"
    Code:
    07.03 15:51:01 [Server] INFO [Colors (4) Message: ?1??2a?3[?4A?5d?6m?7i?8n?9]?a??be?c ?d??ee?fS?1t?2u?3c?4k?5i?6n?7g?8F?9o?an?be?cd?d??ef?f??1f?f test
    07.03 15:51:01 [Server] INFO ?a[Admin]?e ?eStuckingFoned?f?f test
    Here I run /cprefix &r command
    07.03 15:51:01 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: test
    07.03 15:51:01 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: message
    07.03 15:51:01 [Server] INFO [Colors] (1) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Text: &f
    07.03 15:51:01 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:51:01 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: suffix
    07.03 15:51:01 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: ?a[Admin]?e ?eStuckingFoned?f?f
    07.03 15:51:01 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: displayname
    07.03 15:51:01 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: &r
    07.03 15:51:01 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: prefix
    07.03 15:50:53 [Server] INFO [ChestShop] wolfysnackrib sold 1 NETHER_BRICK for 5.0 to shop
    07.03 15:50:47 [Server] INFO [ChestShop] wolfysnackrib sold 1 COBBLESTONE for 1.0 to shop
    07.03 15:50:47 [Server] INFO [Colors (4) Message: ?a[Admin]?e ?eStuckingFoned?f?f?f .
    07.03 15:50:47 [Server] INFO [Admin] StuckingFoned .
    07.03 15:50:47 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: .
    07.03 15:50:47 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: message
    07.03 15:50:47 [Server] INFO [Colors] (1) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Text: &f
    07.03 15:50:47 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:50:47 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: suffix
    07.03 15:50:47 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: ?a[Admin]?e ?eStuckingFoned?f?f
    07.03 15:50:47 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: displayname
    07.03 15:50:47 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:50:47 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: prefix
    07.03 15:50:16 [Server] INFO [Colors (4) Message: <?a[Admin]?e ?eStuckingFoned?f?f?f> gah
    07.03 15:50:16 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: gah
    07.03 15:50:16 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: message
    07.03 15:50:16 [Server] INFO [Colors] (1) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Text: &f>
    07.03 15:50:16 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:50:16 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: suffix
    07.03 15:50:16 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: ?a[Admin]?e ?eStuckingFoned?f?f
    07.03 15:50:16 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: displayname
    07.03 15:50:16 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:50:16 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: prefix
    07.03 15:50:16 [Server] INFO [Colors] (1) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Text: <
    07.03 15:50:08 [Server] INFO [Colors (4) Message: <?a[Admin]?e ?eStuckingFoned?f?f?f> ?1r?2e?3l?4o?5a?6c?7e
    07.03 15:50:08 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: ?1r?2e?3l?4o?5a?6c?7e
    07.03 15:50:08 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: message
    07.03 15:50:08 [Server] INFO [Colors] (1) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Text: &f>
    07.03 15:50:08 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:50:08 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: suffix
    07.03 15:50:08 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: ?a[Admin]?e ?eStuckingFoned?f?f
    07.03 15:50:08 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: displayname
    07.03 15:50:08 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:50:08 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: prefix
    07.03 15:50:08 [Server] INFO [Colors] (1) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Text: <
    07.03 15:49:38 [Server] INFO [Colors (4) Message: <?a[Admin]?e ?eStuckingFoned?f?f?f> noi
    07.03 15:49:38 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: noi
    07.03 15:49:38 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: message
    07.03 15:49:38 [Server] INFO [Colors] (1) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Text: &f>
    07.03 15:49:38 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:49:38 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: suffix
    07.03 15:49:38 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: ?a[Admin]?e ?eStuckingFoned?f?f
    07.03 15:49:38 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: displayname
    07.03 15:49:38 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:49:38 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: prefix
    07.03 15:49:38 [Server] INFO [Colors] (1) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Text: <
    07.03 15:49:21 [Server] INFO [Colors (4) Message: <?6[Mem]?e ~Adam_AKA_EscimoBoi?f?f> are there any programs that come on windows that record?
    07.03 15:49:21 [Server] INFO [Colors] (3) Player: ?6[Mem]?e ~Adam_AKA_EscimoBoi?f, Property: are there any programs that come on windows that record?
    07.03 15:49:21 [Server] INFO [Colors] (2) Player: ?6[Mem]?e ~Adam_AKA_EscimoBoi?f, Property: message
    07.03 15:49:21 [Server] INFO [Colors] (1) Player: ?6[Mem]?e ~Adam_AKA_EscimoBoi?f, Text: &f>
    07.03 15:49:21 [Server] INFO [Colors] (3) Player: ?6[Mem]?e ~Adam_AKA_EscimoBoi?f, Property:
    07.03 15:49:21 [Server] INFO [Colors] (2) Player: ?6[Mem]?e ~Adam_AKA_EscimoBoi?f, Property: suffix
    07.03 15:49:21 [Server] INFO [Colors] (3) Player: ?6[Mem]?e ~Adam_AKA_EscimoBoi?f, Property: ?6[Mem]?e ~Adam_AKA_EscimoBoi?f
    07.03 15:49:21 [Server] INFO [Colors] (2) Player: ?6[Mem]?e ~Adam_AKA_EscimoBoi?f, Property: displayname
    07.03 15:49:21 [Server] INFO [Colors] (3) Player: ?6[Mem]?e ~Adam_AKA_EscimoBoi?f, Property:
    07.03 15:49:21 [Server] INFO [Colors] (2) Player: ?6[Mem]?e ~Adam_AKA_EscimoBoi?f, Property: prefix
    07.03 15:49:21 [Server] INFO [Colors] (1) Player: ?6[Mem]?e ~Adam_AKA_EscimoBoi?f, Text: <
    07.03 15:47:39 [Server] INFO [Colors (4) Message: <?a[Admin]?e ?eStuckingFoned?f?f?f> .
    07.03 15:47:39 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: .
    07.03 15:47:39 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: message
    07.03 15:47:39 [Server] INFO [Colors] (1) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Text: &f>
    07.03 15:47:39 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:47:39 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: suffix
    07.03 15:47:39 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: ?a[Admin]?e ?eStuckingFoned?f?f
    07.03 15:47:39 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: displayname
    07.03 15:47:39 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:47:39 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: prefix
    07.03 15:47:39 [Server] INFO [Colors] (1) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Text: <
    07.03 15:47:37 [Server] INFO [Colors (4) Message: <?a[Admin]?e ?eStuckingFoned?f?f?f> u00a74u00a75u00a73u00a74v|1
    07.03 15:47:37 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: u00a74u00a75u00a73u00a74v|1
    07.03 15:47:37 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: message
    07.03 15:47:37 [Server] INFO [Colors] (1) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Text: &f>
    07.03 15:47:37 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property:
    07.03 15:47:37 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: suffix
    07.03 15:47:37 [Server] INFO [Colors] (3) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: ?a[Admin]?e ?eStuckingFoned?f?f
    07.03 15:47:37 [Server] INFO [Colors] (2) Player: ?a[Admin]?e ?eStuckingFoned?f?f, Property: displayname
    
    Plugins installed:
    Orebfuscator, MultiInv, Minequery, WorldEdit, Backup, SimpleCommandSigns, SafeExplosions, LogBlockQuestioner, Multiverse-Core, PermissionsEx, LogBlock, WorldGuard, HelperBot, FreezeTime, dynmap, PreciousStones, SimpleCarts, PluginList, Colors, PEXRank, OpenInv, Lockette, Modifyworld, NoCheat, MobDisguise, Essentials, EssentialsSpawn, VanishNoPacket, ChestShop, EssentialsChat
     
  9. Offline

    tyzoid

    Attached Files:

    Last edited by a moderator: May 14, 2016
  10. Offline

    aciid

  11. Offline

    tyzoid

    I see where I went wrong.

    Another build in a minute...

    Here it is: http://forums.bukkit.org/attachments/colors_2-0-2_debug-zip.8756/
     

    Attached Files:

    Last edited by a moderator: May 14, 2016
  12. Offline

    aciid

  13. Offline

    tyzoid

    Do you need EssentialsChat for anything?
    I believe that plugin is causing the names to have the prefixes.

    The other option if you don't/can't disable EssentialsChat is to change
    Code:
    chat-formatting=*prefix**displayname**suffix*&f *message*
    
    to
    Code:
    chat-formatting=*prefix**name**suffix*&f *message*
    
    This would also work:
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  14. Offline

    aciid

    Nope still colours my [Admin] prefix :(
     
  15. Offline

    tyzoid

    Which option did you try?

    Code:
    chat-formatting=*prefix**displayname**suffix*&f *message*
    
    to
    Code:
    chat-formatting=*prefix**name**suffix*&f *message*
    
    Should work, but it makes Colors incompatible with name-changing plugins.
     
  16. Offline

    aciid

    Ah I understand, no worries then.

    Just got this upon login:
    [​IMG]
     
  17. Offline

    tyzoid

    Odd...

    Does it occur if you disable colors?
     
  18. Offline

    aciid

    No it doesn't happen if I disable chat formatting in the config
     
  19. Offline

    tyzoid

    It seems like you have another plugin that is misbehaving.

    Take all of you plugins out (except for Colors and PEX)
    Then add them back until the issue occurs.

    That will isolate the plugin that causes the problem.

    Post back when you find it so I can investigate further.

    Edit:
    I did a little more research, and it is a client mod (WorldeditCUI?) that uses the chat to connect with plugins. The reason my plugin is displaying it, is that it isn't cancelled until after my plugin displays it.

    If you don't have any client mods, refer to the advice above.
     
  20. Offline

    aciid

    My client mods are;
    modloader
    optifine
    toomanyitems
    worldeditcui
    zombe's
    rei's minimap
    xray


    Any way to fix it without removing either CUI or Colors?
     
  21. Offline

    tyzoid

    There might be a chat filter you can use.

    Just add "u00a74u00a75u00a73u00a74v|1" as a word to filter.
     
  22. Offline

    aciid

    Can't seem to find a good filter, I've tried 4 and none are working properly or dont have the option to remove a message just replace it.
     
  23. Offline

    tyzoid

    Hmmm...

    I'll make you a custom build later tonight.

    Here's your custom build: http://forums.bukkit.org/attachments/colors_2-0-2_custom-zip.8778/

    See if that resolves the problem.
     

    Attached Files:

    Last edited by a moderator: May 14, 2016
  24. Offline

    Joshuame13

    I have a suggestion. If you had something where you could type that weird double s symbol, that was the color code. If you typed that in (Whatever your method was) and followed it by any number 1-F, then your text would be colored. Another addition, however, was that you could type [Weird double S]k and your text would be random. Not like the letters were random letters, the letters were constantly changing. Could you please add a command that is &k ? It would be very nice of you to do so.
    Thank you, Joshua
    EDIT: I looked up the weird double S. It's this:§
    You can do it in the console by copy/pasting the character and saying "say §kHello People" if you want to see exactly what it does yourself.
     
  25. Offline

    aciid

    Great job, works perefectly, how did you fix it? :D
    I would also ask if you could add the § symbol to be blocked? Maybe that might fix the bug Josh mentioned.
     
  26. Offline

    tyzoid

    That's kinda what I already do.

    i.e.
    You type: &chello, my name is &atyzoid
    It outputs: §chello, my name is §atyzoid

    So you are basically asking for a random code?

    i.e. &khello, my name is &atyzoid
    would output: §4h§7e§dl§3l§5o§6, §dm§ey §1n§3a§7m§5e §9i§cs §atyzoid

    I basically said "if the message is u00a74u00a75u00a73u00a74v|1, then don't display it.

    As for Josh, I don't think that he is reporting a bug. I think that it is a feature request.

    He'll have to clarify his statement first.

    Also, just out of curiosity, does this build also prevent the issue?
    http://forums.bukkit.org/attachments/colors_2-0-3a-zip.8787/
     

    Attached Files:

    Last edited by a moderator: May 14, 2016
  27. Offline

    Joshuame13

    I wasn't mention a bug, to be clear. The only thing I'm asking for is for the k character to be added to the list of 1-F, R. I'm not sure if I'm being clear or not, but all you have to do is say §kHello and it is random. I'm not sure how your plugin works, but I'd guess that at it's heart, it searches for &1, &2, &3, &4... and translates it into §1, §2, §3, §4... . I'm asking for it to support the k character in addition to 1-F, R. So it would search for &1, &2 . . . &e &f, &r, &k and translate all of those into §1, §2 ... §e, §f, §r, §k. I'm not sure if you actually use §r when we type &r, or if you use an algorithm of sorts. The essence of what I'm asking is for the plugin to translate &k into §k.

    EDIT: Just to be clear, §k handles random text by itself, no algorithms needed.
     
  28. Offline

    tyzoid

    I can't find a reference to this anywhere... but I will be looking into it.
     
  29. Offline

    Joshuame13

    If you want to see how it works, type "say §kHello" into your console.
     
  30. Offline

    tyzoid

    It didn't recognize anything...

    Oh, wait, I see what you are saying. I will be making a build in a sec.
     
  31. Offline

    Joshuame13

    Thank you very much.
     

Share This Page