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

    Beldrama

    Failed to bind to port!
    Address already in use: JVM_Bind.
    Perhaps a server is already running on that port?
    How do I fix this? Tried to issue the restart command ingame despite the error. It says: Done! but the server didn't restart at all D:

    I am using the 953 bukkit build with the latest remoteToolkit version

    btw: What is 16 Archivements?
     
  3. Offline

    drdanick

    Check that multiple instances of a minecraft server are not running. Also, what Operating System are you using?
    Finally, can I see a screenshot/paste of the console output around and including those lines?


    The achievements message is printed by the minecraft server, not the toolkit.
     
  4. Offline

    Beldrama

    [​IMG]


    Here's a screenshot of the CMD since I am not quite sure how to copy it. D:

    As you can see I am using Windows XP which apparently is not fully supported *Sob sob*

    Would still be awesome for me to be able to use this awesome mod :c I sort of really need it considering the recent update causing the Read Timeout Errors :c

    Thanks in advance!
     
  5. Offline

    drdanick

    From what I can see, you are already running a minecraft server when you tried to start the toolkit. Close all minecraft server instances and ONLY run rtoolkit.bat to start your server.
     
  6. Offline

    RG_PankO

    @drdanick can't somehow these read timeouts and"connection lost" in the console be detected and a force save+restart to go on?
    Sometimes I am not infront of my PC to see this problem.

    Then the users have to wait for automatic restart, this is why I set it up to a every hour restart :/
     
  7. Offline

    Beldrama


    *Facepalm* That WAS the problem! xD I thought you were supposed to use both for some reason :c Sorry about that.

    I really appreciate your fast response and your mod works perfect so far! Thanks a lot!
     
  8. Offline

    drdanick

    I am working on that for inclusion release 11. For now, take note of the average time it takes for those errors to occur, and set the restart period accordingly.
     
  9. it works perfectly for me, but how do you save the world by command?
     
  10. Offline

    drdanick

    Perhaps try save-all?
     
  11. Offline

    Hacr

    Dident work with permissions 3.x :/
     
  12. Offline

    Christop406

    I am on Mac OS X 10.6.8, i can see the shell, and host it on my personal computer :) thx :)
     
  13. Offline

    Po1ntBlank

    Please help! I have done everything! Everything is in the right place, and (For this purpose lets say my username was bob and pass was joe) I have in the .sh user=bob and pass=joe and in the rtoolkit.bat it says bob:joe but when I go to that drdanick page, and enter the stuff, and enter a command, its as if it is refreshing the page and on the server nothing happens! I have port forwarded 25561. Please help :D

    Nevermind, i port forwarded 35561 by mistake. Problem solved, LOVIN the plugin :D

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

    LiamFrazer

    Haven't really had any issues so far while using this, just a quick question though. I know that either typing /rtping on the Minecraft server or rtping in the console is to release a pong request back to the console, but is it meant to appear every so often automatically? Every so often I notice "RTPONG++" in my console as if I typed it in myself, it causes a few issues with attempting to delete it if I need to use the console for anything. Is it meant to appear by itself?
     
  15. Offline

    drdanick

    The toolkit does not (and will not until a more standardized permissions system exists) support any permissions plugin. There should be no conflicts between this and Permissions 3.x or 2.x, however, if that's what you were posting about.

    Are you sure you are running the toolkit wrapper correctly? It should not, under normal circumstances, print the heartbeat responses to the console. Can you post the body of wrapper.properties?
     
  16. Offline

    kamild1996

    Hello.
    This is not working. When i start rtoolkit.bat, it hangs on 16 achievements. Help! :(
     
  17. Offline

    drdanick

    What operating system are you using?
     
  18. Offline

    kamild1996

    Windows XP SP3.
     
  19. Offline

    drdanick

    Windows XP is not completely supported. However, pressing enter a number of times may be enough to get it to work.

    How long does it usually take for these errors to start occurring?
     
  20. Offline

    kamild1996

    Pressed enter about 100 times and there's no result.
    Please, make it full compatible with Windows XP, there's many people who use it.
     
  21. Offline

    craft211

    I seem to be having a problem and i cant get by it. when i start my server up i get this message;

    Minecraft Remote Toolkit R10 Alpha 10.31
    Initializing...
    Loading toolkit properties...Done.
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
    at com.drdanick.McRKit.McRKitLauncher.<init>(McRKitLauncher.java:117)
    at com.drdanick.McRKit.McRKitLauncher.main(McRKitLauncher.java:97)

    ive searched around but i cant find any answers as to a fix.
    thank you for any help
     
  22. Offline

    drip_N_Blood

    First off, I would like to sat congratulations for making an awesome plugin. Occasionally my server gets a "read timed out" and "connection reset" message. That makes it so the server doesn't really crash, but people can't login, and I can't use any commandz will yourplugi recognize this as a crash, and will it restart it or will I be able to do so manually from the iPhone app.? Thanks!
     
  23. Offline

    sharkale

    @kamild1996 open the server, wait 5 seconds after 16achievement line and press enter. or see when the server create the server.log.lck file in root and press enter.
    if you press enter before dont work.
     
  24. Offline

    ReKLiS

  25. Offline

    BaconFace

    Hello, I have a big problem :s
    I want to get this plugin working with PhoenixTerrainMod.
    Both require a wrapper, and I haven't found a working configuration of wrapper.properties that can get both of them to work.

    PhoenixTerrainMod Thread

    I'm pretty sure it's possible due to me finding this random page that contains the successful loading of PhoenixTerrainMod AND the Remote Toolkit.

    The install instructions for PhoenixTerrainMod for bukkit says:
    Code:
    Only one install method exists for Bukkit users.
    First, inject the META-INF folder into CraftBukkit.jar with your favorite ZIP
    tool to avoid class sealed errors (this is VERY IMPORTANT!). Now, it's simple
     from here: Just put the BiomeBukkit.jar in the same folder as craftbukkit.jar
     (it must be named exactly that). Now, create your world folder(s) (you might
    be using multiworld, it's supported!) and put a BiomeTerrainSettings.ini file
    in each. Customize it to your liking, and use the appropriate included startup
     script (.cmd for windows, .sh for mac/linux). 

    PhoenixTerrainMod requires this .bat to run:
    Code:
    @echo off
    java -Xmx1024M -Xms1024M -cp BiomeBukkit.jar;craftbukkit.jar org.bukkit.craftbukkit.Main
    
    I have tried putting "-cp BiomeBukkit.jar;craftbukkit.jar org.bukkit.craftbukkit.Main" all over wrapper.properties, and I got nothin.

    Whoever helps me with this will be loved by me for all eternity, and I will probably name one of my future babies after you.

    Thanks a ton!
     
  26. Offline

    rtcabooservb

    I love this plugin, but for some reason, while using the cmd prompt for the gui instead of my batch file's nogui, the console looks really shitty and has stuff like <-[37m> which is annoying. So I don't really like the Gui this plugin uses =/
     
  27. Offline

    drdanick


    How are you launching your server? That is an unusual problem and may result from incorrectly formatting the USER:PASS argument on startup.



    If the console no longer responds to commands, then the toolkit will force a restart within 10 minutes. Otherwise, it will force a restart at most 5 minutes after the set restart period. And yes, you will be able to do it manually from the iPhone app mentioned in the wiki, but also from Adminium



    You should just be able to start the toolkit in leu of bukkit. Just replace all instances of lines like this:

    Code:
    java -Xincgc -Xmx3072M -jar craftbukkit.jar nogui
    
    with
    Code:
    java -Xms30M -Xmx30M -jar Minecraft_RKit.jar [plain]USER:PASS[/plain]
    

    It should work if you set overridden-process-arguments to:
    Code:
    overridden-process-arguments=java -Djline.terminal=jline.UnsupportedTerminal -Xmx1024M -Xms1024M -cp BiomeBukkit.jar;craftbukkit.jar org.bukkit.craftbukkit.Main
    
    You will need to alter this line for different memory allocations, however.

    Can you give me a screenshot of this please? It doesn't sound like normal console behavior.
     
  28. Offline

    rtcabooservb

    Bunch of 0n's 37n's, etc. And typing in console is a mess xD
    [​IMG]
     
  29. Offline

    drdanick

    That is definitely not normal behavior. Are you using any chat plugins?

    Aslo, can you post the body of wrapper.properties?
     
  30. Offline

    rtcabooservb

    The only chat plugin I use is essentials chat, but I don't have any problems when I run the server with my batch file. But can't use your plugin with my batch file =/.
    Code:
    #Minecraft Remote Toolkit Properties File
    #Sat Jul 09 11:43:57 PDT 2011
    forced-restart-delay=5m
    maximum-heap-size=4096M
    toolkit-autoshutdown-alerts=10m,5m,1m
    restart-on-severe-exception=true
    server-saveall-period=30m
    extra-runtime-arguments=-Djline.terminal\=jline.UnsupportedTerminal
    force-save-on-restart=true
    server-heartbeat-threshold=1m
    server-restart-alerts=10m,5m,1m
    minecraft-server-jar=craftbukkit.jar
    initial-heap-size=1024M
    overridden-process-arguments=
    failed-heartbeat-restart-count=5
    severe-exception-detection-level=1
    server-arguments=nogui
    toolkit-autoshutdown-delay=0
    import-properties=false
    server-restart-delay=6h
    
    This is your batch file.
    Code:
    @echo off
    java -Xmx30M -Xms30M -XX:MaxPermSize=40M -jar Minecraft_RKit.jar user:pass
    
    This is what I would like to use.

    Code:
    @echo off
    "C:\Program Files\Java\jre7\bin\java.exe" -server -Xmx4G -XX:+CMSIncrementalPacing -XX:PermSize=128m -XX:LargePageSizeInBytes=4m -XX:MaxPermSize=128m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:MaxGCPauseMillis=500 -XX:ParallelGCThreads=8 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Xnoclassgc -XX:UseSSE=3 -XX:+UseLargePages -XX:+OptimizeStringConcat -XX:+UseFastAccessorMethods -XX:+AggressiveOpts -Xincgc -d64 -jar craftbukkit.jar nogui
    pause
    
    
    Edit: Not that I think it matters, but I use PEX for my permissions plugin and for the colored prefixes. Doesn't give out the console spam/messages/errors with my batch file though, since it usually is just &0-9 or &a-f.

    Edit2: Also not that I think it matters, but I use java 7 with windows server 2008 R2.

    Edit3 xD: Also also also not that I think it matters, but I'm using craftbukkit 992
     
  31. Offline

    kamild1996

    Not working already. :(
     
Thread Status:
Not open for further replies.

Share This Page