[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

    Plague

  3. Offline

    shadrxninga

  4. Offline

    Plague

    That's why you should have the header in text, then mybe optionally some images
     
  5. Offline

    TACTICALboom

    Cool looking. Allow users to color their prefix and ill like the idea even more. Then again, this is no iChat, but nobody should expect it to be. Good job.
     
  6. Offline

    shadrxninga

    There we go - fixed it up.

    @TACTICALboom
    I will look into that today :D
     
  7. Offline

    bxboy15

    cool thank you man
     
  8. Offline

    shadrxninga

    Version 0.2
    • Changed Color Code Format
    • Colors Can Now Be Used In Prefixes
    Notice: The Config File has changed a little from v0.1 to v0.2 - Please use the new one in the zip filie.

    @TACTICALboom There you go... Prefix Colors :D
     
  9. Offline

    Misiek

    I have found a bug.
    Message displays: [Zarzad] Misiek69Hi.
    It is to be like this: [Zarzad] Misiek69: Hi.

    [​IMG]
     
  10. Offline

    shadrxninga

    @Misiek Oops - fixing that now.

    @Misiek

    Fixed - Redownloading it should fix the problem. Tell me if there is anything else wrong or if you want something added

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

    Misiek

    Thanks!
    All working!
     
  12. Offline

    comz123

    Nice :D also will there be a source code anytime soon. I would like to make my own version of this but with more options. You would get credit for it as well. Ty :D
     
  13. Offline

    Dr0iDzz

    When should we expect colors for normal users? P.S i LOVE this plugin its easy to use.
     
  14. Offline

    TACTICALboom

    I am now satisfied. :cool:. You deserve this :[cake] ONLY this ONE time the cake isn't a lie.
     
  15. Offline

    shadrxninga

    @Dr0iDzz
    Right Now :D

    Version 0.3
    • Normal players can now have colors and prefixes
     
  16. Offline

    deevee

    how am i supposed to use this?
    you make using this very unclear.
     
  17. Offline

    shadrxninga

    It is pretty easy really - all you have to do is open up the config.yml which is in plugins/iOP and put a color code for example '&4' - which is Dark Red in the right field - so if you wanted your name to be red put &4 in the OPs-NameColor field - if you wanted your message to be red put &4 in the OPs -MsgColor.


    If you need anymore help - just ask.
     
  18. Offline

    JTR1988

    Works great! Just one thing. When you don't use any prefixes and just change the colors. The name indents one space from the start of the text box. So it looks like this (gonna use "|" to indicate the start of the text box):

    |Player has joined the game!
    | Player: hello

    Not a big deal, just thought I'd bring it to your attention as it looks to be a simple fix.
     
  19. Offline

    Dr0iDzz

    i LOVE THIS PLUGIN i will use this till minecraft is no more. But minecraft will never end so i will use this FOREVER:D
     
  20. Offline

    shadrxninga

    Uploading a fix now.
     
  21. Offline

    JTR1988

    Great, thanks! But maybe add an option to change the format of player names? Like being able to change the default <player> to player:
     
  22. Great plugin just one thing. op/admins have <player> but normal users have player:
    What about make it so we can choose if we want to have player: or <player> on admins and "guest"
     
  23. Offline

    shadrxninga

    Ok - I will take a look into it tonight.
     
  24. Offline

    JTR1988

    Excellent
     
  25. Offline

    shadrxninga


    I have added the feature requested above. If you want names to show like this <player> then set Normal to True if you want it like this Player then set it to false.

    Version 0.4

    • Fixed a few formating errors
    • Added the ability to change between <player> and Player:
     
  26. Offline

    manura133

    Hey @shadrxninga !

    Thanks for this lightweight plugin. I really like it!
    But I had an error in the log file after login:

    Code:
    2011-05-05 19:14:58 [SEVERE] Could not pass event PLAYER_CHAT to iOP
    java.util.IllegalFormatConversionException: f != org.bukkit.craftbukkit.entity.CraftPlayer
        at org.bukkit.event.player.PlayerChatEvent.setFormat(PlayerChatEvent.java:97)
        at com.scswc.shadrxninga.iop.iOPPlayerListener.onPlayerChat(iOPPlayerListener.java:25)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:236)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:646)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    It seems not to appear every time when I log in, but maybe it helps you for bug fixing.
     
  27. Offline

    shadrxninga

    @manura133

    Thanks - I will see if I can fix it.
     
  28. Offline

    wittlemidget9

    I am a serious noob at this, is it even possible to make it look easier such as step by step because it is my first time using bukkit?
     
  29. Offline

    kaasinees

    looks nice, can you make an option for normal players to choose a range of colors?
     
  30. Offline

    shadrxninga

    @wittlemidget9
    Ok, I will try and make an easier to follow, step by step guide on how to use this.
    @kaasinees
    What do you mean exactly? Per player colors? - Not just for ops and players.
     

Share This Page