Unable to do anything with the plugin #545
Comments
Use Java 8. Edit: Not a Java issue, I thought it needed Java 8, but Java 7 is also compatible. |
I think it might be because you have no maps. Can you post a screenshot of your maps folder? It should be in your server root. |
@SungMatt This isn't a Java issue |
It's indeed empty |
@Tranziii You need maps for Cardinal to work. |
I've placed a map but same log |
@Tranziii What is inside the map that you added, and where did you put the map? |
@iEli2tyree011 Region, XML and level.dat. I placed the map in the maps folder |
@Tranziii Can you try restarting your server and posting the latest logs? |
[15:07:20 INFO]: Starting minecraft server version 1.8 |
@Tranziii Can you try adding the name of the map (the name in the map.xml) to the rotation.txt file? |
@iEli2tyree011 Isn't creating by default? |
@AngelCasillas01 Only if the file is not already there. Since he started the server without any maps, the rotation file was generated, but was blank. But when he added a map, it still wasn't updated, because the file already existed. |
[15:10:44 INFO]: Starting minecraft server version 1.8 It keeps saying failed to load map |
I would delete the rotations.txt file. |
How can I correctly load the map and what should I place in the maps folder |
@Tranziii In the log, it clearly states that the map "Kytriak" is not loading. The XML may be invalid. |
@Tranziii Can you pastebin the text inside of |
Closing due to no response and this is only due to incorrectly setting up the server. The XML is not valid, which means the plugin can't even read it, it's not even having issues parsing it. |
Here are the logs.
[13:38:41 INFO]: Starting minecraft server version 1.8
[13:38:41 INFO]: Loading properties
[13:38:41 INFO]: Default game type: SURVIVAL
[13:38:41 INFO]: Generating keypair
[13:38:41 INFO]: Starting Minecraft server on *:25565
[13:38:42 INFO]: This server is running SportBukkit version git-SportBukkit-715f5f8 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
[13:38:42 INFO]: [WorldEdit] Loading WorldEdit v6.0;3342-78f975b9
[13:38:42 INFO]: [CardinalPGM] Loading Cardinal v1.0-SNAPSHOT-git-CardinalPGM-d844cfd
[13:38:42 INFO]: Preparing level "world"
[13:38:43 INFO]: Preparing start region for level 0 (Seed: 3493880480819380481)
[13:38:44 INFO]: Preparing spawn area: 13%
[13:38:45 INFO]: Preparing spawn area: 53%
[13:38:46 INFO]: Preparing start region for level 1 (Seed: 3493880480819380481)
[13:38:47 INFO]: Preparing spawn area: 40%
[13:38:47 INFO]: Preparing start region for level 2 (Seed: 3493880480819380481)
[13:38:48 INFO]: [WorldEdit] Enabling WorldEdit v6.0;3342-78f975b9
[13:38:48 INFO]: WEPIF: Using the Bukkit Permissions API.
13:38:49 INFO: [WorldEdit] Using com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_8_R1 as the Bukkit adapter
13:38:49 INFO: [CardinalPGM] Enabling Cardinal v1.0-SNAPSHOT-git-CardinalPGM-d844cfd
[13:38:49 WARN]: java.io.FileNotFoundException: plugins/Cardinal/database.xml (No such file or directory)
[13:38:49 WARN]: at java.io.FileOutputStream.open(Native Method)
[13:38:49 WARN]: at java.io.FileOutputStream.(FileOutputStream.java:221)
[13:38:49 WARN]: at java.io.FileOutputStream.(FileOutputStream.java:171)
[13:38:49 WARN]: at java.io.FileWriter.(FileWriter.java:90)
[13:38:49 WARN]: at in.twizmwaz.cardinal.Database.save(Database.java:44)
[13:38:49 WARN]: at in.twizmwaz.cardinal.Database.newInstance(Database.java:31)
[13:38:49 WARN]: at in.twizmwaz.cardinal.Cardinal.onEnable(Cardinal.java:117)
[13:38:49 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321)
[13:38:49 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:327)
[13:38:49 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404)
[13:38:49 WARN]: at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:346)
[13:38:49 WARN]: at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:318)
[13:38:49 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:404)
[13:38:49 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:372)
[13:38:49 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:327)
[13:38:49 WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:190)
[13:38:49 WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:490)
[13:38:49 WARN]: at java.lang.Thread.run(Thread.java:745)
13:38:49 INFO: [CardinalPGM] Deleting match files, this can be disabled via the configuration
[13:38:49 ERROR]: Error occurred while enabling Cardinal v1.0-SNAPSHOT-git-CardinalPGM-d844cfd (Is it up to date?)
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:635) ~[?:1.7.0_75]
at java.util.ArrayList.get(ArrayList.java:411) ~[?:1.7.0_75]
at in.twizmwaz.cardinal.rotation.Rotation.getNext(Rotation.java:143) ~[?:?]
at in.twizmwaz.cardinal.GameHandler.(GameHandler.java:31) ~[?:?]
at in.twizmwaz.cardinal.Cardinal.onEnable(Cardinal.java:153) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[sportbukkit.jar:git-SportBukkit-715f5f8]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:327) [sportbukkit.jar:git-SportBukkit-715f5f8]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [sportbukkit.jar:git-SportBukkit-715f5f8]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:346) [sportbukkit.jar:git-SportBukkit-715f5f8]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:318) [sportbukkit.jar:git-SportBukkit-715f5f8]
at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:404) [sportbukkit.jar:git-SportBukkit-715f5f8]
at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:372) [sportbukkit.jar:git-SportBukkit-715f5f8]
at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:327) [sportbukkit.jar:git-SportBukkit-715f5f8]
at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:190) [sportbukkit.jar:git-SportBukkit-715f5f8]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:490) [sportbukkit.jar:git-SportBukkit-715f5f8]
at java.lang.Thread.run(Thread.java:745) ?:1.7.0_75: Server permissions file permissions.yml is empty, ignoring it
The text was updated successfully, but these errors were encountered: