[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

    dumptruckman

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

    [​IMG]


    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)

    (v.6.0)
    [​IMG]
    [​IMG]
    [​IMG]
    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

    dumptruckman

    http://forums.bukkit.org/threads/ho...24gb-dedicated-server.3967/page-2#post-184208 read that for the options

    The Waiting for Java Console to start thing... It's a bug I have tried and tried to fix... It will still happen. It just happens kind of intermittently
     
  3. Offline

    Walnoot

  4. Offline

    dumptruckman

    Does it work every time?
     
  5. Offline

    Walnoot

    So far, yes. The only bug I've encountered so far is multiple names in the player list section. I'm looking forward to updates!
     
  6. Offline

    dumptruckman

    Alright, cool, that's good to hear. :) The player list bug is gonna be hard to work around but I'm not giving up :)
     
  7. Offline

    nickrev

    your TODO list is looking pretty good!
     
  8. Offline

    Sulinia

    Hey. Tried this mod and can't get it to work, it keeps saying "Waiting for Java Console to start" when I hit the "Start server" button.

    Can see other people have trouble with this bug aswell, just gonna put it out here I have it aswell.
     
  9. Offline

    dumptruckman

    Well, actually, sometimes this is fixed by adjusting your settings. The bug is when the server starts, which you'll know, it will say it's running, and the memory counter will show something over 100M
     
  10. Offline

    joedan

    Just a question, (by the way this GUI rocks). Is there a chance of auto starting the GUI and starting the server automatically upon computer restart?
     
  11. Offline

    dumptruckman

    You can set up a Windows scheduled task to run it on computer boot up.. I could add an option to make it start the server on GUI launch.
     
  12. Offline

    Sulinia

    I have double checked everything, I navigated the Java Executeable to my Javaws.exe file in my bin folder.

    Navigated MC server path to the folder my bukkit server.jar is in.

    Navigated the MC backup to a random folder I want the backups to be dropped in.

    Navigated the server jar file to my bukkit jar file I use to boot up my server.

    That's all I've done. And it still refuses to work.
     
  13. Offline

    dumptruckman

    Can you post what's in your guiconfig.ini to http://pastebin.com/?

    Also, for the java executable just type in java.exe. That should work 90% of the time.

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

    joedan

    Thanks for the tip, it would be much appreciated if you have a chance to do this.
     
  15. Offline

    dumptruckman

    @Walnoot and @Sulinia

    Just released .5.1, this version alters the server start process and if there are any errors, it should tell you an error code and halt the server start. Please give it a try and if you get any error messages, let me know what they say, please :)

    Added in .5.2

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

    PhantomGamers

    You should have the backups be zipped, maybe add an option for it...
    Other than that, great utility! Love it!
     
  17. Offline

    dumptruckman

    That's on the todo list :)
     
  18. Offline

    PhantomGamers

    My bad, missed that. :p
    That would be awesome though! :)
     
  19. Offline

    joedan

    Thanks so much, this is excellent.
     
  20. Offline

    Walnoot

    I just updated to .5.2. The multiple names bug is still present:
    [​IMG]
    also, could you add an option to automaticly delete backups older than a configurable amount of days?
    edit: when i do the 'list' command it makes the player list blank
     
  21. Offline

    Lolmewn Retired Staff

    In my playerlist, theres this (Look at the player list)
    ScreenShot#023.jpg

    How do I give it 4G of memory?

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

    Geotraildark

    -Xmx4096M
     
  23. Offline

    Arzeus

    Also make sure you are running Java 64bit since 32bit can not support 4G of RAM.
     
  24. Offline

    Sulinia

  25. Offline

    dumptruckman

    The player list is a very tricky thing to pull off with my GUI... It adds people to the list when it sees "logged in". I am going to change this to be a longer string, such as "logged in with entity id" because as is, if anyone types "logged in" it will add some crazy stuff to the list.
    @Walnoot, as far as it still showing multiples of the same person, notice how Maniac logs in twice without it ever saying he logged out. That is why he doesn't get removed from the list. To combat this, I made it send the server the "list" command and check who's actually on... (but it only does this automatically when it sees "connection reset" because I thought that was related to people logging out). If your player list displays player's names in a strange fashion, that could cause it to not think they're online. What would be really awesome is to have a plugin to go along with this that would track the players for me. I'll consider that but it would mean learning Java.

    Just set Xmx or Xms (or probably both) to 4G or 4096M

    Try changing it from javaws.exe to java.exe
    Also, you really should specify Xmx and Xms memory. At least 512M in each one.

    @Walnoot could you give me a screenshot of what it looks like when you do list? I need to see how it's formatting your player list.

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

    Walnoot

    here it is:
    [​IMG]
    notice the player list being empty :p
     
  27. Offline

    dumptruckman

    Ahh, I must've messed up the code for just 1 player. There will be some improvements in the next version for sure, but it will be far from perfect.
     
  28. Offline

    Walnoot

    Also, the multiple names bug only happened with that maniac guy so far.
     
  29. Offline

    dumptruckman

    Hmm, that's interesting... I've had some people report never seeing it. It's like, maybe only certain people are able to log out without the server saying anything or something...
     
  30. Offline

    Amix13

    Is there something wrong with my computer, or does this not show people talking? I can see them talking if I run my server through the cmd, though. If it isn't a glitch, I would really enjoy to see this feature. Also, could there possibly be a conflict that is causing it not to show me people talking because I have the TextWrap mod installed?
     
  31. Offline

    Arzeus

    I was having the same issue and I tried removing the text wrap mod and it worked then. I would give that a try and see what happens.
     
Thread Status:
Not open for further replies.

Share This Page