msmhq / msm

An init script for managing Minecraft servers
http://msmhq.com
GNU General Public License v3.0
1.22k stars 225 forks source link

Request for a simple web interface #223

Open vizerei opened 10 years ago

vizerei commented 10 years ago

While I personally prefer the command line (I come from a old school linux background)there are times where I need to manage my servers and simply don't have "good" access to a command line (smart phone with linux command line is painful). Having a simple web interface would be amazingly useful.

Also, the reason why I ask this here instead of using multicraft or mcmyadmin is because I think those server management tools lack a lot of the features that make me love and use msm.

zachlatta commented 10 years ago

A web interface would be nontrivial to implement with the current architecture. If we decide to turn MSM into an API with a command-line frontend (like Docker), then a web interface would be possible.

brahmlower commented 10 years ago

Would it be worth trying to convert MSM to that sort of structure? That way features like that (which could greatly improve usability for non-power users) could be developed.

zachlatta commented 10 years ago

We're definitely considering it. It would require some major reworking though.

OvermindDL1 commented 10 years ago

What overall plan and style are you playing with? On Nov 24, 2013 2:37 PM, "Zach Latta" notifications@github.com wrote:

We're definitely considering it. It would require some major reworking though.

— Reply to this email directly or view it on GitHubhttps://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29166864 .

zachlatta commented 10 years ago

Instead of having commands that directly do things, we'd have API calls that do those things. A command-line frontend application would then be written to directly communicate with the API. For example, msm server create :servername would POST to /server/create or something.

Docker does this well.

joecabezas commented 10 years ago

I think a web interface is possible... but is a complete different project.... I do not want to download scripts (or maybe a server too) related to web interface just to install msm...

vizerei commented 10 years ago

Even just an android app that SSHs in to your server and runs commands/polls at the push of a button would be useful. But I agree with Joe that some people may not to mess with a web interface just to use msm.

On Mon, Nov 25, 2013 at 8:05 PM, Joe notifications@github.com wrote:

I think a web interface is possible... but is a complete different project.... I do not want to download scripts (or maybe a server too) related to web interface just to install msm...

— Reply to this email directly or view it on GitHubhttps://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29210935 .

zachlatta commented 10 years ago

Yeah, that's why an API might be valuable in the future of this project. A web interface could be a completely separate project, but would interface with MSM seamlessly. The same goes for an Android app.

On Mon, Nov 25, 2013 at 07:35:06AM -0800, Joe wrote:

I think a web interface is possible... but is a complete different project.... I do not want to download scripts (or maybe a server too) related to web interface just to install msm...


Reply to this email directly or view it on GitHub: https://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29210935

Zach Latta http://zachlatta.com https://github.com/zachlatta https://twitter.com/zachlatta

vizerei commented 10 years ago

As it stands now I can look around the code and get the gist of what's going on, but I'm no bash expert. Would converting to an API make it too high level for a novice to grasp/modify?

On Mon, Nov 25, 2013 at 10:26 PM, Zach Latta notifications@github.comwrote:

Yeah, that's why an API might be valuable in the future of this project. A web interface could be a completely separate project, but would interface with MSM seamlessly.

On Mon, Nov 25, 2013 at 07:35:06AM -0800, Joe wrote:

I think a web interface is possible... but is a complete different project.... I do not want to download scripts (or maybe a server too) related to web interface just to install msm...


Reply to this email directly or view it on GitHub:

https://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29210935

Zach Latta http://zachlatta.com https://github.com/zachlatta https://twitter.com/zachlatta

— Reply to this email directly or view it on GitHubhttps://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29224761 .

zachlatta commented 10 years ago

Rewriting MSM with a client/server component wouldn't necessarily make it easier for beginners to understand. If anything, it'd make it more difficult.

On Mon, Nov 25, 2013 at 10:20:01AM -0800, vizerei wrote:

As it stands now I can look around the code and get the gist of what's going on, but I'm no bash expert. Would converting to an API make it too high level for a novice to grasp/modify?

