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

    tekac

    excellent! good to hear ! now if only someone would develop an auto-save plugin. Is this compatible with #44?
     
    Antac55 likes this.
  3. Offline

    Nijikokun

    I totally misread this as "rootkit" lol good job mate!
     
  4. Offline

    drdanick

    The hMod version of this supported periodical auto saves, this will too in the next Alpha build.
    Oh, this wrapper supports every build of bukkit, as well as any other server mod or even a vanilla server.
    However, the plugin component which I am working on getting up ASAP may be version dependent.
     
  5. Offline

    monotonehell

    *waits patiently*

    :D
     
  6. Offline

    drdanick

    For? It mostly works! :p
     
  7. Offline

    monotonehell

    However, the plugin component which I am working on getting up ASAP may be version dependent.
    ^^^ This

    It's the bit I use the most.
     
  8. Offline

    Nate204

    This Mod makes my day, every day. I was finally able to say "Honey, we can try and have children now~ because the server is safe!"

    Well, Something like that~
    THANKS!
     
  9. Offline

    drdanick

    That component is on the way. I'm currently focused on getting the full feature set into the wrapper, but most of the components can be directly copied over to the plugin. So hopefully there shouldn't be too long of a wait.
     
  10. Offline

    NordicBlue

    Great to see you here my friend!
    Used your plugin on our servers back at hMod ;)
    Good to have you here.
     
  11. Offline

    Nipper

    Question: I know on the hey0 one it needed the plugin for server stop/notify people about it. Does this one still need it the way it is now? and will it notify people? If not I can still wait for the plugin.


    Edit: What does the plugin component do anyways.
     
  12. Offline

    Antac55

    This was an awesome plugin. Yeah if you did that /save-on, /save-all, /save-off thing, it seems pretty smart to prevent map corruption if any crashes were to happen in between saves.
    Not sure if this is bad in any way, but it seemed okay in the backup plugin someone did from hMod.

    Looking forward to future updates, this is already pretty useful :D
     
  13. Offline

    drdanick

    It no longer needs the plugin for restarts, periodical saves or the remote functions. The plugin is required to allow access to the various functions of the plugin from within the game, and to also give that nice restart message on kick.

    Periodical saves have just been implemented into the restarter and i'm just getting to uploading it. The next and final thing I do before working on the plugin is a backup system. Hopefully i'll have that up soon.

    Update!

    Release 10 Alpha 2
    -Rewrote the scheduler to be easier to port to the plugin
    -Added periodical map saves

    Still to come
    -Scheduled restarts on a set time of day
    -Map backups
    -The plugin, including all the lovely in-game features

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 8, 2016
  14. Offline

    Nipper

    Well here is a bug report. I know we all hate these. I was using Alpha2. With out it running CPU usage is about 30 to 40% with 20 to 25 people on server. While running with this I had a cpu usage of over 95 to 105% and it caused alot of lag.

    Specs of the Dedi is
    OS: CentOS 5 64bit
    CPU: Xeon 3050 / E6500 Dual Core 2.93GHz
    MemTotal: 4046928 kB
    Host is FEHosting

    Need anymore info or have a idea on how to fix it please do tell. Till then I wont be running it to much lag with it.
     
  15. Offline

    drdanick

    UGH, I hate Java child processes!
    I appear to have solved the problem through a bit of buffering on the input and output streams. Although, the formatting is now coming out a little weird. Shouldn't take too long to fix that, though. Phew!

    Just a note for other people: this problem isn't always always a concern. The extra CPU usage was negligible in many cases.

    Edit: New version will take a bit. With buffers comes a whole new set of Threading issues on restart.
     
  16. Offline

    Nipper

    No worry man. It was good on hey0 and I used it. So I can wait. But may I make a request. I do run it on CentOS. Maybe you can can come up with a idea to stop the wrapper it self with a command. Only way to stop that I can see is by using ps x get the pid and kill the wrapper. But doing it this way if I forgot to do a save-all the data is not saved.
     
  17. Offline

    drdanick

    Type stop. When it says "Restarting..." press ctrl+c. I'm working on that.
     
  18. I am so happy to have that plugin also on Bukkit! Thanks for your work! :)
     
  19. Offline

    drdanick

    Update!

    Release 10 Alpha 3
    -Added buffering to the server standard output/error streams.

    Still to come
    -Scheduled restarts on a set time of day
    -Map backups
    -The plugin, including all the lovely in-game features

    Now, I spent a while testing this, and although there was a performance detriment before I added buffering, it was negligible but had the tendency to fluctuate. After testing it for a few hours, I cannot see that this is any more demanding than running the server on its own, without a wrapper. In some cases it actually seemed slightly better!
     
  20. Offline

    Antac55

    Thanks so much! It's crazy to see so many developers working on these plugins and yours is one of those ones that I use because it has several features available instead of one little feature that some other developer has already incorporated :]
     
  21. Offline

    MrMaple

    It would totally be awesome if the iOS software worked on 4.1 :/
     
  22. Offline

    drdanick

    Yeah. It did when i first released the plugin, then the developer decided it would be a great idea to build it for the latest version. >.>
     
  23. Offline

    Antac55

    Is it just me or does the #82 build not work with the auto-saves?
    I'm also noticing that in the console you need to type #help, #save-all, etc. now. Maybe that's normal, but didn't know if that could be part of the issue.
     
  24. Offline

    drdanick

    Ugh, they added a hash? I have no idea why they wanted to, but yes, that'll break restarts and saves. Hang on, I'll put a fix up.

    Edit: done. It tries both commands, in case they decide to ditch the hash.
     
  25. Offline

    Antac55

    Thanks!
     
  26. Offline

    swehunter2000

    The only thing missing is the possibility to start the server again when you have stopped it..
     
  27. Offline

    cbresee

    Hey whenever I run this on my server with any ram allocated, I get the below error:
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    Restarting...
    Error occurred during initialization of VM

    This is with any amount of ram allocated. Any ideas? I'm running ubuntu 10.04 minimal with 4GB burst 2GB dedicated ram and I can't figure it out. craftbukkit on its own can run but the restarter just is not working.

    Thanks,
    cbresee
     
  28. Offline

    drdanick

    I'll be adding something to allow that soon.

    Firstly, how much ram are you allocating in remote-toolkit.properties?
    Secondly, can you give me the command you are using to run the restarter?
    Thirdly, can you enter the command cat /proc/meminfo and give me the first few lines?

    The server I assist someone in running runs on a VPS with 2GB of guaranteed ram, and 4GB burst. Everything works fine with 1200M allocated to the server.
    Oh, you might want to try running the restarter with this command:
    java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar user:pass
     
  29. Offline

    Nipper

    I have not tried since update. But wonder if you can get away with out using java to wrap it. That would solve a few issues if not all with performance.
     
  30. Offline

    drdanick

    Not possible for what I have planned. From what i've heard from other people, and from what i've seen from my monitoring of a few servers, the last update fixed the problem.

    Edit: Well, the plugin (still being written) could be used in conjunction with a script, but that would remove the remote functions.
     
Thread Status:
Not open for further replies.

Share This Page