[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

    Infectedd

    Constantly Java terminated unexpectedly. When it does this the GUI LOSES control over the server. "Server stopped" and i'm chit-chatting with people. I try to stop the server with no success and have to stop it with Task Manager, which definitely isn't really cool. Using version 6.9, i'll check whether it does it with .10 too.
     
  3. Offline

    Lolmewn

    I'm getting an error with the new MC 1.6: 2011-05-26 21:21:18 Error starting server. Windows system error code: 2
     
  4. Offline

    dumptruckman

    Did they change the allowed runtime arguments in 1.6?
     
  5. Offline

    Lolmewn

    I don't know. I seriously got no clue :p
     
  6. Offline

    dumptruckman

    Show me your guiconfig.ini file. Post it on www.pastebin.com
     
  7. Offline

    SecretPancake

    Keep up the Good Work! :D

    Here is Some Diamondz for YOU: [diamond][diamond][diamond][diamond][diamond][diamond].[diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond] [6.10 Diamondz :p]
     
  8. Offline

    Aki Tensai

    This GUI is nice. Lots of useful features. I'm disappointed that it assumes that where my server .jar file is is the same folder that my world files are. I expected it to use the same folder that the GUI exe is running from as the folder that the world folder is in.

    I use a single server .jar and multiple servers so that I only have to update my jar once. Though I rarely run more then two servers at once (a 4 player server, and a dev for plugin test), I still have multiple player/dev servers based on need.

    This complaint is an inconvenience, but not enough to stop me from using it. Thank you for your time.
     
  9. Offline

    BigRenegade

    From all of my use of the plug-in, the folder it defaults to is the folder where you installed it. Defaulting to the install folder has been the normal location used by most programs for years.

    If you are running multiple servers, as am I, you would still have to change the location/name of the server jar file, no matter where you installed it. So it puzzles me as how you could consider this an inconvenience when, no matter how you slice the cake, you still have to change the server jar info (be it folder or name).
     
  10. Offline

    dumptruckman

    Hmm, I didn't know this was even possible. How do you make the server use an alternate location for the world files?
     
  11. Offline

    PhantomGamers

    And an alternate location for the plugin files?
    I've seen tons of people do this, including a bunch of Server Hosts, but I would love to know how.
     
  12. Offline

    Aki Tensai

    This is how my setup was before using your GUI. Currently the snapshot is within each server so that I can use the GUI ^.^

    /MCServers/craftbukkit-0.0.1-SNAPSHOT.jar

    /MCServers/Server1/BAK/[MiscBackups]
    /MCServers/Server1/world/level.dat (plus rest of world files)
    /MCServers/Server1/plugins/[Server1's plugins]
    /MCServers/Server1/craftbat.bat
    /MCServers/Server1/server.properties
    /MCServers/Server1/(rest of files will self generate on first bat run)

    /MCServers/Server2/BAK/[MiscBackups]
    /MCServers/Server2/Survival/level.dat (plus rest of world files)
    /MCServers/Server2/plugins/[Server2's plugins]
    /MCServers/Server2/craftbat.bat
    /MCServers/Server2/server.properties

    craftbat.bat (open)
    [craftbat.bat]
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar ../craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE
    server.properties (Server1) (open)
    #Minecraft server.properties (Server1)
    #Wed May 11 10:19:42 MDT 2011
    level-name=world
    hellworld=false
    spawn-monsters=false
    online-mode=true
    spawn-animals=true
    max-players=20
    server-ip=
    pvp=false
    level-seed=1024
    server-port=25565
    allow-flight=false
    white-list=false
    spawn-protection=0
    server.properties (Server2) (open)
    #Minecraft server.properties (Server2)
    #Wed May 11 10:19:42 MDT 2011
    level-name=Survival
    hellworld=false
    spawn-monsters=true
    online-mode=true
    spawn-animals=true
    max-players=20
    server-ip=
    pvp=false
    level-seed=
    server-port=25565
    allow-flight=false
    white-list=false
    spawn-protection=0


    Now I just need a plugin that backups the world on death, gives the players an x minute "world is ending, someone died" and restart the server on a new seed for the survival server. Hardcore ftw.

    By plug-in, do you mean Bukkit as a server, or this Server GUI?

    In this app, selecting the server jar file also selects the world's sub folder. When I ran this from /MCServer/Server1/mcservergui.exe aimed at /MCServer/craftbukkit-0.0.1-SNAPSHOT.jar it created /MCServer/world/level.dat rather then use /MCServer/Server1/world/level.dat that I expected it to.

    When updates occur to bukkit, my pre-GUI setup had the single file changed and each of my five servers got the update and the bat ran the world files near them. I see the server file being duplicated as unneeded redundancy as I plan to only accept a single client version. Plugins have to be duplicated as they use their own folder as setting savings. /shrug

    (Yes, five servers... perhaps overkill. Creative, Creative Dev, Survival, Survival Dev, and Zom Surprise. Never more then two servers running at once. It looks like MultiVerse, MultiInv, and permissions will bring that number down to two, Prod and Dev though ^.^)

    Again, dumptruckman, thank you for the awesome GUI interface.
     
  13. Offline

    PhantomGamers

    Brilliant setup.

    Also good idea for plugin...
    But for when any one player dies?
    Don't you think that's over doing it a little bit? :p
    Maybe have like 5-10 lives, and when they run out it does the restart with a new seed?

    It doesn't sound that hard... I could *probably* do it...
    All of it except the backup part.

    I'll try, just for fun... but no promises.
    I thought I could do a lot of plugins, just to find out I'm a n00b.
     
  14. Offline

    Aki Tensai

    Having a setting for number of lives plus display of those lives at login/death would be great. We're a group of four playing in house, enjoying a safe creative and jumping over to a teamwork survival hardcore on occasion.
     
  15. Offline

    PhantomGamers

    Super tired now, will try over the weekend though. :3
     
  16. Offline

    Soryo

    I was checking out the todo list... I wonder how the UI would work for giving people items in the server list? It'd be cool if it was similar to TooManyItems(TMI).
    I'm making an adventure map and whenever my friend wants items to build, i have to tp to her and use TMI to just spam cobblestone/other materials, then trudge back to where I was :p . Would be nice if it's easily spammable in Mc Server GUI.
     
  17. Offline

    dumptruckman

    My idea was for a right click menu tree of some sort. So like, a on the player right click menu there will be Give Item and from there it will open another menu that has probably a list of categories and each category will contain the items. I'll have to see once I get there. Also, it probably won't ever be added to this version of the GUI as I have taken up working on the Java version only. But I will be adding it to that version!
     
  18. Offline

    BigRenegade

    You can give items to a person through the console without having to be where they are. Simply type /give playername item quantity.
     
  19. Offline

    Soryo

    yea, but the TMI option, all I have to do is click the button to spam give myself items. My friend didn't know about names and made a freakishly annoying name to type, so I do not want to have to do that over and over again. I tried to copy and paste into the GUI window but it doesn't seem to work.
     
  20. Offline

    ARasputin

    Typically, depending on the plugin you are using, you can just type part of their name.
    Example:
    I want to give mr_cotton_candy a ton of building materials, but his name is a pain in the arse to type over and over; Instead of typing
    Code:
    /give mr_cotton_candy plank 10
    I can simply type
    Code:
    /give mr plank 10
    and he gets the item however, this assumes that there are no others with
    in their name or else they would all get 10 plank instead of just mr_cotton_candy, so I may have to type something along the lines of
    Code:
    /give mr_c plank 10
    instead.

    I use CommandBook for items though, so TMI might be different in that regard.
     
  21. Offline

    Soryo

    I'll probably have to get CommandBook if I want that then, /give so 10 doesn't give me any items. I'm the only one online atm... username Soryo. that should work, right?
     
  22. Offline

    PhantomGamers

    ScrapBukkit does the same.
    http://ci.bukkit.org/job/dev-ScrapBukkit/

    Want to bump this, I am still working on it...
    Got quite a bit done.
     
  23. Link is broke.
     
  24. Offline

    dumptruckman

    I'm not having any trouble.
     
  25. Offline

    Specops343

    Not to sound like a broken record, but the ability to use custom startup lines, so admins are able to use it with a lot of plugins, like itemcraft, bioterrainmod, and mcsod.
    Love the plugin though, it makes administrating through the console a breeze! :)
     
  26. Offline

    dumptruckman

    Perhaps take this for a spin. :) It's probably not gonna work with MCSOD but I think it may work with bioterrainmod. (I have switched development from this version to that new Java based version to make it multi-platform capable.)
     
  27. Offline

    Soryo

    Just wondering... but is this still alive? I know the wrapper works still... but nothing's been posted for about 3 weeks.. O_O
     
  28. Offline

    dumptruckman

    I highly recommend switching to the newer and better java version.
     
  29. Offline

    Epidemic

    As dumptruckman is saying, i would switch, too.
    Currently, I'm running the newer and better Java-Version and i must say, it's much better than this old one! Dump did a great job this time, and with the old guy, he had done a good job, too :)
     
  30. Offline

    Soryo

    oooh! glad I asked, I missed this .. Thanks :D
     
  31. Offline

    sheepyowl

    hey, just dropping by to say thanks for the good work. ive been using this for a while, and its really making server hosting easier.
     
Thread Status:
Not open for further replies.

Share This Page