Application RemoteToolkit - Restarts + crash detection + auto saves + remote console!

Discussion in 'Bukkit Tools' started by drdanick, Jan 15, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    drdanick

    Minecraft RemoteToolkit
    -Less downtime, more fun for your players, more power to you!

    Are you a Minecraft server administrator? Do you value up-time and stability? Do you fancy the ability to remotely control your server, both in-game and out of game, in a myriad of useful ways from a plethora of different devices?
    If you answered yes to any of the above, then the Minecraft RemoteToolkit is for you!


    What the Minecraft RemoteToolkit Plugin and Wrapper do for you:
    • Provides almost perfect server uptime with no need for action from an owner/administrator!
    • Have your server save and restart at any time period with configurable restart warnings!
    • The Toolkit guarantees a restart within the set restart period, even if your server crashes, becomes unresponsive, or encounters a "SEVERE" exception!
    • Remotely control every function of the Toolkit, even from your smart phone!
    • Full remote console access via telnet with support for multiple terminal types!
    • Telnet daemon conforms to current Telnet related RFCs!
    • Customizable alert messages!
    • Fully extendable though 3rd party modules!
    • Full feature set works with most craftbukkit builds!
    • Most features work with any Minecraft server variation, even vanilla!
    • Telnet can be disabled!
    For server administrators
    Download - Release 10, Alpha 15.3 [CB 1.7.2-R0.2] (wget friendly)
    Instructions & Documentation

    For developers
    UDP API REV 8 | Documentation
    Module API | Coming soon!

    For everyone
    Official IRC channel
    #remotetoolkit @ irc.esper.net


    "Help! I've downloaded it, but I do not know how to get it working!"
    Stop! Before you give up or ask for help, make sure you have read the step-by-step installation instructions on the wiki page. If you are still having problems, please do not be hesitant to post a request for help on this thread or in the IRC channel - no matter how simple your problem seems.


    Todo


    [​IMG][​IMG]
    Any donation would be very much appreciated. I'm but a poor University student, and I sacrifice quite a lot of unpaid time to keep the Toolkit updates and support flowing.

    Thank you to the following who have chosen to support the Toolkit through a donation:
    Deren909, marshall007, Vittek, clanslots, meee, KyneSilverhide, szoller, hungoverfurball, Lama_0, Viet, acc1dent, joby890, Liger_XT5
     
    Last edited: May 6, 2017
  2. Offline

    GameFAQsRolo

    Here are the 3/4 records of "list"

    wrapper alone OR no wrapper no essentials.jar
    Code:
    2011-03-03 21:43:33 [INFO] Done (0.060s)! For help, type "help" or "?"
    2011-03-03 21:43:39 [INFO] Connected players:
    2011-03-03 21:44:28 [INFO] CONSOLE: Stopping the server..
    wrapper + essentials.jar
    Code:
    2011-03-03 21:45:02 [INFO] Done (0.138s)! For help, type "help" or "?"
    2011-03-03 21:45:06 [INFO] There are 0 players online.
    2011-03-03 21:45:06 [INFO] 
    2011-03-03 21:45:10 [INFO] CONSOLE: Stopping the server..
    essentials.jar alone
    Code:
    2011-03-03 21:49:10 [INFO] Done (0.083s)! For help, type "help" or "?"
    2011-03-03 21:49:13 [INFO] There are 0 players online.
    2011-03-03 21:49:22 [INFO] CONSOLE: Stopping the server..
    2011-03-03 21:49:22 [INFO] Stopping server
    Possibly related, the server randomly becomes unresponsive to any commands and I time out. I have to ctrl+c to close it out and restart it. Doesn't happen when I'm not running the wrapper.

    *EDIT*
    Ignore the last part about the server becoming unresponsive. I can't reproduce it anymore after enabling and disabling plugins. I'm hoping whatever it was just fixed itself.
     
  3. Offline

    tremor

    I believe Essentials /who listing takes into account the users prefix.. so that rank colors show up in the list...

    concerning the posts above about the strange characters.
    --- merged: Mar 4, 2011 3:32 PM ---
    just a quick - potentially noobish question.. when you run rtoolkit.sh in a linux shell... can you just run ./rtoolkit.sh and let it go? because I run a script ./starttookit.sh that calls rtoolkit.sh with nohup... to keep in running... looks like this

    Code:
    nohup ./rtoolkit.sh &
    Is this necessary or overkill?
     
  4. Offline

    nossr50

    Does not seem to be responding to commands with the latest RB for me.
     
  5. I have the same problem. CB493 and toolkit r10a8.2. No commands are being passed through to the server.
     
  6. Offline

    2or0

    I'm loving the .hold functionality. But I am having some problems with holding it while Craftbukkit is restarting. Example Log attached
    Workaround is to spam .hold
    Server shutdown is because of the BiomeTerrain mod
    Show Spoiler
    java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/Main
    Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.Main
    at java.net.URLClassLoader$1.run(Unknown Source)​
    at java.security.AccessController.doPrivileged(Native Method)​
    at java.net.URLClassLoader.findClass(Unknown Source)​
    at java.lang.ClassLoader.loadClass(Unknown Source)​
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)​
    at java.lang.ClassLoader.loadClass(Unknown Source)​
    Could not find the main class: org.bukkit.craftbukkit.Main. Program will exit.
    .hold
    Cannot hold server: The server is not running.
    java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/Main
    Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.Main
    at java.net.URLClassLoader$1.run(Unknown Source)​
    at java.security.AccessController.doPrivileged(Native Method)​
    at java.net.URLClassLoader.findClass(Unknown Source)​
    at java.lang.ClassLoader.loadClass(Unknown Source)​
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)​
    at java.lang.ClassLoader.loadClass(Unknown Source)​
    Could not find the main class: org.bukkit.craftbukkit.Main. Program will exit.​

     
  7. Offline

    drdanick


    Unless you're using screen, the nohup is indeed necessary to keep the wrapper running.


    @BurnseyBoi @nossr50
    http://forums.bukkit.org/goto/post?id=104165

    Good point, i'll fix that soon.
     
    nossr50 likes this.
  8. Offline

    2or0

    hmm ive got to ask if I am not doing something right
    I am trying to get BiomeTerrain mod working
    Works without RemoteToolkit on localhost
    My wrapper.properties file contains the following:
    Show Spoiler
    minecraft-server-jar=
    severe-exception-detection-level=1
    server-saveall-period=0
    maximum-heap-size=1024M
    import-properties=false
    server-restart-delay=5h
    restart-on-severe-exception=false
    server-arguments=nogui
    overridden-process-arguments=
    server-restart-alerts=10m,5m,1m
    forced-restart-delay=30s
    initial-heap-size=1024M
    extra-runtime-arguments=-cp,BiomeBukkit.jar\:craftbukkit.jar,org.bukkit.craftbukkit.Main,-o -Djline.terminal=jline.UnsupportedTerminal
     
  9. Offline

    drdanick

    Try this:
    Code:
    minecraft-server-jar=craftbukkit.jar
    severe-exception-detection-level=1
    server-saveall-period=0
    maximum-heap-size=1024M
    import-properties=false
    server-restart-delay=5h
    restart-on-severe-exception=false
    server-arguments=nogui
    overridden-process-arguments=java -Xmx1024M -Xms1024M -Djline.terminal=jline.UnsupportedTerminal -cp BiomeBukkit.jar:craftbukkit.jar org.bukkit.craftbukkit.Main
    server-restart-alerts=10m,5m,1m
    forced-restart-delay=30s
    initial-heap-size=1024M
    extra-runtime-arguments=
    
     
  10. Offline

    nossr50

    Thanks seems to be working now
     
  11. Offline

    2or0

    Interestingly after doing a .hold I have to .start the server to get the .stopwrapper command working
    .hold
    .stopwrapper
    .start

    additionally after copying your config exactly and uploading to the server I am still getting errors
    Show Spoiler

    Code:
    java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/Main
    Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.Main
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: org.bukkit.craftbukkit.Main.  Program will exit.
    
     
  12. Offline

    drdanick

    Duly noted.

    Also, make sure you are following the installation instructions for BiomeTerrain and have injected the included META-INF folder, etc. Make sure the mod is working correctly without the wrapper before trying to run it with the wrapper.
     
  13. Offline

    2or0

    I think I found the error BiomeBukkit.jar:craftbukkit.jar needs to be BiomeBukkit.jar;craftbukkit.jar
    my working config:
    Show Spoiler
    minecraft-server-jar=craftbukkit.jar
    severe-exception-detection-level=1
    server-saveall-period=0
    maximum-heap-size=1024M
    import-properties=false
    server-restart-delay=5h
    restart-on-severe-exception=false
    server-arguments=nogui
    overridden-process-arguments=java -Xmx1024M -Xms1024M -Djline.terminal/=jline.UnsupportedTerminal -cp BiomeBukkit.jar;craftbukkit.jar org.bukkit.craftbukkit.Main
    server-restart-alerts=10m,5m,1m
    forced-restart-delay=30s
    initial-heap-size=1024M
    extra-runtime-arguments=
     
  14. Offline

    drdanick

    That will fix it, so long as you are using Windows. Linux/OS X uses a colon.
     
  15. Offline

    2or0

    I have gotten this error when doing a reload (essentials me think) from console it had a long error and I am unsure how to read it. Subsequent reloads have had reload completely broken.
    Code:
    2011-03-05 06:30:24 [SEVERE] loader constraint violation: when resolving method "com.drdanick.McRKit.plugin.RTKEventHandler.<init>(Lcom/drdanick/McRKit/plugin/RTKPlugin;Ljava/util/Properties;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, com/drdanick/McRKit/plugin/RTKPlugin, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for resolved class, com/drdanick/McRKit/plugin/RTKEventHandler, have different Class objects for the type com/drdanick/McRKit/plugin/RTKPlugin used in the signature (Is it up to date?)
    java.lang.LinkageError: loader constraint violation: when resolving method "com.drdanick.McRKit.plugin.RTKEventHandler.<init>(Lcom/drdanick/McRKit/plugin/RTKPlugin;Ljava/util/Properties;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, com/drdanick/McRKit/plugin/RTKPlugin, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for resolved class, com/drdanick/McRKit/plugin/RTKEventHandler, have different Class objects for the type com/drdanick/McRKit/plugin/RTKPlugin used in the signature
            at com.drdanick.McRKit.plugin.RTKPlugin.onEnable(RTKPlugin.java:51)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:140)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:79)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:60)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:198)
            at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:189)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:176)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:362)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:347)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     
  16. Offline

    NEO

    How do i stop my server. Perhaps a better question would be how do i disable restarting temporarily? I type stop and it restarts. I would like to be able to take my server offline for maintenance.

    stopwrapper does not work, it still restarts the server.
     
  17. Offline

    drdanick

    .stopwrapper != stopwrapper

    You forgot the . prefix :p

    Odd, i'll look into it.
     
  18. Offline

    NEO

    My apologies, i have tried .stopwrapper and stopwrapper, after each the server still restarts. I dont know what im missing here.
     
  19. Offline

    drdanick

    What version of the wrapper are you using and does it print "restarting..." on the restart? That command works fine for me on the newest release.
     
  20. Offline

    NEO

    r10 a8.2, i just downloaded it 30 minutes ago

    also using b493

    To make sure i have this right, im typing .stopwrapper and then hitting the enter key. The server stops than says restarting, and restarts.
     
  21. Offline

    drdanick

    Does the command .help work?
    Also, try using this command: .set restarts off, then try the stop command.
     
  22. Offline

    NEO

    .help was not working but now it is. .stopwrapper is also now working.

    All i did was go into cpanel and viewed my running processes. I killed the wrapper and craftbukkit, i also removed all files associated with toolkit and started from scratch. After reinstalling it it seems to work.

    I wonder what was causing the issue the first time around.
     
  23. Thanks, that fixed it! I didn't realise 8.23 was out. That'll teach me not to reread the OP!
     
  24. Offline

    PanCakes

    get encryption on your site because people could easly sniff the login.
     
  25. Offline

    drdanick

    I was going to do that a while ago, but just got around to it now. The site will be offline for a little while, Apache seems to be having issues now :p

    Update: i'm moving the file to my personal server until the issue is sorted.
    --- merged: Mar 7, 2011 1:17 PM ---
    Update: https is up. I've updated the mcremote link to reflect this.
     
  26. When connecting via telnet ... if I hit <enter> without my password, I get connected just fine.

    This is not consistent at all ... but does happen regularly. I THINK this may happen in the following order, but I am not positive if this is a 100% repro:

    1. Connect
    2. Enter username and hit <enter>
    3. do not enter password and hit <enter>
    4. Disconnected due to bad password
    5. Connect
    6. Enter username and hit <enter>
    7. hit any key ... Connected
     
  27. Offline

    drdanick

    That is very, very odd. And from the code it seems practically impossible to occur. I may need to send you a specialized debug build (I have been unable to replicate the problem).
    Have you tried using another username/password?
    Also, what Telnet client are you using?
     
  28. Offline

    ksevelyar

    Thank for nice plugin.
     
  29. Offline

    veN1337

    first of all: EPIC plugin dude ;)
    but i would like to see everything of the server-console in the remote-console
    this would be fucking awesome :D
    are you going to add this?
     
  30. Offline

    drdanick

    It should be printing everything in the remote console already. What is missing for you?
     
  31. Offline

    veN1337

    everything :(
    sending commands is no problem
    but i dont receive anything
    only wrapper commands like ".help" or ".set help" prints me an anwser

    i also tried different clients so i guess its something with the server

    im going to check again if i did something wrong in the config files
     
Thread Status:
Not open for further replies.

Share This Page