prisonrankup error when loading

Discussion in 'Bukkit Help' started by nathan2439, Apr 15, 2014.

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

    nathan2439

    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping; expected <block end>, but found BlockMappingStart
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    ... 22 more
    [08:16:47] [Server thread/ERROR]: Cannot load plugins/PrisonRankup/config.yml
    org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in "<string>", line 1, column 1:
    Prefix: '&a[&bPrison&6-&bRankup&a]'
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 5, column 3:
    A: 0
    ^

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:149) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:114) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:176) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.craftservers.prisonrankup.Main.reloadConfiguration(Main.java:334) [PrisonRankup_v1.5.jar:?]
    at net.craftservers.prisonrankup.Main.getConfiguration(Main.java:325) [PrisonRankup_v1.5.jar:?]
    at net.craftservers.prisonrankup.Updater.<init>(Updater.java:195) [PrisonRankup_v1.5.jar:?]
    at net.craftservers.prisonrankup.Main.onEnable(Main.java:106) [PrisonRankup_v1.5.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:389) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.reload(CraftServer.java:773) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.Bukkit.reload(Bukkit.java:279) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(CraftServer.java:670) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:286) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:251) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping; expected <block end>, but found BlockMappingStart
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    version - 1.5
    craftbukkit - 1.7.2 RO.3
    Plugins: TimTheEnchanter, GroupManager, WorldEdit, NoCheatPlus, VoxelSniper, MotdManager, Buycraft, Vault, PlotMe, Multiverse-Core, BarAPI, WorldGuard, ClearChat, PrisonSuite, iConomy, CoreProtect, BossMessage, NoRain,ClearLag, ProtocolLib, Votifier, GAListener, PrisonRankup, CleanroomGenerator, PrisonMine, Essentials, Gambler, EssentialsProtect, EssentialsSpawn, Info-Board, EchoPet, EssentialsChat
     
  2. Offline

    kungfuko

    Post your rankup config
     
  3. Offline

    nathan2439

    THIS IS ORIGINAL CONFIG

    # Welcome to configuring PrisonRankup, I will be here to guide you through this config setup
    # First let me introduce myself, I am Mazen. I consider myself an expert in configuring Plugins and YAML configs and the average Java Developer.
    # First thing I want you to do is to set the prefix (What comes before the message) for the plugin to use. Keep the speech marks please to avoid errors.
    Prefix: '&a[&bPrison&6-&bRankup&a]'
    #Do not touch this!
    version: 2.0
    # Next thing I want you to do is set the message you want it to be when somebody ranks up. Keep the speech marks here as well.
    # The %player% will be replaced with the players name, and the %rank% will be replaced with the rank they ranked up to.
    Rankup BC Message: '&3%player% &6has ranked up to &3%rank%'
    # Now, the most important part of this plugin is the rankup ladder
    groups:
    #Heres an example of the format of how it should be:
    # rank name: price
    #DO NOT REMOVE THE # FROM THE ABOVE!
    - A:30
    - B:100
    - C:300
    #Here, I will be asking you to put the first rank on the ladder in this example A
    First Rank: 'A'
    # As well as the last rank to assure that we can message the player that he is at the end of the ladder
    Last Rank: 'C'
    # This message is the message we will send to the player if he is the highest rank.
    Highest Rank MSG: '&6 You are already the highest rank!'
    # This next one is if you want to use a timed requirement for your rankup system, set it to true if yes. Default is false;
    Timed Requirement: false
    # Now we're if you set it to true you will have to set a certain time (in seconds) that you want to be done for the rank requirement
    Time Interval: 0.0
    # Here you will write what the time is based on, seconds, minutes or hours. Spelling does matter!
    Time type: Seconds
    # If you want, I added an option where you can choose if you want to make it so that the interval is added to every Rankup Sequence
    Interval on all ranks: false
    # Now you're almost there! Theres just one last part, If you're switching from Rankup and/or majority of Rankup plugins set this to true. If not, set it to false.
    # What this does is check if the player has a rank that is listed in groups (Every minute) and if so, makes a profile with that rank.
    Transfer ranks to profile: false
    # Set the next item to false if you do not want to use the updater
    update: true
    # Set this to true if you wish to enable debug mode
    debug: false



    THIS IS MY CONFIG

    Prefix: '&a[&bPrison&6-&bRankup&a]'

    Rankup BC Message: '&3%player% &6has ranked up to &3%rank%'

    Groups:
    A: 0
    B: 20000
    C: 45000
    D: 100000

    First Rank: 'A'

    Last Rank: 'D'

    Highest Rank MSG: '&6 You are already the highest rank!'

    Timed Requirement: false

    Time Interval: 0.0

    Time type: Seconds

    Interval on all ranks: false

    Transfer ranks to profile: false

    update: true

    debug: true


    iBeStrafin:
    group: A

    I am using groupmanager for my permissions

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  4. Offline

    kungfuko

    Pastebin the whole config plz
     
  5. Offline

    nathan2439

    Ok

    What do u mean by whole

    One more piece of information

    I believe prices are messing the plugin up

    When I do /rankup reload

    My CONFIG turns into


    # Welcome to configuring PrisonRankup, I will be here to guide you through this config setup
    # First let me introduce myself, I am Mazen. I consider myself an expert in configuring Plugins and YAML configs and the average Java Developer.
    # First thing I want you to do is to set the prefix (What comes before the message) for the plugin to use. Keep the speech marks please to avoid errors.
    users:
    nathan2439:
    group: A
    groups: {}

    http://pastebin.com/yigKZuEf


    Non edited CONFIG [ minus the prices]

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

    kungfuko

    Maybe you should update your prisonrakup. Mine looks different and is fully updated. When updated use this as a template. Feel free to use it. http://pastebin.com/LJZUDV6Z
     
  7. Offline

    nathan2439

    I'm using info board and info board only supports version 1.5 but thank you I will update and use yours
     
  8. Offline

    kungfuko

    If you get any other problems with it. Just message me :)
     
  9. Offline

    Marsyoranges

    If the config deletes itself then I think that there's an error with the yml there, run it through a yaml parser and see if there's any errors
     
Thread Status:
Not open for further replies.

Share This Page