Help.yml not working

Discussion in 'Bukkit Help' started by Nistune, Sep 28, 2012.

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

    Nistune

    Im trying to set up a custom /help for everyone, I followed the info on the wiki, however when I start my server up it throws up an error and uses the default /help that lists all the plugins.

    Code:
    ignore-plugins:
      - All
    general-topics:
        Rules:
            shortText: Rules of the server
            fullText: |
                &61. Griefing is not tolerated.
                &B2. Hacked clients such as Nodus are not allowed
                &D3. Chat Spam is not allowed.
                &34. Do not Advertise other servers
                For a full list of rules check our website.
            permission: topics.rules
        Commands:
            shortText: Novice commands
            fullText: |
                &9/help – &fWill display help menus
                &9/sethome – &fWill set a personal home point for you
                &9/home – &fWill take you to your home point
                &9/i itemname amount – &fYou can spawn any item(max of 320 per command)
                &9/call – &fSends a teleport request to a specified player
                &9/bring – &fAccepts a teleport request another player has sent you
                &9/warp name – &fWarps you to the specified warp
                &9/spawn – &fBrings you to the spawn point in the specific world
                &9/msg – &fPrivately sends a message to the specified player
                &9/r – &fQuick reply to a message
                &9/more – &fType in with an item in your hand and it will give you a full stack
            permission: topics.Novice
        Protect:
            shortText: How to Protect your builds
            fullText: |
                &61. derp
            permission: topics.protect
    If I just have the ignore-plugins part it works fine, but when I insert the topics it will not work. Any help/info on why these arent working would be great.
     
  2. Offline

    TnT

    Have you given out both the permission nodes you set in the help.yml?
     
  3. Offline

    Nistune

    Yep, the problem isnt people not being able to use it. I ran it through the parser and its not bringing up any errors, however this is the start up error, so instead of showing the custom topics it just shows the default one with all the plugins.

    2012-09-28 21:28:39 [SEVERE] Cannot load help.yml
    org.bukkit.configuration.InvalidConfigurationException: unacceptable character '�' (0xFFFD) special characters are not allowed
    in "<string>", position 690
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
    at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
    at org.bukkit.craftbukkit.help.HelpYamlReader.<init>(HelpYamlReader.java:31)
    at org.bukkit.craftbukkit.help.SimpleHelpMap.initializeGeneralTopics(SimpleHelpMap.java:78)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:240)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:199)
    at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50)
    at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: unacceptable character '�' (0xFFFD) special characters are not allowed
    in "<string>", position 690
    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
    at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
    ... 12 more
     
  4. Offline

    TnT

    Give it a try without the color codes. See if that helps.
     
Thread Status:
Not open for further replies.

Share This Page