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. How do I add
    Code:
    java -Xms1200m -Xmx1200m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=3 -XX:MaxGCPauseMillis=50 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Xnoclassgc -XX:UseSSE=3 -XX:+UseLargePages -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+UseCompressedStrings -XX:+AggressiveOpts -jar craftbukkit-1.0.0-SNAPSHOT.jar nogui
    pause
    As extra parameters, because it says it can't find these commands if I use them in the wrapper.properties, but it works when I put it in the Startserver.bat.
     
  3. Offline

    drdanick

    You need to separate the arguments by commas when placing them in the wrapper configuration file.
     
  4. Offline

    jvzuijlen

    Tnx alot got it working now.
    But it doesnt have any use cuz i want it to auto restart but i need to press enter to make it start.
    i saw somethingabout a windows xp bug, so il quess its that. is there a way to fix it or are you working on that?
     
  5. Works like a charm thanks a lot!
     
  6. Is this plugin restarting server when there's no player connected ? It's a pretty cool feature.
     
  7. Offline

    beleg

    wow great news..
    I hope you'll add a backup function :D
     
  8. Offline

    RG_PankO

    ATM I am using these settings:
    overridden-process-arguments=java -Xms2048M -Xmx4048M -Djline.terminal\=jline.UnsupportedTerminal -Djline.terminal\=jline.UnsupportedTerminal -XX\:parallelGCThreads\=4 -server -Xincgc -XX\:+UseConcMarkSweepGC -XX\:+UseParNewGC -XX\:+CMSIncrementalPacing -XX\:+AggressiveOpts -XX\:+CMSParallelRemarkEnabled -XX\:+DisableExplicitGC -XX\:MaxGCPauseMillis\=500 -XX\:SurvivorRatio\=16 -XX\:TargetSurvivorRatio\=90 -XX\:+UseAdaptiveGCBoundary -XX\:-UseGCOverheadLimit -Xnoclassgc -XX\:UseSSE\=3 -XX\:permSize\=128m -XX\:LargePageSizeInBytes\=4m -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    Are they correct? I haven't updated this plugin for more then 2 months now and I jus decided to update.
    These settings were adviced by someone awhile ago I just changed the ram max and min settings.

    Are they ok?
     
  9. Offline

    drdanick

    Working on it.

    This should be possible in Release 11.

    Well, it should work. The question of whether it is necessary or optimal should be left to another thread. :p
     
  10. Offline

    PointGuard

    Is it possible to get access to unreleased builds like release 11?
     
  11. Offline

    drdanick

    Not currently, but it is planned.
     
  12. Offline

    Katorone

    Awesome stuff!
    I'm a bit worried about telnet security though, although I have to admit I like the feature.
    Is there any security built-in? Like temporary blacklisting an IP address after 3 failed login attempts? Or will a future version perhaps support ssh (http://www.jcraft.com/jsch/) to avoid sniffing?
     
  13. Offline

    drdanick

    I had the blacklisting idea a while ago, but it completely slipped my mind. I plan on implementing an SSHD into R11, but along with that I will implement a temporary blacklist. Thanks for reminding me :p
     
    veN1337 likes this.
  14. Offline

    Katorone

    That's good news, awesome!
    I've created a small .sh script that you can crontab and will restart the toolkit should it ever crash or is stopped:

    Code:
    #!/bin/bash
    
    string=`ps aux | grep -i minecraft | grep -v minecraft | grep -i RKit`
    
    if [ -z "$string" ]; then
        /home/myminecraft/server/rtoolkit.sh
    fi
    
    Would you consider adding something like this in the future version of rtoolkit.sh so that it can be crontabbed directly?
     
  15. Offline

    veN1337

    yay, SSH :)
    +1
     
  16. Offline

    beleg

    hi, can't start my server but it worked before...
    Code:
    Minecraft Remote Toolkit R10 Alpha 12
    Initializing...
    Loading toolkit properties...Done.
    Loading toolkit modules...Done.
    Wrapper is running on: Linux 2.6.39.2-iqx amd64
    Starting wrapper...
    Starting UDP listen server on port 25561
    Error occurred during initialization of VMRestarting...
    Could not reserve enough space for object heapDec 2, 2011 2:08:46 PM net.wimpi.telnetd.net.PortListener run
    INFO: Listening to Port 25,561 with a connectivity queue size of 5.
    Error occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Error occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Error occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Error occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Error occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Error occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Error occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Error occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Error occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Error occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Error occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Error occurred during initialization of VMRestarting...
    Could not reserve enough space for object heapError occurred during initialization of VMCould not reserve enough space for object heapRestarting...
    Is it my fault? Because I think my Host made something wrong :D

    --OK PROBLEM SOLVED--
     
  17. Offline

    Jobsti

    Heyho @drdanick

    With RTK I can't use ÄÖÜß in the console (/say öäü). (But the Terminal window shows UTF-8 on Ubuntu)
    On a Server without RTK, it works.

    Solution/tip?
     
  18. Offline

    ScottSpittle

    Can i just ask, i run a server for a friend and i don't want them to be able to change the amount of ram Usage in the "Wrapper.Properties" but if i remove write access they cannot start the server.

    How else can i block them from modifying that file?
     
  19. Hello. I'm running a server on 6GB ram VPS. I want to set inital heap size and maximum heap size 4gb on wrapper.properties but when i run server it says i haven't that much RAM. Why ? I can run it only with 2gb
     
  20. Offline

    Kaosvf

    Hi,
    I'm developing an own admin control panel for my staff, I'd like add the script that is in this page https://drdanick.com/mcremote to the panel, can I kindly have it?
    Regards.
     
  21. Offline

    frede1012

    So the "Windows XP bug" that needs to be fixed is this or do i have a different problem here. It works on my normal desktop PC with Win7 but when i transfer it to my "gameserver" (my other pc) with Windows XP it doesnt work
    So this is the "Windows XP bug"?
    Code:
    Minecraft Remote Toolkit R10 Alpha 12
    Initializing...
    Loading toolkit properties...Done.
    Loading toolkit modules...Done.
    Wrapper is running on: Windows XP 5.1 x86
    NOTE: Windows XP is not fully supported.
    Try pressing enter a few times...
    Starting wrapper...
    Starting UDP listen server on port 25561
    20:45:32 [INFO] Listening to Port 25.561 with a connectivity queue size of 5.
    First attempt at checking for presence of Bukkit RTK plugin...
    Second attempt at checking for presence of Bukkit RTK plugin...
    
     
  22. Offline

    drdanick

    I was considering doing something like that a while ago. It may be included with R11.

    I will work on UTF-8 support for R11. Unfortunately, working it into R10 would involve me rewriting about 90% of the console stream reading/writing code. Sorry about this.

    Provided your friend does not have access to the command that launches the toolkit, you can override any of the property keys with a command line argument, by simply writing the key as you would like it to appear in any of the property files, but also preceded with an '-0'. For example:

    Code:
    java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar -oinitial-heap-size=1024M -omaximum-heap-size=1024M USER:PASS
    
    You can find the slightly outdated script source on the first few pages of this thread.

    Yes. I am working on fixing this in R11.
     
    Jobsti likes this.
  23. Offline

    Kaosvf

  24. Offline

    Jobsti

    Heyho @drdanick

    Since the new CB 1.0 Builds, some Messages won't work.
    Only ops (or some few users in some case) get restart-time-warning Messages.
    If they're kickd on Restart, no one gets the restart-kick-message.

    Now on Release 10, Alpha 12 and #1563. Configs in UTF-8 without BOM.
    (with 1337 it worked)

    Pressing TAB in the UDP-Client doesn't mark the text "Username", "••••••••••" or "Host/IP",
    only switches the Cursor in front of the Text (On W7 x64. JRE 1.7 x64).
    But in some cases, it works, weird....
    What's about to leave the fields empty and write the text below the txt-fields? ;)
     
  25. Offline

    ImJustPro

    Is there a way to actually stop your server, without it restarting?
     
  26. Offline

    Jobsti

    .stopwrapper
     
  27. Offline

    Imm0rt41

    when a console command is executed from the telnet console, will it show up in the main console? if it doesnt, then i have a request

    My co-owner has access to the telnet console, I told him the password and username, and I have reason to suspect he has been occasionally doing something to fuck up the server, but I can't see the console commands. Can you add to this plugin making it show in the main console all commands executed through telnet?
    That's only if it doesn't already do this.
     
  28. Offline

    drdanick

    That was an issue with bukkit that appears to be fixed. As for the UDP client, I would still like to have it working correctly in the current layout (Java is a little weird when it comes to focus events and component selection, particularly when focus is changed with the tab key). I will work on fixing it for release with the next update.

    As @Jobsti mentioned, the command to stop both the wrapper and the server is .stopwrapper. I recommend reading over the documentation.

    Currently, the exact command executed is not printed to console instances, but the output/result of the command is. Command mirroring may exist in R11, provided I can come up with a reasonable solution to prevent sensitive information from being mirrored (passwords, etc).
     
  29. Offline

    keyfx

    I think after you change the initial & maximum heap size, you need to shut down your wrapper with the ".stopwrapper" command, then try to start your wrapper again. :D


    CMIIW :D
     
  30. it is not working -.-
     
  31. Offline

    keyfx

    Oh wait it says that your server doesnt have that much RAM?

    ok i can't help you with that..
     
Thread Status:
Not open for further replies.

Share This Page