Spigot ServerRestart [1.13-1.16] 2.3.0

Pretty automatic restart for your server

  1. i0xHeX submitted a new resource:

    ServerRestart - Auto restart with notifications

    Read more about this resource...
  2. Not work.
    Spigot 1.12.2

    09.06 06:03:34 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91] 09.06 06:03:34 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [Spigot-1.12.2.jar:git-Spigot-2086bb0-8cc5a7e] 09.06 06:03:34 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [Spigot-1.12.2.jar:git-Spigot-2086bb0-8cc5a7e] 09.06 06:03:34 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338) [Spigot-1.12.2.jar:git-Spigot-2086bb0-8cc5a7e] 09.06 06:03:34 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383) [Spigot-1.12.2.jar:git-Spigot-2086bb0-8cc5a7e] 09.06 06:03:34 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422) [Spigot-1.12.2.jar:git-Spigot-2086bb0-8cc5a7e] 09.06 06:03:34 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330) [Spigot-1.12.2.jar:git-Spigot-2086bb0-8cc5a7e] 09.06 06:03:34 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381) [Spigot-1.12.2.jar:git-Spigot-2086bb0-8cc5a7e] 09.06 06:03:34 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [Spigot-1.12.2.jar:git-Spigot-2086bb0-8cc5a7e] 09.06 06:03:34 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [Spigot-1.12.2.jar:git-Spigot-2086bb0-8cc5a7e] 09.06 06:03:34 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[Spigot-1.12.2.jar:git-Spigot-2086bb0-8cc5a7e] 09.06 06:03:34 [Server] INFO at ua.i0xhex.srestart.ServerRestart.onEnable(ServerRestart.java:15) ~[?:?] 09.06 06:03:34 [Server] INFO at ua.i0xhex.srestart.Scheduler.start(Scheduler.java:25) ~[?:?] 09.06 06:03:34 [Server] INFO at ua.i0xhex.srestart.Scheduler.getDelayTicks(Scheduler.java:62) ~[?:?] 09.06 06:03:34 [Server] INFO at com.cronutils.parser.CronParser.parse(CronParser.java:110) ~[?:?] 09.06 06:03:34 [Server] INFO java.lang.IllegalArgumentException: Cron expression contains 5 parts but we expect one of [6, 7] 09.06 06:03:34 [Server] ERROR Error occurred while enabling ServerRestart v1.0.0 (Is it up to date?) 09.06 06:03:34 [Server] INFO Enabling ServerRestart v1.0.0
  3. Your error is: Cron expression contains 5 parts but we expect one of [6, 7]
    That means you used 5 variables to cron task, but you must use 6 or 7 instead.
    Year is not required.
  4. i0xHeX updated ServerRestart with a new update entry:

    Update 1.1.0

    Read the rest of this update entry...
  5. i0xHeX updated ServerRestart [1.13.x] with a new update entry:

    Update 1.2.0

    Read the rest of this update entry...
  6. 1.8 please and command to stop the timer the auto restart :)
  7. Sorry, but I do not prefer to stay at old versions. They forces developers to make more work in order to support it, but there are no good reasons to stay at that version. A lot of bugs here, a lot of missing api and features here. In future 1.8 will be like 1.5 so be aware. Please update your server to to 1.13.2 or the other way hire dev to support plugins on version you stay at. I recommend you to be on the step with new, so you will have more features, more free support and resources :)

    Nice idea about the command! I will add it with other command I planned to include. Thanks.
  8. Sorry I wont b upgrading :/ I got a server that's gotta be 1.8 well its 1.8 to 1.11.2 but everyone joins 1.8 due to pvp its a gun pvp server with cars ect that is the reason :p
  9. You can try plugins to enable old pvp mechanics on new versions, like this one.
  10. It wont work for guns I need old projectiles :( feels bad
  11. What I must add to start.sh?
  12. Nothing, plugin using spigot api to restart the server, no additional soft needed.
  13. So... Only upload your plugin and its done? No need to create file with name start.sh?
  14. Yes, exactly
  15. I have small problem. I restarted my server using this plugin... But server only stops running...
    I have in spigot.yml ./start.sh but I dont have start.sh file in server files.
  16. Then I was wrong. You need start.sh or start.bat (depending on how you run your server) on vps, or contact to (hosting) support, if you run server on hosting. In some way my server on hosting restarts without problems and without start.sh visible (on FTP).
  17. So.. If I will create start.sh.. what I must add to this file?
  18. Do you use VPS? If yes, you should already have start file to run your server.
    If you use some hosting without SSH access, then you probably can't solve issue without hosting support, because they mostly use hidden start scripts and not allow to use own.
  19. Iam using hosting.. But its problem.. My hosting dont want to use these plugins...
  20. So you should consider to change to better one.