We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8756c97 commit b626ba5Copy full SHA for b626ba5
bedrock-entry.sh
@@ -171,12 +171,10 @@ if [[ -v ALLOW_LIST_USERS || -v WHITE_LIST_USERS ]]; then
171
172
if [[ $allowListUsers ]]; then
173
echo "Setting allow list"
174
- f=allowlist.json
175
- rm -rf "$f"
176
- jq -c -n --arg users "$allowListUsers" '$users | split(",") | map({"ignoresPlayerLimit":false,"name": .})' > "$f"
+ jq -c -n --arg users "$allowListUsers" '$users | split(",") | map({"ignoresPlayerLimit":false,"name": .})' > "allowlist.json"
177
# activate server property to enable list usage
178
- WHITE_LIST=true
179
ALLOW_LIST=true
+ rm -f whitelist.json
180
else
181
rm -rf whitelist.json allowlist.json
182
WHITE_LIST=false
0 commit comments