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.
     
  2. 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.
     
  3. Offline

    tmac_kb24

    Post you config via pastebin.
     
  4. How do I use pastebin? What syntax highlighting should I select?
     
  5. 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
     
  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.
     
  10. It didn't work. Odd. You know what, I'll reinstall GroupManager then try it.
     
  11. 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.
     
  12. 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.
     
  13. Offline

    tmac_kb24

    You have Essentials installed correct?
     
  14. 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?
     
  15. Offline

    tmac_kb24

    Code (Text):
    1.  
    2. ############################################################
    3. # +------------------------------------------------------+ #
    4. # |                 Essentials (Global)                  | #
    5. # +------------------------------------------------------+ #
    6. ############################################################
    7.  
    8. # A color code between 0-9 or a-f. Set to 'none' to disable.
    9. ops-name-color: 'none'
    10.  
    11. # The character(s) to prefix all nicknames, so that you know they are not true usernames.
    12. nickname-prefix: '~'
    13.  
    14. # Disable this if you have any other plugin, that modifies the displayname of a user.
    15. change-displayname: true
    16.  
    17. # When this option is enabled, the (tab) player list will be updated with the displayname.
    18. # The value of change-displayname (above) has to be true.
    19. change-playerlist: true
    20.  
    21. # Adds the prefix and suffix to the displayname of the player, so it will be displayed in messages and lists.
    22. # The prefix/suffix can be set using Permissions, Group Manager or PermissionsEx.
    23. # The value of change-displayname (above) has to be true.
    24. # If you don't set this, it will default to true if essentials chat is installed.
    25. # Don't forget to remove the # in front of the line
    26. add-prefix-suffix: true
    27.  
    See this line?
    Code (Text):
    1.  
    2. add-prefix-suffix: true
    3.  
    You need to change that to true like I have done in my config. Be sure to remove that "#" in front of the line!!
     
  16. 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.
     
  17. 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.
     
  18. 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