Will someone please update SimpleRestart (automatic server rebooting)

Discussion in 'Archived: Plugin Requests' started by hotshot0101, Oct 3, 2012.

  1. Offline

    hotshot0101

    Very useful plugin that i feel has almost been abandoned! It has a problem where it starts counting backwards after a restart. http://dev.bukkit.org/server-mods/simple_restart/ Please. Many people are waiting for an update and we are stuck manually restarting our servers! and no this is not for the current version of minecraft. it says 1.3.1 while we are on 1.3.2​
     
  2. Offline

    KeybordPiano459

    Give me some time. This is the third request I've promised today, and I'm not even home :p ill make it and get back to you as sign as I can.
     
  3. Offline

    PogoStick29

    hotshot0101 The latest version is for 1.3.1-R2.0 and the status is Release.
     
  4. Offline

    KeybordPiano459

    Well in that case, I'm not doing it :p
     
    AndyMcB1 likes this.
  5. Offline

    RingOfStorms

    Why would you need a fancy plugin to restart a server? In server all you have to do in your run.bat is

    @ECHO OFF
    :A
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.3.2.jar
    GOTO A

    oh yea.. infinite loop that restarts automatically, no plugins needed.
     
  6. Offline

    hotshot0101

    yes it needs to be updated to 1.3.2 its giving us all errors for automatic scheduled server rebooting. after a scheduled reboot it restarts but then instead iof counting down to the next reboot it counts reverse. we are all having problems and waiting for a fix not just me MANY. look at the comments on the plugins main page.

    RingOfStorms i am not talking about just creating a loop. its automatic scheduled reboots with a timer.

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

    RingOfStorms

    ah ic ic sry
     
  8. Offline

    JayzaSapphire

  9. Offline

    -_Husky_-

    Yeah, I did, There was a lot of bugs in it's small contents, Maybe I'll rewrite it.

    This works for me..

    Try editing your .bat file again

    My .bat file:

    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    :start
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    goto start
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 29, 2016
  10. Offline

    RingOfStorms

    as he told me.. he want's it to automatically restart every blabla minutes. So editing our batch file is not the only solution.
     
  11. Offline

    Reptar_

    How do I edit a Mac start.command file to restart upon the server command /stop?
     
  12. Offline

    seiterseiter1

    Right-Click it then go to open with then find textedit.
     
  13. Offline

    Reptar_

    I knew that. I just don't know what to edit.
     
  14. Offline

    seiterseiter1

    Well what are you wanting to do though.
     
  15. Offline

    Reptar_

    When my console executes /stop, the server will automatically start back up after a few seconds of downtime.
     
  16. Offline

    seiterseiter1

    Copy and paste one of the codes that has been provides on the page by other people who have knowledge with bukkit and coding and just replace it with the old startup code.
     
  17. Offline

    Reptar_

    There is no code on this page for Mac. The ones above are for Windows. (I'm assuming.)
     
  18. Offline

    seiterseiter1

    Im sorry then im not so good with mac.
     
  19. Offline

    np98765

    You're using RemoteToolKit, then?
     
  20. Offline

    hotshot0101

    please reptar not to be rude but make your own post. i want people to focus on the original post
     
  21. Offline

    Reptar_

    I have no clue how to use that. Tried and failed.
     
  22. Offline

    Ahmet094

  23. Offline

    -_Husky_-

    The plugin they want updated, works..

    http://dev.bukkit.org/server-mods/simple_restart/

    It requires you to use the bat file. Like so.

    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    :start
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
    PAUSE
    goto start
    Mac & Linux

    Code:
    			#!/bin/sh
    			BINDIR=$(dirname "$(readlink -fn "$0")")
    			cd "\$BINDIR"
    			while true
    			do
    				java -Xmx1024M -Xms1024M -jar craftbukkit.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
    As for RemoteToolKit, my mate said it wasn't an encrypted connection, leaving it open for hackers.
     
  24. Offline

    HollowCube

    @hotshot0101 If this goes outdated/inactive I'd create a new plugin to do this, but it seems to run fine on the current recommended build. Just because the current version wasn't built against the newest version of Bukkit it doesn't always mean that it's going to be broken, as long as it still runs fine on it. For all I know it's still being supported, but be sure to alert me otherwise.
     
  25. Offline

    Milkywayz

    Im not sure if that is true, however the likelihood you would get hacked solely due to remote toolkit is so low you can't really count it as insecure. I've used it for a long time before switching to ABM, and I have never had any problems with security. Even if the person knew they could use telnet to connect to the console they'd need your user name and password that you set up, and in most cases theres never a user/pass set up since usually people don't know about it.
     
  26. Offline

    hotshot0101

    wow you guys aren't listening it doesn't count properly 30% of the time after a restart please look at the comments on the main page http://dev.bukkit.org/server-mods/simple_restart/
    yes we are using the bat file it still doesnt work after restart 30% of the time LISTEN
     
  27. Offline

    filurp

    hotshot0101 Hey, i have took on a request of making a new Restarter plugin with a fully customizable config with Times and custom messages. So i will be sue to contact you when it is finished ;)
     
  28. Offline

    -_Husky_-

    This project isn't abandoned, either, PM the dev
     
  29. Offline

    hotshot0101

    ok thank you filurp this is a must have

    another problem, sometimes it just reloads insteading of restarting

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

    np98765

    How very nice of you.
    By the way, we can't listen -- After all, this is the interwebz, not a conference call. ;)
     

Share This Page