PlayTime

PlayTime

38.5k Downloads

Console Error

Steven0630 opened this issue ยท 2 comments

commented

Whenever I type /playtime it says "[PlayTime] Playtime is currently busy with an operation! Please try again later" SO I looked at the console and got this:

07.01 22:20:50 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:583) [craftbukkit_17.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
07.01 22:20:50 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit_17.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
07.01 22:20:50 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit_17.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
07.01 22:20:50 [Server] INFO at com.rogue.playtime.Playtime$1.run(Playtime.java:213) [Playtime.jar:?]
07.01 22:20:50 [Server] INFO at com.rogue.playtime.Playtime.onEnable(Playtime.java:152) [Playtime.jar:?]
07.01 22:20:50 [Server] INFO at com.rogue.playtime.event.EventHandler.(EventHandler.java:47) [Playtime.jar:?]
07.01 22:20:50 [Server] INFO at com.rogue.playtime.event.EventHandler.loadEvents(EventHandler.java:64) [Playtime.jar:?]
07.01 22:20:50 [Server] INFO at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175) [craftbukkit_17.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
07.01 22:20:50 [Server] INFO at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) ~[craftbukkit_17.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
07.01 22:20:50 [Server] INFO at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) ~[craftbukkit_17.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
07.01 22:20:50 [Server] INFO at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) ~[craftbukkit_17.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
07.01 22:20:50 [Server] INFO ^
07.01 22:20:50 [Server] INFO ... tting 8 hours of play time, you're now a Member+!'
07.01 22:20:50 [Server] INFO in "", line 8, column 68:
07.01 22:20:50 [Server] INFO expected , but found Scalar
07.01 22:20:50 [Server] INFO ^
07.01 22:20:50 [Server] INFO type: playtime
07.01 22:20:50 [Server] INFO in "", line 3, column 5:
07.01 22:20:50 [Server] INFO org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
07.01 22:20:50 [Server] ERROR Cannot load plugins/Playtime/events.yml
07.01 22:20:50 [Server] INFO Enabling event system...
07.01 22:20:50 [Server] INFO AFK checking disabled!
07.01 22:20:50 [Server] INFO Enabling Command Handler...
07.01 22:20:50 [Server] INFO Successfully connected to database!
07.01 22:20:50 [Server] INFO Connecting to SQLite database...
07.01 22:20:50 [Server] ERROR Flatfile storage is currently broken! Using SQLite...
07.01 22:20:50 [Server] INFO Enabling Data Manager...
07.01 22:20:50 [Server] INFO Enabling executable manager...
07.01 22:20:50 [Server] INFO Enabling Metrics...
07.01 22:20:50 [Server] INFO Loading language manager...
07.01 22:20:50 [Server] INFO Loading Configuration mananger...

commented

You have a yaml error in your events.yml file (When you have a string with an apostrophe in it, you need to use a double-apostrophe). For example:

events:
  someevent:
    sample: 'This is a string with '' an apostrophe right there'

Would read as: "This is a string with ' an apostrophe right there". This is something that is relevant to yaml itself, not playtime.

commented

I fixed it :) Thank you!!