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

    drdanick

    http://forums.bukkit.org/posts/779962
     
  3. Offline

    ParadoXz

  4. Offline

    arkaman

    I don't know much about this, but this works for me.

    Code:
    screen -S restarter java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar user:pass
    replace user and password with your info.

    Is there something bad about doing it this way?
     
  5. Offline

    ParadoXz

    error when using remote console

    2011-11-02 23:19:55 [SEVERE] java.io.IOException: Received string length is less than zero! Weird string!
    2011-11-02 23:19:55 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:136)
    2011-11-02 23:19:55 [SEVERE] at net.minecraft.server.Packet255KickDisconnect.a(SourceFile:18)
    2011-11-02 23:19:55 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:81)
    2011-11-02 23:19:55 [SEVERE] at net.minecraft.server.NetworkManager.h(NetworkManager.java:149)
    2011-11-02 23:19:55 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:263)
    2011-11-02 23:19:55 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:77)
    2011-11-02 23:19:55 [INFO] /86.27.115.87:49182 lost connection
     
  6. Offline

    STiChad

    Ok that solves one problem but the Graphical UDP Client still isn't working.
     
  7. Offline

    drdanick

    Make sure that UDP port 25561 is forwarded. Also, try using https://drdanick.com/mcremote

    What isn't working, exactly?

    Yes, that is fine.

    It looks like you're trying to connect to the minecraft server port. The remote console is hosted on port 25561, not 25565.
     
  8. Offline

    GarretSidzaka

    and i will be waiting my friend
     
  9. Offline

    zaklampje

    Got a problem with updating my RAM... Got 4 RAM on my computer, but I can't update it in the wrapper...

    Code:
    #Minecraft Remote Toolkit Properties File
    #Thu Nov 03 17:39:21 CET 2011
    forced-restart-delay=5m
    maximum-heap-size=3000M
    toolkit-autoshutdown-alerts=10m,5m,1m
    restart-on-severe-exception=false
    server-saveall-period=0
    extra-runtime-arguments=-Djline.terminal\=jline.UnsupportedTerminal
    force-save-on-restart=true
    server-heartbeat-threshold=1m
    server-restart-alerts=10m,5m,1m
    minecraft-server-jar=craftbukkit-0.0.1-SNAPSHOT.jar
    initial-heap-size=2500M
    overridden-process-arguments=
    failed-heartbeat-restart-count=5
    filter-ansi-escape-codes=auto
    severe-exception-detection-level=1
    server-arguments=nogui
    toolkit-autoshutdown-delay=0
    server-restart-delay=00\:00,06\:00,12\:00,18\:00
    import-properties=false
    
     
  10. Offline

    thestriker095

    Could you add a command to force stop a server Ex: .forcestop
     
  11. Offline

    8bitben

    I just wanted to take a moment to say thank you! This toolkit has made it immensely easier to administrate my server and has resulted in 30+ day uptimes. It's truly a blessing to have such an active developer for all this time, I'll certainly try to donate to you if I can.

    Thanks!
     
  12. Offline

    Spudski

    When try to use the RTKController, after it just says 'Timed out...'

    Is there anything I did wrong?

    EDIT: I realize the information was a bit vague, but there isn't much detail I have to give. CB build number 1337 running on Mac OSX 1.6.8 x86_64
     
  13. Offline

    Pii

    How can i open the sh/bat file on putty? I run a server with a vps , Operating system: CentOS 5. I have try the plugin on my other computer with windows and yes it works but now i really need it to my real server. Please tell me how i can open the sh/bat file. Thanks :)
     
  14. Offline

    Ruan

    First edit rtoolkit.sh and replace USER: PASS with something more secure:
    nano rtoolkit.sh
    To start the server:
    screen -S minecraft sh rtoolkit.sh
    When screen starts, press "ctrl-a ctrl-d" to detach it from the console, and "screen -r minecraft" to retach it(or use other methods of connecting to the session).
    http://wiki.bukkit.org/Server_Remote_Toolkit
    http://www.gnu.org/software/screen/manual/screen.html
     
    drdanick likes this.
  15. Offline

    Pii

  16. Offline

    KyneSilverhide

    What's the difference between the RTK "HOLD" and the Bukkit "STOP". It seems that when you hold the server, Bukkit is still running but it won't accept connections from players. Is it possible to start a stopped Bukkit server with RTK ? Or does it only supports HOLD/UNHOLD ?

    Also, is there a ToolkitAction equivalent to the CommandType.DISABLE_RESTARTS ? I'd like to be able to stop Bukkit and disable the auto restart done by RemoteToolkit. Should I just use RTKInterface for this one?

    Thanks. :)
     
  17. Offline

    drdanick

    Are you running the UDP client within the same network as your server? If not, you need to remember to forward UDP port 25561 from your router to whatever local IP address is hosting your server.

    HOLD actually terminates the bukkit server, while leaving the toolkit running (this is useful for server admins who wish to perform an upgrade to bukkit without actually stopping the server). You can stop both the server and the wrapper with STOPWRAPPER. I am deprecating the option to disable restarts in that manner, so it is wise not to use it.
     
  18. Offline

    Spudski

    I got it working, thanks! Was on a different network, but now I am presented with a new problem...

    I have my server set to restart every two hours, and it was working for a couple of days, but recently, the server has been restarting every 5 mins and I don't know what's wrong. I re-installed the wrapper and it is still happening. I am running cb build number 1337
     
  19. Offline

    drdanick

    Can you pastebin a reasonable section of your console output (not log) around the time the server is restarted?
     
  20. Offline

    Spudski

    http://pastebin.com/TTD19GXr

    Seems it was restarting every 10 mins in this excerpt.

    EDIT: The random restarts only happen when I am remotely controlling the console via ConnectBot on my smartphone
     
  21. Offline

    drdanick

    That looks like a log paste. I need to see the actual console output, since the bukkit log does not contain toolkit output.
     
  22. Offline

    Spudski

    I restarted the wrapper, console was closed. Sorry.

    I do believe it was a one-time thing, nothing is wrong now. Everything is running smoothly =]
     
  23. Offline

    ReCreate

    Hello. I have a suggestion or question. Is it possible to make the telnet console display the last few lines that were printed to the console prior to connecting via telnet? I used to use screen on linux, every time i attatched to the console i would see all that the console printed prior to my connection. (ie player joins, and leaving, or errors)
     
  24. Offline

    drdanick

    This is definitely planned for Release 11.
     
  25. Offline

    ReCreate

    Thanks. Just what i wanted to hear. That was my most major nuisance with using this.
     
  26. Offline

    beleg

    could you please help me?
    this is my actual start script
    Code:
    java -server -Xmx4096M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar gsmod 
    and I really dont know how to make it start the Minecraft_RKit.jar :(
     
  27. Offline

    khaos2005

    installed the plug in three times and got that the plugin was not up to date so deleted might what to look into that!
    using build 1337
     
  28. Offline

    drdanick

    Use the following settings in wrapper.properties:
    Code:
    minecraft-server-jar=craftbukkit.jar
    extra-runtime-arguments=-Djline.terminal=jline.UnsupportedTerminal
    server-arguments=nogui
    initial-heap-size=
    maximum-heap-size=
    overridden-process-arguments=java -Djline.terminal=jline.UnsupportedTerminal -server -Xmx4096M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar gsmod
    server-restart-alerts=10m,5m,1m
    server-saveall-period=0
    server-restart-delay=5h
    forced-restart-delay=5m
    toolkit-autoshutdown-delay=0
    toolkit-autoshutdown-alerts=10m,5m,1m
    force-save-on-restart=true
    restart-on-severe-exception=false
    severe-exception-detection-level=1
    server-heartbeat-threshold=1m
    failed-heartbeat-restart-count=5
    filter-ansi-escape-codes=auto
    import-properties=true
    

    The toolkit supports build 1337. It sounds to me like you were trying to put the wrapper in the plugins/ directory. For information on how to set up the wrapper/plugin correctly, please see the wiki.
     
  29. Offline

    CraftyMclovin

    hey bro i'm using your toolkit for the first time today and everything works great apart from the UPD client (RTKcontroller)

    when i enter the info and click version i get this message (java.net.SocketException: socket closed)

    can you help?

    thank you


    Its okay i used this for a fix... i was putting my port :50500 at the end of the ip instead of :25561 works now thanks =D

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

    Buckethead

    when istart it up it says im running server 2003. i am not. i have 2008 r2
     
  31. Offline

    drdanick

    I cannot correct this. The toolkit is simply printing the 'os.name' system property provided by the java virtual machine. This should not affect the operation of the toolkit.
     
Thread Status:
Not open for further replies.

Share This Page