Comments (4)
My summary:
- Minectl creates the actual JSON-files, no use of RCON (so the user is not required to configure RCON to use this)
- Minectl allows to put in the uuid in the configuration, but looks up the uuid throughhttps://github.com/Electroid/mojang-api if it's not given
- If there is an unkown username, Minectl posts a warning, but doesn't cancel scaffolding
- by default, minectl overwrites the existing whitelist. An additional option (--merge-configs) allows for just adding user not already in the whitelist
- the whitelist will be applied to minecraft servers, not to any proxy (did a little research and it appeared that this is how it's done)
- the same principles will be applied to the op list (would however create a second issue to keep them seperate as they provide 2 different capabilities just based on the same principles)
If that's fine by you I'd start working on the feature.
from minectl.
@dirien Input is highly welcome.
For the first point I'd prefer option c) with the possibility for optoin a):
- if the user provides both uuid and name the CLI takes the provided information
- if the user only provides the name the CLI looks up the corresponding uuids
The second point however has a lot of potential for conflict or confusion.
from minectl.
I like this feature, you can extend this also tho op list. Atm, i need to RCON to the server to add a user to the ops list.
Regarding the the three options have a look into my prometheus exporter -> https://github.com/dirien/minecraft-prometheus-exporter#api. There i use tha API from https://github.com/Electroid/mojang-api. Its much better then the vanilla mojang api.
As in the nature of minectl you need to have online conection, we could use the Electroid API to get the UUID/ID from there and treat the target server as potential offline. eg. server in a BungeCord mesh has to set the propery online-mode to false.
- I see minctl as a ignition tool, bootstrapping a minecraft server and having some convinience fn by hand. Later we want to build a Crossplane / K8s Operator. and with the k8s conciliation pattern, we can use minectl-operator also to prevent configuration drift on managed resources. For now, i would calc the hash and warn the user (or a flag --force) that the server file will be overwritten. What you think?
from minectl.
@iglrob, LGTM! Looking forward for your PR.
from minectl.
Related Issues (20)
- chore: Update minecraft-exporter-prometheus version
- feat: add .golangci.yaml
- chore: fix golangci findings
- fix: reduce cyclomatic complexity 33 in AWS provisioner
- fix: reduce cyclomatic complexity 34 in VEXXHOST provisioner
- chore: Walk of shame -> Rename yml to yaml
- feat: replace makefile with mage or Task
- feat: create UI
- Velocity support HOT 2
- feat: Multipass support HOT 1
- Update config to vanilla java version 1.18.1 HOT 1
- Google spot vm rather preemptible HOT 1
- Hetzner RCON not possible HOT 2
- Fix code scanning alert - Pinned-Dependencies HOT 1
- Fix code scanning alert - Pinned-Dependencies HOT 1
- Action Required: Fix Renovate Configuration HOT 1
- Update Ubuntu from 20.04 to 22.04 HOT 1
- Install Minecraft for Pocket Edition (PE) HOT 6
- minecraft native image with graalvm HOT 1
- Release 0.40.0 is missing assets HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minectl.