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

    Kainzo

    Spigot 1.8.8 breaks this, just forewarning.
     
  3. Offline

    drdanick

    Could you provide a detailed description of the issue this runs into?
     
  4. Offline

    Kainzo

    Honest mistake, it actually doesn't - also I suck with replies!
     
  5. Offline

    Drift_91

    Hello. For some reason my in-game messages like "**SERVER IS RESTARTING**" and all that aren't turning up in purple like they used to last time I ran a server with RTK. They're white instead. Is this a plugin doing this or did it get changed from previous releases? Is there a way to customize the color? I do have "--log-strip-color" in my server arguments if that might be the cause.

    Also a suggestion, it would be nice if the documentation mentioned that leaving "auto-save-start:" and "auto-save-start:" blank removes the messages completely. I was slightly afraid to leave them blank thinking it would just print out a blank line or even cause the wrapper to crash.
     
  6. Offline

    drdanick

    @Drift_91 If I recall correctly, bukkit started stripping color from server broadcasts a little while ago. In order to re enable them, I had to write a small hack into the plugin. On that note, are you sure the plugin is running? Also try to remove the "--log-strip-color" argument anyway, and see if that fixes it.

    Also as for the suggestion, I'm fairly certain that feature is unintentional ;). I'll add it to the documentation nonetheless.
     
  7. Offline

    dfdgsdfg

  8. Offline

    SimSonic

    What about making the code open? A year passed. I'm still feeling the urge to help the project =)
     
  9. Offline

    zachrywilsn

    Similar issue on restarts. I pm'ed @drdanick lets hope this gets resolved.
     
  10. Offline

    dirtyequi

    Hi,

    I don't know if this was adressed already on one of the 97 pages here:
    Are you aware, that the username and password are visible in the process list that *every* user can see.
    Due to security reasons this should be in the remote.properties file.

    Extreme scenario:
    A (malicious) plugin executes "ps faux ww" and sends this data to a remote host (smtp, http, whatever). 10 seconds later your minecraft server is compromised.

    @author: Can you fix that?
     
  11. Offline

    zachrywilsn

    @drdanick
    Nag Nag Nag Nag! ;)

    "[23:58:08 ERROR]: Nag author: 'drdanick' of 'RemoteToolkitPlugin' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded. This may cause conflicts with the newly loaded version of the plugin"
     
  12. Offline

    Kalle801

    i cannot download it.
     
  13. Online

    timtower Moderator Moderator

  14. Offline

    LizardFreak7

    Hello,
    It appears that a feature of the bukkit plugin breaks with Spigot 1.9.
    Code:
    [16:35:08 WARN]: org.apache.commons.lang.UnhandledException: Plugin RemoteToolki
    tPlugin vR10_A15.3 generated an exception while executing task 13
            at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyn
    cTask.java:56)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lor
    g/bukkit/entity/Player;
            at com.drdanick.McRKit.plugin.MetricsLite.postPlugin(MetricsLite.java:28
    7)
            at com.drdanick.McRKit.plugin.MetricsLite.access$200(MetricsLite.java:53
    )
            at com.drdanick.McRKit.plugin.MetricsLite$1.run(MetricsLite.java:175)
            at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java
    :71)
            at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyn
    cTask.java:53)
            ... 3 more
    Are you using the deprecated version of getOnlinePlayers()?

    Also one question: Is there a way I can disable it from kicking the players on restart? It's getting in the way of a plugin we have that sends the players to the hub when the server restarts.

    You may just need to update metrics if that is what I am seeing, or you just may need to compile with the spigot 1.9 API.

    Thanks.
     
    Last edited: Mar 1, 2016
  15. Offline

    Wicou

    Hello there !

    We've been using this plug in and we've been really satisfied with auto saves and crash detection.
    Now, we are currently trying to add a small command line to save a specific file when the server is restarting. To do that, we tried to edit our "rtoolkit.sh" to perform command while restarting. To test that, we used a simple mkdir command to check if it works and... doesn't seem it works.

    When we use the restart command in game, the command seems to be ignored. To be clear, I'm approximately potato-level in unix and shell commands, so maybe I'm doing everything horribly wrong.

    This is the classic "rtoolkit.sh" file we're using :
    Code:
    #!/bin/bash
    
    USER=***
    PASS=***
    
    DIRECTORY=$(cd "`dirname "$0"`" && pwd)
    (cd "$DIRECTORY"; sleep 30 ; java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar ${USER}:${PASS})
    And this is the one with the mkdir test command :
    Code:
    #!/bin/bash
    
    USER=***
    PASS=***
    
    DIRECTORY=$(cd "`dirname "$0"`" && pwd)
    (cd "$DIRECTORY"; mkdir testdirectory ; sleep 30 ; java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar ${USER}:${PASS})
    Awkardly, when I simply run the "rtoolkit.sh" via terminal (our server is on Debian 8), the directory is made... Is it a permission issue ? (potato level, remember).

    Thanks in advance to anyone who could help.
    (and sorry for probably bad english)
     
    Last edited: Mar 2, 2016
  16. Offline

    zachrywilsn

    Show Spoiler

    Code:
    [21:14:10 WARN]: Unexpected exception while parsing console command "kickallstop"
    org.bukkit.command.CommandException: Unhandled exception executing command 'kickallstop' in plugin RemoteToolkitPlugin vR10_A15.3
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit.jar:git-Spigot-3af4605-ed8cef0]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[craftbukkit.jar:git-Spigot-3af4605-ed8cef0]
        at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchCommand(CraftServer.java:645) ~[craftbukkit.jar:git-Spigot-3af4605-ed8cef0]
        at org.bukkit.craftbukkit.v1_9_R1.CraftServer.dispatchServerCommand(CraftServer.java:631) [craftbukkit.jar:git-Spigot-3af4605-ed8cef0]
        at net.minecraft.server.v1_9_R1.DedicatedServer.aL(DedicatedServer.java:437) [craftbukkit.jar:git-Spigot-3af4605-ed8cef0]
        at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:401) [craftbukkit.jar:git-Spigot-3af4605-ed8cef0]
        at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [craftbukkit.jar:git-Spigot-3af4605-ed8cef0]
        at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [craftbukkit.jar:git-Spigot-3af4605-ed8cef0]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_71]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;
        at com.drdanick.McRKit.plugin.RTKEventHandler.onCommand(RTKEventHandler.java:66) ~[?:?]
        at com.drdanick.McRKit.plugin.RTKPlugin.onCommand(RTKPlugin.java:149) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit.jar:git-Spigot-3af4605-ed8cef0]
        ... 8 more
    Also getting 1.9 issues.
     
  17. Offline

    The PC Tech Guy

    Pretty sure he is, considering how old this is. You can use the mentioned tool in the Spigot announcement to fix for now.
     
  18. Offline

    zachrywilsn

    The tool does not seam to work on this, At least not for me.
     
  19. Offline

    cobray380

    The spigot tool does not work on the remotetoolkit plugin. The tool did work well on the Group Manger plugin. Is there anyway to fix it or do we need to wait for drdanick to fix the code?
     
  20. Offline

    zachrywilsn

    I dont use GM but if you want a updated working GM here is a maintained version.
    https://ci.drtshock.net/job/EssentialsX/
     
  21. Offline

    cobray380

    Does anyone know of a 1.9 plugin that will restart a spigot server? That's the main reason I'm using the Tookkit. drdanick hasn't bin on here in 6 months. I'm afraid this project mite be dead.
     
  22. Offline

    zachrywilsn

    DO YOU NEED REMOTE-TOOL-KIT FOR MINECRAFT 1.9!

    Here is a Simple explanation of how to convert your Current RTK to 1.9.
    This has been tested and works on MacOSX.

    1. Download RTK from this forum post.
    2. Download BuildTools.jar from Spigot.
    3. Compile Spigot 1.9 with BuildTools.jar in order to get SpecialSource.jar & SpecialSource-2.jar respectively.
    4. Now create a Text document and make plain text. Use the Code below to paste into your text file.
      Code:
      #!/bin/bash
      cd "$( dirname "$0" )"
      java -jar BuildData/bin/SpecialSource.jar map -m CraftBukkit/deprecation-mappings.csrg -i MinecraftRKitPlugin.jar -o MinecraftRKitPlugin-fixed.jar
    5. Save your text file as a ".command" I believe this is ".bat" in windows.
    6. Now open Terminal and type in "chmod a+x " <-- Leave a space at the end and drop your ".command" into
      the terminal and hit enter. You now have appropriate permissions to run the ".command"
    7. Last but not least you need to take your "Minecraft_RKit.jar" and "MinecraftRKitPlugin.jar" and drop them
      into the folder where you compiled the spigot-1.9.jar.
    8. Now click the ".command" to convert the MinecraftRKitPlugin.jar part of the RTK plugin.
    9. To convert the other part you need to Edit your ".command" by replaceing the "MinecraftRKitPlugin" and
      "MinecraftRKitPlugin-fixed" with "Minecraft_RKit" and Minecraft_RKit-fixed".
    10. Now click the ".command" again!
    11. You should now have MinecraftRKitPlugin-fixed.jar and Minecraft_RKit-fixed.jar inside the folder
      where you compiled the spigot-1.9.jar.
    12. Rename you Plugins back to there Original names and Drop them into your 1.9 server.
    13. Done! Happy Modding!

    Here is a Image to help you in converting your RTK to 1.9.
    Screen Shot 2016-03-17 at 7.06.02 AM.png


    @cobray380
     
    rakion99, G_4s and zippolino like this.
  23. Offline

    zippolino

    Perfect! It works on windows 7 as well.
    Thank you very much!!!
     
    zachrywilsn likes this.
  24. Offline

    Kainzo

    I'm sure someone will go ultra lazy mode and get someone to upload this :#
     
  25. Offline

    Augustin37

    Is working perfectly fine! (server is on debian & compiled with windows 10) great & easy tutorial! Thank you very much!
     
    zachrywilsn likes this.
  26. Offline

    OverCrave

    The download link doesn't seem to work for me anymore, I'm just getting a blank screen. Anyone else having that problem too? If so, can someone share the files of the latest version?
     
  27. Offline

    Kelvin Kam

    Can I know how to disable the telnet timeout (default timeout is one hour),
    also can I edit the telnet login welcome message? thank you.

    ------Current welcome message------
    RemoteToolkit RemoteShell V0.60
    Enter username:
     
  28. Offline

    BioBG

    how can i do that ?
    1. Compile Spigot 1.9 with BuildTools.jar in order to get SpecialSource.jar & SpecialSource-2.jar respectively.
     
  29. Offline

    CrazyNinja47

    The Download doesn't seem to work, Can someone make a link/download to a 1.9 compatible version and the wrapper?
     
  30. Offline

    TheQueue

    I've been using the BuildTools fix for all of my plugins and it's been working. But I get exceptions on this one. I'm using Release 10, Alpha 15.3, and I get the following exception from Minecraft_RTK:
    Exception in thread "main" java.util.zip.ZipException: duplicate entry: com/drdanick/McRKit/McRKitLauncher.class
    And the following exception from MinecraftRKitPlugin:
    Exception in thread "main" java.util.zip.ZipException: duplicate entry: com/drdanick/McRKit/plugin/LegacySupport.class
    If anyone could offer advice, I'd greatly appreciate it.
     
  31. Offline

    Kiki262626

    Exception in thread "main" java.io.FileNotFoundException: MinecraftRKitPlugin.jar (The system cannot find the file specified)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at net.md_5.specialsource.Jar.init(Jar.java:226)
    at net.md_5.specialsource.SpecialSource.main(SpecialSource.java:264)
     
Thread Status:
Not open for further replies.

Share This Page