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

    jg16jg

    How would you edit the start.command file on a mac?
    Code:
    #!/bin/bash
    cd "$( dirname "$0" )"
    java -Xmx1024M -Xms1024M -jar craftbukkit.jar
     
  2. Offline

    blipman17

    can you make an option for auto stopping te server, (not after a sertin amounth of time, but at a specific time?)
    and maybe a shutdown script for the whole computer (linux or windows)
    also, if a server crashes, can you make an auto reboot system that reboots after the server is down for 5 minutes?
     
  3. Offline

    ThunderWaffeMC

    Please someone bring an update for 1.2.5! This is a great plugin and I can't find anymore!
     
  4. Offline

    Four_Down

    Yes, someone please update this for 1.2.5!
     
  5. Offline

    Orakuls

    Dear FuzzyWuzzie!I really liked your plugin, but why do you continue to develop it stopped?
    Please, be so kind and translate this plugin to version 1.2.5!
    With loves from Russia :p [diamond]

    Будь няшей, лол :3

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

    smiggle0404

    hi fuzzy idk if you will get this comment, but can you plz update to 1.2.5! ive spent two days searhing for a restarter on a mac, and i cant find anything but this one! but whn i do everything right, when i start my server I get this:
    07:32:39 [INFO] [SimpleRestart] Enabling SimpleRestart v1.2.0
    07:32:39 [INFO] [MCNSAChat] permissions successfully loaded
    07:32:39 [SEVERE] Error occurred while enabling SimpleRestart v1.2.0 (Is it up to date?)
    java.lang.NoSuchMethodError: com.hamaluik.SimpleRestart.SimpleRestart.getConfiguration()Lorg/bukkit/util/config/Configuration;
    at com.hamaluik.SimpleRestart.SimpleRestart.loadConfiguration(SimpleRestart.java:146)
    at com.hamaluik.SimpleRestart.SimpleRestart.onEnable(SimpleRestart.java:55)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Please help fuzzy
     
  7. Offline

    joehot2000

    hmm :/
    i have it so when i type /stop the script is set to run the server again in 30 seconds..
    then in 30 seconds server starts up again.
    woult it be possible to just make it use /stop
    how do i configure the time till server starts again in a reastart...
    for norm restart, i would like 10 seconds, cos of my impatient users!

    how do i do that? can i just use my ./run.sh file to it stops, then comes bak up in 30 seconds?
    does this plugin even work for 1.2.5?

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

    davids13

    Where do you put the startup script info what folder does it go in
     
  9. Offline

    Chrisski3

    When I start up my server, I get this error:
    [INFO] [SimpleRestart] Enabling SimpleRestart v1.2.0
    2012-06-26 01:05:35 [INFO] [MCNSAChat] permission system not detected, defaulting to OP
    2012-06-26 01:05:35 [SEVERE] Error occurred while enabling SimpleRestart v1.2.0 (Is it up to date?)
    java.lang.NoSuchMethodError: com.hamaluik.SimpleRestart.SimpleRestart.getConfiguration()Lorg/bukkit/util/config/Configuration;
    at com.hamaluik.SimpleRestart.SimpleRestart.loadConfiguration(SimpleRestart.java:146)
    at com.hamaluik.SimpleRestart.SimpleRestart.onEnable(SimpleRestart.java:55)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:381)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:197)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

    This works for me, and im using Craftbukkit R04!

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

    mart2011

    tank you for make a restart plugin. only can you update this plugin to 1.2.5?
     
  11. Offline

    NorthAntrim

    I have everything set up, and my startup batch file has been modified so after /stop'ing, it automatically starts again, but when I do /restart time or /restart now it says

    Code:
    00:03:07 [INFO] usage:
    00:03:07 [INFO]     /restart now
    
    ? :S
     
  12. Offline

    tjbiker

    I run my server on OS Lion so what should I put in as the code?
     
  13. Offline

    GhOsT_935

    When will this be updated to 1.3.1

    Thnkz
     
  14. Offline

    grid21

    I get this error on start up

    2012-09-03 12:50:54 [INFO] [MCNSAChat] permission system not detected, defaulting to OP
    2012-09-03 12:50:54 [SEVERE] Error occurred while enabling SimpleRestart v1.2.0 (Is it up to date?)
    java.lang.NoSuchMethodError: com.hamaluik.SimpleRestart.SimpleRestart.getConfiguration()Lorg/bukkit/util/config/Configuration;
    at com.hamaluik.SimpleRestart.SimpleRestart.loadConfiguration(SimpleRestart.java:146)
    at com.hamaluik.SimpleRestart.SimpleRestart.onEnable(SimpleRestart.java:55)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
    at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
     
  15. Offline

    hotshot0101

    Please update! Or someone that knows how to code please fix the time counting backwards after server restart! This is a very important server plugin. Thanks. I am using the latest bukkit build 1.3.2 r.3
     
  16. Offline

    hotshot0101

    updated bukkit to the lastest 1.3.2 r1.1 still the same problem. counting in reverse
     
  17. Offline

    stoneminer02

    You can aslo only use
    Read it here (open)
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    :start
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit.jar
    echo Rebooting now!
    goto start

    But if you running java 6 enter this:
    Java 6 code (open)
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    :start
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit.jar
    echo Rebooting now!
    goto start

    But if you use this you has to enter "/stop" and it reboots and it not gonna be any warnings!!
     
  18. Offline

    Alvin1111

    Can It restart while people are in game? or does it shut down then open again
     
  19. Offline

    Alvin1111

    Whenever I try to type /restart now or any other command it says
    Usage:
    /restart now
    How can I fix this?
     
  20. Offline

    socram8888

    Here's my Minecraft start script, feel free to use it:
    Code:
    #!/bin/bash
    cd files
    RESETFILE=plugins/SimpleRestart/restart.txt
     
    while true; do
        rm -f $RESETFILE
        CB=`ls -t -1 craftbukkit-*.jar | head -1`
        echo ">>> RUNNING $CB"
        java -Xmx1G -Xms1G -jar $CB
        echo ""
        if [ -f $RESETFILE ]; then
            echo ">>> RESTART"
        else
            echo ">>> STOP"
            break
        fi
    done
    
    Put all the CraftBukkit files (the .jar, the plugins folder, maps folders, ...) on a subfolder called "files", then run this script. You may need to mark this script as executable using "chmod +x [FILENAME]".

    It will automatically run the latest (based on access time) CraftBukkit .JAR available on the files folder. If you want to use an specific version, change:
    Code:
    CB=`ls -t -1 craftbukkit-*.jar | head -1`
    to:
    Code:
    CB=craftbukkit-1.3.2-R2.0.jar
    You can use this script in Windows too, using MSYS from the MingW (a very useful toolkit for developers)
     
  21. Offline

    YaYa7979

    What version of Minecraft is it compatible with currently??
     
  22. been using it since 1.2.5, just sometimes getting "something went wrong while saving & stoping!" otherwise works great
     
  23. Offline

    Fooshy122

    [quote uid=97281 name="icychicken5" post=459177]I'm not sure if this was stated already, and I just couldn't find it, but can I, or how do I, edit my startup script if I run my server on a Mac.[/quote]
    I combined the basic bukkit script with the linux script on a mac and It worked pretty well so far. Here is the Script:

    <Edit by Moderator: Redacted mediafire url>

    (It wouldn't keep the proper spacing so you can just download it)
     
    Last edited by a moderator: Nov 27, 2016
  24. Offline

    Davis_1377

    What about for the linux MineOS Crux? I cant seem to find the startup file? is it named different then craftbukkit.sh? Please help
     
  25. Offline

    MooManCow

    I'm trying to set this up with Multicraft. However, whenever I run the "/restart now" command, it just says "[Server] INFO Startup script 'start.bat' does not exist!" in the console. I tried adding a start.bat file but it still wouldn't work. Any help?
     
  26. Offline

    Ironic_8b49

    I am new at this, I have the plug-in running, gave myself all three perms, keeps coming back I don't have permission, if I type /restart it gives me the help info, if I type /restart help I get I don't have permission. What am I missing?
     
  27. Offline

    Garris0n

    Well this post is two years old, no guarantees it actually works...
     
  28. Offline

    Ironic_8b49

    @Garris0n
    I couldn't find anything working at that site, this plug-in is the only one I have not been able to figure out. I know I have not wrote the script for minecraft.sh. I'm, not even sure if it will reboot server yet will find out tonight scheduled for reboot later tonight.
     

Share This Page