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

    bartbergmans

    When the server automatically restarts some people get killed when they join. How to avoid this?
     
  3. Offline

    Podshot

    Here is an error when my port-forwarded sever here is is:
    "The exception was: java.net.BindException: Address already in use: JVM_Bind"
    Can you help? The server has been ran before.
     
  4. Offline

    Zchryfrk

    I have two questions: Will this work on 1.2.5? and Is it possible to give a few people access to only a few remote commands such as just restart?
     
  5. It works with 1.2.5 here just fine ;) It should do so with any new version of CB i guess. It just warps around it. Maybe if bukkit has a major change this could be affects.

    For your second question: I think this is currently not possible but i haven't tried it at all so maybe someone else will tell us.
     
  6. Offline

    Rifle

    11:16:11 [SEVERE] Could not load 'plugins\Minecraft_RKit.jar' in folder 'plugins
    '
    org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPlug
    inLoader.java:193)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:132)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    ... 8 more
    11:16:11 [SEVERE] Could not load 'plugins\RTKController.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPlug
    inLoader.java:193)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:132)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    ... 8 more
     
  7. RTKController.jar is NOT a plugin.

    It is a standalone programm you can run to verify that the wrapper is working! (And it has some commands built in)
     
  8. Offline

    koop011

    I want to be able to stop the server and restart it using the iOS app, I've followed all instructions except i didn't understand this part:
    Note: If you are using the .sh, remember to give execute permissions to it by navigating to the folder with the .sh in it and running the following command: chmod +x rtoolkit.sh

    I have a dedicated server that runs on a host so I should be using the .sh file, what am I supposed to do?

    Edit: btw everything runs fine, nothings wrong just when I try to stop the server or restart it, I get this message :

    2012-04-14 10:54:48 [INFO] [JSONAPI] [API Call] 123.211.24.61: method=remotetoolkit.stopServer?args=[]

    but it doesn't actually stops the server
     
  9. Offline

    Steffion

    Hello @dradanick,
    Are you still editing this?
    If yes can you add chat history (whats on craftbukkit you know?)
    Thanks!
     
  10. Offline

    Esaych

    Since you never changed your plugin to automatically shutdown the server when commanded to at a certain time in the properties file, I had to go out of my way to make my server shutdown at 9:30 PM (Page 68). I had to go out and download tst10.exe and make a script that logged into the telnet, then type .stopwrapper for me.
    And I used Windows Task Scheduler to run the script at 9:30 PM everyday.

    You should REALLY fix that, would've saved me sooooo...ooo much time.
     
  11. Offline

    Zombiemold

    We are in desperate need for triggered commands!

    I would really love to tell Remote toolkit which commands it should run at shutdown/restart and possibly after server start.

    Since remote toolkit is the one handling all the shutdowns and such, it seems the logical place to have this feature.

    Some of the cases where it would be useful is:

    - Turning PvP off before a countdown so people won't use nasty tactics to abuse the shutdown in PvP (triggering PvP loggers, or stealing items etc)

    - Disabling a plugin likes Auction or MobArenas to prevent exploitation or bugs etc.

    - Kicking players from active mini games etc..

    There are so many things we could do with commands like that, to just completely smooth over the restart process.
     
  12. Offline

    Mozart07

    OMG!

    Code:
    Minecraft Remote Toolkit R10 Alpha 13
    Initializing...
    Loading toolkit properties...Done.
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
            at com.drdanick.McRKit.McRKitLauncher.<init>(McRKitLauncher.java:141)
            at com.drdanick.McRKit.McRKitLauncher.main(McRKitLauncher.java:103)
    
    What the hell?
     
  13. Offline

    koop011

    Wait, You can stop and restart using this tool right? the Adminium and the toolkit thing?

    I'm slightly confused cause a lot of the people I've talked to says that it works perfectly fine but it's not for me.

    Still can't do stop and restart on my application.

    Help?

    Also how do you enable auto save? so i don't have to /save-all, all the time =_=
     
  14. Offline

    Mozart07

    I don't know but server not start...

    aww i broke rtoolkit.sh xD

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

    Abadon84

    hi,
    wich charset i have to set in putty so that special characters will work? utf8 dont work...
     
  16. Offline

    Activat0r

    Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02)
    running on FreeBSD 7.2-RELEASE-p7 amd64 (Freenas machine)
    CraftBukkit 1.2.5-R1.2 (build #2155)

    Code:
    Minecraft Remote Toolkit R10 Alpha 13
    Initializing...
    Loading toolkit properties...Done.
    Loading toolkit modules...Done.
    Wrapper is running on: FreeBSD 7.2-RELEASE-p7 amd64
    Starting wrapper...
    Starting UDP listen server on port 25561
    Severe error in Minecraft Remote Toolkit wrapper!
    java.io.IOException: Cannot run program "java": java.io.IOException: error=2, No such file or directory
            at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
            at com.drdanick.McRKit.Wrapper.start(Wrapper.java:372)
            at com.drdanick.McRKit.McRKitLauncher.<init>(McRKitLauncher.java:171)
            at com.drdanick.McRKit.McRKitLauncher.main(McRKitLauncher.java:103)
    Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
            at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
            at java.lang.ProcessImpl.start(ProcessImpl.java:65)
            at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
            ... 3 more
    Been struggling with this for a few days, haven't been able to figure out what the problem is. Tested also on the RB, 1.2.5-R1.0 (build #2149). Any suggestions?
     
  17. Well I'm totally walking out the door.
    He said he's planning it in a future release.
    Umm, that's implemented already. Go check the wiki, hopefully it's there but I'm pretty sure it's in wrapper.properties.
    It's saying it can't run java. Make sure java's in your PATH. Google it and you'll find out how. Hope this helps some of you.
     
  18. Offline

    Obliviator

    Ive been having a problem with RemoteToolkit.
    It restarts itself (maybe because of heartbeats) automatically at random intervals and doesn't save anything.

    Code:
    #Minecraft Remote Toolkit Properties File
    #Thu Apr 19 16:01:10 WST 2012
    forced-restart-delay=5m
    maximum-heap-size=2560M
    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=30s
    server-restart-alerts=10m,5m,1m
    minecraft-server-jar=craftbukkit.jar
    initial-heap-size=2048M
    overridden-process-arguments=
    failed-heartbeat-restart-count=10
    filter-ansi-escape-codes=auto
    severe-exception-detection-level=1
    server-arguments=nogui, -d64, -server, -XX\:+DisableExplicitGC, -XX\:+UseConcMarkSweepGC, -XX\:+UseParNewGC, -XX\:+UseNUMA, -XX\:+CMSParallelRemarkEnabled, -XX\:MaxGCPauseMillis\=100, -XX\:+UseAdaptiveGCBoundary, -XX\:-UseGCOverheadLimit, -XX\:+UseBiasedLocking, -XX\:MaxTenuringThreshold\=15, -XX\:+UseFastAccessorMethods, -XX\:+UseStringCache, -XX\:+OptimizeStringConcat
    toolkit-autoshutdown-delay=0
    server-restart-delay=12h
    import-properties=false
    
     
  19. Offline

    koop011

    It's most likely possible that somehow the schedule for restart has been somehow set already and is undergoing a process without saving it, try resetting your schedule times for the reset and set the auto saving first.

    Also HOW DID YOU GET THAT WORKING?! T_T

    I've been trying to get that working for me but have failed numerous times. I followed all directions but all I get is:
    - 2012-04-14 10:54:48 [INFO] [JSONAPI] [API Call] 123.211.24.61: method=remotetoolkit.stopServer?args=[]

    but it actually doesn't do anything!
    it pretty much looks exactly the same for restarting the server.

    HELP?!
     
  20. Offline

    Activat0r

    Ohh, right, that makes sense. The first call to the rtoolkit jar includes the absolute path to the java executable, but I'm guessing that doesn't propagate when it calls the craftbukkit jar. I'll add it to the path, thanks.
     
  21. Offline

    koop011

    Can someone explain how to make the adminium able to stop and restart the server? I tried whatever there is on the instruction page but it seems that i'm doing something wrong and I don't know what it is as it doesn't stop or restart the server from the application on adminium.
     
  22. Offline

    Takuya

    It's compatible with MCServerGUI?
     
  23. Offline

    aviator14

    could you make .restarttime an ingame command? that'd be helpful :)
     
  24. Offline

    Elements11997

    Does this work when your server is hosted by a professional company?
     
  25. Offline

    Buckethead

    salted?
     
  26. Offline

    Cam1209

    I have a server for my friends to play on but my laptop often over heats and turns off. When that happens, my chunks get corupted and there is no fix for it right now, does this plug-in help avoid chunk coruptions?
     
  27. Offline

    JSmoove98

    how dod i stop my server from restarting automatically?
     
  28. Offline

    Buckethead

    in remoet propperties change this value server-restart-delay=6h
     
  29. Offline

    JSmoove98

    to what?
     
  30. Offline

    aviator14

    Depends on the company. What I've experienced is that companies that host minecraft specifically usually have their own wrapper that only runs craftbukkit.jar. I suppose it's possible to rename your bukkit jar and rename Minecraft_RTK.jar to craftbukkit.jar and see if that works, but I wouldn't bet on it. Now if you have a REAL server company, one where you buy/rent the server itself and have ssh access, yes that works, and if you've got a server big enough to need to need that kind of hardware, you'll probably get the most out of this.
    This may depend on what bukkit does when it senses the machine is turning off. If bukkit tries to force save but isn't given time to, you and everyone else will experience the chunk corruption. If bukkit does not do that, then yes I imagine this plugin could prevent that. What you would do is in-game do /save-off (so that the server isn't writing every single change when it happens), and if you don't plan to have regular restarts, set a server-saveall-period in wrapper.properties. Then when you start up the computer again your world will be however it looked when it last saved. Really though a laptop is the last thing you should be running a server on.
    set server-restart-delay to 0
     
    Cam1209 likes this.
  31. Offline

    Buckethead

    well if u dont want it to go off then i guess 0h or 0m would work
     
Thread Status:
Not open for further replies.

Share This Page