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

    Jumpy91

    I thougt that, it does this from his self
     
  3. Offline

    drdanick

    Jumpy91 I'm not sure I follow. Are you asking if the start script launches screen? It does not, you need to do that yourself.
     
  4. Offline

    Choron333

    Hello, first of all thanks for the great work. It saved my day since I run it.
    I just discovered a problem. I started the tool with my minecraft account name "java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar choron333:xxxxxxxxxx and the password. But in game every time I try to restart the server I got a message that the password is not correct. I'm sure the password I use is correct.
    I tried both:
    /restartsrv choron333:xxxxxxxxxx
    and
    /restartsrv xxxxxxxxx
    but I can't restart my server.

    On a linux system? You have to add & at the end of the commandline.
    java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar &
    to run the script in backround.

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

    drdanick

    Choron333 Try adding a user while the Toolkit is running with .useradd.

    For example, try this:
    Code:
    .useradd user pass
    Then try /restartsrv user:pass from in game.
     
  6. Offline

    Yanniclord

    Hi, im getting this when booting my Server, and dont know how to fix it:
    USAGE: Minecraft_RKit [OPTIONS] [USERNAME:pASSWORD]
    ERROR: There are no users on file. One must be specified.

    Hi, im getting this when booting my Server, and dont know how to fix it:
    USAGE: Minecraft_RKit [OPTIONS] [USERNAME: PASSWORD]
    ERROR: There are no users on file. One must be specified.

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

    drdanick

    Yanniclord When you start the Toolkit, you need to specify a username and password as part of the command you use to launch the Toolkit. Typically, it will look something like this:

    Code:
    java -Xmx30M -jar Minecraft_RKit.jar user123:pass321
    Most importantly, user123 and pass321 should be substituted with something else of your choosing.
     
  8. Offline

    AgentLV

    Hello,
    first of all great Wrapper, helped me alot with my Server :)
    But I have one Problem, everytime my Server crashes, it will not start again, I have to stop the server process /bin/bash ./rtoolkit.sh and then the server restarts.My Server runs on linux and the server-restart-delay works!
    I hope you can help me, if you need more information let me know!
    Sry, if I my english is bad, I come from Germany :p
     
  9. Offline

    Brycey92

    Hello,
    Before I start my help request, I just wanted to say the RTK has been helping me administrate my servers for as long as I can remember, and I want to thank you for all your hard work in making it!
    Unfortunately, my latest server won't run under RTK due to either a bug, unimplemented code, or my own stupidity. When I try to run the RTK with extra runtime arguments, none of them actually go through. Here is the line from my config:
    Code:
    extra-runtime-arguments=-Djline.terminal\=jline.UnsupportedTerminal -server -Xincgc -Xmx2560M -Xms1024M -Xmn256M -XX:PermSize\=256m -XX:MaxPermSize\=1024m -XX:NewRatio\=2 -XX:CMSFullGCsBeforeCompaction\=1 -XX:SoftRefLRUPolicyMSPerMB\=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -XX:MaxGCPauseMillis\=500 -XX:SurvivorRatio\=8 -XX:TargetSurvivorRatio\=90 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseLargePages -Xnoclassgc -oss4M -ss4M -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction\=90 -XX:+UseConcMarkSweepGC -XX:UseSSE\=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads\=4 -XX:+AggressiveOpts
    I can run the server fine with these arguments in a regular batch file, but it seems RTK isn't listening to any of them. I tried shortening it to just
    Code:
    extra-runtime-arguments=-Djline.terminal\=jline.UnsupportedTerminal -XX:+UseLargePages
    which is supposed to throw a warning about being unable to allocate a larger page (I'm really just using this to indicate if RTK ran the extra arguments), but it still had no effect. If you need any additional information to help me, I'll be glad to provide it. Thanks in advance!

    Edit: Derp, it was my own fault. It's supposed to be comma delimited, not space delimited.
     
  10. Offline

    mmuziek

    hello i have a problem.
    when i wanna change the restart delay to 00:00 when the server restarts it sets it back to 00/:00 what can i do to solve this ?
     
  11. Offline

    Liger_XT5

    Ignore it as it works just fine leaving it to a form of text that it can read. If you change it to anything else with a double-digit : double-digit format, it will add the / in it.
     
  12. Offline

    mmuziek

    hey i have another problem i dont know if its rtk but. the server gets restarted every 6 hours without an announcement.
    and the settings wich i set the time to 00:00 i changed that yesterday to 01:00 it didnt restart at that time.
    it restarted at 00:43 and at 06:43 and at 12:43

    so its restarting the server. without announceing like rtk normally would heres my wrapper :

    Code:
    #Minecraft Remote Toolkit Properties File
    #Fri Nov 29 12:46:41 CET 2013
    forced-restart-delay=5m
    maximum-heap-size=4096M
    toolkit-autoshutdown-alerts=10m,5m,1m
    restart-on-severe-exception=false
    server-saveall-period=10m
    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.jar
    initial-heap-size=4096M
    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=01\:00
    import-properties=false
    
    i am using bukkit 1.6.4 mabe that helps :S

    please help me solve this my players do leave when they lose items/work because of those restarts

    EDIT : i have now updated RTK to the latest version. see if that helps :)

    EDIT2: the update fixed the planned restart. but 6 minutes after the planned restart the 6 hours restart goes again. so every 6 hours the server restarts.
     
  13. Offline

    stgram

  14. Offline

    hawkfalcon

    drdanick I thank you for this amazing tool. Is there a possibility to have it execute a command right before shutdown? Thanks!
     
  15. Offline

    shadvalentine

    I am having a problem with this on a bungee cord server with BungeeSuiteBans plugin.. Every time it restarts the BungeeSuiteBans plugin takes over the message that shows up on the screen about the server restarting and instead says you have been kicked for breaking the rules .. Is the any way I can get the 2 plugins to work together?
     
  16. Offline

    mmuziek

    so nobody can help me? :(
     
  17. Offline

    MrInfro

    You got it all wrong. The server restart delay is AFTER how many hours your server will restart, that means if you have 1h your server will restart after one hour. and furthermore, you have a typo :) The backslash doesnt belong there :)
    server-restart-delay=01\:00
     
  18. Offline

    mmuziek

    wel mr infro. if you can read back they told me that the toolkit places that \ by itself. so i cannot change it because it keeps placing that back.

    and for the other it doesnt matter when i restart it the 6 hours keep going. so
    i searched more and more. and found out that my control panel spacebukkit was updating when the server restarted.
    for now when i turned updating off. i found out that there are no more unexpected restarts :)

    so i think for now its solved :)
     
  19. Offline

    iksaku

    Hi everyone!
    I'm new using RTK and these days were awesome with it! But I have a quiestion:
    is this wrapper compatible with Tmux? I mean, can I use the wrapper with Tmux?
    (My question is because I cant use screen because I can't install it properly without root xD and I'm not root on the server :p )
    Cheers! and Thanks a lot drdanick
    (sorry for my bad english)
     
  20. Offline

    winter4w

    When will there be a 1.7.2 one ???
     
  21. Offline

    drdanick

    stgram The most recent release does have (mostly) full unicode support.

    hawkfalcon This would probably be possible if you were to write a module, but that API isn't well documented. Send me a PM if you want to go down this route.

    iksaku I actually use tmux myself, and I can confirm that it works well with the Toolkit. :)

    winter4w The current version is compatible with 1.7.2. I will not be updating the thread title until a recommended build for 1.7.2 is released.
     
  22. Offline

    winter4w

    Ok yea all seems ok :D
     
  23. Offline

    SpareGoblin

    Hello drdanick

    I realise that you are not going to be too concerned with 1.7.x issues at the moment since it's still in development, however if you are able to give me any pointers on an issue I am experiencing then I would be very grateful.

    The toolkit's save-all function is not printing out the **MAP SAVE COMPLETE** message, despite the fact that the console reports that the save is complete (see attached image). The first thing I checked was that the corresponding entry in 'messages.txt' was configured properly, which it does indeed seem to be, therefore I am unsure what may be causing this. While it's not a major concern, I would just like to confirm that it is not an indication of an underlying issue.

    Any insight you could share on this would be greatly appreciated. Thank you.

    console-save-message.jpg
     
  24. Offline

    drdanick

    SpareGoblin Thanks for spotting this! Would it be possible for you to confirm that this worked correctly on pre-1.7 versions of bukkit under the current toolkit version? I don't currently have access to any test environments.
     
  25. Offline

    SpareGoblin

    drdanick Thank you for your reply. I posted a little hastily it seems, as I discovered that I was not using the latest version of the plugin. With the plugin version R10_A15.3 the messages are being printed out correctly. I apologise for the false alarm - you can probably tell I am a server administrator-in-training!

    Thank you again.
     
  26. Offline

    TheLecturer

    Would it be possible to add a feature to allow an external script to be called during the auto-restart cycle? I reboot my server daily and would like to be able to run a few scripted jobs (backup, copy in latest jar files, change some configs etc.) during this reboot.

    Thanks very much.
     
  27. Offline

    SovHed

    Dear DrDanick

    I very much enjoy the use of your excellent software. I would like to make a feature request however... Due to the order in which the inventory is saved after the world duping is very possible as shown here: (not my video, maybe not even your mod, but this can be reproduced on my server) :

    Anyway, my request is a command that is initated a set time before the server shuts down/restarts... Example:
    10 Seconds before a shutdown I want to kick all players and whitelist the server, 2 simple commands that can be run from console. This would save player invs, leave the world empty for saving and ensure people couldn't get back on until the server had restarted.

    I hope you will take a moment to consider this request, and thank you for all the great work you have done on such a useful tool.

    Sov

    p.s. I considered that this may be a "module" and thus out of your personal hands.. however I am unsure where, if any modules exist. After a lot of googling I failed to locate any.
     
  28. Offline

    Wizardgreatar

    Hey all,
    I am having an issue with the rtoolkit console and bukkit version 1.7.2 r0.2. The precise details of this issue are outlined in this post. If anyone could assist, I would be very grateful.
    Thanks,
    Wizardgreatar
     
  29. Offline

    VodkaDK

    Just wondering but would you be willing to make a version of RemoteToolKit for Bungeecord? And by that I mean to actually wrap the Bungeecord.jar like the current version wraps Craftbukkit.jar with the same capability such as scheduled restarting, UDP protocol, telnet and so forth.

    Thus far there are no available wrappers built specifically for Bungeecord and I think this could really be helpful.
     
  30. Offline

    drdanick

    SovHed I can probably release a small module which will fix this, which should be fine until I can work it into the Toolkit proper.

    Wizardgreatar Please pastebin the contents of wrapper.properties

    VodkaDK Is there anything specific which prevents the current Toolkit from wrapping Bungeecord correctly?
     
  31. Offline

    VodkaDK


    It wraps it fine and functions like it would if it was wrapping bukkit. The problem is, lets say I schedule a restart, in bukkit/spigot the command stop would work to shut the server down, but in Bungee it uses end instead of stop. So I cannot restart or shutdown Bungeecord or schedule a restart.

    Is there a way around this maybe a config option to specify the stop command as something else user selectable?

    Also perhaps a Bungeecord plugin so that RTK can detect when the Bungeecord server has crashed and restart it automatically?
     
    milesmcc likes this.
Thread Status:
Not open for further replies.

Share This Page