This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Gods 0.5.0 and CB2358:
2012-09-05 17:19:01 [SEVERE] Error occurred while enabling Gods v0.5.0 (Is it up to date?)java.lang.NullPointerException at com.dogonfire.gods.Gods.loadSettings(Gods.java:225) at com.dogonfire.gods.Gods.onEnable(Gods.java:329) 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:265) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
This is caused by a missing Quest.RewardValues section in your config.yml. The Quest config section should look something like:
Quests: Enabled: true Frequency: 1 RewardValues: YELLOW_FLOWER: 1 SUGAR_CANE: 25 RED_ROSE: 1 GOLD_INGOT: 50 BOOK: 30 MELON_SEEDS: 5 PUMPKIN_SEEDS: 5 DIAMOND: 100 COAL: 5 PAPER: 20 IRON_INGOT: 10 COMPASS: 50 SEEDS: 1
You can copy and paste from the above to fix your config now and i will make 0.5.1 write out a default quest reward section when this section is missing.
Unfortunatly 0.5.0 didnt create the folder or files. I did the changes to the code and recompiled. Now its working.
@VariousArtist: Go
You mean the plugin did not create the Gods folder including config.yml?
Yes exactly. Ive removed my old folder, installed 0.5.0, started the server and got the error Ive posted here. No "Gods"-folder nor files.
I made some changes regarding these config settings in 0.5.1: Could you test if you get error with 0.5.1?
Not encountered any longer. I would consider this fixed.
To post a comment, please login or register a new account.