fix(minecraft-bedrock) add OPS variable + How-To (#4173)
* add OPS variable + docs * fix how-to
This commit is contained in:
parent
df76266f81
commit
8368456bf9
|
@ -21,7 +21,7 @@ sources:
|
|||
- https://github.com/itzg/docker-minecraft-server
|
||||
- https://hub.docker.com/r/itzg/minecraft-server
|
||||
type: application
|
||||
version: 1.0.40
|
||||
version: 1.0.41
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- games
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
# How To
|
||||
|
||||
In order to OP a player through `OPS` variable you will need to get the XUID of the player. You can temporarily join and grab your XUID from the logs.
|
||||
|
||||
![console](./imgs/console.png)
|
||||
|
||||
To add multiple XUIDS, you can do so by separating each `xuid` by a comma:
|
||||
|
||||
![xuids](./imgs/xuids.png)
|
||||
|
||||
Or use this 3rd party service [here](https://www.cxkes.me/xbox/xuid) to grab the XUID of the username instead.
|
||||
|
||||
:::caution
|
||||
|
||||
We have no control over the 3rd service at all. Use it at your own risk.
|
||||
|
||||
:::
|
||||
|
||||
The `/data/permissions.json` should look something like this:
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
"permission": "operator",
|
||||
"xuid": "XUID"
|
||||
},
|
||||
{
|
||||
"permission": "operator",
|
||||
"xuid": "XUID"
|
||||
},
|
||||
{
|
||||
"permission": "operator",
|
||||
"xuid": "XUID"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
:::info
|
||||
|
||||
- You can also reach us using [Discord](https://discord.gg/tVsPTHWTtr) for real-time feedback and support
|
||||
- If you found a bug in our chart, open a Github [issue](https://github.com/truecharts/apps/issues/new/choose) but generally it's advised to contact us on Discord first in most cases.
|
||||
|
||||
:::
|
Binary file not shown.
After Width: | Height: | Size: 5.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
|
@ -97,6 +97,12 @@ questions:
|
|||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: OPS
|
||||
label: "OPS"
|
||||
description: "To OP a player, use the XUID value, not the player's username. Multiple values accepted in this format `XUID,XUID` separated by a comma."
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: VIEW_DISTANCE
|
||||
label: "View distance"
|
||||
schema:
|
||||
|
|
|
@ -29,6 +29,7 @@ env:
|
|||
PLAYER_MOVEMENT_DISTANCE_THRESHOLD: 0.3
|
||||
PLAYER_MOVEMENT_DURATION_THRESHOLD_IN_MS: 500
|
||||
CORRECT_PLAYER_MOVEMENT: false
|
||||
# OPS: "XUID,XUID"
|
||||
|
||||
persistence:
|
||||
config:
|
||||
|
|
Loading…
Reference in New Issue