Solved org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping

Discussion in 'Bukkit Help' started by syndiate, May 17, 2020.

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

    syndiate

    So, I customized a .yml file so if someone attempts to use a command, but isn't opped, it'll display this message: "You've been deopped from the server. Good job.' In red text. However, when I do this, there is always a syntax error on that line and I can't seem to fix it.

    Message in yml file:
    Code:
    messages:
      no-permission: '§cYou've been deopped from the server. Good job.'
        kick:
        authentication-servers-down: ''
        flying-player: fLyInG iS nOt EnAbLeD oN tHiS sErVeR
        flying-vehicle: fLyInG iS nOt EnAbLeD oN tHiS sErVeR
        connection-throttle: Your connection was throttled. The server isn't ready yet.
    Error in Command Prompt:

    Code:
    [14:27:13 ERROR]: Could not load paper.yml, please correct your syntax errors
    org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in 'string', line 56, column 3:
          no-permission: '§cYou've been de ...
          ^
    expected <block end>, but found '<scalar>'
    in 'string', line 56, column 25:
          no-permission: '§cYou've been deopped from the server. ...
                                ^
    
            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[patched_1.15.2.jar:git-Paper-296]
            at com.destroystokyo.paper.PaperConfig.init(PaperConfig.java:61) ~[patched_1.15.2.jar:git-Paper-296]
            at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:189) ~[patched_1.15.2.jar:git-Paper-296]
            at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:900) ~[patched_1.15.2.jar:git-Paper-296]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
    in 'string', line 56, column 3:
          no-permission: '§cYou've been de ...
          ^
    expected <block end>, but found '<scalar>'
    in 'string', line 56, column 25:
          no-permission: '§cYou've been deopped from the server. ...
                                ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:572) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:217) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:239) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:230) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:218) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:85) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:438) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[patched_1.15.2.jar:git-Paper-296]
            ... 6 more
    [14:27:13 ERROR]: Unable to load server configuration
    java.lang.RuntimeException: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in 'string', line 56, column 3:
          no-permission: '§cYou've been de ...
          ^
    expected <block end>, but found '<scalar>'
    in 'string', line 56, column 25:
          no-permission: '§cYou've been deopped from the server. ...
                                ^
    
            at com.google.common.base.Throwables.propagate(Throwables.java:240) ~[patched_1.15.2.jar:git-Paper-296]
            at com.destroystokyo.paper.PaperConfig.init(PaperConfig.java:65) ~[patched_1.15.2.jar:git-Paper-296]
            at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:189) ~[patched_1.15.2.jar:git-Paper-296]
            at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:900) ~[patched_1.15.2.jar:git-Paper-296]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in 'string', line 56, column 3:
          no-permission: '§cYou've been de ...
          ^
    expected <block end>, but found '<scalar>'
    in 'string', line 56, column 25:
          no-permission: '§cYou've been deopped from the server. ...
                                ^
    
            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[patched_1.15.2.jar:git-Paper-296]
            at com.destroystokyo.paper.PaperConfig.init(PaperConfig.java:61) ~[patched_1.15.2.jar:git-Paper-296]
            ... 3 more
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
    in 'string', line 56, column 3:
          no-permission: '§cYou've been de ...
          ^
    expected <block end>, but found '<scalar>'
    in 'string', line 56, column 25:
          no-permission: '§cYou've been deopped from the server. ...
                                ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:572) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:217) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:239) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:230) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:218) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:85) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:438) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[patched_1.15.2.jar:git-Paper-296]
            at com.destroystokyo.paper.PaperConfig.init(PaperConfig.java:61) ~[patched_1.15.2.jar:git-Paper-296]
            ... 3 more
    I also put it through an online YAML parser, and this was the error message:

    Code:
    while parsing a block mapping
      in "<unicode string>", line 56, column 3:
          no-permission: '§cYou've been de ...
          ^
    expected <block end>, but found '<scalar>'
      in "<unicode string>", line 56, column 25:
          no-permission: '§cYou've been deopped from the server
    Any help?

    Sincerely,
    syndiate
     
  2. Online

    timtower Administrator Administrator Moderator

    @syndiate You spacing is off.
    no-permission should be in line with the ones below it.
     
  3. Offline

    syndiate

    I took your advice, and it still gives me the same error.
     
  4. Online

    timtower Administrator Administrator Moderator

    Same or slightly different?
     
  5. Offline

    syndiate

    It gives me the same error.
     
  6. Online

    timtower Administrator Administrator Moderator

    Then please post your config and log again.
     
  7. Offline

    syndiate

    Config:
    Code:
    # This is the main configuration file for Paper.
    # As you can see, there's tons to configure. Some options may impact gameplay, so use
    # with caution, and make sure you know what each option does before configuring.
    #
    # If you need help with the configuration or have any questions related to Paper,
    # join us in our Discord or IRC channel.
    #
    # Discord: https://paperdiscord.emc.gs
    # IRC: #paper @ irc.spi.gt ( http://irc.spi.gt/iris/?channels=paper )
    # Website: https://papermc.io/
    # Docs: https://paper.readthedocs.org/
    
    verbose: false
    allow-perm-block-break-exploits: false
    config-version: 20
    settings:
      chunk-tasks-per-tick: 1000
      enable-player-collisions: true
      save-empty-scoreboard-teams: false
      bungee-online-mode: true
      console-has-all-permissions: true
      use-alternative-luck-formula: false
      incoming-packet-spam-threshold: 300
      region-file-cache-size: 256
      suggest-player-names-when-null-tab-completions: true
      save-player-data: true
      load-permissions-yml-before-plugins: true
      velocity-support:
        enabled: false
        online-mode: false
        secret: ''
      watchdog:
        early-warning-every: 5000
        early-warning-delay: 10000
      spam-limiter:
        tab-spam-increment: 1
        tab-spam-limit: 500
      async-chunks:
        enable: true
        threads: -1
      book-size:
        page-max: 2560
        total-multiplier: 0.98
    timings:
      enabled: true
      verbose: true
      server-name-privacy: false
      hidden-config-entries:
      - database
      - settings.bungeecord-addresses
      - settings.velocity-support.secret
      history-interval: 300
      history-length: 3600
      server-name: Elijah's Server But It's 1.15
    messages:
        no-permission: '§cYou've been deopped from the server. Good job.'
        kick:
        authentication-servers-down: ''
        flying-player: fLyInG iS nOt EnAbLeD oN tHiS sErVeR
        flying-vehicle: fLyInG iS nOt EnAbLeD oN tHiS sErVeR
        connection-throttle: Your connection was throttled. The server isn't ready yet.
    world-settings:
      default:
        keep-spawn-loaded: true
        light-queue-size: 20
        keep-spawn-loaded-range: 6
        auto-save-interval: -1
        skeleton-horse-thunder-spawn-chance: 0.01
        disable-ice-and-snow: false
        count-all-mobs-for-spawning: false
        disable-thunder: false
        armor-stands-do-collision-entity-lookups: true
        prevent-moving-into-unloaded-chunks: true
        non-player-arrow-despawn-rate: 60
        creative-arrow-despawn-rate: 30
        prevent-tnt-from-moving-in-water: false
        iron-golems-can-spawn-in-air: false
        seed-based-feature-search: true
        grass-spread-tick-rate: 4
        bed-search-radius: 1
        disable-teleportation-suffocation-check: false
        baby-zombie-movement-modifier: 0.5
        zombie-villager-infection-chance: -1.0
        all-chunks-are-slime-chunks: false
        mob-spawner-tick-rate: 2
        enable-treasure-maps: true
        treasure-maps-return-already-discovered: false
        use-vanilla-world-scoreboard-name-coloring: false
        max-auto-save-chunks-per-tick: 6
        optimize-explosions: true
        fixed-chunk-inhabited-time: -1
        max-entity-collisions: 2
        disable-creeper-lingering-effect: false
        duplicate-uuid-resolver: saferegen
        duplicate-uuid-saferegen-delete-range: 32
        filter-nbt-data-from-spawn-eggs-and-related: true
        per-player-mob-spawns: false
        nether-ceiling-void-damage-height: 0
        allow-non-player-entities-on-scoreboards: false
        portal-search-radius: 128
        portal-create-radius: 16
        disable-explosion-knockback: false
        water-over-lava-flow-speed: 5
        use-faster-eigencraft-redstone: true
        fix-zero-tick-instant-grow-farms: true
        parrots-are-unaffected-by-player-movement: false
        container-update-tick-rate: 3
        armor-stands-tick: true
        spawner-nerfed-mobs-should-jump: false
        entities-target-with-follow-range: false
        allow-leashing-undead-horse: false
        experience-merge-max-value: -1
        remove-corrupt-tile-entities: false
        falling-block-height-nerf: 0
        tnt-entity-height-nerf: 0
        phantoms-do-not-spawn-on-creative-players: true
        phantoms-only-attack-insomniacs: true
        viewdistances:
          no-tick-view-distance: -1
        anti-xray:
          enabled: true
          engine-mode: 1
          max-chunk-section-index: 3
          update-radius: 2
          hidden-blocks:
          - gold_ore
          - iron_ore
          - coal_ore
          - lapis_ore
          - mossy_cobblestone
          - obsidian
          - chest
          - diamond_ore
          - redstone_ore
          - clay
          - emerald_ore
          - ender_chest
          replacement-blocks:
          - stone
          - oak_planks
        generator-settings:
          flat-bedrock: false
        game-mechanics:
          disable-unloaded-chunk-enderpearl-exploit: true
          scan-for-legacy-ender-dragon: true
          shield-blocking-delay: 5
          disable-chest-cat-detection: true
          nerf-pigmen-from-nether-portals: false
          disable-player-crits: false
          disable-end-credits: false
          disable-sprint-interruption-on-attack: false
          disable-relative-projectile-velocity: false
          disable-pillager-patrols: false
          pillager-patrols:
            spawn-chance: 0.2
            spawn-delay:
              per-player: false
              ticks: 12000
            start:
              per-player: false
              day: 5
        squid-spawn-height:
          maximum: 0.0
        max-growth-height:
          cactus: 3
          reeds: 3
        lightning-strike-distance-limit:
          sound: -1
          impact-sound: -1
          flash: -1
        lootables:
          auto-replenish: false
          restrict-player-reloot: true
          reset-seed-on-fill: true
          max-refills: -1
          refresh-min: 12h
          refresh-max: 2d
        alt-item-despawn-rate:
          enabled: true
          items:
            COBBLESTONE: 300
        hopper:
          cooldown-when-full: true
          disable-move-event: true
        frosted-ice:
          enabled: true
          delay:
            min: 20
            max: 40
        fishing-time-range:
          MinimumTicks: 100
          MaximumTicks: 600
        despawn-ranges:
          soft: 28
          hard: 96
    
    Error in Command Prompt:

    Code:
    [14:51:12 ERROR]: Could not load paper.yml, please correct your syntax errors
    org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
     in 'string', line 56, column 5:
            no-permission: '§cYou've been de ...
            ^
    expected <block end>, but found '<scalar>'
     in 'string', line 56, column 27:
            no-permission: '§cYou've been deopped from the server. ...
                                  ^
    
            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[patched_1.15.2.jar:git-Paper-296]
            at com.destroystokyo.paper.PaperConfig.init(PaperConfig.java:61) ~[patched_1.15.2.jar:git-Paper-296]
            at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:189) ~[patched_1.15.2.jar:git-Paper-296]
            at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:900) ~[patched_1.15.2.jar:git-Paper-296]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
     in 'string', line 56, column 5:
            no-permission: '§cYou've been de ...
            ^
    expected <block end>, but found '<scalar>'
     in 'string', line 56, column 27:
            no-permission: '§cYou've been deopped from the server. ...
                                  ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:572) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:217) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:239) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:230) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:218) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:85) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:438) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[patched_1.15.2.jar:git-Paper-296]
            ... 6 more
    > [14:51:12 ERROR]: Unable to load server configuration
    java.lang.RuntimeException: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
     in 'string', line 56, column 5:
            no-permission: '?cYou've been de ...
            ^
    expected <block end>, but found '<scalar>'
     in 'string', line 56, column 27:
            no-permission: '?cYou've been deopped from the server. ...
                                  ^
    
            at com.google.common.base.Throwables.propagate(Throwables.java:240) ~[patched_1.15.2.jar:git-Paper-296]
            at com.destroystokyo.paper.PaperConfig.init(PaperConfig.java:65) ~[patched_1.15.2.jar:git-Paper-296]
            at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:189) ~[patched_1.15.2.jar:git-Paper-296]
            at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:900) ~[patched_1.15.2.jar:git-Paper-296]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
     in 'string', line 56, column 5:
            no-permission: '?cYou've been de ...
            ^
    expected <block end>, but found '<scalar>'
     in 'string', line 56, column 27:
            no-permission: '?cYou've been deopped from the server. ...
                                  ^
    
            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[patched_1.15.2.jar:git-Paper-296]
            at com.destroystokyo.paper.PaperConfig.init(PaperConfig.java:61) ~[patched_1.15.2.jar:git-Paper-296]
            ... 3 more
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
     in 'string', line 56, column 5:
            no-permission: '?cYou've been de ...
            ^
    expected <block end>, but found '<scalar>'
     in 'string', line 56, column 27:
            no-permission: '?cYou've been deopped from the server. ...
                                  ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:572) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:217) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:239) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:230) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:218) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:144) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:85) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:141) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:525) ~[patched_1.15.2.jar:git-Paper-296]
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:438) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[patched_1.15.2.jar:git-Paper-296]
            at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[patched_1.15.2.jar:git-Paper-296]
            at com.destroystokyo.paper.PaperConfig.init(PaperConfig.java:61) ~[patched_1.15.2.jar:git-Paper-296]
            ... 3 more
    Online YAML Parser:

    Code:
    while parsing a block mapping
    in "<unicode string>", line 56, column 5:
    no-permission: '§cYou've been de ...
    ^
    expected <block end>, but found '<scalar>'
    in "<unicode string>", line 56, column 27:
    no-permission: '§cYou've been deopped from the server. ...
    ^
     
  8. Online

    timtower Administrator Administrator Moderator

    @syndiate Your spacing is off, that piece has 4 spaces, the piece above only 2.
     
  9. Offline

    syndiate

    What piece?
     
  10. Online

    timtower Administrator Administrator Moderator

    The no-permissions message
     
  11. Offline

    syndiate

    So what should I do then?
     
  12. Online

    timtower Administrator Administrator Moderator

    You fix the indentation so it is 2 instead of 4
     
  13. Offline

    syndiate

    It still gives me the same exact error.
     
  14. Online

    timtower Administrator Administrator Moderator

    You sure that you are updating the server then?
     
  15. Offline

    syndiate

  16. Online

    timtower Administrator Administrator Moderator

    Please post your new config.
     
  17. Offline

    syndiate

    Code:
    # This is the main configuration file for Paper.
    # As you can see, there's tons to configure. Some options may impact gameplay, so use
    # with caution, and make sure you know what each option does before configuring.
    # 
    # If you need help with the configuration or have any questions related to Paper,
    # join us in our Discord or IRC channel.
    # 
    # Discord: https://paperdiscord.emc.gs
    # IRC: #paper @ irc.spi.gt ( http://irc.spi.gt/iris/?channels=paper )
    # Website: https://papermc.io/ 
    # Docs: https://paper.readthedocs.org/ 
    
    verbose: false
    allow-perm-block-break-exploits: false
    config-version: 20
    settings:
      chunk-tasks-per-tick: 1000
      enable-player-collisions: true
      save-empty-scoreboard-teams: false
      bungee-online-mode: true
      console-has-all-permissions: true
      use-alternative-luck-formula: false
      incoming-packet-spam-threshold: 300
      region-file-cache-size: 256
      suggest-player-names-when-null-tab-completions: true
      save-player-data: true
      load-permissions-yml-before-plugins: true
      velocity-support:
        enabled: false
        online-mode: false
        secret: ''
      watchdog:
        early-warning-every: 5000
        early-warning-delay: 10000
      spam-limiter:
        tab-spam-increment: 1
        tab-spam-limit: 500
      async-chunks:
        enable: true
        threads: -1
      book-size:
        page-max: 2560
        total-multiplier: 0.98
    timings:
      enabled: true
      verbose: true
      server-name-privacy: false
      hidden-config-entries:
      - database
      - settings.bungeecord-addresses
      - settings.velocity-support.secret
      history-interval: 300
      history-length: 3600
      server-name: Elijah's Server But It's 1.15
    messages:
      no-permission: '§cYou've been deopped from the server. Good job.'
        kick: 
        authentication-servers-down: ''
        flying-player: fLyInG iS nOt EnAbLeD oN tHiS sErVeR
        flying-vehicle: fLyInG iS nOt EnAbLeD oN tHiS sErVeR
        connection-throttle: Your connection was throttled. The server isn't ready yet.
    world-settings:
      default:
        keep-spawn-loaded: true
        light-queue-size: 20
        keep-spawn-loaded-range: 6
        auto-save-interval: -1
        skeleton-horse-thunder-spawn-chance: 0.01
        disable-ice-and-snow: false
        count-all-mobs-for-spawning: false
        disable-thunder: false
        armor-stands-do-collision-entity-lookups: true
        prevent-moving-into-unloaded-chunks: true
        non-player-arrow-despawn-rate: 60
        creative-arrow-despawn-rate: 30
        prevent-tnt-from-moving-in-water: false
        iron-golems-can-spawn-in-air: false
        seed-based-feature-search: true
        grass-spread-tick-rate: 4
        bed-search-radius: 1
        disable-teleportation-suffocation-check: false
        baby-zombie-movement-modifier: 0.5
        zombie-villager-infection-chance: -1.0
        all-chunks-are-slime-chunks: false
        mob-spawner-tick-rate: 2
        enable-treasure-maps: true
        treasure-maps-return-already-discovered: false
        use-vanilla-world-scoreboard-name-coloring: false
        max-auto-save-chunks-per-tick: 6
        optimize-explosions: true
        fixed-chunk-inhabited-time: -1
        max-entity-collisions: 2
        disable-creeper-lingering-effect: false
        duplicate-uuid-resolver: saferegen
        duplicate-uuid-saferegen-delete-range: 32
        filter-nbt-data-from-spawn-eggs-and-related: true
        per-player-mob-spawns: false
        nether-ceiling-void-damage-height: 0
        allow-non-player-entities-on-scoreboards: false
        portal-search-radius: 128
        portal-create-radius: 16
        disable-explosion-knockback: false
        water-over-lava-flow-speed: 5
        use-faster-eigencraft-redstone: true
        fix-zero-tick-instant-grow-farms: true
        parrots-are-unaffected-by-player-movement: false
        container-update-tick-rate: 3
        armor-stands-tick: true
        spawner-nerfed-mobs-should-jump: false
        entities-target-with-follow-range: false
        allow-leashing-undead-horse: false
        experience-merge-max-value: -1
        remove-corrupt-tile-entities: false
        falling-block-height-nerf: 0
        tnt-entity-height-nerf: 0
        phantoms-do-not-spawn-on-creative-players: true
        phantoms-only-attack-insomniacs: true
        viewdistances:
          no-tick-view-distance: -1
        anti-xray:
          enabled: true
          engine-mode: 1
          max-chunk-section-index: 3
          update-radius: 2
          hidden-blocks:
          - gold_ore
          - iron_ore
          - coal_ore
          - lapis_ore
          - mossy_cobblestone
          - obsidian
          - chest
          - diamond_ore
          - redstone_ore
          - clay
          - emerald_ore
          - ender_chest
          replacement-blocks:
          - stone
          - oak_planks
        generator-settings:
          flat-bedrock: false
        game-mechanics:
          disable-unloaded-chunk-enderpearl-exploit: true
          scan-for-legacy-ender-dragon: true
          shield-blocking-delay: 5
          disable-chest-cat-detection: true
          nerf-pigmen-from-nether-portals: false
          disable-player-crits: false
          disable-end-credits: false
          disable-sprint-interruption-on-attack: false
          disable-relative-projectile-velocity: false
          disable-pillager-patrols: false
          pillager-patrols:
            spawn-chance: 0.2
            spawn-delay:
              per-player: false
              ticks: 12000
            start:
              per-player: false
              day: 5
        squid-spawn-height:
          maximum: 0.0
        max-growth-height:
          cactus: 3
          reeds: 3
        lightning-strike-distance-limit:
          sound: -1
          impact-sound: -1
          flash: -1
        lootables:
          auto-replenish: false
          restrict-player-reloot: true
          reset-seed-on-fill: true
          max-refills: -1
          refresh-min: 12h
          refresh-max: 2d
        alt-item-despawn-rate:
          enabled: true
          items:
            COBBLESTONE: 300
        hopper:
          cooldown-when-full: true
          disable-move-event: true
        frosted-ice:
          enabled: true
          delay:
            min: 20
            max: 40
        fishing-time-range:
          MinimumTicks: 100
          MaximumTicks: 600
        despawn-ranges:
          soft: 28
          hard: 96
    
     
  18. Online

    timtower Administrator Administrator Moderator

    @syndiate Why is the kick still further out?
     
  19. Offline

    syndiate

    So, I should align the no-permission with the rest of the message code lines?
     
  20. Online

    timtower Administrator Administrator Moderator

    @syndiate The other message code lines should be in line with the no-permission line.
     
  21. Offline

    syndiate

    I tried that, and it still gives me the exact same error.

    Config:

    Code:
    # This is the main configuration file for Paper.
    # As you can see, there's tons to configure. Some options may impact gameplay, so use
    # with caution, and make sure you know what each option does before configuring.
    # 
    # If you need help with the configuration or have any questions related to Paper,
    # join us in our Discord or IRC channel.
    # 
    # Discord: https://paperdiscord.emc.gs
    # IRC: #paper @ irc.spi.gt ( http://irc.spi.gt/iris/?channels=paper )
    # Website: https://papermc.io/ 
    # Docs: https://paper.readthedocs.org/ 
    
    verbose: false
    allow-perm-block-break-exploits: false
    config-version: 20
    settings:
      chunk-tasks-per-tick: 1000
      enable-player-collisions: true
      save-empty-scoreboard-teams: false
      bungee-online-mode: true
      console-has-all-permissions: true
      use-alternative-luck-formula: false
      incoming-packet-spam-threshold: 300
      region-file-cache-size: 256
      suggest-player-names-when-null-tab-completions: true
      save-player-data: true
      load-permissions-yml-before-plugins: true
      velocity-support:
        enabled: false
        online-mode: false
        secret: ''
      watchdog:
        early-warning-every: 5000
        early-warning-delay: 10000
      spam-limiter:
        tab-spam-increment: 1
        tab-spam-limit: 500
      async-chunks:
        enable: true
        threads: -1
      book-size:
        page-max: 2560
        total-multiplier: 0.98
    timings:
      enabled: true
      verbose: true
      server-name-privacy: false
      hidden-config-entries:
      - database
      - settings.bungeecord-addresses
      - settings.velocity-support.secret
      history-interval: 300
      history-length: 3600
      server-name: Elijah's Server But It's 1.15
    messages:
      no-permission: '§cYou've been deopped from the server. Good job.'
      kick: 
      authentication-servers-down: ''
      flying-player: fLyInG iS nOt EnAbLeD oN tHiS sErVeR
      flying-vehicle: fLyInG iS nOt EnAbLeD oN tHiS sErVeR
      connection-throttle: Your connection was throttled. The server isn't ready yet.
    world-settings:
      default:
        keep-spawn-loaded: true
        light-queue-size: 20
        keep-spawn-loaded-range: 6
        auto-save-interval: -1
        skeleton-horse-thunder-spawn-chance: 0.01
        disable-ice-and-snow: false
        count-all-mobs-for-spawning: false
        disable-thunder: false
        armor-stands-do-collision-entity-lookups: true
        prevent-moving-into-unloaded-chunks: true
        non-player-arrow-despawn-rate: 60
        creative-arrow-despawn-rate: 30
        prevent-tnt-from-moving-in-water: false
        iron-golems-can-spawn-in-air: false
        seed-based-feature-search: true
        grass-spread-tick-rate: 4
        bed-search-radius: 1
        disable-teleportation-suffocation-check: false
        baby-zombie-movement-modifier: 0.5
        zombie-villager-infection-chance: -1.0
        all-chunks-are-slime-chunks: false
        mob-spawner-tick-rate: 2
        enable-treasure-maps: true
        treasure-maps-return-already-discovered: false
        use-vanilla-world-scoreboard-name-coloring: false
        max-auto-save-chunks-per-tick: 6
        optimize-explosions: true
        fixed-chunk-inhabited-time: -1
        max-entity-collisions: 2
        disable-creeper-lingering-effect: false
        duplicate-uuid-resolver: saferegen
        duplicate-uuid-saferegen-delete-range: 32
        filter-nbt-data-from-spawn-eggs-and-related: true
        per-player-mob-spawns: false
        nether-ceiling-void-damage-height: 0
        allow-non-player-entities-on-scoreboards: false
        portal-search-radius: 128
        portal-create-radius: 16
        disable-explosion-knockback: false
        water-over-lava-flow-speed: 5
        use-faster-eigencraft-redstone: true
        fix-zero-tick-instant-grow-farms: true
        parrots-are-unaffected-by-player-movement: false
        container-update-tick-rate: 3
        armor-stands-tick: true
        spawner-nerfed-mobs-should-jump: false
        entities-target-with-follow-range: false
        allow-leashing-undead-horse: false
        experience-merge-max-value: -1
        remove-corrupt-tile-entities: false
        falling-block-height-nerf: 0
        tnt-entity-height-nerf: 0
        phantoms-do-not-spawn-on-creative-players: true
        phantoms-only-attack-insomniacs: true
        viewdistances:
          no-tick-view-distance: -1
        anti-xray:
          enabled: true
          engine-mode: 1
          max-chunk-section-index: 3
          update-radius: 2
          hidden-blocks:
          - gold_ore
          - iron_ore
          - coal_ore
          - lapis_ore
          - mossy_cobblestone
          - obsidian
          - chest
          - diamond_ore
          - redstone_ore
          - clay
          - emerald_ore
          - ender_chest
          replacement-blocks:
          - stone
          - oak_planks
        generator-settings:
          flat-bedrock: false
        game-mechanics:
          disable-unloaded-chunk-enderpearl-exploit: true
          scan-for-legacy-ender-dragon: true
          shield-blocking-delay: 5
          disable-chest-cat-detection: true
          nerf-pigmen-from-nether-portals: false
          disable-player-crits: false
          disable-end-credits: false
          disable-sprint-interruption-on-attack: false
          disable-relative-projectile-velocity: false
          disable-pillager-patrols: false
          pillager-patrols:
            spawn-chance: 0.2
            spawn-delay:
              per-player: false
              ticks: 12000
            start:
              per-player: false
              day: 5
        squid-spawn-height:
          maximum: 0.0
        max-growth-height:
          cactus: 3
          reeds: 3
        lightning-strike-distance-limit:
          sound: -1
          impact-sound: -1
          flash: -1
        lootables:
          auto-replenish: false
          restrict-player-reloot: true
          reset-seed-on-fill: true
          max-refills: -1
          refresh-min: 12h
          refresh-max: 2d
        alt-item-despawn-rate:
          enabled: true
          items:
            COBBLESTONE: 300
        hopper:
          cooldown-when-full: true
          disable-move-event: true
        frosted-ice:
          enabled: true
          delay:
            min: 20
            max: 40
        fishing-time-range:
          MinimumTicks: 100
          MaximumTicks: 600
        despawn-ranges:
          soft: 28
          hard: 96
    
     
  22. Online

    timtower Administrator Administrator Moderator

    @syndiate You have a single quote in there, make that 2 single quotes.
     
  23. Offline

    syndiate

    It worked! Thanks for your help! :)
     
Thread Status:
Not open for further replies.

Share This Page