#minecraft #allowlist #json #validation

app minecraft-whitelist-validator

validate Minecraft whitelist.json

6 releases

0.3.3 Feb 9, 2022
0.3.3-rc.1 Feb 8, 2022
0.2.0 Jul 20, 2021

#392 in Games

21 downloads per month

MIT license

16KB
309 lines

minecraft-whitelist-validator

Minecraft whitelist.json validator

MIT licensed CI Build Image Image Size Build single-binary

GitHub Actions

  • Example workflow
on:
  push:
    paths:
      - 'whitelist.json'

jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: sksat/minecraft-whitelist-validator@v0.2.0

Inputs

Name Required Description Type Default
json Minecraft whitelist.json file path string whitelist.json
rdjson RDFormat json file path(output) string

Docker

  • Example oneliner
# bash
docker run --rm -it -v "$(pwd)"/whitelist.json:/app/whitelist.json sksat/minecraft-whitelist-validator /app/minecraft-whitelist-validator

# fish
docker run --rm -it -v (pwd)/whitelist.json:/app/whitelist.json sksat/minecraft-whitelist-validator /app/minecraft-whitelist-validator

Dependencies

~8–24MB
~319K SLoC