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

    drdanick

    It's an issue with the toolkit not discarding color codes that the command prompt cna't interpret. I'll fix it in release 11. The console should be formatted correctly if you connect through telnet, however.
     
  3. Offline

    ravseric

    great news, i just wanted to confirm it wasn't the indication of a larger problem.
     
  4. Offline

    Sayshal

    How can I make it restart at the beginning of every hour? so like 1:00, 2:00, 3:00.
    /reschedulerestart only works for the next one :/
     
  5. Offline

    Mikael_d

    Do i need to change the bat file commands when i change the heap file sizes in the wrapper config?

    If i try starting by just changing these:

    maximum-heap-size=1024M
    initial-heap-size=1024M
    to->
    maximum-heap-size=2024M
    initial-heap-size=2024M

    I get an error that it couldnt allocate the memory, even though there is at least 3gb free.
     
  6. Offline

    Sayshal

    change it to 2048
     
  7. Offline

    Mikael_d

    Ah, so i has to be a valid even number, got it, thanks!

    EDIT: No, that didnt help... same error.
     
  8. Offline

    Sayshal

    Then you lie. Not enough reserved ram :p
     
  9. Offline

    Mikael_d

    Im using Windows 7 64-bit

    In the Windows Task Manager under Performance it says:
    Physical Memory (MB)
    Available 2477

    Isnt that the amount of free ram?
    Or is it the one under "free" then it says 1290

    In that case, yes, i was wrong.
     
  10. Offline

    drdanick

    Yes, you need to pay attention to the amount of free memory you have.

    Well, you can either set the restart period to 1h, or if you really want it to restart on the start of every hour exactly, you can try this:
    Code:
    server-restart-delay=00:00,01:00,02:00,03:00,04:00,05:00,06:00,07:00,08:00,09:00,10:00,11:00,12:00,13:00,14:00,15:00,16:00,17:00,18:00,19:00,20:00,21:00,22:00,23:00
    
    This is messy. I'll probably implement a better system for R11, if I have time.
     
  11. Offline

    Sayshal

    When can the next update be expected?

    Does that mean this'll work as well?
    Code:
    server-saveall-period=00:00,00:15,00:30,00:45,01:00,01:15,01:30,01:45,02:00,02:15,02:30,02:45,03:00,03:15,03:30,03:45,04:00,04:15,04:30,04:45,05:00,05:15,05:30,05:45,06:00,06:15,06:30,06:45,07:00,07:15,07:30,07:45,08:00,08:15,08:30,08:45,09:00,09:15,09:30,09:45,10:00,10:15,10:30,10:45,11:00,11:15,11:30,11:45,12:00,12:15,12:30,12:45,13:00,13:15,13:30,13:45,14:00,14:15,14:30,14:45,15:00,15:15,15:30,15:45,16:00,16:15,16:30,16:45,17:00,17:15,17:30,17:45,18:00,18:15,18:30,18:45,19:00,19:15,19:30,19:45,20:00,20:15,20:30,20:45,21:00,21:15,21:30,21:45,22:00,22:15,22:30,22:45,23:00,23:15,23:30,23:45
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  12. Offline

    drdanick

    Yes, if you really want your server to restart every quarter hour. You should really be using a restart period for something like this.

    Also, I'm taking a "when it's done" approach with R11. I do have to fit it around my university studies.
     
  13. Offline

    Sayshal

    It restarts every hour on the hour, and saves ever quarter hour, unfortunately, that format doesnt work, it just changes it to 00.
     
  14. Offline

    drdanick

    Whoops, I misread that as being the restart period. No, the save period will only take values in the "##h ##m ##s" format. It doesn't make sense to have saves performed as anything other than strictly periodical.
     
  15. Offline

    Sayshal

    The only issue is if I want it ever quarter hour I have to start it at one of those marks.
     
  16. Offline

    Ratchet

  17. Offline

    LukeWithAK

    Whenever I try to start the toolkit via SSH, it says unable to find /blah/blah/craftbukkit.jar even though I have changed
    minecraft-server-jar to the appropriate location in the wrapper.properties.
    What am I doing wrong?
     
  18. Did you put it like so?
    minecraft-server-jar=craftbukkit
    of so append .jar to it ;)
     
  19. Offline

    drdanick

    I will work on a more robust scheduler that would allow something like that in a far more elegant way. I already have something in mind.

    You can disable everything save for the telnet console forwarder, so yes, you could use this as a pure replacement if you wanted, apart from the fact that the console is forwarded over telnet in this case, rather than HTTP.

    It is likely that you are specifying the wrong path relative to your working directory when starting the toolkit. Try executing the toolkit jar from within the directory it is located in.
     
  20. Offline

    Corrisve12

    i need a little help here every time i go to run the server through Adminium it says "that server IP or host does not exist"

    this is what i get


    151 recipes
    16 achievements
    19:52:32 [INFO] Starting minecraft server version Beta 1.7.3
    19:52:32 [WARNING] **** NOT ENOUGH RAM!
    19:52:32 [WARNING] To start the server with more ram, launch it as "java -Xmx102
    4M -Xms1024M -jar minecraft_server.jar"
    19:52:32 [INFO] Loading properties
    19:52:32 [INFO] Starting Minecraft server on *:25565
    19:52:32 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-
    g73697a4-b1000jnks (MC: 1.7.3)
    19:52:33 [INFO] Preparing level "catfish293"
    19:52:33 [INFO] Preparing start region for level 0 (Seed: -4499309418261741300)
    19:52:34 [INFO] Preparing start region for level 1 (Seed: -2344808290236343414)
    19:52:34 [INFO] Preparing spawn area: 24%
    19:52:34 [SEVERE] mapping values are not allowed here
    in "<reader>", line 2, column 27:
    port: 25565 username: corrisve12
    ^

    19:52:34 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(Sca
    nnerImpl.java:745)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreToken
    s(ScannerImpl.java:307)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(Sca
    nnerImpl.java:183)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gKey.produce(ParserImpl.java:564)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:228)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    19:52:34 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    19:52:34 [SEVERE] at org.bukkit.util.config.Configuration.load(Configurati
    on.java:82)
    19:52:34 [SEVERE] at com.ramblingwood.minecraft.jsonapi.JSONAPI.onEnable(J
    SONAPI.java:285)
    19:52:34 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:126)
    19:52:34 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:878)
    19:52:34 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:272)
    19:52:34 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:162)
    19:52:34 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf
    tServer.java:146)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:284)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:271)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:148)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    19:52:34 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    19:52:34 [INFO] [JSONAPI] JSONAPI version null started
    19:52:34 [INFO] [JSONAPI] Logging to file: true
    19:52:34 [INFO] [JSONAPI] Logging to console: true
    19:52:34 [INFO] [JSONAPI] IP Whitelist = None, all requests are allowed.
    19:52:34 [SEVERE] [JSONAPI] Couldn't start server!

    19:52:34 [SEVERE] java.net.BindException: Address already in use: JVM_Bind
    19:52:34 [SEVERE] at java.net.PlainSocketImpl.socketBind(Native Method)
    19:52:34 [SEVERE] at java.net.PlainSocketImpl.bind(Unknown Source)
    19:52:34 [SEVERE] at java.net.ServerSocket.bind(Unknown Source)
    19:52:34 [SEVERE] at java.net.ServerSocket.<init>(Unknown Source)
    19:52:34 [SEVERE] at java.net.ServerSocket.<init>(Unknown Source)
    19:52:34 [SEVERE] at com.ramblingwood.minecraft.jsonapi.NanoHTTPD.<init>(N
    anoHTTPD.java:269)
    19:52:34 [SEVERE] at com.ramblingwood.minecraft.jsonapi.NanoHTTPD.<init>(N
    anoHTTPD.java:288)
    19:52:34 [SEVERE] at com.ramblingwood.minecraft.jsonapi.JSONServer.<init>(
    JSONServer.java:46)
    19:52:34 [SEVERE] at com.ramblingwood.minecraft.jsonapi.JSONAPI.onEnable(J
    SONAPI.java:313)
    19:52:34 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:126)
    19:52:34 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:878)
    19:52:34 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:272)
    19:52:34 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:162)
    19:52:34 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf
    tServer.java:146)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:284)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:271)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:148)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    19:52:34 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    19:52:34 [INFO] Permissions plugin not found, everyone has full access!
    19:52:34 [INFO] Magic: Loaded 67 spells.
    19:52:34 [INFO] Magic version 2.0.7 is enabled
    19:52:34 [INFO] Error loading Toolkit plugin properties: java.io.FileNotFoundExc
    eption: toolkit\remote.properties (The system cannot find the path specified)
    19:52:34 [SEVERE] java.io.FileNotFoundException: toolkit\remote.properties (The
    system cannot find the path specified)
    19:52:34 [SEVERE] at java.io.FileInputStream.open(Native Method)
    19:52:34 [SEVERE] at java.io.FileInputStream.<init>(Unknown Source)
    19:52:34 [SEVERE] at java.io.FileInputStream.<init>(Unknown Source)
    19:52:34 [SEVERE] at com.drdanick.McRKit.plugin.RTKPlugin.onEnable(RTKPlug
    in.java:33)
    19:52:34 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:126)
    19:52:34 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:878)
    19:52:34 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:272)
    19:52:34 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:162)
    19:52:34 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf
    tServer.java:146)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:284)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:271)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:148)
    19:52:34 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    19:52:34 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    19:52:34 [SEVERE] Error occurred while enabling RemoteToolkitPlugin v0.45b (Is i
    t up to date?): null
    java.lang.NullPointerException
    at com.drdanick.McRKit.plugin.RTKEventHandler.<init>(RTKEventHandler.jav
    a:27)
    at com.drdanick.McRKit.plugin.RTKPlugin.onEnable(RTKPlugin.java:39)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    19:52:34 [INFO] Server permissions file permissions.yml is empty, ignoring it
    19:52:34 [INFO] Done (0.188s)! For help, type "help" or "?"
    >
     
  21. Offline

    lordwelsh

    This isn't particularly an error, but when I ./rtoolkit.sh, it brings up the Minecraft console and I have no way to keep it running. I access my server by SSH, so I need to be able to close the terminal without killing the process. Currently I am using a home-made screen script that launches Minecraft_RKit.jar in a screen, which in turn puts the Minecraft console in a screen. Is there a built in way to detach the Minecraft console from my current terminal so I can quit the window while keeping the server running? Thank you!
     
  22. Offline

    Orgiz

    If I want to stop using this plugin, my world will go back 2weeks, thats how long the been using this plugin.
    Is it possible to go around this?

    The reason why I want to stop Using this plugin, is that some plugins stop working as they should.

    MapMarkers etc, would not update properly for me.

    Has anyone else had MapMarkers to work when starting from RemoteToolkit?
     
  23. Offline

    Matsuro

    Spout is launched using a .bat or .sh like the wrapper is. When I try putting "minecraft-server-jar :Spout.jar" in wrapper.properties I get the following:
    Code:
    Minecraft Remote Toolkit R10 Alpha 10.32
    Initializing...
    Loading toolkit properties...Done.
    Loading toolkit modules...Done.
    Wrapper is running on: Windows 7 6.1 amd64
    Starting wrapper...
    Starting UDP listen server on port [I]<removed>[/I]
    Aug 25, 2011 2:45:16 PM net.wimpi.telnetd.net.PortListener run
    INFO: Listening to Port [I]<removed>[/I] with a connectivity queue size of 5.
    Failed to load Main-Class manifest attribute from
    C:\Minecraft\Server\Spout.jar
    Restarting...
    
    Maybe I'm just missing something obvious.
    Thanks for your time,
    -Tashi
     
  24. Offline

    Kaosvf

  25. Offline

    starving030

    I use putty to access my console with the server running on centos. The problem is I don't know how to type in the console while toolkit is running. It won't let me type anything in the console and just repeats "rtping" over and over again.

    Never mind. It took me a minute to realize that once you run toolkit you loose control over the minecraft/bukkit console and begin using the toolkit console instead. Pretty nifty.
     
  26. Offline

    Massimo1993

    @drdanick
    hi excuse me but when relase new version?
     
  27. Offline

    parker_digg

    Having a problem with scheduled restarts. This has been working fine for a few months, but a few days ago I changed my restatt time to every hour using 24hr (00:00). I changed it back to every 4 hours but it keeps reverting back to every hour, even with 3h in its place. The file saves correctly, but te server still restarts on each hour. What do I need to do? Ive checked the config multiple times for error.
     
  28. Offline

    justin shulman

    1. Double click the script, or run it from the terminal/cmd prompt!
    [​IMG] 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 dont understand this step, i dont know hat to do because im not hosting the server off my computer. please help
     
  29. Offline

    APhamx

    You can delay the time of rtping. It is the heartbeat for the server. In one of the config files it defaults to one beat per minute. Did you change it? Once a minute doesn't make it unusable.
     
  30. Offline

    davvem

    Ok, please help me, i've tried 5 hours now :( can't get it to work! i've read the wiki for like 15 times or more!
    can you maybe help me thought teamviwer please?
     
  31. Offline

    drdanick

    Thats a YAML parsing error pertaining to the JSONAPI. Check your JSONAPI configuration files and re-download/reconfigure them if necessary.

    If you are launching the toolkit in a screen, it shouldn't be attached directly to your terminal, or am I missing something with how you're setting this up?

    Removing the toolkit should not roll anything back. Can you describe the issues you were having with the other plugins? It is extremely unusual for the toolkit to have any impact of the performance of any bukkit plugins.

    Could be a bug, i'll look into it.

    Edit: It works fine for me. What OS are you using?

    You should not be losing any control over the minecraft console, nor should you see "rtping" being printed in the console. Can I see the body of wrapper.properties? It sounds like a configuration error.

    When I can. I am in the middle of my university semester and I don't have time to work full time on updates unless there is a critical issue that prevents the toolkit from functioning for the majority of users. This does not mean I have stopped work on it, I am still making progress.

    That is extremely odd. The toolkit does not save any persistent data anywhere else, so if you see old settings persisting, even when changed in the config, something unusual is going on. Try changing the period to a line of gibberish. Does the toolkit revert the delay to the default 5h?

    How are you running your server? Do you have access to a shell/terminal?

    What issues are you having? Are you stuck at any particular step?
     
Thread Status:
Not open for further replies.

Share This Page