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

    PaleFlyer

    i used this plugin on an old server and loved it, and i want to install it on my new Server, but the run.sh file i got from the host is set up so it could use MyMCAdmin, which i am not using currently, but may in the future.

    #Copyright (C) 2011 Legendary Servers
    #
    #This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as public software.
    #the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    #
    #This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
    #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    FILE_a=craftbukkit.jar
    FILE_b=McMyAdmin.exe
    while true; do
    if [ -f $FILE_b ];
    then
    mono McMyAdmin.exe
    else
    if [ -f $FILE_a ];
    then
    java -server -jar craftbukkit.jar nogui //do i just do this one? it IS a bukkit server.
    else
    java -server -jar minecraft_server.jar nogui
    fi
    fi
    done

    how do i edit this for the plugin? my server seems to crash every evening between 2 am and when i can restart it in the morning. thanks!

    all i am looking for is instructions HOW. i know what to put in there for this to work.
     
  2. Offline

    verm_pat

    i'm using bukkit and pail together and i get the following error on every restart:
    Code:
    2011-11-17 09:46:48 [SEVERE] java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class com.hamaluik.SimpleRestart.SimpleRestart
    Is there any way to fix this?
     
  3. Offline

    Blandothegreat

    Not sure what this means help?
    06:12 PM [SEVERE] Exception in thread "Timer-7"
    06:12 PM [SEVERE] java.lang.InstantiationError: org.bukkit.command.ConsoleCommandSender
    06:12 PM [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart.stopServer(SimpleRestart.java:258)
    06:12 PM [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart$2.run(SimpleRestart.java:221)
    06:12 PM [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)
    06:12 PM [SEVERE] at java.util.TimerThread.run(Unknown Source)

    Hey i keep getting this error
    09:25 PM [SEVERE] Exception in thread "Timer-13" 09:25 PM [SEVERE] java.lang.InstantiationError: org.bukkit.command.ConsoleCommandSender 09:25 PM [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart.stopServer(SimpleRestart.java:258) 09:25 PM [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart$2.run(SimpleRestart.java:221) 09:25 PM [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source) 09:25 PM [SEVERE] at java.util.TimerThread.run(Unknown Source)

    did not mean to post 2 sorry

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

    nishnha

    I'm getting the "Timer-3" error.

    Same error here.

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

    migsthegod

    please update :)
     
  6. Offline

    Don Redhorse

  7. Offline

    CanHam13

    Please update this plugin to version [1.0.1]
    This was the best plugin I had, it restarted the server and because of that, I never had any problems with plugins, error messages etc.
    Thanks in advance!
     
  8. Offline

    Don Redhorse

    the original developer was last online 17th of october... you might look at http://dev.bukkit.org/server-mods/monkey-pack/ AutoStopModule
     
  9. Offline

    sagethor

    @Don Redhorse
    The configuration is a bit confusing for the warning interval.
    Do I set the warning times in minutes or hours?
     
  10. Offline

    Don Redhorse

    minutes
     
  11. Offline

    Lixah

    how do i edit this so this it just shuts down my server at every specified time? (i have another plugin that handles reboots)
    thanks
     
  12. Offline

    THExSYSTEM

  13. Offline

    Don Redhorse

    nice...
    The orginal plugin? doesn't work anymore... either take the one von THExSYSTEM or mine.

    and you can't shutdown a server when you have something in place which forces an autorestart... both are the same thing... ending the server process... the batch file you used will than normally autorestart it.

    that's why I called my implementation autostop... because even simplerestart did never anything else than automatically stop the server.
     
    THExSYSTEM likes this.
  14. Offline

    THExSYSTEM

  15. Offline

    Don Redhorse

    so I stop watching this thread now... if you need help... just ask...
     
  16. Offline

    Kevybevy

    Now what if I want to just regular "Stop" the server instead of restart it? What then?
     
  17. Offline

    THExSYSTEM

    I suppose you are on a *nix OS. Take a look at the following script: https://github.com/THExSYSTEM/SimpleRestart/blob/v1.3.0/simple_restart_helper.sh

    It allows you to stop the server and get out of the endless loop. Everytime you call the /restart in Minecraft, the plugin touches the plugins/SimpleRestart/restart.txt file. The script watches the modification time of the file and only does a restart if it changed. Otherwise it exits the loop.

    You can use this script and pass your server startup call (like java -Xms512M -jar craftbukkit.jar) as parameters or just edit line 11 for your needs.
     
  18. Offline

    Kevybevy

    Ahh! Thanks!
     
  19. Offline

    greyjester

    does this plugin even work with craftbukkit 1.1-R6
     
  20. Offline

    THExSYSTEM

    Added new release SimpleRestart v1.3.1 which should work with CB1.1-R6. Also updated additional build dependencies to bPermissions-2.9.0 and PermissionsEx-1.19.
     
  21. Offline

    greyjester

    thank you
     
  22. Offline

    Dominic

    Thank you!!!!
     
  23. Offline

    Dominic

    Sorry for double post :( It appears this plugin can shutdown a server perfectly but not bring it back up...

    Update possibly?
     
  24. Offline

    THExSYSTEM

    You maybe forgot to put your server start in a loop? ;-) Maybe this could help you .. just some posts above:

     
  25. Offline

    411skateboarder

    Please update ! I need this plugin very very much !
     
    THExSYSTEM likes this.
  26. Offline

    danielcwr

    Yes please update this as soon as you have free time! I need this plugin before i can release my server to the public! -Thanks, danielcwr
     
    THExSYSTEM likes this.
  27. Offline

    THExSYSTEM

  28. Offline

    TomShar

    Does not restart for me, just goes into negative times.
     
  29. Offline

    biokemisten

    Im use hosting service, and how do i get it to work?
     
  30. Offline

    IceT4me

    Show Spoiler
    2012-04-11 23:39:58 [SEVERE] java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?

    2012-04-11 23:39:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:150)

    2012-04-11 23:39:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:157)

    2012-04-11 23:39:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.performCheck(PermissiblePEX.java:123)

    2012-04-11 23:39:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:109)

    2012-04-11 23:39:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:101)

    2012-04-11 23:39:58 [SEVERE] at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102)

    2012-04-11 23:39:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:962)

    2012-04-11 23:39:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:322)

    2012-04-11 23:39:58 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart$1.run(SimpleRestart.java:224)

    2012-04-11 23:39:58 [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)

    2012-04-11 23:39:58 [SEVERE] at java.util.TimerThread.run(Unknown Source)

    2012-04-11 23:39:58 [SEVERE] Exception in thread &quot;Timer-12&quot;

    2012-04-11 23:39:58 [SEVERE] java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?

    2012-04-11 23:39:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:150)

    2012-04-11 23:39:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:157)

    2012-04-11 23:39:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.isPermissionSet(PermissiblePEX.java:199)

    2012-04-11 23:39:58 [SEVERE] at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:71)

    2012-04-11 23:39:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:112)

    2012-04-11 23:39:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:101)

    2012-04-11 23:39:58 [SEVERE] at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102)

    2012-04-11 23:39:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:962)

    2012-04-11 23:39:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:322)

    2012-04-11 23:39:58 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart$1.run(SimpleRestart.java:224)

    2012-04-11 23:39:58 [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)

    2012-04-11 23:39:58 [SEVERE] at java.util.TimerThread.run(Unknown Source)

    2012-04-11 23:40:58 [INFO] [31mServer will be restarting in 1.0 minutes! [0m

    2012-04-11 23:40:58 [SEVERE] java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?

    2012-04-11 23:40:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:150)

    2012-04-11 23:40:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:157)

    2012-04-11 23:40:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.performCheck(PermissiblePEX.java:123)

    2012-04-11 23:40:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:109)

    2012-04-11 23:40:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:101)

    2012-04-11 23:40:58 [SEVERE] at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102)

    2012-04-11 23:40:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:962)

    2012-04-11 23:40:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:322)

    2012-04-11 23:40:58 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart$1.run(SimpleRestart.java:224)

    2012-04-11 23:40:58 [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)

    2012-04-11 23:40:58 [SEVERE] at java.util.TimerThread.run(Unknown Source)

    2012-04-11 23:40:58 [SEVERE] Exception in thread &quot;Timer-13&quot;

    2012-04-11 23:40:58 [SEVERE] java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?

    2012-04-11 23:40:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:150)

    2012-04-11 23:40:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:157)

    2012-04-11 23:40:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.isPermissionSet(PermissiblePEX.java:199)

    2012-04-11 23:40:58 [SEVERE] at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:71)

    2012-04-11 23:40:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:112)

    2012-04-11 23:40:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:101)

    2012-04-11 23:40:58 [SEVERE] at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102)

    2012-04-11 23:40:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:962)

    2012-04-11 23:40:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:322)

    2012-04-11 23:40:58 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart$1.run(SimpleRestart.java:224)

    2012-04-11 23:40:58 [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)

    2012-04-11 23:40:58 [SEVERE] at java.util.TimerThread.run(Unknown Source)

    2012-04-11 23:41:51 [WARNING] [AutoSaveWorld] Multiple concurrent saves attempted! Save interval is likely too short!

    2012-04-11 23:41:58 [INFO] [SimpleRestart] Restarting...

    2012-04-11 23:41:58 [INFO] [31mServer is restarting, we'll be right back! [0m

    2012-04-11 23:41:58 [SEVERE] java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?

    2012-04-11 23:41:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:150)

    2012-04-11 23:41:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:157)

    2012-04-11 23:41:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.performCheck(PermissiblePEX.java:123)

    2012-04-11 23:41:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:109)

    2012-04-11 23:41:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:101)

    2012-04-11 23:41:58 [SEVERE] at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102)

    2012-04-11 23:41:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:962)

    2012-04-11 23:41:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:322)

    2012-04-11 23:41:58 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart.clearServer(SimpleRestart.java:254)

    2012-04-11 23:41:58 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart.stopServer(SimpleRestart.java:270)

    2012-04-11 23:41:58 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart$2.run(SimpleRestart.java:242)

    2012-04-11 23:41:58 [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)

    2012-04-11 23:41:58 [SEVERE] at java.util.TimerThread.run(Unknown Source)

    2012-04-11 23:41:58 [SEVERE] Exception in thread &quot;Timer-14&quot;

    2012-04-11 23:41:58 [SEVERE] java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?

    2012-04-11 23:41:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:150)

    2012-04-11 23:41:58 [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:157)

    2012-04-11 23:41:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.isPermissionSet(PermissiblePEX.java:199)

    2012-04-11 23:41:58 [SEVERE] at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:71)

    2012-04-11 23:41:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:112)

    2012-04-11 23:41:58 [SEVERE] at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:101)

    2012-04-11 23:41:58 [SEVERE] at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102)

    2012-04-11 23:41:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcast(CraftServer.java:962)

    2012-04-11 23:41:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.broadcastMessage(CraftServer.java:322)

    2012-04-11 23:41:58 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart.clearServer(SimpleRestart.java:254)

    2012-04-11 23:41:58 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart.stopServer(SimpleRestart.java:270)

    2012-04-11 23:41:58 [SEVERE] at com.hamaluik.SimpleRestart.SimpleRestart$2.run(SimpleRestart.java:242)

    2012-04-11 23:41:58 [SEVERE] at java.util.TimerThread.mainLoop(Unknown Source)

    2012-04-11 23:41:58 [SEVERE] at java.util.TimerThread.run(Unknown Source)


    Looks to be like permissionsex told it to screw off
    Any suggestion?
    Nevermind solved
     

Share This Page