Git Product home page Git Product logo

minectl's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

minectl's Issues

PaperMC download URL wrong

The PaperMC download URL is wrong in the templates. It should not only have the jar with a version but also the whole URL.

Support Mods and Plugins

As a minecraft admin i want to install mods and plugins, so my users can enjoy different game modes

Mount Volume for Linode Server

Linode is not using cloud-init. So we need to add manually the steps to mount the volume to the serverv in the StackScript

Get Minecraft Server Logs

It would be good to fetch the server logs in minectl.

On thing to consider, the location of the log files can differ from the different version

Add support for whitelist configuration

Overview

Public accessible Minecraft servers are usually configured with a whitelist to control which players get access to ones server.

Involved parts

The first step is to configure the corresponding option in the server.properties file:
white-list=true

Furthermore a file called whitelist.json needs to be placed in the same folder like the server.properties file.
The structure of the whitelist looks as follows:

[
  {
    "uuid": "f430dbb6-5d9a-444e-b542-e47329b2c5a0",
    "name": "username"
  },
  {
    "uuid": "e5aa0f99-2727-4a11-981f-dded8b1cd032",
    "name": "username"
  }
]

Consideration

  1. UUIDs only need to be configured manually when the server is started in offline mode. From the CLI there are 3 options:
    a. require the user to provide both name and uuid
    b. require only the name and expect the server to be in online mode
    c. require only the name and lookup the uuid before applying the configuration to the server from within the cli
  2. The content of the whitelist can be changed by a mod from within the Minecraft server. This could result in a configuration drift between the resources maintained from the CLI and the expectations from a user. Scenarios are:
    a. Enforce the whitelist configured through the CLI with each update executed against the server
    b. Merge the whitelist between the existing one on the server and the one configured through the CLI.
    Important! This would make it impossible to delete a user from the whitelist through the CLI!
    c. Add support for explicit commands to the CLI like adding a user or deleting a user or even merging and enforcing the configured whitelist. While this would allow for a lot of options for the user it makes it somewhat brakes with the current style to configure everything in yaml.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.