On Mon, Nov 25, 2013 at 10:26 PM, Zach Latta notifications@github.comwrote:

Yeah, that's why an API might be valuable in the future of this project. A web interface could be a completely separate project, but would interface with MSM seamlessly.

On Mon, Nov 25, 2013 at 07:35:06AM -0800, Joe wrote:

I think a web interface is possible... but is a complete different project.... I do not want to download scripts (or maybe a server too) related to web interface just to install msm...


Reply to this email directly or view it on GitHub:

https://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29210935

Zach Latta http://zachlatta.com https://github.com/zachlatta https://twitter.com/zachlatta

— Reply to this email directly or view it on GitHubhttps://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29224761 .


Reply to this email directly or view it on GitHub: https://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29227073

Zach Latta http://zachlatta.com https://github.com/zachlatta https://twitter.com/zachlatta

vizerei commented 10 years ago

Yeah that's what I was getting it, I figured it would make it more difficult.

On Mon, Nov 25, 2013 at 10:54 PM, Zach Latta notifications@github.comwrote:

Rewriting MSM with a client/server component wouldn't necessarily make it easier for beginners to understand. If anything, it'd make it more difficult.

On Mon, Nov 25, 2013 at 10:20:01AM -0800, vizerei wrote:

As it stands now I can look around the code and get the gist of what's going on, but I'm no bash expert. Would converting to an API make it too high level for a novice to grasp/modify?

On Mon, Nov 25, 2013 at 10:26 PM, Zach Latta notifications@github.comwrote:

Yeah, that's why an API might be valuable in the future of this project. A web interface could be a completely separate project, but would interface with MSM seamlessly.

On Mon, Nov 25, 2013 at 07:35:06AM -0800, Joe wrote:

I think a web interface is possible... but is a complete different project.... I do not want to download scripts (or maybe a server too) related to web interface just to install msm...


Reply to this email directly or view it on GitHub:

https://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29210935

Zach Latta http://zachlatta.com https://github.com/zachlatta https://twitter.com/zachlatta

— Reply to this email directly or view it on GitHub< https://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29224761>

.


Reply to this email directly or view it on GitHub:

https://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29227073

Zach Latta http://zachlatta.com https://github.com/zachlatta https://twitter.com/zachlatta

— Reply to this email directly or view it on GitHubhttps://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-29227532 .

tpansino commented 10 years ago

Just a thought: aren't there Android apps out there for SSHing onto a server? If so, couldn't you run commands from a phone, tablet, etc. that way? I know it's not the same as a web interface, but it's something.

(Sorry should clarify: iOS user speaking. Not very familiar with Android availability...)

zachlatta commented 10 years ago

Yeah, there are both iOS and Android SSH apps. However, they're not very user friendly.

mboogerd commented 10 years ago

If we go the Java way for an API/backend, I'd suggest using dropwizard (https://github.com/dropwizard/dropwizard) for a restful foundation. It's simple to use, leads to clean and readable code, is lightweight yet powerful enough to let us focus directly and only on msm development. It comes with easily extendable yaml configuration, logback for logging and fast json generation/parsing. I've worked with it for half a year and it fully delivers on its promises!

plegault commented 10 years ago

I'm working something like that right now, but it's going take a little of time to do it!

zachofalltrades commented 10 years ago

Has anyone thought about a web interface that would use the existing MSM for the backend? It would seem to be a whole lot less work than building a new backend and then building command line and web frontends? MSM would remain as it is, and the web interface would be an add-on feature.

joecabezas commented 10 years ago

if you read the entire thread, the more than one interested to have a frontend, but again, any special msm manager outside msm code is a different project and should not be part of msm main's code, I am really sure you guys can make a simple web interface that triggers msm commands internally.

plegault commented 10 years ago

zachoflltrades i been working on one that sites on top of MSM but i been busy so not been able to work on lately but if you're good at coding you can take the code and run with it..

zachlatta commented 10 years ago

@plegault: is this on GitHub? This sounds awesome.

