oddlama / minecraft-server

A simple but fully-featured minecraft server installer for linux. Comes with autostart, 3d online map, vane, account multiplexing, update script and more.
MIT License
65 stars 8 forks source link

Make a user-executable CLI tool #3

Open ajnart opened 2 years ago

ajnart commented 2 years ago

Having a good executable to quickly edit the update script would be good. Or just to run simple configs. I imagine the following

$> minecraft-server --help
config
    edit (Open config in $EDITOR)
   append (Append a string to the update file, such as a plugin download)
server
   restart (restart the server)
   send (send a specific command to the server)
   attach (attach to the server)

If you want I can help to make this little CLI 🤔 We could do it with Deno using something like https://cliffy.io/ and make a simple executable or just a long bash script