Advertisement
Guest User

iiwoagnw

a guest
Oct 3rd, 2012
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.32 KB | None | 0 0
  1. 14:46:34 [INFO] [Loot] Enabling Loot v2.4.3
  2. 14:46:34 [INFO] [Loot] Enabled.
  3. 14:46:34 [SEVERE] Cannot load plugins/Loot/config.yml
  4. org.bukkit.configuration.InvalidConfigurationException: while scanning a simple key
  5. in "<string>", line 56, column 1:
  6. worlds:#Putting your world on th ...
  7. ^
  8. could not found expected ':'
  9. in "<string>", line 57, column 12:
  10. worldname:
  11. ^
  12.  
  13. at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
  14. at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
  15. at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
  16. at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
  17. at me.kmacho.bukkit.loot.LootField.loadConfiguration(LootField.java:41)
  18. at me.kmacho.bukkit.loot.LootField.reload(LootField.java:202)
  19. at me.kmacho.bukkit.loot.Loot.onEnable(Loot.java:44)
  20. at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
  21. at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
  22. at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
  23. at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:266)
  24. at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:248)
  25. at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:200)
  26. at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50)
  27. at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
  28. at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105)
  29. at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:377)
  30. at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
  31. Caused by: while scanning a simple key
  32. in "<string>", line 56, column 1:
  33. worlds:#Putting your world on th ...
  34. ^
  35. could not found expected ':'
  36. in "<string>", line 57, column 12:
  37. worldname:
  38. ^
  39.  
  40. at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:398)
  41. at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:229)
  42. at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:178)
  43. at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
  44. at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
  45. at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
  46. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
  47. at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
  48. at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
  49. at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
  50. at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
  51. at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
  52. at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
  53. at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
  54. at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
  55. at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
  56. ... 17 more
  57. my config
  58. #===========================================================================#
  59. # Name: Loot #
  60. # Author: Kmacho #
  61. # #
  62. # Instructions: #
  63. # Here is where you set up the different types of item lists. #
  64. # I set up an example below that you can easily modify. #
  65. # Now, onto the important stuff: #
  66. # #
  67. # ListName: #
  68. # inheritance: OtherListName #
  69. # detailed: true/false #
  70. # #
  71. # ListName - The name of this list(used in the second line of a sign) #
  72. # inheritance - Will inherit the items from the list OtherListname #
  73. # #
  74. # detailed - Set this to true if you want to specify certain properties #
  75. # of the items on that list. Know that this will make the config a #
  76. # lot longer, but will enable you to customize to your liking. #
  77. # #
  78. # Detailed format: #
  79. # items: #
  80. # ItemNameOrId: #
  81. # spawn: chance,min-max #
  82. # effects: #
  83. # - NameOfEffect,Min-Max Lvl,Chance,Splash,Extend #
  84. # #
  85. # Undetailed format: #
  86. # items: #
  87. # - ItemNameOrId,min-max,chance,randomEffect #
  88. # #
  89. # ItemNameOrId - Name or ID of the item #
  90. # effects - Effects that could be applied to the item #
  91. # min - Minimum amount to appear if it passes the chance check #
  92. # max - Maximum amount to appear if it passes the chance check #
  93. # chance - The percent chance to appear at all #
  94. # randomEffect - add a random enchantment/potion effect(defaults to true) #
  95. # splash - Makes the potion throwable(only applies to potions) #
  96. # extend - Extends the duration of the effect(only applies to potions) #
  97. # #
  98. # You can also set up per-world loot chests. When a chest is opened and #
  99. # does not have a loot sign under it, it checks if the world is on this #
  100. # list. If it is, it will choose a random list of that world and be set #
  101. # to respawn in the amout of time set on the world. #
  102. # #
  103. # worlds: #
  104. # NameOfWorld: #
  105. # time: Minutes #
  106. # lists: #
  107. # - NameOfList #
  108. #===========================================================================#
  109. settings:
  110. enable_command_permissions: true
  111. enable_list_permissions: true
  112. enable_sign_permissions: true
  113. 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!!!
  114. worldname:
  115. time: 10
  116. lists:
  117. - common
  118. - uncommon
  119. common:
  120. detailed: false
  121. items:
  122. - 'iron_sword:120,1,3,100,true'
  123. - '6:3,1,3,100,false'
  124. uncommon:
  125. inheritance: common
  126. detailed: true
  127. items:
  128. '3':
  129. spawn: '100,3-6'
  130. effects:
  131. - damage_arthropods,1-2,100
  132. potion:
  133. spawn: '100,3-30'
  134. effects:
  135. - speed,1-2,100,true,true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement