[ADMN] RemoteToolkit [R10 a14] - Restarts + crash detection + auto saves + remote console! [1.5.1]

Discussion in 'Plugin Releases' started by drdanick, Jan 16, 2011.

     
  1. Offline

    drdanick

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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 14.5 [CB 1.5.1-R1.0] (wget friendly)

    For developers
    Module API | Coming soon!

    For everyone
    Official IRC channel


    "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.

    Changelog
    Release 10, Alpha 1


    [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 donations:

    This post has been edited 93 times. It was last edited by drdanick Apr 20, 2013.
  2.  
  3. Offline

    Gatanater

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How do I set it so that it restarts every hour??
  4. Offline

    agentc0re

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    well that depends on a lot. windows versus linux.. This is a script for Linux, and depending on your distro would also depend on how to setup a cronjob. Google that, and you'll be all set.
  5. Offline

    Belgarufo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Dang tested this out on my test server (windows vista) and it was easy to install and smooth running! Just outstanding!! Then when i get home to install it on my public server (windows xp) I run into the bug...

    GREAT IDEA! Love the work! Get the xp bug fixed and I'll donate for sure! silly thing can't even find the .jar file even though it is in the same folder as the .bat heck it can't find it when I run in the cmd window and have navigated to it.
  6. Offline

    bartbergmans

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    When the server automatically restarts some people get killed when they join. How to avoid this?
  7. Offline

    Podshot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  8. Offline

    Zchryfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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?
  9. Offline

    Lathanael

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  10. Offline

    Rifle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
  11. Offline

    Lathanael

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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)
  12. Offline

    koop011

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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

    This post has been edited 1 time. It was last edited by koop011 Apr 14, 2012.
  13. Offline

    Steffion

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello @dradanick,
    Are you still editing this?
    If yes can you add chat history (whats on craftbukkit you know?)
    Thanks!
  14. Offline

    Esaych

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  15. Offline

    Zombiemold

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  16. Offline

    Mozart07

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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?
  17. Offline

    koop011

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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 =_=

    This post has been edited 1 time. It was last edited by koop011 Apr 17, 2012.
  18. Offline

    Mozart07

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I don't know but server not start...
  19. Offline

    Mozart07

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    aww i broke rtoolkit.sh xD
  20. Offline

    Abadon84

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hi,
    wich charset i have to set in putty so that special characters will work? utf8 dont work...
  21. Offline

    Activat0r

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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?

    This post has been edited 1 time. It was last edited by Activat0r Apr 19, 2012.
  22. Offline

    HereInPlainSight

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  23. Offline

    Obliviator

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
    
  24. Offline

    koop011

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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?!
  25. Offline

    Activat0r

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  26. Offline

    koop011

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  27. Offline

    Takuya

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It's compatible with MCServerGUI?
  28. Offline

    aviator14

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    could you make .restarttime an ingame command? that'd be helpful :)
  29. Offline

    Elements11997

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does this work when your server is hosted by a professional company?
  30. Offline

    Buckethead

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    salted?
  31. Offline

    Cam1209

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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?

    This post has been edited 1 time. It was last edited by Cam1209 May 4, 2012.
  32. Offline

    JSmoove98

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    how dod i stop my server from restarting automatically?

Share This Page