[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


    Thanks! I'm gonna keep em coming. It's starting to get tougher because I've been putting off the more difficult features and now I'm running out of the easy ones. ;)

    Well, I'd honestly love to have cross-platform support but I only even started on this project because of how easy it was to learn AutoHotKey. And unfortunately, AutoHotKey is windows only. :( The GUI elements I use are all standard Windows GUI elements and work based on Windows Messages, thus forcing this to work in Windows only. However, there's a very small chance it could be usable in WINE or something like that.
  3. Offline


    This GUI/wrapper/ Don't know what this would be classified under is great! Only feature I would like to request is a auto delete backup, which will delete when the amount of files in that folder reaches a certain number and it starts to delete the old group of files(multiple worlds on same HH/MM/SS/DD) first. Until I get out of school( which is next week), I won't be able to do much coding.
  4. Offline


    Added to my todo list. What's you coding have to do with it?
  5. Offline


    I did find that part quite peculiar.
    Maybe he was offering to do that for you?
    Doesn't seem like he's made any plugins before though, and doesn't specify knowing AHK.
  6. Offline


    Is it possible to set up the mod to just make a backup of the entire folder? By the entire thing I mean the Plugin folder, world folder, any multiworld folder as well as any text and property files in there. I do a manual backup all the time because I want to not only save my wold data, but I want to make sure that mods like McMMo stats don't get messed up.
    I can continue doing it manually as it doesn't really take that much time, but it would be a nice feature :D . I'm looking forward to future updates! I currently use it just because the GUI is nicer than that black box of confusing.

    I was also wondering what the options in the 2nd tab were (Server Config).

    It looks like in the screenshot you had on the instructions had all of them checked. I just wanted to know what they were, but if you're too busy it's ok.
    Thanks for your work!
  7. Offline


  8. Offline


    IMO I think they are fine as check boxes, you should just quote the part in which he explains what they do in the OP so people know.
    It's quite handy, and not everyone would know about them.
  9. Offline


    Yeah, it's like, I added them because it's what i used... Never knew what they did, just used em. When I saw that thread I realize there were a shit ton more. So now, I kind of want to add all of those options to the gui, it's just extra work I haven't gotten around to yet. Which is why I haven't added tooltips explaining what they do.
  10. Offline


    should i make it 24:00:00 or 00:00:00? and i have a bug after restarting server there seems to be double playersnames for every players after a restart
  11. Offline


    00:00:00, guess I should have specified. I'll see what I can do about that bug.
  12. Offline

    aam ford

    i need to make it run constantly but in the background. can anyone help? E-mail me @ [email protected]
  13. Offline


    Do you mean like, run from the system tray instead of the task bar?
    Arrow points to system tray.
  14. Offline


    Maybe he means Minimize to tray? I can see the tray icon when it's running but it only minimizes to taskbar.
  15. Unable to run the server with Java 7, Java 6 can not start the server with a value greater than 1024M.

  16. Offline


    Wow, I haven't looked back at this in a while. This GUI looks GREAT! I'm going to download it ASAP. Truly amazing.
  17. Offline


    Windows system error code: 2 means that the file was not found. It is likely referring to either java, or more likely, your server jar file. Double check those.
  18. Offline


    Sorry for the random comment. I have worked with AHK from creating automated task,GUIs, System task, etc. Been working with it for a few years now. The initial comment was mainly for the purpose of adding it myself in the future if adding it to this version was not possible for some reason.
  19. Offline


    Cool, maybe we could discuss forking the project on github. Or whatever it is you do... >.>
  20. Actually still a problem of capital, it will teach me to do too many things at once.
  21. Offline


  22. Offline


    Theoretically, you could select MCSignOnDoor.jar as your server jar file... See if that works. You'll have to make sure you're not using any additional server arguments, so uncheck those boxes and leave out Extra Arguments.. As for the memory settings (Xmx Xms), it's going to add them to the launch, so just set them to normal values (like 1024M).

    Let me know what happens!
  23. Offline


    Sadly, all it did was run McSignOnDoor. I wonder if there is a way both might be selected as the jar, but that might conflict port-wise. Ill talk to the maker of the gui and see if he has any ideas. I dont have a huge knowledge of java, but ill try to combine both into one, if thats even possible.
    Edit: Nope, didnt work. At least my crude cobbling together didnt.

    Btw, how exactly does the gui start it? Does it use something similar to a starter .bat?

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


    Sort of kind of maybe? It basically runs what you would put inside of the .bat file. It literally executes: java <argumentss> -jar <server.jar> nogui.
    This runs in the "Java Console" rather than a cmd console. They may really be the same thing, I'm not sure of that.
  25. Offline


    Is there a way to add a feature to choose custom . Bat files? I have a custom .bat to run my server so that as soon as it ends, mcsod runs automatically.
  26. Offline


    it doesn't use batch files... so the way it works now, that would be highly improbable.
  27. Offline


    Since I like the idea of mcsod I may make it compatible soon. Maybe have an option where basically whenever your server is down it can run mcsod.

    Edit: But yeah, PhantomGamers is right.

    It's kind of funny, I used the batch file before, but at some point i realized that certain features would be near impossible without hooking onto java itself.
  28. Offline


    It would probably be a lot of extra work but one possibility is to have an extra file browse option which the user could set their .bat file. The GUI could remove any duplicate commands or in the case of Xms and such, it would default to using the .bat file or maybe have an option for the .bat file duplicate commands to take priority. This would still allow the GUI to control everything. Just a couple thoughts :)
  29. Offline


    Add an option to send stop command when you click on the X to close the window or on a close request from windows so the map will be saved if we shutdown windows without stopping the server first.
  30. Offline


    It already performs this action
  31. Offline


    i totaly love this! but i have a problem were it sometimes don't show anything in the console output :confused: it still starts up the server fine but you cant see anything in console:p using CB 740 if it helps :)
Thread Status:
Not open for further replies.

Share This Page