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. does this work in Bukkit R4 NON RECOMMENDED version 1871
     
  3. Offline

    o0AzzA0o

    It works exactly the way i want it to on windoom....... iv never had issue with rtoolkit. im using r3
     
  4. Offline

    boogershrimp

    Hey i have this plugin running on my server and i think it runs just fine, one issue i followed the instructions for accessing the console directly and it didnt work, when i downloaded putty.exe i imputted the information and it started up, i entered my username and hit enter, then i couldnt enter my password, it wouldnt let me type anything and if i rightclicked the console thing it would close or even if i hit enter again it would close, please help!
     
  5. Offline

    vYN

    i have a issue... when i'm using remotetoolkit. my server will only use 1GB ram... i usaly give it 12GB. And i have set -Xmx12888m in the rtoolkit.sh anyone else have this issue?
     
  6. Offline

    Himeki

    Gudfaren you're giving the wrapper 12gb of ram, not the server. You need to adjust the config file.
    Serverfolder\toolkit\wrapper.properties
    set "maximum-heap-size" to either 12g or 12288m (12g also works the same as 12288m)
    you may also want to set "initial-heap-size" to 12g or 12288m to prevent it from jumping between amounts of ram.
    set the rtoolkit.sh back to "Xmx30M -Xms30M -XX:MaxPermSize=40M"
     
  7. Offline

    vYN

    OK. thanks^^
     
  8. Offline

    Himeki

    No problem, glad I could help.
     
    Gudfaren likes this.
  9. Offline

    Paulifan1000

    I say only 7 letters A-W-E-S-O-M-E. This is this Plugin what I need.
     
    Tendonsie likes this.
  10. Offline

    Tendonsie

    I want to optimize my java.
    How can I do this with your wrapper?
    http://forums.bukkit.org/threads/op...reme-way-p-need-feedback-thx-i-am-back.25994/

    ionice -c1 -n0 nice -n -10 /usr/lib/jvm/jdk1.7.0/bin/java -Djava.library.path=/usr/lib/jvm/jdk1.7.0/lib/amd64 -d64 -server -XX:+UseG1GC -DJINTEGRA_NATIVE_MODE -DJINTEGRA_COINIT_VALUE=0 -Dsun.io.useCanonCaches=false -Djline.terminal=jline.UnsupportedTerminal -XX:ThreadPriorityPolicy=42 -XX:CompileThreshold=1500 -XX:+TieredCompilation -XX:parallelGCThreads=4 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:+UnlockExperimentalVMOptions -XX:+UseAdaptiveGCBoundary -XX:permSize=64M -XX:MaxPermSize=256M -XX:+UseGCOverheadLimit -XX:+UseBiasedLocking -Xnoclassgc -Xverify:none -XX:UseSSE=3 -XX:+UseThreadPriorities -Djava.net.preferIPv4Stack=true -XX:+UseLargePages -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:+UseFastAccessorMethods -Xrs -XX:+UseCompressedOops -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui


    Is it in :
    • extra-runtime-arguments - A comma separated list of arguments to be sent to the java runtime environment.
    • server-arguments - A comma separated list of arguments to be sent to the server process.
    Can you give an example, thanks!
     
  11. Offline

    atvdude01

    um i followed the instructions but my server wont respond to any outside commands???? any help?
     
  12. Offline

    Taketheword

    NOTE: I also Pm'd drdanick this message :)!

    Hello everyone, I felt that the "RTKController" was not all it should be, SO, I developed one completely from scratch (0 code taken from this one). The program is simple and effective! Here is the download link: http://retrocraftmc.com/downloads/rtkcontroller.zip
    Please try it and tell me what you think!

    Updated with a new version. Changed some overall ease of it and added "current state" messages. (ie Idle, Sending).
    I am getting something quite odd.. everytime I recieve a message from the server, it adds the server port to the end of it. I can't see how my coding could be doing it. Any ideas?

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

    caspertheghast

    Hey, I can't seem to download from your website. Is it only me?
     
  14. Offline

    P_S

    Is there any PHP script for sending commands without remote toolkit commands ? ...
     
  15. Offline

    Vettexl

    What does this error mean, and how do I prevent/fix it? It shows up every 3 minutes.

    Code:
    CraftBukkit version git-Bukkit-1.1-R4-b1938jnks (MC: 1.1) (Implementing API version 1.1-R4)
    Rtoolkit version R10 a12
     
    Feb 14, 2012 10:05:20 AM net.wimpi.telnetd.net.ConnectionManager makeConnection
    INFO: connection #1 made.
    Feb 14, 2012 10:08:20 AM net.wimpi.telnetd.net.ConnectionManager makeConnection
    INFO: connection #2 made.
    Feb 14, 2012 10:11:20 AM net.wimpi.telnetd.net.ConnectionManager makeConnection
    INFO: connection #3 made.
    Feb 14, 2012 10:14:20 AM net.wimpi.telnetd.net.ConnectionManager makeConnection
    INFO: connection #4 made.

    And then using .stopwrapper:

    Code:
    10:15:48 [INFO] Stopping server
    Unexpected error in shell!
    java.net.SocketException: Socket closed
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:129)
            at java.net.SocketInputStream.read(SocketInputStream.java:182)
            at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:271)
            at net.wimpi.telnetd.io.TelnetIO.rawread(Unknown Source)
            at net.wimpi.telnetd.io.TelnetIO.read(Unknown Source)
            at net.wimpi.telnetd.io.TerminalIO.read(Unknown Source)
            at com.drdanick.McRKit.Telnet.TelnetIOInputStream.readLine(TelnetIOInputStream.java:23)
            at com.drdanick.McRKit.Telnet.ConsoleShell.run(ConsoleShell.java:53)
            at net.wimpi.telnetd.net.Connection.run(Unknown Source)
    Unexpected error in shell!
    java.net.SocketException: Socket closed
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:129)
            at java.net.SocketInputStream.read(SocketInputStream.java:182)
            at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:271)
            at net.wimpi.telnetd.io.TelnetIO.rawread(Unknown Source)
            at net.wimpi.telnetd.io.TelnetIO.read(Unknown Source)
            at net.wimpi.telnetd.io.TerminalIO.read(Unknown Source)
            at com.drdanick.McRKit.Telnet.TelnetIOInputStream.readLine(TelnetIOInputStream.java:23)
            at com.drdanick.McRKit.Telnet.ConsoleShell.run(ConsoleShell.java:53)
            at net.wimpi.telnetd.net.Connection.run(Unknown Source)
    Unexpected error in shell!
    java.net.SocketException: Socket closed
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:129)
            at java.net.SocketInputStream.read(SocketInputStream.java:182)
            at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:271)
            at net.wimpi.telnetd.io.TelnetIO.rawread(Unknown Source)
            at net.wimpi.telnetd.io.TelnetIO.read(Unknown Source)
            at net.wimpi.telnetd.io.TerminalIO.read(Unknown Source)
            at com.drdanick.McRKit.Telnet.TelnetIOInputStream.readLine(TelnetIOInputStream.java:23)
            at com.drdanick.McRKit.Telnet.ConsoleShell.run(ConsoleShell.java:53)
            at net.wimpi.telnetd.net.Connection.run(Unknown Source)
    Feb 14, 2012 10:15:49 AM net.wimpi.telnetd.net.PortListener stop
    INFO: stop()::Stopped net.wimpi.telnetd.net.PortListener@57bcc0bc
    Unexpected error in shell!
    java.net.SocketException: Socket closed
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:129)
            at java.net.SocketInputStream.read(SocketInputStream.java:182)
            at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:271)
            at net.wimpi.telnetd.io.TelnetIO.rawread(Unknown Source)
            at net.wimpi.telnetd.io.TelnetIO.read(Unknown Source)
            at net.wimpi.telnetd.io.TerminalIO.read(Unknown Source)
            at com.drdanick.McRKit.Telnet.TelnetIOInputStream.readLine(TelnetIOInputStream.java:23)
            at com.drdanick.McRKit.Telnet.ConsoleShell.run(ConsoleShell.java:53)
            at net.wimpi.telnetd.net.Connection.run(Unknown Source)
    
     
  16. Offline

    P_S

    try disable telnet connection ...
     
  17. Offline

    Vettexl

    I did, still happens. =/
     
  18. Offline

    scottjl

    nice tool. what i'd like to see added is the ability to rotate the server.log file (preferably during a scheduled server restart). basically what i'd like to do is restart my server every 24 hours, and have it rotate the log file (preserving the old one, and creating a new one).

    thanks!
     
  19. Offline

    Taketheword

    Hello again everyone! I have been making some major updates to my custom RTKController program! Below is a link to the next release version. This version is completely recoded and will soon include Telnet! The new version includes: advanced ip checks, debug mode, writes its own directories and files to store data, and more! Within the next day, Ill release another minor version that will allow the user to save 1 (or 3, undecided yet) favorite server that can be used to store information for servers that you constantly manage. Heres the new link (mediafire):

    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Dec 15, 2016
  20. Offline

    dwi

    [quote uid=90612252 name="Taketheword" post=971816]Hello again everyone! I have been making some major updates to my custom RTKController program! Below is a link to the next release version. This version is completely recoded and will soon include Telnet! The new version includes: advanced ip checks, debug mode, writes its own directories and files to store data, and more! Within the next day, Ill release another minor version that will allow the user to save 1 (or 3, undecided yet) favorite server that can be used to store information for servers that you constantly manage. Heres the new link (mediafire):

    <Edit by Moderator: Redacted mediafire url>
    Does it works with default Craftbukkit behavior in console? History, up/down arrow for browsing history, proper use of home/end, etc..?
     
    Last edited by a moderator: Dec 15, 2016
  21. Offline

    r4ym4n333

    Hey, I've tried to follow the instructions on the Wiki as well as I can and when I try to start the rtoolkit.bat the cmd window closes instantly and I manage to get a screeny of its error.

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

    Taketheword

    [quote uid=36247 name="dwi" post=971890]Does it works with default Craftbukkit behavior in console? History, up/down arrow for browsing history, proper use of home/end, etc..?[/quote]
    Currently it only supports UDP, but very soon it will have a fully operational Telnet Client built in which will be exactly like connecting with Putty.

    Just added the option of favorite server to the settings. Here's the new link:
    <Edit by Moderator: Redacted mediafire url>

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 15, 2016
  23. Offline

    Lorgarn

    Hello,

    We've been using this plugin on our server for a few months now. It's been working so so basically. The one problem we have is that, at times, it doesn't do any of it's scheduled restarts/shutdowns. We have a automated restart of our hardware once every day, and we need this plugin to shutdown our server correctly before that happens so we doesn't get a rollback.

    Yesterday I updated the plugins, did a few test restarts and shutdowns. Worked perfectly. I also was observing the shutdown+restart-of-hardware which also worked as intended. However, today it didn't work as planned.

    The plugin didn't shutdown as planned, the server hardware got restarted and we got rollbacked 20-30 minutes.

    When I'm using the .shutdowntime it says "No scheduled shutdown!" but our settings/wrapper says otherwise.

    If anyone has any ideas and/or solutions to this problem - PLEASE help, this is my plea to you. From one fellow serveradmin and Minecraft player to another.
    Here is any server info you might or might not need:Connection: 100/100Mbit
    Amount of playerslots: 20


    RemoteToolkit Setting/Wrapper:
    [​IMG]


    List of plugins:
    [​IMG]

    Thank you,
    Lorgarn.
     
  24. Offline

    P_S

    Just to file start.bat write:
    Code:
    @echo off
     
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar Username:Password
     
  25. Well I can't say I have any answers for you, but I can maybe help you troubleshoot it a bit. For reference I've never noticed any issue on my server, and I'll include my own config file for comparison
    here. (open)
    Code:
    #Minecraft Remote Toolkit Properties File
    #Thu Feb 16 21:01:30 EST 2012
    forced-restart-delay=5m
    maximum-heap-size=2048M
    toolkit-autoshutdown-alerts=10m,5m,1m
    restart-on-severe-exception=true
    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-1.1-R5-SNAPSHOT.jar
    initial-heap-size=2048M
    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=07\:00
    import-properties=false
    That being said, is there any consistency to the failure? Is it always the 6 AM or PM that has an issue? The noon shutdown? Is the server time set correctly? Does the server time ever change for any reason? (One of the only reasonable answers I can think of is if say the server predicts a shutdown at noon and the server time jumps from say 11:50 to 12:01, bypassing the shutdown time.) Does the hardware shutdown happen in enough time after the server shutdown that there's no way a delay of plugins (or even the wrapper) turning off could be keeping the server from shutting down in time?

    As you can see from my config I've never used the shutdown feature myself, just the restart. Does the .restarttime always show accurately?

    I use none of the same plugins you do. But I can't really see them interfering in the wrapper.

    Do you use any RTK modules? Spacebukkit, milkadmin?
     
  26. Offline

    Lorgarn

    The restarts seems to be working fine, it's always the schedules shutdown (at 12:00) that stops working. I can't say if it happens everytime since I can't possible be on to investigate every day. And sometimes there is just not so many online at that time.

    The server time is set correctly and it does not change as far as the three active admins is concerned. This could explain the issue if it werent for the fact that the command .shutdown time says "No scheduled shutdown!" even though there clearly is one scheduled.

    The hardware restart happens 30 after the server shutdown, so there is plenty of time. (This has also been verified multiple times). It tekes about 4 seconds for our server to shutdown itself.

    As far as I know the .restartime works fine.
     
  27. Offline

    Pim1234

    whatever i try to do, it always returns "read timed out", which is weird since everything is working fine as long as i don't use the UPD client.

    i'm on Mac OSX and cb R4
     
  28. Offline

    Austin

    Who the hell are you to be hijacking this thread for your own damn updates.
     
  29. Offline

    Favorlock

    By the way, RTK causes blue screens. I can confirm this because it happened to my friend, then myself.

    Error: Bad Pool Header
     
  30. Offline

    Pim1234

    Code:
    Minecraft Remote Toolkit R10 Alpha 12
    Initializing...
    Loading toolkit properties...Done.
    Loading toolkit modules...ERROR: Could not load Toolkit Module toolkit/modules/.DS_Store in toolkit/modules: null
    Done.
    Loading SpaceRTK...Done.
    Wrapper is running on: Mac OS X 10.6.8 x86_64
    Starting wrapper...
    20:51:49 [INFO] Listening to Port 25,561 with a connectivity queue size of 5.
    Starting UDP listen server on port 25561
    
    [​IMG]
     
  31. Offline

    silentdojo

    You shouldn't have anything in the modules folder.
     
Thread Status:
Not open for further replies.

Share This Page