[ADMN/MISC]MC Server GUI .6.10 - A Windows GUI for your server (now w/ archived backups) [803]

Discussion in 'Bukkit Tools' started by dumptruckman, Apr 14, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    MC Server GUI .6.10 - A GUI wrapper for your server (w/ backup functionality):


    Version: v.6.10

    This is a wrapper for your minecraft server that, at it's base, provides a Graphical User Interface. It also has world and server.log backup functionality. I made this with Autohotkey. It is likely only compatible with Windows 2000/XP/Vista/7.

    SUPER IMPORTANT: I just realized I broke Automatic Backups since version .6.2. PLEASE upgrade to .6.7+ as it fixes this issue.

    News 5/17/11
    I finally have a working extremely basic GUI in java right now. I finally got past some of the really major issues I was having with it and am now moving on to being able to set your configuration. Once I have this complete I will release the first version!

    Features (open)

    • Provides a GUI for your minecraft server
    • Backup your world(s)/log with a single click
    • Archive backups to zip
    • Edit server.properties from GUI as well as server start options
    • Run scheduled restarts/backups with warning messages
    • Customizable color schemes
    • Memory/CPU/Network monitors
    • Player list with kick/ban actions (more to come)
    • Highly configurable (intended to be anyway)
    • Great compatibility with any version of the minecraft server
    • Press ctrl-s to toggle "say" mode!
    Download (open)

    Download MC Server GUI
    Note: You should PROBABLY delete your old guiconfig.ini any time you update.

    Source Code

    Source Code for multi-platform Java version (not released yet)
    Installation (open)

    • 1. Unzip mcservergui.exe and 7za.exe (This file is for archiving ability) into your Minecraft Server directory
    • 2. Run mcservergui.exe. It will attempt to detect the jar file for your server. If it cannot find it, set it manually under Server Config.
    That's it!

    Screen Shots (open)

    TODO (open)

    • Ability to give players items by right clicking name in player list (high priority)
    • Compatibility with many other plugins (mcMMO or iConomy for instance) (low priority)
    • Server file manipulation (like installing/configuring plugins) (low priority)
    • More Error Checking (medium priority)
    • Resizeable GUI (medium priority)
    • Plugin Manager (high priority)
    • A ton of other crap.
    Full todo list

    Change Log (open)

    Version .6.10
    • Removed Xms memory field and replaced with Xincgc checkbox. You can still use Xms if you'd like, you just have to add it in the extra arguments box.
    Version .6.9
    • Alt-Tab works more reliably while looking at the GUI
    • Added ctrl-s hotkey for "say" mode
    • Made slight modification to the way the console output scrolls
    Version .6.8
    • Rewrote how the GUI processes server.log, hopefuly making it more reliable and use less resources
    • Added error checking to this process so that if there's any issues reading it, it will tell you
    Version .6.7 - HOTFIX
    • Automatic backups now work again!
    Version .6.6
    • Added some very specific debug mode values to fight this zero-console output issue
    • Added option to enable/disable minimize to tray
    • Added more checks for the GUI closing (other than the X button) so that it can shut down the server properly
    • Removed error message about GetGUIThreadInfo()
    • Made one tiny change to the startup process that may increase reliability
    Version .6.5
    • Added a new text box to show the phases of the start up process (instead of displaying in the console output), allowing for:
    • Modified the startup process. It will now start displaying console output much sooner
    • Fixed issue where auto-restarts made the GUI think Java was crashing
    • Replaced Warn Restart button with Warn Stop button as this would seem to be more useful
    • Renamed Immediate Restart button to just Restart
    • Added Reload button to send the reload command for you
    • Made Minimize to Tray much more reliable
    Version .6.4 - HOTFIX
    • Fix for restart times not updating correctly while the server is running
    Version .6.3
    • Player list should no longer display duplicate players
    • Fixed bug where Next Restart time would reset to the next restart time shortly after saying it was commencing the first one
    • Possibly fixed a bug that would cause restarts (and therefore backups) to be skipped
    • Added Debug Mode
    • Fixed issue where console would remain blank on server start
    • Now minimizes to the system tray (Doesn't seem to work right)
    • System tray icon's tooltip shows server status and if UP, online player count
    • Possibly fixed bug where server up time would stop displaying
    • Fixed issue where sometimes the GUI would erroneously think that there was a Java error upon starting the server
    • Removed Update Rate setting as it is no longer used
    • The console output should resume scrolling normally when you're not focused on it (such as selecting text within it)
    • Should now detect players being kicked by alternate means
    Full Change Log

    Known Bugs (open)

    • Slight delay (2-seconds?) before restarts commence
    • Players with nick names will be dropped from the list ocassionally

    If you have any issues please read the following frequently asked questions section!
    FAQ (open)
    FAQ (open)

    • Q: There is an error starting Java when I start the server.
    • A: First, instead of using java.exe on the GUI Config page, browse for this file on your computer. Failing that, if you're trying to set the memory above 1024M(1G) you may need to select a 64 bit java.exe
    • Q: What do the options do on the Server Config tab do?
    • A: Take a look at this.

    Love my GUI? Feel free to donate! :)

    Thanks to:
    Geotraildark for some nice initial screenshots, nickrev for a snazzy icon, and the rest of you for all the support!
  2. Offline


    Ahh, cool. Well, some things you ought to know. I've finally gotten around the major issue I was having in Java so I've decided to keep trying to port it. The source code will be available shortly and I will probably release it similarly to how I recently the AHK version. I'm going to try and keep up with bug fixes and minor feature requests for the AHK version and if you do get the maximize thing working i'd be happy to add it in. I tried at one point and realized that the RealEdit control did not work with the method I was trying. I heard something about using Anchoring but I didn't try it yet.

    Oh yeah, and I just released the minor feature update .6.9 (and added the new Java source to the downloads section)

    Edit: IronAHK right now is not capable of porting it, firstly due to the fact that tabs don't work in the GUI.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 13, 2016
  3. Offline


    "I will likely still try and develop bugfixes and such for the windows version however."
    Why continue to support the Windows Version when Java works on all platforms?
    Just curious, I see a lot of people do this :S
  4. Offline


    Well considering at the moment the Java version can only start/stop the server, it has a lot of catching up to do. So, until it catches up...
  5. Offline


    Ah okay, I getcha.
    I hadn't actually tried it myself, so I wasn't sure.
    I see a lot of developers have completely functional java versions, yet they make Windows-Only versions anyway...
    Stumps me....
  6. Offline


    About the maximizing. I actually had it maximize the window but it wouldn't maximize the tabs along with it. I'm trying to find the solution for the problem. If I can get it to maximize the tabs then everything should be ok.

    I'll keep watch for the java port version and work with you in debugging it. My java knowledge is somewhat limited but I am good at find bugs in a program for I have a habit of pushing a program to it's max. :)

    EDIT: Not sure what "little" fix you did to the GUI but it seems to run a little faster now. Was hardly any delay between pushing start server button and the server starting right up. Keep up the good work! :D

    Java works on all platforms but there are times when Linux does not like the way something is written in the plug-in and has fits. An example, I have a friend who is running the same mod I am on a Linux platform. There are no errors in the console but the plug-in will not work right for him yet I have no trouble with the same plug-in.

    His supporting the windows version is due to a large number of people now using this GUI. He is working at porting it over to java but only has a few things done. Plus in an earlier post he commented about needing to learn java in order to change it over. So a working java version will take some time.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 13, 2016
  7. Offline


    Yeah, he replied to me. I know this now :)
    And I don't see how the top part of your post relates to my post? :S

    I said nothing about Linux, only Windows. :p
  8. Offline


    you asked why support the windows version when java works on all platforms. It may work on all platforms but there are consistently changing things that more often than breaks on linux, mac or other platforms which run perfectly fine on windows. so most will keep their windows versions updated over the other platforms. I simply used linux as an example since you see more people asking about linux issues than mac.
  9. Offline


    Sure, people on Linux may have issues that Windows doesn't...
    But that's the point. Windows DOESN'T, so why use the Windows version when the Java version would work 100%?
  10. Offline


    For when you back up worlds, I extracted the .zip it created, and all I got was a server.txt file. Do I just replace the other one with this one and the world will revert to the backup? I'm confused because it doesn't give me any level.DAT files or Region folders.
  11. Offline


    I'm having issues with 6.9. When dragging the scroll bar around, it does not stop on what I'm attempting to release it on. When the scroll bar is at the top of the screen, whenever I grab and move it, white blocks appear in the Console Output on the top right and bottom right. When I've dragged the scroll bar to where I want, about 3secs later it will automatically start scrolling the output down the screen until the bar hits the bottom. When I click in the Console Output window everything works normally, scroll wheel on the mouse works fine, everything is normal until I move the focus (click somewhere) somewhere else.

    This pretty much sums up everything I have noticed so far. :)

    Edit: This is using #740, going to give #766 a go.

    Edit: No change with #766
  12. Offline



    What is happening is the scroll bar is not losing focus when you move off of it. The white boxes that appear are the up and down arrows of the scroll box. If you click on either of them individually focus remains on them also. I think this might be an issue with AHK not taking focus back from RichEdit.
  13. Offline


    Bug Report:
    If you open any other instances of the program to say run other servers, it will not display the log on the future servers.

    Sometimes on the first launch the output is not displayed until you press stop twice and start it up again.
    Also sometimes it runs the server without displaying the output, and if you click stop javaw.exe will still be running and any future attempts to click start will not show output until javaw.exe is killed.
  14. Offline


    Sometimes when first starting up it takes a few seconds to load in the text display from the java console. I have had this same issue a few times and found that waiting for a few seconds the text will display. Another thing that might cause this is you are launching javaw.exe rather than java.exe to run the server. I'll have to check this and see if it causes an issue. using javaw.exe to run the server seems it might be the problem. Try using java.exe to launch and see if this clears up the problem.

    If are wanting to run multiple servers it is best to keep the files for each server in separate folders. If done this way there is apparently no problem with running multiple instances of the gui.
  15. Offline


    @Azukay @BigRenegade
    In .6.9 I redesigned the scrolling so that if you're not focusing on the Console Output it will attempt to scroll to the bottom. This is so that if you ARE focused on the Console Output (as in you click inside of it or are trying to select text from it) it should stop scrolling completely so that you may easily scroll through it and select text.

    As BigRenegade said, if you keep all the files in separate folders there really shouldn't be any issues. In the Java version I've stopped reading from the log and instead directly retrieve the output from the server, meaning it should work much more reliably all the time.

    You must select "Backup Worlds" on the main window or else it will not save the world files. In addition, you must SPECIFY all the names of your worlds in the GUI Config tab.
  16. Offline


    Didn't know about the redesign for the text display. :)

    But I did test the use of javaw instead of java and there seemed to be an issue with it not wanting to accept a stop command from the gui. This is NOT an issue with the GUI but with java. This was the basis for my suggestion in using java instead of javaw.

    On the multi-server issue, I have 3 servers set-up and use the GUI on all 3. I've never had an issue with it running more than 1 server.
  17. Offline


    Ahh, after putting .6.9 on live I can see that the scrolling thing was not fixed... It scrolls down whenever someone talks. I'll have to retry.
    edit: it's really hard to test it until i run it live
  18. Offline


    What's does this setting?
    Is this to get the server to run more smoother?
  19. Offline


    Please read the FAQ
  20. Offline


  21. Offline


    If you read this then that's all the information I have about it as well. I just added them to my GUI cause it's the options I use on my server.
  22. Offline


    I think this might be an issue that cannot be fully resolved. I found from looking at the source this morning and playing around a little that it is because of RichEdit. The RichEdit script is for an editor and doesn't lose focus on the scroll bar until you click somewhere else in the screen changing the focus point. I had to go take care of some business and just got back a little bit ago so I haven't had time to see if there was a way around it yet.
  23. Offline


    Well, scrolling the RichEdit control seems fixable.. It just doesn't seem to consider clicking on the scrollbar as giving the RichEdit control focus.
  24. Offline


    That was what I ran into. I couldn't see any way to give it full focus. But I have found that if you use the scroll to scroll, clicking on it again stops it from auto-scrolling when moused over.

    The issue I have found with it is if you click on the console output window, then use the scroll bar, it has a tendency to always want to scroll the window to the line of text you clicked on in the output window. If you just scroll it will auto-scroll whenever you mouseover it.
  25. Offline


    @dumptruckman How do I get the server to autoupdate hourly?
    Do I type in 1hour, 2hours, 3hours, etc? Or is there an easier way
  26. Offline


    Yes... I'm not COMPLETELY retarded.
    The files were in separate folders and I still received this problem.

    And I have it set to launch via java.exe, but for some reason when that problem occurred it had javaw.exe running.

    (CC: @dumptruckman )
  27. Offline


    Assuming you mean auto-restart, just typing in 1hour should be enough. However, I still think it is sometimes missing restarts (probably again, due to lag.) Knowing that, maybe just put 1h,2h,3h. However, I'm not quite sure that will function correctly either.... In that case, just copy this into the box:
    as that will make it restart ON every hour.

    javaw makes everything get wacky.
  28. Offline


    Well, yeah.
    But I didn't set it to javaw.
    I can't see how the GUI would do that either... lol.
    Mind = Blown
  29. Offline


  30. Offline


    Any chance for XMS to be swapped out for -Xincgc in 7.0?
  31. Offline


    I doubt it.

    Just add -Xincgc in the extra arguments field. I'll probably change these options up in the Java version.
Thread Status:
Not open for further replies.

Share This Page