Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 14:46:34 [INFO] [Loot] Enabling Loot v2.4.3
- 14:46:34 [INFO] [Loot] Enabled.
- 14:46:34 [SEVERE] Cannot load plugins/Loot/config.yml
- org.bukkit.configuration.InvalidConfigurationException: while scanning a simple key
- in "<string>", line 56, column 1:
- worlds:#Putting your world on th ...
- ^
- could not found expected ':'
- in "<string>", line 57, column 12:
- worldname:
- ^
- 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 me.kmacho.bukkit.loot.LootField.loadConfiguration(LootField.java:41)
- at me.kmacho.bukkit.loot.LootField.reload(LootField.java:202)
- at me.kmacho.bukkit.loot.Loot.onEnable(Loot.java:44)
- at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
- at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
- at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
- at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:266)
- at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:248)
- at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:200)
- 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:377)
- at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
- Caused by: while scanning a simple key
- in "<string>", line 56, column 1:
- worlds:#Putting your world on th ...
- ^
- could not found expected ':'
- in "<string>", line 57, column 12:
- worldname:
- ^
- at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:398)
- at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:229)
- at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:178)
- at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
- at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
- at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
- at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
- at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
- at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
- at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
- at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
- at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
- at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
- at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
- at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
- at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
- ... 17 more
- my config
- #===========================================================================#
- # Name: Loot #
- # Author: Kmacho #
- # #
- # Instructions: #
- # Here is where you set up the different types of item lists. #
- # I set up an example below that you can easily modify. #
- # Now, onto the important stuff: #
- # #
- # ListName: #
- # inheritance: OtherListName #
- # detailed: true/false #
- # #
- # ListName - The name of this list(used in the second line of a sign) #
- # inheritance - Will inherit the items from the list OtherListname #
- # #
- # detailed - Set this to true if you want to specify certain properties #
- # of the items on that list. Know that this will make the config a #
- # lot longer, but will enable you to customize to your liking. #
- # #
- # Detailed format: #
- # items: #
- # ItemNameOrId: #
- # spawn: chance,min-max #
- # effects: #
- # - NameOfEffect,Min-Max Lvl,Chance,Splash,Extend #
- # #
- # Undetailed format: #
- # items: #
- # - ItemNameOrId,min-max,chance,randomEffect #
- # #
- # ItemNameOrId - Name or ID of the item #
- # effects - Effects that could be applied to the item #
- # min - Minimum amount to appear if it passes the chance check #
- # max - Maximum amount to appear if it passes the chance check #
- # chance - The percent chance to appear at all #
- # randomEffect - add a random enchantment/potion effect(defaults to true) #
- # splash - Makes the potion throwable(only applies to potions) #
- # extend - Extends the duration of the effect(only applies to potions) #
- # #
- # You can also set up per-world loot chests. When a chest is opened and #
- # does not have a loot sign under it, it checks if the world is on this #
- # list. If it is, it will choose a random list of that world and be set #
- # to respawn in the amout of time set on the world. #
- # #
- # worlds: #
- # NameOfWorld: #
- # time: Minutes #
- # lists: #
- # - NameOfList #
- #===========================================================================#
- settings:
- enable_command_permissions: true
- enable_list_permissions: true
- enable_sign_permissions: true
- worlds:#Putting your world on this list means that ALL chest turn into loot chests, doesnt matter if theres a sign under it or not. YOU HAVE BEEN WARNED!!!
- worldname:
- time: 10
- lists:
- - common
- - uncommon
- common:
- detailed: false
- items:
- - 'iron_sword:120,1,3,100,true'
- - '6:3,1,3,100,false'
- uncommon:
- inheritance: common
- detailed: true
- items:
- '3':
- spawn: '100,3-6'
- effects:
- - damage_arthropods,1-2,100
- potion:
- spawn: '100,3-30'
- effects:
- - speed,1-2,100,true,true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement