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

    luna0316

    Thanks, i had updated the jar file for the server but forgot to update the jar in the plugins.
     
  3. Offline

    Chekkaa

    Great plugin/wrapper! The new heartbeat thing works great! Now even when the server becomes unresponsive, it still restarts after just 5 minutes automatically! Thanks!
     
  4. I got this eariler today and my server crashed:

    Code:
    2011-05-07 20:25:10 [INFO] RTPONG++
    2011-05-07 20:26:10 [INFO] RTPONG++
    2011-05-07 20:26:13 [INFO] Read timed out
    2011-05-07 20:26:47 [INFO] Read timed out
    2011-05-07 20:27:10 [INFO] RTPONG++
    2011-05-07 20:28:10 [INFO] RTPONG++
    Also some thing about a UDP port changing, but it isn't logged, only showed in the console.

    Edit:

    It did it again:

    Code:
    06:32:27 [INFO] Read timed out
    06:34:35 [INFO] Read timed out
    >>07:00:10 [INFO] [CONSOLE] **SERVER IS SAVING THE MAP**
    07:00:10 [INFO] Forcing save..
    07:00:10 [INFO] CONSOLE: Forcing save..
    07:00:10 [INFO] Saving chunks
    07:00:10 [INFO] Save complete.
    07:00:10 [INFO] CONSOLE: Save complete.
    07:00:10 [INFO] [CONSOLE] **MAP SAVE IS COMPLETE**
    >UDP Socket exception: java.net.SocketException: Socket closed
    Starting UDP listen server on port 25561
    07:20:50 [INFO] Connection reset
    07:21:34 [INFO] Read timed out
    07:22:16 [INFO] Connection reset
    07:23:17 [INFO] Read timed out
    07:23:21 [INFO] Connection reset
    07:28:21 [INFO] Read timed out
    07:33:45 [INFO] Read timed out
     
  5. Offline

    drdanick

    The UDP server refreshes itself every 20 minutes or so, so the UDP exceptions are normal. The "Read timed out" and "Connection reset" have nothing to do with the toolkit:

    http://forums.bukkit.org/threads/read-timed-out.16065/#post-278019

    It seems other people who aren't using the toolkit are having the same problem.
     
  6. Offline

    ValBGaming

    I have a question about starting the wrapper, I noticed whenever I start it up and it loads all my plugins, I get 2 "Can't keep up!" messages, so I was looking around and noticed that in the batch file to start the server, "-Xmx30M -Xms30M -XX:MaxPermSize=40M" now, I'm not sure what MaxPermSize is but looking at the batch to start bukkit I noticed it has XmX and Xms set to 1024M (1gb), so shouldn't the 30M in the wrapper batch be somewhere around there too? Or is there a reason its not?
     
  7. Offline

    drdanick

    The "can't keep up" messages are usually harmless, especially any that occur on startup. The reason the wrapper has its own memory allocations is because the Wrapper java process is completely separate to the Minecraft server process. That is, when you start the wrapper it launches the Minecraft server in the way you usually would without the wrapper, and that includes all the server memory allocations. If you want to configure the amount of memory allocated to the Minecraft server, not the wrapper, you must do so by changing the initial-heap-size and maximum-heap-size keys in wrapper.properties.
     
  8. Offline

    ValBGaming

    Thankyou for shedding some light on this -- I have already adjusted initial-heap-size and maximum-heap-size to my needs, I was simply wondering if there was any way to not have the "Can't keep up!" messages. But as you said -- They are harmless, I'll just ignore them. :)
     
  9. Offline

    PatrickFreed

    wrapper.properties
    Even though it is set to a time, the server restarts every 3 hours. What am I doing wrong?
     
  10. Offline

    drdanick

    Your configuration file looks fine. I changed the scheduler around quite a bit to accommodate restart rescheduling, so it is likely that you have uncovered a bug. I was planning on releasing a small bug fix in a few days, i'll make sure I have this sorted out. I'll get back to you if I have any new information. For now, you may have to make do with periodic scheduling, but that should only be for a few days.
     
  11. Offline

    PatrickFreed

    @drdanick
    Thanks, keep up the good work :)
     
  12. @drdanick
    Would it be possible for some kind of message to be sent to the client if they try and log in while the wrapper is held? The same message that is sent to the client when the server restarts?
    I don't know if it is even possible, but it would be nice to have a message something like "Server offline for maintenance" :)
     
  13. Offline

    Liger_XT5

    I'm running a test server with the most recent milkadmin and remotetoolkit. For some reason the .bat opens then closes instantly when I try to start it.
    If I use the sh file on my server, it starts just fine.
    Suggestions?
    I've finally got time to sit down and work on my server issue that I've been having.
     
  14. Offline

    Jorrdan

    Very happy i found this, thanks!

    Does this work for the read time out errors? I have been having a few of those lately, as have a lot of people apparantly. Could you introduce a feature that detects them and restarts the server? (if it does not do this already)

    Jordan
     
  15. Offline

    Liger_XT5

    Are you talking about the server just randomly freezing and no response when using the console?
    I've started using PerformanceTweaks and I haven't had any random freezes. And my can't keep up errors went away completely, at least, when I was using CB 740, CB 766 I've started seeing them reappear again.
     
  16. Offline

    Jorrdan

    Yeah sort of. The read time out error isnt from performancetweaks though, as i have had it since i removed it. Maybe i will try 740 again if i get the error. I havent had it in a while, but i feel it is waiting in the dark to pounce on my server when i least expect it :(
     
  17. Offline

    Liger_XT5

    lol, I meant that performancetweaks was going to help you, not to cause it.
     
  18. Offline

    Jorrdan

    No it happened with performance tweaks. My guess is it is a bukkit issue of some sort, caused when too many plugins read/interact with the map. But that is just a guess, i have yet to see any threads with a fix for this problem.
     
  19. Offline

    parker_digg

    Got a little issue. Everything has been working flawlessly for about a month or two. But I decided to use the save-all recently because of the ridiculous storms that have been coming through knocking power out for a few minutes at a time.

    Anyways, I have my save-all set at: 30m
    But, its not saving. No messages, nothing in console. I'm not sure what I'm doing wrong.

    EDIT: just started working; not sure why. Love the plugin by the way!
     
  20. Offline

    ValBGaming

    I've been using this plugin for quite awhile and it is great, and I have a feature request.

    I am soon going to launch a small server publically, but it will only be a 12/7 server and not 24/7 due to running it from my home computer, so what I am requesting is a function that can stop the server after X amount of time, in my case it would be 12 hours.

    For example, I start up the server at 10:00am, and go out for the day, I'm a bit late getting back and when I do it's about 10:30pm, so having an option to stop the server 12h after I start it, would stop the server at 10:00pm whether I'm there or not. Then I can do my own thing for a bit and shutdown my computer so that it can take a break from being on for 12+ hours.

    Big fan of the plugin and would love to see this feature added at some point in time. :)
     
  21. Offline

    Phaedrus

    There is a plugin called AutoStop that has what you're looking for.
     
  22. Offline

    ValBGaming

    Thanks, but it looks like I was a little bit late... Developer stopped working on it for now, I'm still keeping my hopes up drdanick considers my feature request. :) I don't need the function for like a few weeks at least, until my server goes public. :p
     
  23. Offline

    Phaedrus

    I can confirm that AutoStop works. There is an updated file near the end of the thread posted by Afforess that works.

    I'll see if I can find the link....

    Afforess said:
    I've forked AutoStop and updated it. This new version will work on all builds of Bukkit, greater than ~300. It will work on the current RB, and even all of the development builds. It should work for a long time, unless bukkit changes how onCommand works.

    Additionally, you can issue restart commands from the console. Further, Autostop now stops all plugins before shutting down the server, which is vital, since many plugins save on shutdown, and autostop did not give them a chance to save valuable data.

    Here you go: http://dl.dropbox.com/u/49805/Autostop.jar

    Source: https://github.com/Afforess/Server-AutoStop

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

    ValBGaming

    Thankyou sir :) Greatly appreciated.
     
  25. Offline

    Phaedrus

    Maybe @drdanik can integrate AutoStop...
     
  26. Offline

    ValBGaming

    That sounds like a great idea.
     
  27. Offline

    drdanick

    I'll have to implement some components of the actual Minecraft server to get that to work. I do like the idea, though, so i'll look into it.

    Add the word 'pause' to a new line at the end of the .bat so I can see what's not working.

    So long as the console is completely unresponsive, the heartbeat component should detect that the server is down and force a restart after about 5 minutes. I have never encountered that problem on any of my test servers yet, so I have no way of testing it.

    @jasonznack @ValBGaming I will be implementing the feature to auto stop the server and the wrapper after either a set number of normal restarts, a delay, or an absolute time very soon. At the moment, entering .set restarts off into the console should stop the wrapper from bringing the server back up on a restart, effectively emulating the AutoStop feature you want.
     
    BurnseyBoi and jasonznack like this.
  28. Offline

    Liger_XT5

    @drdanick

    'java' is not recognized as an internal or external command,
    operable program or batch file.

    I am running windows 7 64bit.
    When I look at the .bat setup for the 'Craftbukkit for newbs" guide, there is two settings, one for 32bit, and one for 64bit.
     
  29. Offline

    parker_digg

    Occasionally the server just stops doing anything, players don't lose connection, but nothing goes either way through the console. Then after about 45 seconds it says "read timed out"
    Anything I can do to prevent this or have it restart afterwards? I would imagine its bukkit, not the toolkit causing this.
     
  30. Offline

    Fuzzwolf

    I get a lot of Unknown Console Command(s) in my cmd.exe periodically. Any way to fix this?
     
  31. Offline

    virtualism

    I get this too.
    04:09:52 [INFO] Unknown console command. Type "help" for help.
    Couldn't actually figure what command it was trying to issue.
     
Thread Status:
Not open for further replies.

Share This Page