minecraft-server icon indicating copy to clipboard operation
minecraft-server copied to clipboard

Add a way to install/start/stop the server without cloning the repo

Open jellz opened this issue 6 years ago • 3 comments

Maybe publish the package to NPM with a little CLI attached? or use some project like https://github.com/zeit/pkg* to produce a binary for admins to run that will create the necessary files (e.g. server.properties).

I'm open to other solutions, too! Feel free to reply to this issue with ideas.

* I've never used one of these packaging tools and don't know of the caveats, I'll need to look into it more.

jellz avatar Jun 26 '19 12:06 jellz

It might be nice to do a npm approach and allow it to be required into other node projects IE:

const server = require('.....');
const minecraft = new Server({
    port : 9001,
    more options....
});

minecraft.dostuff thats exposed.

lukecfairchild avatar Aug 14 '19 17:08 lukecfairchild

@lukecfairchild That's a good idea and it can also be implemented but I'd like a way to use the server without touching code. Easier for server owners if it's a binary / CLI.

jellz avatar Aug 16 '19 08:08 jellz

Yeah I agree having a non code based way to run it is a good plan as well.

lukecfairchild avatar Aug 16 '19 16:08 lukecfairchild