[ADMIN] ServerHelper v1.4 - Mac craftbukkit Tool - New Features!

Discussion in 'Bukkit Tools' started by captainawesome7, Mar 20, 2011.

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

    captainawesome7

    [​IMG]
    ServerHelper- The Mac Only Server Manager:
    Version: v1.4

    ServerHelper is a mac only application.
    It makes running a craftbukkit server on the mac much easier.
    You can perform basic commands, and manage your server (not console) from a HUD window. This allows you to keep the Commands window infront of the Minecraft window while playing, so you can enter commands with the press of a button!


    Features:
    • Easily enter console commands with the press of a button
    • Change your settings
    • Update craftbukkit
    • Launch Minecraft
    • Start and stop the server
    • Specify the location of your craftbukkit.jar
    • Specify the amount of RAM to start the server with
    • Allows you to run up to 3 servers! (with alternate version)
    Downloads

    ServerHelper for 2/3 Servers

    Source Code coming soon


    Planned Changes
    Version 1.5
    • Adding more plugin support (eventually)
    • I'm open to suggestions! Tell me what you want to see!
    Changelog:

    Version 1.4
    • Added RAM to second line of cbpath.txt, renamed cbpath.txt to config.txt, if you are updating, be sure to change cbpath.txt to config.txt and add your RAM amount (in gigabytes) to the second line
    Version 1.3.1

    • I forgot to add support for server.properties opening when your install location isn't at ServerHelper/SFiles, I just pumped out a quick version to fix this
    Version 1.3

    • Added the ability to specify where your craftbukkit.jar is, lets you keep your server files where you want the to be
    Version 1.2

    • Cleaned up GUI
    • Moved Settings and help to menu bar
    Version 1.1

    • Moved Day and Night to Essentials
    • Added Dawn, Dusk, Midnight, and Noon commands (regular craftbukkit compatible)
    • Yes this makes the Day and Night in essentials useless but whatever
    • Updated About ServerHelper, added our website!
    Version 1.0

    • Release
    Installation:

    1. Download ServerHelper
    2. Open ServerHelperMacOSX-v1.3-Release.dmg
    3. Drag The 'ServerHelper' folder to the Applications folder shortcut
    4. Go into your /Applications/ServerHelper folder, and change the first line of config.txt to where you have your craftbukkit.jar, be sure to include the full path, for example- /Applications/ServerHelper/SFiles/ or /Users/username/Desktop/Server_Files/
    5. Change the second line of config.txt to the amount of RAM you would like your server started with, in gigabytes (default 1)
    6. Run the craftbukkit downloader
    7. Click 'Download'
    8. Wait until terminal is done, then click 'Quit'
    9. You are now ready to run ServerHelper.app inside the ServerHelper folder that you dragged into your Applications folder
    10. Click 'Start Server' to generate the files. If you already have files for your server, make sure you specified the craftbukkit.jar location in config.txt!
    11. Your Done! Just press the buttons to find out what they do, the update server button downloads the latest recommended build. But you do not have to update the server if you don't want to lose plugin functionality
    To Update to 1.4:

    1. Download the new dmg
    2. Go into ServerHelper (in the .dmg) and copy config.txt and ServerHelp.app
    3. Go to /Applications/ServerHelper/ and paste the two files
    4. If you want to change where your server files are located, copy everything in SFiles and paste to wherever. Then, put the whole path to the new location in your config.txt on the first line
    5. Specify your ram amount with the second line, just a number, in gigabytes (default is 1)
    6. Thats it! Run ServerHelper normally!
    To Use ServerHelper for 2/3 Servers:

    • Install regular 1.4 dmg
    • Copy the craftbukkit.jar from your first install to your second (and third, if applicable)
    • Make 3rd line of config.txt your second server path
    • Make 4th line of config.txt the ram for your 2nd server
    • Make 5th line of config.txt the path to your 3rd server (if you don't have a third, write NULL on the line)
    • Make 6th line of config.txt the ram for your 3rd server (if you don't have a third, write NULL on the line)
    • Thats it!
    Command List:

    • Permissions: Reload
    • Essentials: Reload, Day, Night
    • craftbukkit(default): Dawn, Dusk, Midnight, Noon, Reload, Save-all, Stop, Start
    Thanks To:

    • sn0re - I *borrowed* his update script
    Installation for 1.4


    Screenshots (All are outdated, I will update at 2.0):
    [​IMG]

    Main Window, with decluttered GUI
    [​IMG]
    Settings, in main menu bar now
    [​IMG]

    Default craftbukkit commands
    [​IMG]

    Command window
    [​IMG]

    The .dmg, just drag the folder and it installs

    *UPDATE* New features coming soon!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
  2. Downloading and giving a try ;)
     
  3. Offline

    captainawesome7

    If you want a button for a command for a specific plugin, just leave a comment asking for it to be included in the next version. If the command can not be executable from terminal i cannot add a button for it.

    Version 1.1 out now!

    Version 1.2 out now!

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

    captainawesome7

    Version 1.2 .dmg is out now!

    New Screenshots!

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

    captainawesome7

  6. Offline

    Steve Cole

    when i click download craftbukkit i get an error:
    applescript error
    terminal got an error: can't get window 1. (-1728)

    nevermind, terminal was opened in the dock. after i closed it the download worked fine
     
  7. Offline

    captainawesome7

    @Steve Cole
    Yeah I should probably write that down in the Help for the next verison.

    If you want to make a suggestion, post here, or post under ServerHelper here:
    ServerHelper + Awesomeville Forums

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

    captainawesome7

    New version released! If you want to update, just download entire thing, but copy the ServerHelp.app and cbpath.txt to /Applications/ServerHelper
    The new version (1.3) will not work unless you cbpath.txt in your ServerHelper folder!

    Version 1.3.1 out now!
    Fixed the problem of Server Properties not opening if you moved your cb install location.

    Ram Specific v1.3.1 out now!

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

    captainawesome7

    Ram Specific 1.3.1 actually works now! I fixed the two letters that weren't supposed to be there!

    Version 1.4 released! Includes RAM specification! Without annoying popups!!!

    New Install Vid for 1.4!

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

    captainawesome7

  11. Offline

    Snow Leopard

    Yay! This is great and needs more attention.
     
  12. Offline

    captainawesome7

    Im gonna have to add a cancel button to the which server do u want to start window. Wow it is laggy to type on this forum with the phone i home forum runner works soon.
     
  13. Offline

    Snow Leopard

    Hmm, I can't seem to get the Multi-server working. I just need SHelper 1.4 right? I added the path to my second server and the ram to it in the config, but only 1 starts..

    Here's my config file:

    Code:
    /Applications/ServerHelper/SFiles/
    1
    /Applications/survival/
    1
    
    Help?

    EDIT: Whoops, forgot to download the special 2 servers version. :p
     
  14. Offline

    captainawesome7

    @Snow Leopard
    Yeah, I didn't make the regular version a 2 server one because most people don't run more than two servers, so it would have been kind of pointless. I can update the 2 Servers when I update the regular ServerHelper by just copying the code over, so if you use ServerHelper for 2 Servers you will still get future updates :)
     
  15. Offline

    Snow Leopard

  16. Offline

    captainawesome7

    I'm out of ideas, if you want any future updates, tell me what you think I should add.
     
  17. Offline

    Snow Leopard

    Endless amount of servers. So you can have 2, 3 or whatever. Would be easy to do with config. Just every time lines are added the option for another server will appear.
     
  18. Offline

    captainawesome7

    Ok, but who actually runs 4 servers from one computer? I can add maybe 5 servers but I think I will stop it there. And I will make it so that when you have say 5 servers in the config.txt the box for Start Server will show 5 buttons, and so that each server will add a button. Again though, does anyone actually run more than one server? And I was going to use those lines of the config for other options, but I didn't implement them because they didn't work how I wanted them to.
     
  19. Offline

    Snow Leopard

    Well, I have 3 servers. Maybe you could make it so that we could just download one app for each server?

    I have a creative, survival and pvp server.

    I do think the config.txt option is the best though.
     
  20. Offline

    captainawesome7

    Alright, I can definitely add one for 3 servers, but most people won't use it, so I won't be making it part of the original version. It'll take the place of the two servers one, because you can just use 2 of the 3 if you want.

    ServerHelper for 2 servers changed to work with up to 3 servers, you need all 6 lines filled out in config.txt for the Start Server button to work, so write NULL or asdfasdf or aldshflasfjdl on the line, there needs to be some text there!

    *Based on a request here*
    Oh, and yeah it isn't easy to do. For every server, I have to add another button with code, I really don't want to take the time to set it up so that if the line is empty than no button appears. That would take like 30 min lol. I might add it in the future (if i get super bored)

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

    Snow Leopard

    Thanks man! I really appreciate your work. I had been looking around for something like this for I don't know how long and finally it's here.

    Two important things:

    • I'd love to have a cancel button on the which server to start window
    • CommandBook commands support (I don't use essentials)
     
  22. Offline

    captainawesome7

    Yeah, I added the cancel button for the server start window, but it didn't show up... I can to get it to work but idk why it didn't in the first place. Ok, I can add commands from CommandBook as well.

    Alright, changed code a bit for the multiple server version. When you click start server it says are you sure u want to start a server with a cancel button and a choose button. Then you get the 3 buttons. The problem was you can only have 3 buttons on a dialog box :p
    *edit* I will add commandbook support soon

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

    Snow Leopard

    Awesome! Thanks!
     
  24. Offline

    captainawesome7

    Quick question, how would you like CommandBook support implemented? I downloaded it, and I haven't found a command that would make sense to run in the console. The time commands need the world name, and I don't think that there is a reload command (there might be, im away from my comp for 3 days and im too lazy to check).
     
  25. Offline

    Snow Leopard

    Okay..I've been using another GUI called Crafty for a bit. I like it's interface, but your app's functionality is much better. Now, I do some UI concept design in my free time so I opened interface builder and came up with this.

    Crafty isn't updated with the latest server version so it's unusable. Here's what I came up with..
    I'm not a coder so I wouldn't be able to know if this would work.
    Do you think something like this would be possible?

    Maybe a 2.0 Launch :p
     

    Attached Files:

  26. Offline

    captainawesome7

    The way that ServerHelper is coded makes it pretty much impossible to make a gui for the server. Plus, I am currently coding a plugin at the moment. After I finish that I can look into it, but Im pretty sure that to make a gui it would require a lot more java programming than I can handle.
     
  27. Offline

    br0ad456

    I FUCKING LOVE YOU IV BEEN WAITING FOR THIS!!!

    maybe you could add player list of players in the game, plus kick ban unban and whatever else, that would be awsome :D

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

    Zace66

    OK, I know im new to mac's; been a PC guy since they were first invented!
    However here I am with a mac. Im editing the config file as i have a directory, under users I have my username as a directory (as expected), then i have an applications directory and a Games directory (amongst others) and under the Games directory I have my Minecraft directory.
    SO how do I do this in the config file. Everything I have tried doesnt work

    ive tried:
    users/zace/Games/Minecraft/
    zace/Games/Minecraft/
    /Games/Minecraft/
    Games/Minecraft/
    ~/Games/Minecraft

    What am i missing?
     
  29. Offline

    captainawesome7

    /Users/zace/Games/Minecraft/

    or i think
    ~/Games/Minecraft/
    will work as well

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

    Zace66

    I have tried both and each time get the error message in the terminal window 'Unable to access jarfile craftbukkit.jar' and yet the file is there in the directory specified.

    ahh my bad, missed out the starting /
    All working now.
    Im still used to the GUI that came with crafty, but no GUI here :(

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

Share This Page