Filled ChatColor+

Discussion in 'Archived: Plugin Requests' started by Derugo, Aug 16, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Derugo

    Plugin category: Miscellaneous

    Suggested name: ChatColor+ / SimpleChatColor

    What I want: I want a fairly simple chat color plugin where a player's chat color can only be changed by a player with the appropriate permissions, or can be run through the console. The plugin doesn't necessarily need a color list or any other commands than what is listed. When the command to change a player's chat color is run, I want it to be permanant, so, probably store it somewhere and then open it when the player logs on.

    Ideas for commands:
    /chatcolor <colorcode> <player> changes a player's chat color.

    Ideas for permissions:
    chatcolor.admin | access to /chatcolor <colorcode> <player>

    When I'd like it by: No rush for it at all, but if possible, in the next few days/week. Thanks in advance, to whoever makes this.
     
  2. Offline

    drpk

    Derugo I will do this. And add a targetting feature, also, would it be ./chatcolor &4 or /chatcolor red
     
  3. Offline

    Derugo


    drpk Completely your choice on the command, although &<code> would make things a little simpler. Thanks for doing this by the way.
     
  4. Offline

    drpk

    Derugo and you'd be able to change the color at any time, right?
     
  5. Offline

    Derugo


    drpk Yes, just by typing the command again, but with a different color code.
     
  6. Offline

    drpk

    Derugo will be done within about 10 mins, I just have to add the argument aliases.
     
    Derugo likes this.
  7. Offline

    MomsKnife

  8. Offline

    Derugo

  9. Offline

    MomsKnife

    Works for me..
     
  10. Offline

    drpk

    Derugo having trouble with the making the target.
    got it working, download should be ready in a minute.
    Derugo here you go! <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 1, 2016
    Derugo likes this.
  11. Offline

    Derugo

    [quote uid=90968162 name="drpk" post=2745720]Derugo having trouble with the making the target.
    got it working, download should be ready in a minute.
    Derugo here you go! <Edit by Moderator: Redacted mediafire url>
    drpk Perfect, except the chat color resets after a reload/restart and the command doesn't work in the console. Brings up this error: http://pastebin.com/Qn7CXPwc
     
    Last edited by a moderator: Nov 1, 2016
  12. Offline

    MomsKnife

    [quote uid=90968162 name="drpk" post=2745720]Derugo having trouble with the making the target.
    got it working, download should be ready in a minute.
    Derugo here you go! <Edit by Moderator: Redacted mediafire url>

    drpk Use hashmaps and store the uuid, it's faster, and it will work in 1.8.
     
    Last edited by a moderator: Nov 1, 2016
  13. Offline

    Derugo

    Bump - Anyone else able to make this?
     
  14. Offline

    ChipDev

    Sure. I'll try when I'm off my phone. =D
     
  15. Offline

    MomsKnife

    ChipDev Don't worry about it, I'll work on updating it so you can set it to save colors on reload/restart.
     
  16. Offline

    ChipDev

    Ok.
     
  17. Offline

    MomsKnife

    It's doing some weird stuff when I save a chatcolor to a config on disable.. if someone else wants to do this, go ahead - I just don't see why you don't use the joinwithcolor permission nodes..
     
  18. Offline

    Derugo

    MomsKnife As I said before, they will not work for me, I don't know why. Possibly because the group I'm setting the node to is a sub group. I need this for a prison server so staff/donor chat stands out from default chat. All donor/staff ranks are subgroups.
     
  19. Offline

    timtower Administrator Administrator Moderator

    You probably want to save the color as the string representation of the enum, then use ChatColor.valueOf(string)
     
  20. Offline

    supernina99

    MomsKnife Can you make this so when u log out it doesnt go away THXS
     
  21. Offline

    MomsKnife

    [quote uid=90909389 name="supernina99" post=2751790]MomsKnife Can you make this so when u log out it doesnt go away THXS[/quote]

    <Edit by Moderator: Redacted mediafire url>
    This one saves on logout, but doesn't save on restart.
     
    Last edited by a moderator: Nov 1, 2016
  22. Offline

    supernina99

    is there a way to make it save always
     
  23. Offline

    hankered

    supernina99

    There is, obviously. I don't understand why its that big of a deal. I'm sure the player doesn't mind changing it every 24 hours..
     
  24. Offline

    Derugo

    Bump. Still in need of this if anyone is willing to make it.
     
  25. Offline

    Derugo

    Bump.
     
  26. Offline

    JulianRecke

  27. Offline

    MomsKnife

    noone is going to recreate something that is already made. I made mine the way it is for stability reasons, and I think you can deal with changing your color back after the server restarts
     
  28. Offline

    timtower Administrator Administrator Moderator

    Some do prefer the saving though.
     
  29. Offline

    CGA1123

    Derugo You are running Spigot?
     
  30. Offline

    Derugo

    MomsKnife Problem is your plugin doesn't do what I ask for. I don't want nor need a GUI, nor want to give players to option to change their chat colour whenever they want to. I want it so only the console/an admin with permission can change a player's chat color for group tier purposes. If it was only myself I needed to change that chatcolor for, no, I wouldn't mind, even if it was every time I relogged, it'd be the fact I'd have to change it for more than just myself.


    CGA1123 Yes, I am.
     
Thread Status:
Not open for further replies.

Share This Page