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

    Buckethead

    oh right
     
  3. Offline

    drdanick

    If you do not install the plugin, crash detection and in-game commands will not function. And without the wrapper, nothing will work.
     
    VADemon likes this.
  4. Offline

    Buckethead

    what is a module for this?
     
  5. Offline

    Siickest

    Sorry to ask. but how often does the server restart and save? :p Can't find xD
     
  6. Offline

    TelephoneKiosk

    When will this be updated?
     
  7. That really depends on your configuration.
    Define 'updated'. Updated to the newest release of Bukkit? So far for me it's worked without any issue. The author's busy working on r11, which will bring a lot of new functionality, and that will be ready When It's Done.
     
  8. Offline

    Siickest

    I can't find the Configuration..

    EDIT: Sry found xD
     
  9. Offline

    Stsguitar23

    I got the plugin installed alright, and I get the message
    "Bukkit Rtk plugin found! Enabling heartbeats..." so it must be running
    but when I try to use the UDP connector it gives me "java socket exception socket closed"
    I have a port on my server, its running off port 25560, is that a problem? And I havent port forwarded anything but my server
    I also tried using PuTTY, and when I enter the normal IP without a port, and put 25561 in the port box, the black command box opens up, and then says PuTTY (Inactive) at the top bar, and closes, without giving me an option to login or anything. What am I doing wrong? any thoughts?
    Thank you
     
  10. Offline

    A51Rene

    How can I make the Remote Toolkit work with Bukkit GUI (project)?
    Bukkit GUI ignores the bat and sh file form the toolkit with the result that the remote toolkit doesn't get executed.
    Is there a way to add the remote toolkit either to the craftbukkit.jar or the plugins folder?

    Thanks in advance!

    EDIT: never mind, the developer of Bukkit GUI already confirmed support for 'Remote Toolkit' ;)
     
  11. Offline

    Windows_i7_920

    How do you install this? The instructions do not work, at all. When I do that, my server's RAM spikes until my whole VM crashes. CB #1597, Sun JRE 7 on CentOS 5 x64.

    The plugin has rendered my VM 100% useless and I have been forced to contact my host. I must have done something horribly wrong.
     
  12. Offline

    drdanick

    Firstly, try changing the port in remote.properties. Secondly, make sure you have forwarded both TCP and UDP packets for the port set in remote.properties to your server. Thirdly, if you are running the server on your own computer, it may be an issue of an overly aggressive firewall filtering UDP packets. Also, give the web interface a try: https://drdanick.com/mcremote

    As for the putty issue, make sure you have selected Telnet as the connection type, not SSH. And, if you are connecting to the server from within your local area network, make sure you use your local IP address for your server, not your WAN address.

    It sounds to me like you have allocated far too much ram to the toolkit process (It only requires around 20MB). What command/script are you using to start the toolkit? If you are using the included sh script, have you made any modifications to it at all?
     
  13. Offline

    Istrebitel

    I am using a bat file now to run my server, which basically adds all worlds to .7z archive upon server stop, then restarts the server (goto's to the bat file's first row).
    I'd love to use your plugin as it allows me to remotely control my server and allows to auto-restart on crashes, but i cannot see where can i setup an auto-backup. Is it possible? Actually i dont even need a dedicated backup feature, just need a string of code to be executed after server is stopped before it is restarted, that's all. Is that possible?
     
  14. Offline

    GarretSidzaka

    do you have a dev build?

    does it work on xp yet :p
     
  15. Offline

    Kiermasz

    Hi.
    I have a question.
    How to start your plugin with manager called "screen" on Debian minimal Linux?
    on normal start with: screen -A -m -d -S mine java -Xincgc -Xmx1G -Xms1G -jar craftbukkit.jar nogui i can normaly minimize console with ctrl+a+d

    I tried to start with command: screen -A -m -d -S mine java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar xxx:xxx but then, program cannnot start craftbukkit.jar.
    error code is: if I good remember "could not to find craftbukkit.jar"

    The name of craftbukkit main program was modified to "craftbukkit.jar" for your plugin but it only starting correct without "screen" manager.

    Sorry for my english, but I do not use it on a daily basis.
    greetings from Poland
     
  16. Hello. I'm having a small problem with the toolkit.
    It automatically restarts the server every 5 hours, even if I do the ".set restarts off".
    I also tried changing the restart timer from 5 hours to something like 99999h, but it wont change at all.
    Also tried using the command ".schedulerestart" to change the restart time through that, but it just crashed the server.
     
  17. Offline

    gearsgod

    not working! needs update!
     
  18. Offline

    hugonoob

    Not working? whats not working?
    Works for me i have no problems

    Have find it out? i need this too!

    I think rtoolkit.sh is for Linux
    try this "~/minecraft/rtoolkit.sh"
    minecraft = Server Folder

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  19. Offline

    untergrundbiber

    Sometimes the server crash with this error and then you can't restart with restart-tool.
    i must login to shell an kill the server manual via pid

    Any ideas?


    Code:
    [ERROR] IOException writing to the console: java.io.IOException: Stream Closed
    java.io.IOException: Stream Closed
            at java.io.FileOutputStream.writeBytes(Native Method)
            at java.io.FileOutputStream.write(FileOutputStream.java:318)
            at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
            at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
            at com.drdanick.McRKit.Wrapper.handleScheduledEventThread(Wrapper.java:1101)
            at com.drdanick.McRKit.Wrapper.handleScheduledEvent(Wrapper.java:985)
            at com.drdanick.McRKit.Scheduler.fireScheduledEvent(Scheduler.java:283)
            at com.drdanick.McRKit.Scheduler.access$000(Scheduler.java:13)
            at com.drdanick.McRKit.Scheduler$2.run(Scheduler.java:174)
            at java.util.TimerThread.mainLoop(Timer.java:555)
            at java.util.TimerThread.run(Timer.java:505)
    
     
  20. Offline

    Pythros

    How come I can't use the "up" key function to get the previous thing I typed in and why does it scroll my text that I entered in when something happens on the server? If I don't use this wrapper, I don't run into those issues.
     
  21. Offline

    Zombiemold

    @drdanick

    Is there any chance we could get the toolkit to automatically do configurable commands at startup and shut down/restart?

    I have run into a situation where being able to end all arena type games (Spleef,MobArena,CTP etc) on server restart/shutdown would be awesome in preventing small (usually unlikely) issues with inventories and such.

    Also, there are some commands I would like to have done when the server is started like globally turning off Clan ff for SimpleClans or, always turning on and ending a Towny War each day.

    Just an idea. I was thinking that it wold have to be a part of Remote Toolkit, and not some other plugin considering how remote toolkit handles the startups and shutdowns typically.
     
  22. Offline

    SpinkickR

    Hello, I Love How RTK Does All Of These Thing, This Will Really Help Out In The Future (Only If I Could Get It To Work) The Problem I Am Having Is That It Wont Broadcast The Server Out On My IP. Now I Have The Port Forward For My Server (Which Is 35000) Setup And Port Forwarded And This Is Straight From The Download, No Plugins Are On The Server Yet (Except The One For RTK) Nothing Has Been Modified Yet (Except For The Wrapper To Work On Port 35000) And I Can Connect From Localhost But Cant Connect From My IP And Port Forward. Any Tips Or Help??
     
  23. Offline

    jbrocks28

    Is there anyway i can setup my server to automatically .hold and .unhold? I'm on a mac.
     
  24. Offline

    Vittek

    Well I don't think the auto restart when crash isn't working anymore. I'm plagued with this lately:

    After that nothing but "Connection reset" and the RTK isn't restarting. I have to manually doing it.

    Here's the config for the wrapper:

    Anything I have to change to make it work?
     
  25. Offline

    beleg

    @drdanick are you working on an update?
     
    drdanick likes this.
  26. Offline

    monir

    Does it work with multicraft?
     
  27. Offline

    drdanick

    Developers will be able to write Modules that do this in R11.

    What is printed in the console before this occurs?

    That is provided by JLine, which the toolkit does not support, and neither does vanilla Minecraft. I am working on implementing JLine and/or other formatters into R11.

    Developers are more than welcome to write Modules that do this in R11. If no one gets around to it, i'll implement it myself. :)

    The Toolkit does not interfere with the Server Socket that the Bukkit process creates. What operating system are you using?

    The toolkit will only detect a "crash" if the bukkit console has become unresponsive. Have you checked that bukkit/minecraft console commands are not working when this happens?

    Yes :)

    I can't see why it wouldn't, though I would suggest that you have Multicraft launch the toolkit in place of the regular bukkit server, as opposed to have the toolkit start multicraft.


    @everyone:

    For Toolkit support/development/discussion and to be kept informed on development updates, please feel free to drop by the official RemoteToolkit IRC channel on EsperNet! #remotetoolkit @ irc.esper.net
     
  28. Offline

    Vittek

    Yes the console isn't death. Bukkit commands like /list still work. However the server is stuck and noone can connect until a restart has been triggered. Anything I can do to have RTK jump in restart the server anyway as it would do with a normal RTO error?
     
  29. Offline

    drdanick

    Unfortunately, no. I will be working on more accurate crash detection methods in Release 11.
    If you find that these problems arise often, I suggest lowering the restart period to minimize any downtime you have.
     
  30. Offline

    Vittek

    Appreciate the answers. I'm pretty certain the tick error is caused by a plugin. Just a matter of finding out which one. But yeah since a normal restart works (and map save) it's just some minor downtime.
     
  31. Offline

    Pythros


    Sweet! Thank you very much!
     
Thread Status:
Not open for further replies.

Share This Page