GroupManager Colors Help

Discussion in 'Bukkit Help' started by LegendCraftMineraft, Oct 22, 2012.

Thread Status:
Not open for further replies.
  1. I have installed GroupManager on my server. Everything (so far) has seemed to be fine with my groups.yml file, except colored prefixes. In tutorials, I see people adding colored prefixes to their groups.yml files and everything is splendid. When I try that, I write what I think is correct. I use real & Color codes, like &2. This is what my groups.yml looks like. I won't be using real perms for this demonstartion. Here it is:
    ------------------------------
    groups:
    Default:
    default: true
    permissions:
    - fake.permission
    - fake.permission.two
    info:
    build: true
    prefix: '&2[Default]'
    --------------------------------
    So that's what it looks like. After I save my work, whenever I go back in I am greeted with this:
    groups:
    Default:
    default: true
    permissions:
    - fake.permission
    - fake.permission.two
    info:
    build: true
    prefix: '

    There you have it. Sorry this post is so long, I just wanted to give you the info. Thanks.

    It edited the fake files. It is supposed to have spaces before the items. Just to make sure you know that I didn't make that mistake.

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

    tmac_kb24

    Post you config via pastebin.
     
  3. How do I use pastebin? What syntax highlighting should I select?
     
  4. Offline

    tmac_kb24

    @LegendCraftMineraft

    Just leave it at none. Copy your GroupManager config. Then give it a name if you like, then press submit. After that, post the link here so we can look at it
     
  5. Okay thanks.

    I downloaded the config (witch is not complete anyway) from Pastebin. Here it is:
    http://pastebin.com/tg7Ubun0

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

    tmac_kb24

    Try this one.
     
  7. The same thing happened. It is like the & means 'delete everything after this'. Do you think that I should just reinstall GroupManager?
     
  8. Offline

    tmac_kb24

    I found the problem. You need to add &f to close the color code.

    Likes so.

    EDIT: new link
     
  9. Ok I'll try it.

    It didn't work. Odd. You know what, I'll reinstall GroupManager then try it.

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

    Necrodoom

    groupmanager doesnt modify prefix section unless /manuaddv prefix is set.
    you set it changes to prefix: ' , if it did change, then GM would error due to unclosed prefix string.
    and no, you dont need &f
    can you launch a test server? cant see your error source with the given info, though i suspect your error would be your YML editor.
     
  11. Thanks. Here is my Error Log:
    2012-10-23 15-06
    =============================== GM ERROR LOG ===============================
    = ERROR REPORT START - 2.0 (2.9.4) (Phoenix) =

    java.lang.IllegalArgumentException: The following file couldn't pass on Parser.
    plugins/GroupManager/worlds/world/groups.yml
    at org.anjocaido.groupmanager.dataholder.WorldDataHolder.loadGroups(WorldDataHolder.java:497)
    at org.anjocaido.groupmanager.dataholder.WorldDataHolder.loadGroups(WorldDataHolder.java:417)
    at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.loadWorld(WorldsHolder.java:629)
    at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.loadWorld(WorldsHolder.java:591)
    at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.initialWorldLoading(WorldsHolder.java:88)
    at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.initialLoad(WorldsHolder.java:78)
    at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.resetWorldsHolder(WorldsHolder.java:70)
    at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.<init>(WorldsHolder.java:59)
    at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:161)
    at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:85)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252)
    at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:298)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:277)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:227)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: while scanning a quoted scalar
    in "<reader>", line 39, column 15:
    '
    ^
    found unexpected end of stream
    in "<reader>", line 39, column 16:
    '
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.scanFlowScalarSpaces(ScannerImpl.java:1532)
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanFlowScalar(ScannerImpl.java:1464)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchFlowScalar(ScannerImpl.java:834)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchSingle(ScannerImpl.java:819)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:337)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:591)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:133)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    at org.anjocaido.groupmanager.dataholder.WorldDataHolder.loadGroups(WorldDataHolder.java:492)
    ... 20 more

    ============================================================================
    And for a test server, you can try sc19.servercraft.co:2256 but I don't know if it will help.
     
  12. Offline

    tmac_kb24

    You have Essentials installed correct?
     
  13. I think so. I installed all of the core, and GeoIP. But this was back at the dawn of 1.3.2. Shall I install it again?
     
  14. Offline

    tmac_kb24

    Code:
    ############################################################
    # +------------------------------------------------------+ #
    # |                 Essentials (Global)                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # A color code between 0-9 or a-f. Set to 'none' to disable.
    ops-name-color: 'none'
    
    # The character(s) to prefix all nicknames, so that you know they are not true usernames.
    nickname-prefix: '~'
    
    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: true
    
    # When this option is enabled, the (tab) player list will be updated with the displayname.
    # The value of change-displayname (above) has to be true.
    change-playerlist: true
    
    # Adds the prefix and suffix to the displayname of the player, so it will be displayed in messages and lists.
    # The prefix/suffix can be set using Permissions, Group Manager or PermissionsEx.
    # The value of change-displayname (above) has to be true.
    # If you don't set this, it will default to true if essentials chat is installed.
    # Don't forget to remove the # in front of the line
    add-prefix-suffix: true
    
    See this line?
    Code:
    add-prefix-suffix: true
    
    You need to change that to true like I have done in my config. Be sure to remove that "#" in front of the line!!
     
  15. Offline

    Necrodoom

    tmac_kb24 that has NOTHING in relation into that guys problem. you dont need essentials to have groupmanager, aswell.

    LegendCraftMineraft looks like your server IS erroring when the unknown external cause is breaking your prefix.
    you should focus on finding what is breaking GM YML.
    first off, is server hosted on an external host? if yes, what webpanel?
    if not, check that the prefix doesnt get removed right when you save it using your YML editor.
    if not, check if the prefix doesnt get removed directly on startup. if it gets removed on startup, paste your entire startup log.
     
  16. Offline

    tmac_kb24

    necrodoom In order for groupmanager to "make" the prefixes show up or work, you must have a chat plugin. In this case he has Essentials.

    You are not reading my response thoroughly. If you did you might actually find out what I am going at.

    In your response to me "I have done NOTHING to help him" Well, actually I am helping get to the bottom of this. Saying that "I am not doing anything" is incorrect.

    Yes, you are right that you don't need Essentials for groupmanager is true. But he is trying to get the prefixes to work.

    Help him how ever you want, I was just trying to get to the bottom of this.

    You don't need to call me out and make a response about me doing nothing, when actually I have. Just remember that, you will only get so far by doing that. People will lose respect for you.

    @LegendCraftMinecraft, If you are continuously having trouble just make a ticket about it on the Essentials ticket log.
     
  17. Offline

    Necrodoom

    id guess you skipped the error.log you quoted, then.
    and i didnt say you did nothing to help him, i said that what you said is impossible that is causing the problem.
     
Thread Status:
Not open for further replies.

Share This Page