[INACTIVE][ADMN] AutoStop v0.53 - Time-Based Server Shutdowns and Restarts [531]

Discussion in 'Inactive/Unsupported Plugins' started by dv90, Mar 6, 2011.

  1. Offline

    dv90

    Server AutoStop
    Time-Based Scheduled Server Shutdowns and Restarts
    I no longer support this plugin as I don't have the time. Sorry. Plugin devs. can edit the source and release it as they want. The current version is somewhat functional on some systems but not others.

    Version: v0.53
    Source: v0.53
    Requirements: Permissions v2.0/2.5+ (Optional)

    A simple plugin that saves player and chunk data then shuts the server down at a specified time.

    The plugin will automatically put AutoRestart.jar in your bukkit directory.
    Don't run it; it won't do anything.
    Do not delete or move it.
    If your server doesn't auto restart, post your restart_log.txt here.
    If there is no restart_log.txt, you're doing it wrong.
    If you use a .bat file (server_nogui.bat), set your path to: path=start server_nogui.bat

    NOTE TO ANYBODY USING AN EXTERNAL SERVER:
    Remember, your server's timezone may be different. Take that into account when setting up your autostop.properties.

    Features:
    • Saves Player Data
    • Saves Chunk Data
    • Gives a custom warning at specified time before shutting down
    • Quickly shuts server down
    • Uses autostop.properties to specify what time (24-hour clock) it should shutdown at
    • Automatically creates the properties file if it doesn't exist
    • Automatically restarts server (if you enable it)
    • Multiple restart times
    Changelog (open)

    Version 0.53 (Current)
    • Fixed a few small bugs
    • Kicks all players before shutting down
    • Updated to latest RB
    Version 0.52
    • Supports multiple warn times now
    • Other small fixes
    Version 0.51
    • Fixed a small problem with the syntax of the auto-generated autostop.properties file.
    Version 0.5
    • Multiple stop/restart times
    • Added better support for Windows cmd users
    Version 0.4
    • /reboot and /restart commands
    • Permissions support for commands
    Version 0.3
    • Automatic server restarts
    • Stop/Warn time precision works with seconds now
    Version 0.2
    • Added configurable warning message and warning time
    • Attempted automatic restarts but had no luck; possible in a future release
    Version 0.1
    • Release

    FAQs (open)

    Don't use permissions? Just OP yourself.

    What is the permission? autostop.use


    Commands:
    • /reboot - Immediately saves data and restarts the server.
    • /restart - Same as reboot.
    Properties Example:
    Code:
    stoptime=12:00:00 12:05:00 12:10:00
    # Use 24-hour time. Separate times with a space. [Hour:Minute:Second]
    warntime=0:10 0:30 1:00 5:00 15:00
    # Displays warning this many min:sec before shutting down. Separate with space. [Minutes:Seconds]
    warnmsg=Shutting down...
    # Warning message to display.
    enablerestart=true
    # Enables automatic server restarts. If this is true, path must not be blank.
    path=java -jar craftbukkit.jar
    # Path to server file (including any arguments). This can also be a command if you are using crontab/screen/etc.
    # Linux screen example:
    # path=screen -dmS MinecraftServer java -jar craftbukkit.jar
    
    Suggestions and feedback appreciated! :)
     
  2. Offline

    dak393

    Could you add a time to the restart message ex: (Restarting server in X minutes)
     
  3. Offline

    Forces

    My Problem!!

    2011-03-16 18:26:27 [INFO] Starting minecraft server version Beta 1.3
    2011-03-16 18:26:27 [INFO] Loading properties
    2011-03-16 18:26:27 [INFO] Starting Minecraft server on 192.168.2.103:25565
    2011-03-16 18:26:27 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-450-gd3c1ba4-b432jnks (MC: 1.3)
    2011-03-16 18:26:27 [INFO] Preparing level "world"
    2011-03-16 18:26:27 [INFO] Preparing start region
    2011-03-16 18:26:28 [INFO] [AutoStop] Permissions not enabled.
    2011-03-16 18:26:28 [INFO] AutoStop Enabled. Windows 7
    2011-03-16 18:26:28 [INFO] [AutoStop] Scheduled for shutdown at time(s): 18:27:00
    2011-03-16 18:26:28 [INFO] BorderGuard Lite (Round) version 2.0 is enabled!
    2011-03-16 18:26:28 [INFO] CreeperNerf enabled.
    2011-03-16 18:26:28 [INFO] Minecart Mania Core version 0.98b is enabled!
    2011-03-16 18:26:28 [INFO] MultipleHomes version 0.1 is enabled!
    2011-03-16 18:26:28 [INFO] [MultipleHomes] Settings Loaded!
    2011-03-16 18:26:28 [INFO] SignLift version 0.6 is enabled :)
    2011-03-16 18:26:28 [INFO] TreeHugger is enabled!
    2011-03-16 18:26:28 [INFO] VoxelSniper version 3.1b is enabled! Snipe away.
    2011-03-16 18:26:28 [INFO] Done (990420416ns)! For help, type "help" or "?"
    2011-03-16 18:27:00 [INFO] [AutoStop] Shutting down server.
    2011-03-16 18:27:00 [SEVERE] Exception in thread "Thread-4"
    2011-03-16 18:27:00 [SEVERE] java.lang.NoSuchMethodError: org.bukkit.Server.savePlayers()V
    2011-03-16 18:27:00 [SEVERE] at net.hailxenu.serverautostop.AutoStopLoop.run(AutoStopPlugin.java:242)
    2011-03-16 18:27:00 [SEVERE] at java.lang.Thread.run(Unknown Source)
    2011-03-16 18:27:34 [INFO] 143 recipes


    Settings:
    stoptime=18:27:00
    # Use 24-hour time. Separate times with a space.
    warntime=1:00
    # How many seconds before shutdown/restart to show warning. Separate times with a space.
    warnmsg=Shutting down server...
    # Warning message to display.
    enablerestart=true
    # Enables automatic server restarts. If this is true, path must not be blank.
    path=start C:\Users\simon\Desktop\MINECRAFTSERVER\server_nogui.bat
    # Path to server file (including any arguments). This can also be a command if you are using crontab/screen/etc.


    Please help me !!!!
     
  4. Offline

    dak393

    Hmm seems to not be working as intended for me. Running Craftbukkit #556 (That might be why) but there were no warnings before restart, and the server did not start up again (That could be my fault in the path)
     
  5. Offline

    Forces

    The server dont Stop! he only show the text, like top
     
  6. Offline

    dv90

    Forces: Your version of Bukkit is too old. Please update it.
     
  7. Offline

    Xylogeist

    Can you add automatic world saves to this? I know there should be a plugin out there that does that... but getting another one for that is dumb :p
     
  8. Offline

    gnftoxic

    This plugin does save the worlds.
    Code:
    MCServer.savePlayers();
    for(org.bukkit.World w : MCServer.getWorlds())
    {
        w.save();
    }
    
    Lines 204-209 of https://github.com/dv90/Server-Auto...t/hailxenu/serverautostop/AutoStopPlugin.java

    Are your world(s) not saving?
     
  9. Offline

    dak393

    I believe he means saving the server without restarting (hourly saves with save-all?)
    Also I am still very confused on what to put for the path (I've read all the posts up to this) I'm running OSX 10.6 craftbukkit 556 and my current path is: java -Xms2048M -Xmx2048M -jar craftbukkit.jar nogui
    tried many others as well including cd /Users/****/Desktop/Bukkit/java -Xms2048M -Xmx2048M -jar craftbukkit.jar nogui
    could I have this plugin open a .command file to start the server?
    EDIT: it seams that the first path starts the craftbukkit jar but I can't connect to it and no new window appears, It only shows up in my activity monitor.
     
  10. Offline

    Ape3000

    For me it does shutdown the server, but doens't reboot it.

    My configuration:
    "screen -dmS minecraft minecraft-server" does work when I use it manually.

    I don't get any restart_log.txt files, but I really don't know what I am doing wrong. At least it halts the server.
     
  11. Offline

    madferret

    wonderful plugin and very useful..
    i'm using it on windows 7 platform and the automatic restart works very fine except that it doesn't close the old "cmd-window" where i started the server at first time, meaning after 8 restarts i've got 8 "cmd-windows".
    At the end of the line it says "push any button to close this window" , does anybody has a solution for this problem ? =) would be great !
    And sorry for my fucked up english ^o^

    Edit: this is how my config file looks like, maybe that could help you guys :

    stoptime=14:30:00 18:30:00 22:30:00 02:30:00 06:30:00 10:30:00
    # Use 24-hour time. Separate times with a space. [Hour:Minute:Second]
    warntime=0:30
    # How many seconds before shutdown/restart to show warning. Separate times with a space.[Seconds]
    warnmsg=Shutting down server...
    # Warning message to display.
    enablerestart=true
    # Enables automatic server restarts. If this is true, path must not be blank.
    path=java -jar craftbukkit-0.0.1-SNAPSHOT.jar
    # Path to server file (including any arguments). This can also be a command if you are using crontab/screen/etc.
     
  12. Offline

    Xylogeist

  13. Offline

    qrux

    @dv90 Can you please implement a scheduled/automated/time-based reload function? So that we can i.e. reload the Permissions file.
    Thanks! :)
     
  14. Offline

    Nytemare3701

    I have the server set up to warn 30 seconds in advance. Instead of warning in advance, it warns less than a second before it stops.
     
  15. Offline

    TheNorthFace

    Only complaint!
    I LOVE THIS I SUGGESTED THIS IN SUGGESTIONS:)!
    THXS!
    Complaint: After restart you can't say anything (must reconnect) fix this please!?!
     
  16. Hey, I was wondering if it is possible to run a batch file to start the server after a restart.
    I use Biome Terrain Mod, and this is what the batch startup thing looks like...
    @echo off
    "%ProgramFiles(x86)%\Java\Jre6\bin\java" -Xmx1536M -Xms1536M -cp BiomeBukkit.jar;craftbukkit.jar org.bukkit.craftbukkit.Main

    I need Biome Terrain (BiomeBukkit.jar) to start up with it like this, or the server will generate crappy cut offs on mountains and stuff...

    Please help me!
     
  17. Offline

    gauss5546

    @Michael Mitchell check out the first post. In it I found this: If you use a .bat file (server_nogui.bat), set your path to: path=start server_nogui.bat

    So just direct the program to your bat file and it should work.
     

  18. Yeah, I have already tried that many different ways.

    my Bat that start that is called "start" and this is what I have tried

    path=start start.bat
    path= start "C:\Users\MichaelMitchell\Desktop\BUKKIT\start.bat"

    and many others...
     
  19. Offline

    dirkson

    Unfortunately, whenever I try this plugin, it only restarts my server some of the time. My restart script runs quite while when I manually run it, so I imagine this must be the fault of the module. I'm happy to give any details you might find useful in troubleshooting, but I'm not sure what those would be yet.
     
  20. Offline

    dv90

    I'm sorry about some people having some issues with the plugin. There's only so much I can test and debug. Thank everyone who has been testing and using my plugin. This was the first plugin I have ever made for Bukkit so I knew there would be some problems. Also, thank you to the people who are helping other users get it set up, I've had a busy week and haven't been able to provide much support.
     
  21. Offline

    u83rju1c3

    Of course there are going to be some issues with a plugin :)

    Alrighty then, here is my main concern, the server does not appear to be restarting as I requested. I haven't changed anything, and it used to work. Now I get errors like this in the cmd window:

    00:54:22 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to ServerAutoStop
    java.lang.NullPointerException
    at net.hailxenu.serverautostop.AutoStopPlayerListener.onPlayerCommandPre
    process(AutoStopPlayerListener.java:40)
    at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.ja
    va:182)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:637)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    This happens whenever I try to /restart from the client.
     
  22. Offline

    Nytemare3701

    Bug: This doesn't actually disable any plugins. It basically cuts the power without letting them save.
     
  23. Offline

    gnftoxic

    @Nytemare3701
    @u83rju1c3

    I have an updated version for you guys, however it is untested. dv90 told me to upload it to github and update the first post, but I'm going to hold off on that until I know it's working. If you'd like to test the version before it is the official next version, please try this .jar file:
    http://projects.xenustats.com/.test/AutoStop.jar (Note: this is compiled against build #556 - this may or may not work for earlier versions)
    The update includes:
    • switch from onPlayerCommandPreprocess to onCommand.
    • fix for plugins not being disabled on shutdown, now they are shut off the moment before player information is saved.
    Thanks guys.
     
  24. Offline

    Oifan

    dv90, it seems like you were in a hurry.
    Look once again in AutoPlugin.java, class AutoStopLoop, constructor [lines 177-183]:
    Code:
            int wm,ws;
            for(String s : warntime.split(" "))
            {
                wm = Integer.parseInt(warntime.split(":")[0]);
                ws = Integer.parseInt(warntime.split(":")[1]);
                WarnTimes.add(new StopTime(0, wm, ws));
            }
    
    Do you see the problem ? It works only if warntime contains no " ".

    dv90, I see you are a beginner in programming, or at least you haven't tested your plugin with non-trivial values.
    What will happen if someone sets non-zero minutes as warntime ? Method doWarn in class StopTime throws away those minutes (warnSec % 60) and takes only seconds. Nice. Also isNow is kinda overcomplicated (why taking the NOW time moment 3 times ?). If you are not sure what the result is, try to put at least System.out.println(result) statements for testing purposes...
    Well, this is how it should look like:
    Code:
        public Boolean isNow()
        {
            final Calendar now = Calendar.getInstance();
            return (Hour == now.get( Calendar.HOUR_OF_DAY )
                    && Minute == now.get( Calendar.MINUTE )
                    && Second == now.get( Calendar.SECOND )
                );
        }
    
        public Boolean doWarn(StopTime warn) {
            final Calendar nowPlusWarn = Calendar.getInstance();
            nowPlusWarn.add( Calendar.HOUR_OF_DAY, warn.Hour );
            nowPlusWarn.add( Calendar.MINUTE, warn.Minute );
            nowPlusWarn.add( Calendar.SECOND, warn.Second );
    
            return (nowPlusWarn.get( Calendar.HOUR_OF_DAY ) == this.Hour
                    && nowPlusWarn.get( Calendar.MINUTE ) == this.Minute
                    && nowPlusWarn.get( Calendar.SECOND ) == this.Second
                );
        }
    
    dv90, it's actually working :) I thought there will be more severe bugs so that your plugin won't work for multiple restart times and multiple warning times, but after my 2 fixes it's working :)
    The last issue is rather cosmetic, but important -- to inform players how much time they have left until shutdown/restart -- it can be easily done in AutoStopPlugin.java, class AutoStopLoop, method run like this:
    Code:
                        if(t.doWarn(w))
                        {
                            MCServer.broadcastMessage(org.bukkit.ChatColor.RED + WarnMessage
                                    + org.bukkit.ChatColor.WHITE + " (in " + w.Minute + "m " + w.Second + "s)" );
                        }
    
    Of course it's not nice since it's in static format, appended to the user-defined warnmessage -- if you will have some time, you could use built-in String.format method and let the user enter it with special literals (e.g. %d instead of minutes and also seconds) -- see example here:
    http://www.rgagnon.com/javadetails/java-0463.html
    and documentation here:
    http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html#format(java.lang.String, java.lang.Object...)

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

    DjAli

    It just shut down the server, the restart do not work..
    Or I`m just to stupid to add path...

    I`m using Ubuntu and I start server with shell Script with name Start

    Can somebody help me?
     
  26. Offline

    Nytemare3701

    This one utterly fucked my plugins. Nothing works after the restart, I'm getting nullpointers from LWC, etc.
     
  27. Offline

    Oifan

    The solution is simple -- if you want that your bukkit server is always running (or restarting), use this batch (you can name it start.sh):

    Code:
    #!/bin/bash
    while true; do
      java -Xmx1536M -Xms1536M -jar craftbukkit.jar nogui
      sleep 15
    done
    
    Of course you can use other parameters for java, I personally have added SQLite to classpath (and removed duplicate SQLite JARs):
    Code:
    java -Xmx1536M -Xms1536M -cp lib/sqlite.jar:craftbukkit.jar org.bukkit.craftbukkit.Main nogui
    One more thing: don't use enablerestart=true, because that's what my start.sh is doing.
    So when using my start.sh, always use:
    Code:
    enablerestart=false
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  28. Offline

    dv90

    @Oifan: It's not that I'm a beginner or that I was in a hurry. I just had a lot of stress when I was writing it as I was also studying for my SAT. I've been pretty busy the past couple of weeks and haven't been able to update the plugin. Thanks for the fixes, I'll add them in for my next update along with some other general fixes, code clean ups and new features. The update should be out by the end of the week.
     
  29. Offline

    Nickname97

    Question. Should this be the path?

    /Users/[Username]/Desktop/Bukkit Server java -jar craftbukkit.jar

    I am running MAC OS X 10.5.8 by the way.
     
  30. Offline

    luna0316

    So i love the concept behind this plugin, however on my server it seems not to be working, this is the log apearing in my command promt window (it blew up upon starting the server, and when i typed out /reboot ingame, however i did get a message ingame saying restarting server but it didnt)

    Code:
    23:52:49 [INFO] Starting minecraft server version Beta 1.3
    23:52:49 [INFO] Loading properties
    23:52:49 [INFO] Starting Minecraft server on *:25565
    23:52:49 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-
    g6c6c30a-b556jnks (MC: 1.3)
    23:52:49 [INFO] Preparing level "world"
    23:52:49 [INFO] Preparing start region
    23:52:49 [INFO] [Permissions] version [2.5.2] (Phoenix) was Initialized.
    23:52:50 [INFO] WorldGuard loaded.
    23:52:50 [SEVERE] For input string: "10 0" loading ServerAutoStop v1.0.0 (Is it
    up to date?)
    java.lang.NumberFormatException: For input string: "10 0"
            at java.lang.NumberFormatException.forInputString(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at net.hailxenu.serverautostop.AutoStopLoop.<init>(AutoStopPlugin.java:1
    81)
            at net.hailxenu.serverautostop.AutoStopPlugin.onEnable(AutoStopPlugin.ja
    va:135)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    23:52:50 [INFO] [Cleaner] version [1.7] (Hit) loaded
    23:52:50 [INFO] Loaded Essentials build 2.0.295 maintained by Zenexer, ementalo,
     Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    23:52:50 [INFO] [iConomy] Logging is currently disabled.
    23:52:50 [INFO] [iConomy] v4.4 (Arcadia) loaded.
    23:52:50 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    23:52:50 [INFO] [Permissions] version [2.5.2] (Phoenix)  loaded
    23:52:50 [INFO] [iConomy] hooked into Permissions.
    23:52:50 [INFO] [SpawnMob] Loading...
    23:52:50 [INFO] [SpawnMob] successfully loaded Permissions.
    23:52:50 [INFO] [SpawnMob] Loaded!
    23:52:50 [INFO] [TPLUS] Permissions enabled using: Permissions v2.5.2
    23:52:50 [INFO] [TPLUS] 'Help' isn't detected. No /help support.
    23:52:50 [INFO] [TPLUS] TelePlus 1.6 enabled
    23:52:50 [INFO] WorldEdit 4.2 enabled.
    23:52:50 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    23:52:50 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    23:52:50 [INFO] WorldGuard: Single session is enforced.
    23:52:50 [INFO] WorldGuard: TNT ignition is PERMITTED.
    23:52:50 [INFO] WorldGuard: Lighters are PERMITTED.
    23:52:50 [INFO] WorldGuard: Lava fire is blocked.
    23:52:50 [INFO] WorldGuard: Fire spread is UNRESTRICTED.
    23:52:50 [INFO] WorldGuard 4.0-alpha1 enabled.
    23:52:50 [INFO] Done (0.152s)! For help, type "help" or "?"
    23:57:15 [INFO] 143 recipes
    23:57:15 [INFO] Luna0316 [/127.0.0.1:53253] logged in with entity id 137
    23:57:15 [INFO] Loaded world: world
    23:57:21 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to ServerAutoSt
    op
    java.lang.NullPointerException
            at net.hailxenu.serverautostop.AutoStopPlayerListener.onPlayerCommandPre
    process(AutoStopPlayerListener.java:40)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.ja
    va:182)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:637)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    23:57:21 [INFO] Luna0316 issued server command: reboot
    And here is my properties file
    Code:
    stoptime=00:00:00  06:00:00 12:00:00 18:00:00
    # Use 24-hour time. Separate times with a space. [Hour:Minute:Second]
    warntime=0:10 0:30 1:00 5:00 15:00
    # How many seconds before shutdown/restart to show warning. Separate times with a space.[Seconds]
    warnmsg=Shutting down server...
    # Warning message to display.
    enablerestart=true
    # Enables automatic server restarts. If this is true, path must not be blank.
    path=start run.bat
    # Path to server file (including any arguments). This can also be a command if you are using crontab/screen/etc.
    
    any help would be appreciated, thanks in advance
     
  31. Offline

    Platoon74

    Hey, i have the problem that my server does not restart:

    stoptime=05:00:00
    # Use 24-hour time. Separate times with a space. [Hour:Minute:Second]
    warntime=0:05 0:10 0:30
    # How many seconds before shutdown/restart to show warning. Separate times with a space.[Seconds]
    warnmsg=Server startet sich neu! Bitte verlasst den Server!
    # Warning message to display.
    enablerestart=true
    # Enables automatic server restarts. If this is true, path must not be blank.
    path=java -jar craftbukkit.jar
    # Path to server file (including any arguments). This can also be a command if you are using crontab/screen/etc.


    maybe I set the path wrong, but i dont know what to set there. i use commands: /restart and /reboot. are these the right commands? when i type them chat says: "retarting server" (yes without s)^^


    lg
     

Share This Page