Inactive [ADMN] SimpleRestart v1.1.0 - Simple server [automatic] rebooting and commands [1000]

Discussion in 'Inactive/Unsupported Plugins' started by FuzzyWuzzie, Jul 4, 2011.

  1. Offline

    DoctorBoyd

    Works great for me and it's simple. Thank you.
     
  2. Offline

    forceserver

    this plugin doesn't
    It isn't restart plugin
    It is stop plugin
    i use ubuntu
    #!/bin/sh BINDIR="\$(dirname "\$(readlink -fn "\$0")")" cd "\$BINDIR" while true do java -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar echo "If you want to completely stop the server process now, press Ctrl+C before the time is up!" echo "Rebooting in:" for i in 5 4 3 2 1 do echo "$i..." sleep 1 done echo "Rebooting now!" done

    and
    i change start.bat
    craftbukkit-0.0.1-SNAPSHOT.jar -> craftbukkit.jar
    because my craftbukkit-0.0.1-SNAPSHOT.jar name is craftbukkit.jar
    and i try start.bat
    but this doesnt'work
    just notting just stop

    oh my god...
    i don't know how to setting ...
    please setting please ...please...
    .bat name is start.bat
    -jar name is craftbukkit.jar
    myserver path is /root/Desktop/unjiserver
    i use linux (oubuntu) (64bit)
    so..
    i try
    .bat name changed start.bat
    craftbukkit-0.0.1-SNAPSHOT.jar changed craftbukkit.jar
    but ..
    result is just stop
    i don't open server
    please setting please ...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  3. Offline

    Jack Graham

    @FuzzieWuzzie Your'e my hero man!
     
  4. Offline

    wirher

    Great plugin!

    Tip:
    If you are using OS based on linux you must use "advanced" text editor to save script, like Notepad++. Otherwise "do" loop won't work.
     
  5. Offline

    davvem

    Ah, i got it to work! it pwns! much better than that epic fail RestartNow :l dosen't works :l Thank you so much for making this pluggin
     
  6. Offline

    decebaldecebal

    i have a problem starting today with this plugin
    sometimes when it says Server restarting... when it's the time to restart the server crashes idk why but when i use /restart now command it works
     
  7. Offline

    TelephoneKiosk

    When will this be updated?
     
  8. Offline

    Ralm

    @FuzzyWuzzie how to stop the server now?? Everytime I do /stop it restarts.

    Help!!
     
  9. Offline

    Swal

    I didn't see this suggested in the topic, but this is the extra line that finally got the loop working for me:
    setlocal EnableDelayedExpansion
    put it after the Echo, and you should be fine.
    Looks like it was permission that caused issue closing the server.
     
  10. Offline

    Sander Simonsen

    Hey ! :)
    realy nice plugin, but i got one problem
    When i type /restart now, it just shutdown
    It does not start up again !?
    Someone plz help me !!
    Thanks !
     
  11. Offline

    rty

    this falls to reboot up my sever i downt know how come but i know it has ben installed correctly so what is wrong?
    but at lest it can tern off my sever but can not boot it back up. :( and the mod gave me high hops and i am sure it is going to improve and be even better. but can i have some help on this?

    so i am not the only one that has this problem.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  12. Offline

    Typhome

    Please update.

    // Works with #1149
     
  13. Offline

    vander_fr

    CB-1185 ok, but cb 1217

    Code:
    >restart now
    23:51:09 [INFO] Ok, you asked for it!
    23:51:09 [INFO] [SimpleRestart] Restarting...
    23:51:09 [INFO] Le serveur redémarre revenez dans 2 minutes !
    23:51:09 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'restart' in plugin SimpleRestart v1.1.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:358)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:354)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NoSuchFieldError: console
            at com.hamaluik.SimpleRestart.SimpleRestart.stopServer(SimpleRestart.java:228)
            at com.hamaluik.SimpleRestart.SimpleRestartCommandListener.onCommand(SimpleRestartCommandListener.java:33)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 7 more
     
  14. This crap doesn't work for shit
     
  15. NOT WORKING ON 1200+ BUKKIT BUILDS!
     
  16. Offline

    4CMT

    'You don't have permission to do that!'
    Maybe it doesn't default to OP?
    (Inserts perm nodes)
    'You do not have permission to do that!'
    Dudewhy.
    Remove permissions.
    'Restarting Server'
    Good news.
    'Press any key to continue.'
    And that was my day. Great plugin, especially when it works.
     
  17. Offline

    King Pyro

    i get this:

    2011-10-04 20:14:49 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'restart' in plugin SimpleRestart v1.2.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:358)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:354)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class com.hamaluik.SimpleRestart.SimpleRestart
    at com.hamaluik.SimpleRestart.SimpleRestart.stopServer(SimpleRestart.java:258)
    at com.hamaluik.SimpleRestart.SimpleRestartCommandListener.onCommand(SimpleRestartCommandListener.java:33)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 7 more
     
  18. Offline

    MikeA

    It stops my server, but doesn't start it up again... What's the issue?
     
  19. Offline

    Dustin545

    i get a hudge error
     
  20. Offline

    Steven1811

    Here I've updated the Plugin for you. Only one change of a line was necessary in order to get this plugin working again. Works with Craftbukkit #1240.
     

    Attached Files:

  21. Offline

    smell_my_duty

    So... it doesnt start back upp :/ What do I do?
     
  22. Offline

    CuttyCZ

    Thanks buddy, hope that works
     
  23. Offline

    felinoel

    I have very limited access to an actual server that I would like to put a Minecraft server on, and so other than my initial installing of the server and this plugin I will have to rely on this plugin for restarting my Minecraft server. Could I update my Minecraft jar when needed during one of these restarts and would I never for any reason need to manually turn on the Minecraft server?

    How long do these restarts last? Is it just where it turns off and then instantly turns back on?
    If not, what would happen if I kicked everyone, then set it to restart in 15 minutes, then before those 15 minutes I swapped out the jar files and whatnot while it was still running?
     
  24. Offline

    danielcwr

    THANKS!!!!
    This helped SOOO MUUUCCCCHHH...........
    maybe a bit to much though, because now i cant even turn the server off...... :D
    Oh well.... still thanks SO much for this awesome plugin it will help me heaps!
    -danielcwr
     
  25. Can you update it for build #1317 :D?
     
  26. Offline

    Plumeex

    Great !
    It's so fast to reboot !
    When I reboot from my panel it's like 30 seconds !

    I love it ! Here for you [diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond]
     
  27. Offline

    *-Emax-*

    It give this error T.T

    2011-11-12 18:02:50 [INFO] [SimpleRestart] CraftPlayer{name=_Emax_} is setting a new restart time...
    2011-11-12 18:02:50 [INFO] [SimpleRestart] scheduling restart tasks...
    2011-11-12 18:02:50 [INFO] [SimpleRestart] reboot scheduled for 1 seconds from now!
    2011-11-12 18:02:51 [INFO] [SimpleRestart] Restarting...
    2011-11-12 18:02:51 [INFO] Server is restarting, we'll be right back!
    2011-11-12 18:02:51 [SEVERE] Exception in thread "Timer-10"
    2011-11-12 18:02:51 [SEVERE] java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class com.hamaluik.SimpleRestart.SimpleRestart
    2011-11-12 18:02:51 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart.stopServer(SimpleRestart.java:258)
    2011-11-12 18:02:51 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart$2.run(SimpleRestart.java:221)
    2011-11-12 18:02:51 [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)
    2011-11-12 18:02:51 [SEVERE] at java.util.TimerThread.run(Unknown Source)



    Please fix,i need this plugin ò.ò
     
  28. Offline

    xSDMx

    Could you please re-link this? The attachment isn't working. :(
     
  29. Offline

    *-Emax-*

    Another error whit last bukkit:

    Code:
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'restart' in plugin SimpleRestart v1.2.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:365)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class com.hamaluik.SimpleRestart.SimpleRestart
        at com.hamaluik.SimpleRestart.SimpleRestart.stopServer(SimpleRestart.java:258)
        at com.hamaluik.SimpleRestart.SimpleRestartCommandListener.onCommand(SimpleRestartCommandListener.java:33)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
    Please fix this,i need!!!!!!!
     
  30. Offline

    TyroCraft

    I also get this:

    11:04 PM [SEVERE] Exception in thread "Timer-6"
    11:04 PM [SEVERE] java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class com.hamaluik.SimpleRestart.SimpleRestart
    11:04 PM [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart.stopServer(SimpleRestart.java:258)
    11:04 PM [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart$2.run(SimpleRestart.java:221)
    11:04 PM [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)
    11:04 PM [SEVERE] at java.util.TimerThread.run(Unknown Source)

    Please help
     

Share This Page