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

    deery50

    Well i am using 97% memory with the toolkit running and without it 61%
     
  3. Offline

    drdanick

    That's a bad metric considering that java will almost always end up using the amount of memory specified by the -Xmx flag over time. What command are you using to invoke the toolkit? If you are using the included script, have you made any changes to said script?
     
  4. Offline

    deery50

    java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar USER:pASS
     
  5. Offline

    drdanick

    In that case, there is no issue here unless you find that the bukkit process is using more memory than you set with the -Xmx flag.
     
  6. Offline

    CraftyMclovin

    hi, i received the error (java.net.SocketException: socket closed) when using the UDP Client? how to fix this?

    okay scratch that last error message i fixed it.. its because i didn't port forward the remote 25561 port..

    but now when i try and connect i get this error (response:authentication_error)

    i can connect to the console via telnet remotely.. but i cannot connect through the UDP client via the computer or remotely via my Iphone..?
     
  7. Offline

    deery50

    So why is it using more memory when I run the toolkit?
     
  8. Offline

    drdanick

    Try using https://drdanick.com/mcremote

    There is no straightforward answer to that question. All I can say is that it is not unusual, unless you see memory usage greater than what you set with -Xmx. Remember that as a rule of thumb, you should always assume that java will end up allocating all the memory into its heap that you tell it to.
     
  9. Offline

    TaylorMLG

    Howdy, I was wondering how I am supposed to save each save... meaning, can I make it so that when the server saves every 4 hours, it saves a copy of the world folder each time instead of just overwriting it? Also, getting this error.
    --------------------------------------------------------------------------------------------------------------------------
    04:26:05 [INFO] Forge Mod Loader load complete, 38 mods loaded
    04:26:05 [INFO] This server is running CraftBukkit version git-Bukkit-jenkins-Cr
    aftBukkit-173 (MC: 1.2.5) (Implementing API version 1.2.5-R4.1-MCPC-SNAPSHOT)
    04:26:06 [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:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:133)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:221)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:197)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:59)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:177)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    ... 8 more
     
  10. Offline

    CraftyMclovin

    nope still the same error :( response:authentication_error

    IP/Host: Port:
     
  11. Offline

    Jahmaican

    Hi! I encountered one problem using your tool. I connect to my server with putty, run rtoolkit.sh and when I close putty, server stops. I figured out a workaround by modyfying the invocation
    Code:
    (cd "$DIRECTORY"; screen -dmS minecraft java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar ${USER}:${PASS})
    but I still find it very confusing.
     
  12. Invisible

    Jazed

    Do you have any idea why it couldn't load my plugin in?
     
  13. Offline

    2Beast4u

    How would I set this up for a windows server that doesnt allow .bat to be uploaded? (Xenon server)


    Cheers.
     
  14. Offline

    Jobsti

    Heyho @drdanick

    what's about:
    Code:
    restart-time-left - Reply to players asking for the restart time. NOTE: This is not implemented yet!
    And the Console-Colors?
    Some very rare Plugins give me colored-output in the Console, like Commandhelper

    Little Request:
    Option to translate or shorten the time, for e.g. autorestart messages.
    (Minutes=Minuten, Seconds=s etc...)
     
  15. Offline

    lfrst05

    Quick update:
    Bugfix is working. RemoteToolkit is still at 18 Threads
     
    drdanick likes this.
  16. Offline

    ewized

    Can you add support for commands instead of messages as you could put /say or /broadcast depending on what the server owner prefers?
     
    Jobsti likes this.
  17. Offline

    drdanick

    I assume you're talking about backup support. Unfortunately, backups are not directly supported at this time, but people are free to write a module to do it. Also, please make sure you read the installation steps in the documentation carefully. It appears that you are placing Minecraft_RKit.jar in your plugins folder, when it should actually be placed in your server root directory.

    Try manually adding a user with .useradd

    Not if you don't show me the error you are getting.

    Are you able to set the server invocation arguments? (i.e. are you able to have it launch a .jar other than craftbukkit.jar on startup?)

    With regards to restart-time-left, that feature is coming in R11. R10 does not have the infrastructure to support it.
    As for console colors, the issue is that since a recent jline update, bukkit has begin removing color control codes from console output when jline is disabled. As for CommandHelper, are you saying that it still prints colors to the console while you are using the toolkit?

    Thank you for the suggestion. :)
     
  18. Offline

    Jobsti

    Yep
    [​IMG]
     
  19. Offline

    Darthmineboy

    Does this auto - save the whole server or just all the worlds? I need a whole server backup :p

    Cheers Darthmineboy,
     
  20. Offline

    Jobsti

    It does a /save-all.
    For backups you have to use an other plugin or do it with e.g. a cronjob.
     
  21. anyway to translate the MINUTES and HOURS to my main language?
    Thanks in advance. If you can add this on the next version I would love it and love you xDD
     
  22. Offline

    NorthAntrim

    I love this!

    [​IMG]

    Edit: I connected via telnet on the Terminal Emulator app, so I added this to the wiki for others.

    Edit 2: As a reply to #2245 and #2246, I don't see colours. I am running from the batch file on Windows 8 (running a small server off my main rig for a few friends). I see the colours without the wrapper though. No big issue really, just makes some things easier to read in the console.
     
  23. Offline

    Martin1704

    The jLine-support, will that be in a next version? I do a lot through console and missing mij arrow-keys and other stuff... Any idea as when it might be in?
     
  24. Offline

    skiracerdude

    Just updated, now i cant do anything. The plugin doesnt accept my user/pass combination and i cant connect via telnet. It worked before I updated.
     
  25. Offline

    Pythros

    I don't know if this is a wrapper issue or 1.3.1-R2.0 issue. In the past 24 hours of using 1.3.1, roughly 5 or more lines appear to be deleted while watching the console. Any one have ideas?
     
  26. Offline

    NorthAntrim

    Any way to add colour to the messages? I tried the & colours, but they didn't work.
     
  27. Offline

    joehot2000

    the plugin takes MASSIVE amounts of ram. it actuelly crashes the server.
    normally i have 1800MB/2048MB remaining ram after just starting server.
    with remote toolkit it is 1500MB/2048MB.
    when a big event occours like creepersday where mobs all turn to creepers, instead of going own 75MB of RAM it goes down about 3/400!
    what is causing the problem? :(

    just to add a little more info this is when i use (renamed it) the ./rt.sh instead of the ./run.sh .

    edit: also, the main thread frose on the server, and it didnt restart.
    why's that?

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

    drdanick

    Delete users.txt in the toolkit directory and re-add any users you had.

    Could you elaborate?

    Have you modified rtoolkit.bat/.sh in any way? The plugin itself uses virtually no memory, and the wrapper is explicitly limited to approximately 70MB.
     
  29. Offline

    joehot2000

    i dont think so.

    #!/bin/bash
    USER=user
    PASS=pass
    ##YOU SHOULD NOT NEED TO EDIT ANYTHING BELOW THIS LINE##
    DIRECTORY=$(cd "`dirname "$0"`" && pwd)
    (cd "$DIRECTORY"; java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar ${USER}:${PASS})

    there is the contents of rt.sh that im using.
     
  30. Offline

    Pythros

    This is about the best I can show an example with. It happens sometimes when pressing enter but also occurs on its own. It has happen to me while I'm typing something, however, I can still run the command even tho it removes it from the console and they still show in the logs.

    This is how it normally looks:
    Show Spoiler

    [​IMG]



    To this. It looks like something is hitting the backspace. And no, no one else is in the console.
    Show Spoiler

    [​IMG]
     
  31. Offline

    Jobsti

    Heyho drdanick,

    Update ;)
    Look at the console with #2350:
    [​IMG]
    There are colors!
    Not all colors, but the most.
    BUT I can't see my typed text in the console,
     
Thread Status:
Not open for further replies.

Share This Page