Excerpts from plegault's message of 2014-05-16 14:17:14 -0700:

zachoflltrades i been working on one that sites on top of MSM but i been busy so not been able to work on lately but if you're good at coding you can take the code and run with it..


Reply to this email directly or view it on GitHub: https://github.com/marcuswhybrow/minecraft-server-manager/issues/223#issuecomment-43380550

plegault commented 10 years ago

yes it's on gethub most of the core engine has been coded out just design is what kill me on time

F481 commented 10 years ago

I'm working on a responsive web fronted on the top of msm based on Bootstrap and Silex to even more simply administrate your mc servers. Perhaps we can work together?

F481 commented 9 years ago

Stopped work on the web-frontend, because of "dead" project. If you want to give the actual state a try, here's the code: https://github.com/F481/minecraft-server-manager-frontend

wangpung12 commented 6 years ago

Good

BarryBKS commented 6 years ago

I'm new to Linux / bash and have come from a mainly GUI computer history, so sorry if I make my comments sound to simple to produce, without thinking about the process. I don't mean it that way.

I have set up an Ubuntu 16 CLI server at home, just to run Minecraft servers on for my boys and their friends. (I installed Webmin to help manage the server!!)

I very much like MSM, but as I said, I'm not really a CLI person and would love a more GUI / web interface I have also found that I am unable to see the MC server console when it is running on MSM. (This may well be me doing something wrong!!) A server console in the web would be really useful as well as game management.

Being able to handle multiple servers would be amazing, but I understand the level of difficulty in this and as I said, I'm sure its not as easy as I have made it out to be.

If you don't intend to go along this route, could you please advise of any other web based console that would work along side MSM?

Cheers and keep up the good work,

Barry.

brahmlower commented 6 years ago

A webmin module for msm seems to make sense. It wouldn't require writing a backend, nor a full frontend, and keeps installation simple. I don't have any experience writing modules for webmin, but at a glance it seems like it would take a lot less energy taking that route. I'm curious to see what others think about this.

brahmlower commented 6 years ago

I've started development on an MSM module for Webmin. Some functionality might be tricky to implement, so the first version won't be feature complete, but most of it should go pretty quick. I'm hoping to have an early working version of it ready sometime around March 10th.

njbuch commented 6 years ago

@bplower appreciate it! Makes sense!

brahmlower commented 6 years ago

This past week has been unexpectedly busy, so I've only been able put in about 1/3 as much dev time as anticipated. I wanted to share the feature status page for the project to give a sense of the work remaining. I plan to open the project and prepare an early build for testing once I've finished the "Server Management" and "Server Pass Through" sections (excluding the Console, Config List, Config Set, Cmd Log features). At that point, I'll put together a more thorough timeline for the first proper release.

brahmlower commented 6 years ago

Alrighty! I've opened the repo for the webmin plugin (here: https://github.com/bplower/msm-webmin) and published and alpha release. I have super brief installation instructions here: https://bplower.github.io/msm-webmin/. Any further discussion on the plugin should be moved to issues/pull requests on that repo. This is an alpha version so it doesn't support every function available to MSM as of this writing.

BarryBKS commented 6 years ago

Brahm,

Looks really good.

I can't help with the programming, but very happy to do any testing.

Latest version installed and now trying out functions.

Well done.

Cheers,

Barry.

On 16 March 2018 at 08:17, Brahm Lower notifications@github.com wrote:

Alrighty! I've opened the repo for the webmin plugin (here: https://github.com/bplower/msm-webmin) and published and alpha release. I have super brief installation instructions here: https://bplower.github.io/msm-webmin/. Any further discussion on the plugin should be moved to issues/pull requests on that repo. This is an alpha version so it doesn't support every function available to MSM as of this writing.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/msmhq/msm/issues/223#issuecomment-373637308, or mute the thread https://github.com/notifications/unsubscribe-auth/AHfJx1pXacO0hhQW3EGx5eCMqmoSwj-Eks5te3UrgaJpZM4BPk4S .