[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

    BigRenegade

    There is a manual backup, but it can only be triggered when the server is shut down. The Save Worlds button changes to Manual Backup when the server is shut down. He put it this way so as to not corrupt any world by doing a backup while the server was running.
     
  3. Offline

    ledhead900

    Yea I noticed was a bit odd considering he could have just done it like I did with my Batch script and have it disable world save until it coped the ENTIRE server to a temp location then renable the world save and start backup from the temp directory removing temp dir when finished leaving only the 7zipped backup behind.
     
  4. Offline

    BigRenegade

    @ledhead900

    That was something I never thought of, and it may be possible he did not either. I forgot about using the save-off feature which would have disabled the server saving until all was done. Knowing that he reads these posts diligently I'm sure he'll pick up on this and possibly add it in a future version. I know that right now he is working on a java version of the GUI so everyone will be able to use it, not just limited to Windows.
     
  5. Offline

    ledhead900

    I'm glad he is as well as I was wanting to try linux OS at some point :p
     
  6. Offline

    dumptruckman

    @BigRenegade @ledhead900
    Some other user reminded me of the fact that there we plugins that allow for backups while the server is running and I remember that I had actually used one and it had achieved it by disabling level saving. So yeah, I will be adding backups while running in the Java version.
    Also, unfortunately the Java version seems to, by default, use more resources right out of the box.. Mostly memory wise, I suspect it will use less cpu.
     
  7. Offline

    BigRenegade

    @dumptruckman

    The plug-in you might want to check for the save feature is Simple Save. It uses the save-off feature to do a back-up while the server is still running. I use it in combo with your GUI.
     
  8. Offline

    dumptruckman

    @BigRenegade
    Yeah, no worries, there's a much easier way than relying on someone else's plugin.

    @ledhead900
    I've added a custom run/command line option to the Java version. Would you mind testing it and seeing it if works with that biometerrainmod?
     
  9. Offline

    ledhead900

    Yea no worrys teststing it now over a new map.
    Give me little bit to get it going.

    Edit:
    I cant seem to be able to tick the custom launch check box and add the mod to it.

    Edit:
    I worked it out even tho I cant enable the check box I added the peramiter -cp biometerrain.jar to the end of the Extra arguements.

    and it loaded perfectly generated the custom Snow sections with the odd trees just like expected.
     
  10. Offline

    BigRenegade

    No worries. I'm working on getting a function Mac OS up and running on the system. I currently have a functioning Linux OS (Ubuntu). So, as soon as I get this Mac OS running I'll test it against that and see how it works. Will be a few hours yet, I have a computer job to do first (have to make that money haha).

    Are you writing the java version with NetBeans or Eclipse or another package?
    Also do you have MSN or Skype?
     
  11. Offline

    valkiscool

    Hey im using the last version of you handy program but it wont autorestart:(
    I tried to delete the guiconfig.ini but that dint work.
    I set it to restart 4x at a day but if its time then it counts and than noting (it says Commencing auto-restart) and the console says this:
    Code:
    2011-05-21 00:00:16 [INFO] [CONSOLE] Automatic restart in 15 seconds.
    2011-05-21 00:00:27 [INFO] [CONSOLE] Automatic restart in 5 seconds.
    2011-05-21 00:00:28 [INFO] [CONSOLE] Automatic restart in 4 seconds.
    2011-05-21 00:00:29 [INFO] [CONSOLE] Automatic restart in 3 seconds.
    2011-05-21 00:00:30 [INFO] [CONSOLE] Automatic restart in 2 seconds.
    2011-05-21 00:00:31 [INFO] [CONSOLE] Automatic restart in 1 second.
    2011-05-21 00:00:32 [INFO] [CONSOLE] Automatic restart in .
    2011-05-21 00:00:32 [INFO] [CONSOLE] Please reconnect in approximately 30 seconds.
    
    And then nothing now the auto backup wont work :(.
    Is this a bug or a problem with my config below?
    Code:
    [Folders]
    ServerPath=D:\Minecraft server\Bukkit
    BackupPath=E:\Minecraft server\Backups
    [Exec]
    JavaExec=C:\Program Files\Java\jre6\bin\java.exe
    MCServerArguments=
    [ServerArguments]
    ServerJarFile=craftbukkit-0.0.1-SNAPSHOT.jar
    Xmx=2048M
    Xincgc=1
    UseConcMarkSweepGC=0
    UseParNewGC=0
    CMSIncrementalPacing=0
    AggressiveOpts=0
    ParallelGCThreads=
    Extra=
    [Names]
    GUIWindowTitle=MC Server GUI
    [Timing]
    RestartTimes=00:00:00,:06:00:00,12:00:00,18:00:00
    WarningTimes=30,15,5,4,3,2,1,0
    RestartDelay=0
    TimeToReconnect=30
    [Backups]
    AutomateBackups=1
    WorldBackups=1
    LogBackups=1
    ZipBackups=1
    [Other]
    MinimizeToTray=1
    ServerStartOnStartup=1
    AlwaysShowJavaConsole=0
    [Colors]
    BGColor=999999
    INFO=FFFF66
    WARNING=FF9933
    SEVERE=FF0000
    [Font]
    Color=000000
    Size=8
    Face=Roman
    [Window]
    Width=700
    Height=275
    [Debugging]
    DebugMode=0
    [Worlds]
    World1=world
    
    Greets,
    Valk
     
  12. Offline

    BigRenegade

    @Valk

    Do you have 2 separate drives where Minecraft Server is located? If not you might want to set the back ups folder to D:\Minecraft Server\Back_Ups rather than E:\Minecraft Server\Back_Ups. The only other thing I can see that you have different than mine is the ServerStartOnStartup. I have mine set so ServerStartOnStartup=0 so the GUI will load first then I start the server.
     
  13. Offline

    dumptruckman

    @valkiscool
    my best guess is that you have a 0 under warning times. Try making the last number 1 instead
     
  14. Offline

    BigRenegade

    The zero setting is what is very probably causing your problem. I tried my server with the same settings you had and it wouldn't run until I eliminated the warning time of 0. Then it ran fine.

    @dumptruckman
    you can update the RB to 798. I have had it running under that build for about 8 hours now with no trouble.

    For those who don't know yet, MCServerGUI runs under bukkit RB 798 just fine.
     
  15. Offline

    valkiscool

    I tried it all the 3 things but it did not work:( any other ideas?
     
  16. Offline

    dumptruckman

    Oh! I also see that you have :06:00:00 as one of the times. That is invalid. why not just put 0,6,12,18
    or 12am,6am,12pm,6pm
     
  17. Offline

    valkiscool

    Ahh ive reading over it :p and i din't know that i can use 0,6,12,18, i changed it and now it will restart but not bakcup the map:(
    Now my config looks like this
    Code:
    [Folders]
    ServerPath=D:\Minecraft server\Bukkit
    BackupPath=D:\Minecraft server\Bukkit\backup
    [Exec]
    JavaExec=C:\Program Files\Java\jre6\bin\java.exe
    MCServerArguments=
    [ServerArguments]
    ServerJarFile=craftbukkit-0.0.1-SNAPSHOT.jar
    Xmx=2048M
    Xincgc=1
    UseConcMarkSweepGC=0
    UseParNewGC=0
    CMSIncrementalPacing=0
    AggressiveOpts=0
    ParallelGCThreads=
    Extra=
    [Names]
    GUIWindowTitle=MC Server GUI
    [Timing]
    RestartTimes=0,6,12,18
    WarningTimes=30,15,5,4,3,2,1
    RestartDelay=1
    TimeToReconnect=29
    [Backups]
    AutomateBackups=1
    WorldBackups=1
    LogBackups=1
    ZipBackups=1
    [Other]
    MinimizeToTray=1
    ServerStartOnStartup=0
    AlwaysShowJavaConsole=0
    [Colors]
    BGColor=999999
    INFO=FFFF66
    WARNING=FF9933
    SEVERE=FF0000
    [Font]
    Color=000000
    Size=8
    Face=Roman
    [Window]
    Width=700
    Height=275
    [Debugging]
    DebugMode=0
    [Worlds]
    World1=world
    Any idea how i can "enable" the autobackup feature?
    Greetz,
    Valk
     
  18. Offline

    dumptruckman

    @valkiscool
    Good question... I don't see anything wrong in there now. The restart delay shouldn't affect backups.. but maybe try setting it to 10 or so. Backups are the next features i'm working on right now in the Java version so if you can't get it working i'll have a better solution out soon.
     
  19. Offline

    valkiscool

    @dumptruckman
    I set the delay to 20 and it worked! even to my other disk! Thanks!!!
     
  20. Offline

    dumptruckman

    Heh, no problem :)
     
  21. Offline

    ledhead900

    Request

    1. Add full backup option to backup the entire server not just the maps
    2. Ability to zip with RAR or 7Zip < preffer 7 zip
     
  22. Offline

    dumptruckman

    Already part of the plan :) But as I'm focusing on the Java version that is where it will be added.
     
  23. Offline

    ledhead900

    So java version is replacing this version correct ?
     
  24. Offline

    nickrev

    hey man its been a while. just wanted to let u know in v.6.10 the players online list doesn't work very well anymore. just doesn't keep track like it did in 6.8. well hope u can fix this! never let me down before.
     
  25. Offline

    dumptruckman

    I didn't make any changes to the player list from .6.8-.6.10. More than likely the server is less often giving messages for people connecting/disconnecting.
     
  26. Offline

    nickrev

    oh okay, do u know of a way i can fix that?
     
  27. Offline

    BigRenegade

    @dumptruckman

    FYI. Works fine with bukkit RB 803. Benn running it since the release of 803 and no trouble.
     
  28. Offline

    ThatGuy295

    I like this plugin.....ALLOT
     
  29. Offline

    PhantomGamers

    It should work unless Bukkit changes the way logging works.
    Rather then saying when it DOES work, I'd say you should alert him when it DOESN'T.
    Assuming I don't tell him first ;P
     
  30. Offline

    BigRenegade

    I just do it that way cause I'm testing both versions of his GUI package and have to switch between OS's. ;p

    And it doesn't have to be just logging that they change which could possiblly break the package and keep it from acting right. :)

    Also it keeps the moderators from reminding him to update the tag to the current build it is tested against :)
     
  31. Offline

    dumptruckman

    Unfortunately I don't... It's either something happening in the server itself (or maybe just Bukkit) or else it's caused by some plugin. I have some plans for getting around this though which I'll eventually implement in the Java version.

    Thanks. Keep an eye on the Java version, it's gonna be a lot better eventually.

    PhantomGamers is right regarding this version. The only thing that could break the GUI is if the server stopped using a server.log.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
Thread Status:
Not open for further replies.

Share This Page