Plugin Help crackshot PLZ HEWP!

Discussion in 'Plugin Help/Development/Requests' started by swclone, Sep 30, 2014.

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

    swclone

    for some reason the snake yaml cannot read the new weapon I created
    Weapon_Title: MP5
    Item_Information:
    Item_Name: MP5
    Item_Type: 257
    Item_Lore: &4A very powerful submachine gun with a high rate of fire.|
    Shooting:
    Disable: true
    Dual_Wield: false
    Right_Click_To_Shoot: true
    Cancel_Left_Click_Block_Damage: true
    Cancel_Right_Click_Interactions: true
    Delay_Between_Shots: 5
    Recoil_Amount: 3
    Projectile_Amount: 1
    Projectile_Type: arrow
    Remove_Arrows_On_Impact: true
    Remove_Bullet_Drop: true
    Removal_Or_Drag_Delay: 5
    Projectile_Speed: 15
    Projectile_Damage: 2
    Projectile_Flames: false
    Projectile_Incendiary: false
    Enable: false
    Duration:
    Bullet_Spread: 3
    Reset_Fall_Distance: false
    Sounds_Projectile: ANVIL_LAND-1-2-0
    Sounds_Shoot: DIG_STONE-1-1-0
    Sneak:
    Enable: true
    No_Recoil: true
    Bullet_Spread: 1
    Sneak_Before_Shooting: false
    Burstfire:
    Enable: true
    Shots_Per_Burst: 2
    Delay_Between_Shots_In_Burst: 1
    Reload:
    Enable: true
    Reload_With_Mouse:f alse
    Starting_Amount: 32
    Reload_Amount: 32
    Reload_Bullets_Individually: false
    Take_Amm:confused:n_Reload: false
    Take_Ammo_As_Magazine: false
    Reload_Duration: 20
    Destroy_When_Empty: false
    Sounds_Out_Of_Ammo: FIRE_IGNITE-1-1-14
    Sounds_Reloading:SKELETON_IDLE-1-0-0,FIRE_IGNITE-1-1-14,DOOR_OPEN-1-2-16,FIRE_IGNITE-1-1-26,HURT_FLESH-1-0-27,

    Scope:
    Enable: true
    Zoom_Amount: 5
    Zoom_Bullet_Spread: 2
    Sounds_Toggle_Zoom: ENDERDRAGON_WINGS-1-2-0
    the report I had was
    Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token; found character '\t' that cannot start any token
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(ParserImpl.java:535) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:423) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks]
    at org.anjocaido.groupmanager.GlobalGroups.load(GlobalGroups.java:116) ~[?:?]
    at org.anjocaido.groupmanager.GlobalGroups.<init>(GlobalGroups.java:44) ~[?:?]
    at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:173) ~[?:?]
    ... 12 more
    [06:31:08 INFO]: [Vault][Permission] GroupManager hooked.
    [06:31:08 INFO]: [Vault][Chat] GroupManager - Chat hooked.
    [06:31:08 INFO]: [WorldEdit] Enabling WorldEdit v5.6.1
    [06:31:08 INFO]: WEPIF: Using the Bukkit Permissions API.
    [06:31:08 INFO]: [BattleTracker] Enabling BattleTracker v2.5.8.8
    [06:31:08 INFO]: [BattleTracker v2.5.8.8] enabled!
    [06:31:08 INFO]: [CrackShot] Enabling CrackShot v0.97.13
    [06:31:09 WARN]: org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here
    in "<string>", line 2, column 21:
    Item_Information:
    ^

    [06:31:09 WARN]: at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57)
    [06:31:09 WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226)
    [06:31:09 WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169)
    [06:31:09 WARN]: at com.shampaggon.crackshot.CSMinion.loadConfig(CSMinion.java:485)
    [06:31:09 WARN]: at com.shampaggon.crackshot.CSMinion.loadWeapons(CSMinion.java:443)
    [06:31:09 WARN]: at com.shampaggon.crackshot.CSDirector.onEnable(CSDirector.java:182)
    [06:31:09 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316)
    [06:31:09 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324)
    [06:31:09 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404)
    [06:31:09 WARN]: at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:455)
    [06:31:09 WARN]: at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:389)
    [06:31:09 WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:352)
    [06:31:09 WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:326)
    [06:31:09 WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:282)
    [06:31:09 WARN]: at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:189)
    [06:31:09 WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:436)
    [06:31:09 WARN]: at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)
    [06:31:09 WARN]: Caused by: mapping values are not allowed here
    in "<string>", line 2, column 21:
    Item_Information:
    ^

    [06:31:09 WARN]: at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733)
    [06:31:09 WARN]: at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305)
    [06:31:09 WARN]: at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
    [06:31:09 WARN]: at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
    [06:31:09 WARN]: at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    [06:31:09 WARN]: at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    [06:31:09 WARN]: at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    [06:31:09 WARN]: at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    [06:31:09 WARN]: at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    [06:31:09 WARN]: at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    [06:31:09 WARN]: at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    [06:31:09 WARN]: at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    [06:31:09 WARN]: at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    [06:31:09 WARN]: at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    [06:31:09 WARN]: ... 16 more
    PLZ HEWP! I really want to start my whitelist server soon

    idk why there is a smiley face there
    sry!:(

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

    JaguarJo Retired Staff

    Code:
    Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token; found character '\t' that cannot start any token
    This error means that there's a tab in your file.
    Code:
    [06:31:09 WARN]: org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here
    This one is often caused by a spacing problem or missing colon.

    Try pasting your file into an online YAML parser; it can show you which lines have problems. We can't check your file for you since you pasted it directly into the comments and doing that changes the formatting. If you want us to help you check, then either use the code button in the comment toolbar to paste your file or paste it on a website like pastebin and then give us a link to the page.
     
Thread Status:
Not open for further replies.

Share This Page