[INACTIVE] [CHAT/ADMN] iOP - v0.7 Easy Chat Formatting [928] Now with per player Colors!

Discussion in 'Inactive/Unsupported Plugins' started by shadrxninga, Apr 29, 2011.

  1. Offline

    shadrxninga

    iOP
    Custom Chat Colors for OPs​
    The best chat plugin there ever was!!

    Development for this plugin has been continued here , thanks to @Mrchasez

    Old Download and Source
    Version: 0.7 - Download
    Source: Github

    Old Post (open)
    Don't like permissions? But want to stand out from the normal users on your server? iOP is what you need! This plugin allows total customization over your chat format. You can add Prefixes and Suffixes as well as change name colors and message colors for Ops, Normal Player. There is even Per Player Config options for even more customization!

    If you like this plugin then please support me and give a donation - I have worked quite a bit on this and donations would be appreciated :D
    [​IMG]

    Features:
    • Customizable Name Color for Ops and Players
    • Customizable Message Color for Ops and Players
    • Customizable Prefixes and Suffixes With Colors! for Ops and Players
    • Customizable Options Per Player!
    • No need to restart to change name colors, just type /iop
    • A online list with colors.
    How to use the config





    Open up config.yml (In plugins/iOP) in NotePad++ or another text editor (Not NotePad)
    Config (open)

    Code:
    OP-NameColor: '&3'
    OP-MsgColor: '&e'
    OP-Prefix: '&2[&3Admin]'
    OP-Suffix: ''
    Player-NameColor: '&4'
    Player-MsgColor: '&4'
    Player-Prefix: ''
    Player-Suffix: ' &7(Guest)'
    Normal Chat: false
    Colored Online List: true
    shadrxninga:
        prefix: '&1[iOP Dev] '
        name: '&6'
        suffix: '&2 The Amazing!!'
        msg: '&2'
    Bob:
        prefix: 'Builder '
        suffix: 'the Builder'
    
    
    The Numbers stand for color codes:
    Color Codes (open)

    [​IMG]

    So all you have to do is put the code of the color you want in the config and Hey Presto!
    You can choose if you want chat to show like this <player> or like this Player:
    Set Normal Chat to true if you want the default <player>

    Prefixes and Suffixes
    If you want to have a prefix or suffix in front of an ops name just put it in the OPs-Prefix or Player-Prefix field.
    If you want it to be colored put a color code wherever you want that color.
    For example:
    Code:
    &4[&1Admin&4]
    Would look like this in chat:
    [Admin]

    For Player names and prefixes just do what you did with the ops but in the player fields.

    Per Player Colors
    Note: This feature is optional if you don't want to use it just remove everything under the colored online list option.
    This feature allows you to have different name colors per player. Bob can be blue and John could be Red and all other Ops can be purple.
    To do this in the config file add this underneath the other options

    Code:
    playername:
        prefix: '&4[Admin] '
        name: '&6'
        msg: '&e'
    Change playername to the players name you want to change. You can add any of the other options and if you leave one out it will just default to the Op or Players default option

    Note: YML is a very fussy language - if you are having problems paste you config here and it will tell you what is wrong with it. Also if you are using notepad to edit the config... Don't use it, use NotePad++
    If you are still having trouble post your config and I will fix it up for you.

    Commands
    • /iop - Reloads the config (Ops only)
    • /online (Also /list and /playerlist) - displays an online list with iOPs colors
    Changelog:




    Version 0.7
    • Updated for Minecraft 1.6
    • Updated for recommend build 818
    • Changed the way the online list looks - It looks much better!
    • Added the ability to have a suffix in your name
    • Should now work with display name changing plugins ( You still need to use their real name in the config file)
    Version 0.6_02




    • Fixed a bug where null would show up instead of the color in the online list
    Changelog (open)





    Version 0.6_01
    • Removed some debug code
    Version 0.6




    • Added per player settings.
    Version 0.5




    • Added a Colored online list! - Able to be turned off.
    • Updated to RB 766
    Version 0.4




    • Fixed a few formating errors
    • Added the ability to change between <player> and Player:
    Version 0.3




    • Normal players can now have colors and prefixes
    Version 0.2




    • Changed Color Code Format
    • Colors Can Now Be Used In Prefixes
    Version 0.1




    • First Release





    Ideas/Todo
    Commands
    Permissions Support - Optional
    Create Conifig Automagicaly :D
    If you have any ideas feel free to tell me and I will try and include them

    Completed Ideas (open)
    Completed
    • Add Colors and Prefixes for Normal Users Done 0.3
    • Online List With Colors.Done 05
    • Add Prefix Colors Done 0.2
    • Per Player Colors and Prefixes Done 0.6



     
    Mrchasez and Pinkpixels like this.
  2. Offline

    shadrxninga

    Can you post it?
     
  3. Offline

    GladGulGubbe

    Code:
    OP-NameColor: '&b'
    OP-MsgColor: '&e'
    OP-Prefix: '&2'
    Player-NameColor: '&4'
    Player-MsgColor: '&4'
    Player-Prefix: ''
    Normal Chat: false
    Colored Online List: true
     
  4. Offline

    shadrxninga

    hmm... I tried your config and it seems to work.
    What version of craftbukkit are you running?
    What version of iOP are you running?
    and Are there any errors in your server.log?
     
  5. Offline

    GladGulGubbe

    Latest Craftbukkit, latest iOP, no errors :eek:
     
  6. Offline

    shadrxninga

    So , what exactly doesn't work ? Your Configuration file works when I try it. What other plugins are you running?
     
  7. Offline

    Smurphy88x

    Hi there!
    Love the plugin. I know its not made to go with permissions, but I was just wondering if you might be able to add groups support so that I can name groups rather then players =).
    If this is not possible or not wanted, thats fine =) Just thought I'd check.
    Cheers,
    Smurphy88x
     
  8. Offline

    Avous

    @shadrxninga

    could you add commands for ops to change them in game? and could you add suffixes
     
  9. Offline

    shadrxninga

    Ok, I might make a plugin identical to this one but with permissions support. and call it SimpleChat or something similar
    Sure, I should be able to do both of those. Give me a day or two as I can't do any coding tomorrow.
     
    Avous likes this.
  10. Offline

    Smurphy88x

    You are legendary! =D
     
  11. Offline

    Huper

    Hey, brilliant plugin :)

    Just one small thing tho .. the 'Player-MsgColor:' seems to override the whole line's color to whatever that is set to, and changing 'Player-NameColor:' and 'Player-Prefix:' doesn't make any difference to the color of the chat line. :/

    Cheers :)

    -Huper
     
  12. Offline

    shadrxninga

    @Huper
    hmm...
    So if you use player message color to change the color to red it comes out like this?
    shadrxninga: hi
    But if you use Player-NameColor or prefix it doesn't make any difference.
    I will take a look at that tonight.

    I have a lot of work to do this week. So I won't be updating this plugin untill that is finished. But when I have finished it... I will add suffixes as well as some in-game commands so you can change peoples name colors on the fly :D
    I am also developing a Version of this that has permissions support.

    If you have any suggestions just reply to this topic and I should be able to add them next week sometime :D

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

    Abyssea

    Eh... I'm having some problems. This is what I get:

    [​IMG]

    And if for some reason the pic doesnt show this is what it really says (The text doesnt have color which is the problem.):

    Admin<1Vzxc119> 1Hello

    What it should say:
    [Server Owner] <Vzxc119> Hello

    Here is my config.yml

    OP-NameColor: '&6'
    OP-MsgColor: ''
    OP-Prefix:'&4[&1Admin&1]'
    Player-NameColor: ''
    Player-MsgColor: ''
    Player-Prefix: ''
    Normal Chat: true
    Colored Online List: true
    Vzxc119:
    prefix: '&b[&0Server Owner&0] '
    name: '&6'
    msg: '&f0
     
  14. Offline

    shadrxninga

    I'll have to take a close look at it sometime tonight. Try removing all the &o from your config as &o is not a color code for anything. That might fix it. If not - i've done something wrong, and I will see if I have time to fix it tonight.
     
  15. Offline

    Abyssea

    Ok thanks :D

    It didnt work. But i'm pretty sure it will work when you fix it if it can be fixed :) . If you fix and it doesnt work then its me. Sorry if it is!

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

    shadrxninga

    Just a quick question, what build of craftbukkit are you using?
     
  17. Offline

    Abyssea

    1.6.5

    Is it for 1.5?

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

    shadrxninga

    Yes it is at the moment. A recommended build has come out today, So I am updating it now.
     
  19. Offline

    ENZO-F

    Would it be possible for you to add an alias system (nicknames) as other alias systems don't work if this plugin is installed.
     
  20. Offline

    JDM_WAAAT

    With the nether turned on I am getting two lines when I type /online.
     
  21. Offline

    shadrxninga

    @JDM_WAAAT
    This is because multiworld has been changed in he latest release of bukkit.
    @ENZO-F
    I can get this plugin to work with Display Name Changing plugins.
     
  22. Offline

    ClickCraft

    hello
    I try to change the color in the name, chat, even make the <> i can not
    is not giving any error in the console

    I'm using version 1.6, is this the reason?
     
  23. Offline

    shadrxninga

    Yep - I am updating it right now. Shouldn't take that long. Just be patient :)
     
  24. Offline

    ClickCraft

    Oh okay, sorry. Just wanted to be sure, good luck \ o /
     
  25. Offline

    shadrxninga

    @ClickCraft
    No worries :D
    @ENZO-F
    This plugin should now work with all displayname changing plugins. Let me know if it doesn't as I haven't tested it yet.
    @Avous
    I have added suffixes and I am working on the commands at the moment.

    Version 0.7
    • Updated for Minecraft 1.6
    • Updated for recommend build 818
    • Changed the way the online list looks - It looks much better!
    • Added the ability to have a suffix in your name
    • Should now work with display name changing plugins ( You still need to use their real name in the config file)
    If you find any bugs please tell me and I will fix them as soon as possible.
     
    Avous and JDM_WAAAT like this.
  26. Offline

    JDM_WAAAT

    That's fine, can you fix it though?

    Ninja'd! Thank you for completing it so fast.
     
  27. Offline

    shadrxninga

    @JDM_WAAAT
    I've already done that - check the 0.7 change log. I have fixed most of the bugs that were in previous versions. If you do find a bug in the latest version of iOP then please tell me :D
     
  28. Offline

    JDM_WAAAT


    Sorry, my bad. I will continue to test and report.
     
  29. Offline

    cloakfox

    hey i really like this plugin it works like a charm and is not hard to configure BUT i have a problem i use essentials
    and mij name is always red because im admin how do i change this ?
     
  30. Offline

    darkmoo

    There's a line in essentials config called ops-name-color: 'c' should be the first changeable option, change the c to none.
     
  31. Offline

    cloakfox

    TY TY TY :)[diamond]
     

Share This Page