Thank you for updating to 1.15 so fast. It took me 6 hours after release to update to 1.15 =)
But:
Some issues are there:
First is on startup with newest Devbuild:
Next Problem is:
wait command stops script. It is almost like stop command or something. Debug says that it will wait and nothing happens after this:
Next Problem is:
Events on server start, on server prestart and on system time 05:00: do not fire. This script here does nothing because of the told problems:
Spigot is up to date I just did newest builds and Denizen Dev Build is 4471 (11 hours ago). Maybe I am doing something wrong, or missed a change in these points?
But:
Some issues are there:
First is on startup with newest Devbuild:
[10:53:50] [Server thread/ERROR]: Error occurred while enabling Denizen v1.1.2-SNAPSHOT (build 4471-DEV) (Is it up to date?)
java.lang.NullPointerException: null
at java.util.ArrayList.addAll(ArrayList.java:577) ~[?:1.8.0_101]
at com.denizenscript.denizencore.scripts.queues.ScriptQueue.addEntries(ScriptQueue.java:695) ~[?:?]
at com.denizenscript.denizencore.events.ScriptEvent.run(ScriptEvent.java:435) ~[?:?]
at com.denizenscript.denizen.events.core.ServerPrestartScriptEvent.specialHackRunEvent(ServerPrestartScriptEvent.java:52) ~[?:?]
at com.denizenscript.denizen.Denizen.onEnable(Denizen.java:420) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot.jar:git-Spigot-3b314f5-e631456]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot.jar:git-Spigot-3b314f5-e631456]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [spigot.jar:git-Spigot-3b314f5-e631456]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:462) [spigot.jar:git-Spigot-3b314f5-e631456]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:376) [spigot.jar:git-Spigot-3b314f5-e631456]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:456) [spigot.jar:git-Spigot-3b314f5-e631456]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:266) [spigot.jar:git-Spigot-3b314f5-e631456]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:783) [spigot.jar:git-Spigot-3b314f5-e631456]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
java.lang.NullPointerException: null
at java.util.ArrayList.addAll(ArrayList.java:577) ~[?:1.8.0_101]
at com.denizenscript.denizencore.scripts.queues.ScriptQueue.addEntries(ScriptQueue.java:695) ~[?:?]
at com.denizenscript.denizencore.events.ScriptEvent.run(ScriptEvent.java:435) ~[?:?]
at com.denizenscript.denizen.events.core.ServerPrestartScriptEvent.specialHackRunEvent(ServerPrestartScriptEvent.java:52) ~[?:?]
at com.denizenscript.denizen.Denizen.onEnable(Denizen.java:420) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot.jar:git-Spigot-3b314f5-e631456]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot.jar:git-Spigot-3b314f5-e631456]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [spigot.jar:git-Spigot-3b314f5-e631456]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:462) [spigot.jar:git-Spigot-3b314f5-e631456]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:376) [spigot.jar:git-Spigot-3b314f5-e631456]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:456) [spigot.jar:git-Spigot-3b314f5-e631456]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:266) [spigot.jar:git-Spigot-3b314f5-e631456]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:783) [spigot.jar:git-Spigot-3b314f5-e631456]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
Next Problem is:
wait command stops script. It is almost like stop command or something. Debug says that it will wait and nothing happens after this:
[07:26:59] [Server thread/INFO]: [0;35;1m+- [0;35;1mQueue 'INVSEE_COMMAND_[0;33;22mParagraph[0;37;22mPromised[0;33;22mPair[0;35;1m' Executing: [0;37;1m[0;30;1m(line 179)[0;37;1m WAIT[0;35;1m ---------+ [m
[07:26:59] [Server thread/INFO]: [0;33;1m+> [0;30;1mExecuting '[0;33;1mWAIT[0;30;1m': [0;30;1mqueue='[0;33;1mq@INVSEE_COMMAND_ParagraphPromisedPair[0;30;1m' [0;30;1mdelay='[0;33;[email protected] [0;32;1m(3s)[0;30;1m' [m
[07:26:59] [Server thread/INFO]: [0;35;1m [0;37;1mForcing queue INVSEE_COMMAND_ParagraphPromisedPair into a timed queue... [m
[07:26:59] [Server thread/INFO]: [0;35;1m [0;37;1m[0;33;22mCompleting queue 'INVSEE_COMMAND_[0;33;22mParagraph[0;37;22mPromised[0;33;22mPair[0;33;22m' in 15ms. [m
[07:26:59] [Server thread/INFO]: [0;35;1m [0;37;1m[0;33;22mStarting TimedQueue 'INVSEE_COMMAND_[0;33;22mParagraph[0;37;22mPromised[0;33;22mPair[0;33;22m' with player 'n0nnie'... [m
[07:26:59] [Server thread/INFO]: [0;33;1m+> [0;30;1mExecuting '[0;33;1mWAIT[0;30;1m': [0;30;1mqueue='[0;33;1mq@INVSEE_COMMAND_ParagraphPromisedPair[0;30;1m' [0;30;1mdelay='[0;33;[email protected] [0;32;1m(3s)[0;30;1m' [m
[07:26:59] [Server thread/INFO]: [0;35;1m [0;37;1mForcing queue INVSEE_COMMAND_ParagraphPromisedPair into a timed queue... [m
[07:26:59] [Server thread/INFO]: [0;35;1m [0;37;1m[0;33;22mCompleting queue 'INVSEE_COMMAND_[0;33;22mParagraph[0;37;22mPromised[0;33;22mPair[0;33;22m' in 15ms. [m
[07:26:59] [Server thread/INFO]: [0;35;1m [0;37;1m[0;33;22mStarting TimedQueue 'INVSEE_COMMAND_[0;33;22mParagraph[0;37;22mPromised[0;33;22mPair[0;33;22m' with player 'n0nnie'... [m
Next Problem is:
Events on server start, on server prestart and on system time 05:00: do not fire. This script here does nothing because of the told problems:
daily_autorestart:
type: world
debug: false
events:
on system time 05:00:
- announce "<gold>Server restart in ten minutes!"
- wait 5m
- announce "<gold>Server restart in five minutes!"
- wait 2m
- announce "<gold>Server restart in three minutes!"
- wait 1m
- announce "<gold>Server restart in two minutes!"
- wait 1m
- announce "<gold>Server restart in one minute!"
- wait 30s
- announce "<gold>Server restart in thirty seconds!"
- wait 30s
- adjust server restart
on restart command:
- if <player.is_op>||<context.server>:
- narrate "Server restart"
- adjust server restart
type: world
debug: false
events:
on system time 05:00:
- announce "<gold>Server restart in ten minutes!"
- wait 5m
- announce "<gold>Server restart in five minutes!"
- wait 2m
- announce "<gold>Server restart in three minutes!"
- wait 1m
- announce "<gold>Server restart in two minutes!"
- wait 1m
- announce "<gold>Server restart in one minute!"
- wait 30s
- announce "<gold>Server restart in thirty seconds!"
- wait 30s
- adjust server restart
on restart command:
- if <player.is_op>||<context.server>:
- narrate "Server restart"
- adjust server restart
Spigot is up to date I just did newest builds and Denizen Dev Build is 4471 (11 hours ago). Maybe I am doing something wrong, or missed a change in these points?