Turn off colors for players? Default color typing?

Discussion in 'Bukkit Help' started by CinemaCarlos, Aug 3, 2014.

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

    CinemaCarlos

    So I have 2 questions.

    1. How can I turn off colors for players so they wont be able to do &5Color or whatever. I dont want my players to be able to do that. I am using Essentials and Group manager.

    2. How can I have a default chat color for certain groups? Like for guest, I want them to be grey so they dont stand out. Then for donators have different colors. I also want it for admins and owners :)

    Please respond!

    -Cinema
     
  2. Offline

    deep15mine

    Cinema, are you using Globalgroups in your world groups for your worlds. If so you can remove the essentials.chat.color perm from each one where you don't want players to have color for chat..
    2. For your color for each group you need to open up the essentials config.yml ( if you don't know how to edit that you need to look up how to do it before you start) . Make sure you have ChangeDisplayName=true in the first part of the config.yml. Next go down to the chat section where you have something like #format and format and #group-formats: .

    There you want to put # in front of the ones you don't want to use and clear the # in front of the one you do want to use. I think you want to use the group-formats: so clear that one. Alignment and distance out from margin are very important and must be spaces and not tabs. The names of your groups should be the same as in your world group. So if it is Admin in your group then it must be Admin here and not admin. They are case sensitive. You can set your colors here and they will be used in any world that uses the group name. An example would look like this:

    group-formats:
    # Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}'
    # Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'
    # If you are using group formats make sure to remove the '#' to allow the setting to be read.
    Default: ' {DISPLAYNAME}&7:&f {MESSAGE}'
    Builder: ' &2[{GROUP}]&2 {DISPLAYNAME}&7:&f {MESSAGE}'
    Soldier: ' &b[{GROUP}]&b {DISPLAYNAME}&7:&f {MESSAGE}'
    Moderator: ' &e[{GROUP}] {DISPLAYNAME}&7:&f {MESSAGE}'
    Admin: ' &4[{GROUP}]&4 {DISPLAYNAME}&7&0:&f {MESSAGE}'

    Hope this helps. Deep15mine
     
  3. Offline

    CinemaCarlos


    Ok so it works for the ranks color, but i didnt understand the not allowing colors one...
     
  4. Offline

    deep15mine

    With Groupmanager each world has a group.yml and a users.yml file. In the groups.yml file under inheritance: it calls permissions from the globalgroups.yml file. In the groups builder rank under inheritance it has an entry - g:essentials_builder . If you open the Globalsgroups.yml file and go down to the section containing the g:essentials_ lists, notice in the g:essentials_builder list there are several essentials.chat permissions one being essentials.chat.color . If you want to remove that permission you can put a - in front of the "e" in essentials to remove it. Like this - -essentials.chat.color You can then put that same permission in the world groups you want it in or put it in the users permissions in each world you want them to have it in. Hope this helps.
     
  5. Offline

    Necrodoom

    deep15mine removal of the node would be good too.
     
Thread Status:
Not open for further replies.

Share This Page