Spigot Configuration (spigot.yml)

Discussion in 'Wiki Discussion' started by jtaylor69, Jun 13, 2013.

  1. won't let me use color codes. For example for unknown command I type "&cUnknown command" and the word unknown dissapears and it only recieves "command" in white.
     
  2. The disappearing thing in the strange, if the message just appeared with the color code and "Unknown command" the issue should be that you are using & instead of ยง.

    EDIT: nvm, it's not that:
     
    • Winner Winner x 1
  3. Thank you so much for this resource, it has helped me understand the spigot configuration file so much more easily
     
  4. It hurts, /minecrarft:tp :unsure:
     
  5. my tab-complete set at -1 but plugin suggestion still shows up
     
  6. Set it to 0?
     
  7. Tried it still doesn't work ill just keep trying ti figure it out and come back if i am still having the problem. Thanks for the suggestion.
     
  8. I edited the part where it said:
    anti-xray:
    enabled: true
    engine-mode: 1
    hide-blocks:
    - 14
    - 15
    - 16
    - 21
    - 48
    - 49
    - 54
    - 56
    - 73
    - 74
    - 82
    - 129
    - 130
    replace-blocks:
    - 1
    - 5
    I edited the "replace-blocks" part of it so that instead of 1 and 5, it was 0 and 1. In the process, I accidently got rid of the - for the - 5 part. I added it back and it looks just like it was before, accept now I get an error when I start my server.

    [07:08:11] [Server thread/INFO]: Starting minecraft server version 1.8.8
    [07:08:11] [Server thread/INFO]: Loading properties
    [07:08:11] [Server thread/INFO]: Default game type: SURVIVAL
    [07:08:11] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-db6de12-18fbb24 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
    [07:08:11] [Server thread/ERROR]: Could not load spigot.yml, please correct your syntax errors
    org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in 'string', line 59, column 3:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in 'string', line 97, column 4:
    ticks-per:
    ^

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.spigotmc.SpigotConfig.init(SpigotConfig.java:58) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:177) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
    in 'string', line 59, column 3:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in 'string', line 97, column 4:
    ticks-per:
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    ... 6 more
    [07:08:11] [Server thread/ERROR]: Encountered an unexpected exception
    java.lang.RuntimeException: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in 'string', line 59, column 3:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in 'string', line 97, column 4:
    ticks-per:
    ^

    at com.google.common.base.Throwables.propagate(Throwables.java:160) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.spigotmc.SpigotConfig.init(SpigotConfig.java:64) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:177) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in 'string', line 59, column 3:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in 'string', line 97, column 4:
    ticks-per:
    ^

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.spigotmc.SpigotConfig.init(SpigotConfig.java:58) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    ... 3 more
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
    in 'string', line 59, column 3:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in 'string', line 97, column 4:
    ticks-per:
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.spigotmc.SpigotConfig.init(SpigotConfig.java:58) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    ... 3 more
    [07:08:11] [Server thread/ERROR]: Cause of unexpected exception was
    org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in 'string', line 59, column 3:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in 'string', line 97, column 4:
    ticks-per:
    ^

    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.spigotmc.SpigotConfig.init(SpigotConfig.java:58) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:177) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
    in 'string', line 59, column 3:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in 'string', line 97, column 4:
    ticks-per:
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:229) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:369) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
    ... 6 more
    [07:08:11] [Server thread/ERROR]: This crash report has been saved to: D:\Server\.\crash-reports\crash-2019-09-16_07.08.11-server.txt
    [07:08:11] [Server thread/INFO]: Stopping server
    [07:08:11] [Server thread/INFO]: Saving players
     
  9. Hello, can't seem to be able to make exp orbs only merge in the end, server keeps crashing
     
  10. I know this thread is old but.
    On our server we have tried the tab completion at 1 or even 2 and non staff players can still just / and see all the plugins for the server. it is showing them a list of options. When I do -1 they cant do that but then neither can we. Even if we are op. It just makes tab completion impossible for everyone.
    Any suggestions? We are trying to stop players from knowing our plugins by just pressing / and then scrolling through and yet still allow us (especially op players) do it so we can run complex commands.
     
  11. (In case you didn't figure it out yet/for the help of others with the same problem)
    The tab-complete setting in your spigot.yml file has nothing to do with permissions, groups, OP status and whatnot. You could search for a plugin which blocks tabcompleting/certain commands though.
    -1 will disable tab completely
     
    #111 iTeije, Jul 27, 2020
    Last edited: Dec 26, 2020
  12. This seems to be missing the following attribute settings, but I cant seem to find information about them elsewhere either, so thought I'd comment on that here before editing it in. Can anyone confirm these are part of the official spigot.yml config?
    Code (YAML):
    settings:
      attribute
    :
        maxHealth
    :
          max
    : 2048.0
        movementSpeed
    :
          max
    : 2048.0
        attackDamage
    :
          max
    : 2048.0
     
  13. Azami7

    Supporter

    Is there a known issue with disabling the story advancement tab? I have all advancements set to disabled in my spigot.yml (see code below) yet the story tab still shows up. I have tried searching this forum and elsewhere and did not find any discussion that seemed relevant. All the other tabs are properly disabled.

    Code (Text):
    advancements:
      disable-saving: false
      disabled:
      - minecraft:story/root
      - minecraft:nether/root
      - minecraft:end/root
      - minecraft:adventure/root
      - minecraft:husbandry/root
     
  14. https://minecraft.fandom.com/wiki/Advancement

    Check this. I believe it's not "story" but rather "minecraft" so, "minecraft:minecraft/root" - but you may be able to disable all advancements with:
    - "*"
     
  15. it highly suggests that you do not have 2 whitespace indents for each sub section. Please look at how yaml configs work, and run the spigot file through a yaml checker if you need to.
     
  16. That question was asked in september 2019 and the author hasn't been online since.
     
    • Funny Funny x 1
  17. I understand, but if others have the same question, and end up here - from a google search - then they'll see my reply, and hopefully find it useful.
     
  18. I don't know if anyone has said this, search didn't come up with anything.

    In spigot.yml, there seems to be options for inactive entity wake ups below the EAR section, titled wake-up-inactive. Seems like the wiki has not added this section to the spigot.yml document. Would be great to know what each of these options do. Could help with servers that are getting lag due to inactive ticks.
     
  19. Azami7

    Supporter

    I had tried 'minecraft:minecraft' because it is the tab title but not 'minecraft:*', however neither work - the tab still shows up. With 'minecraft:*' none of the others show up so it seems the wildcard does work generally - which makes it even more odd/frustrating that the minecraft tab won't go away. Sadly, you cannot use a '*' before the colon or '*:*', they both give syntax errors.
     
  20. timeout-time
    i need help, my spigot server shuts down after 60 seconds despite being hosted with a linux VPS