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 086a116 commit 2888c55Copy full SHA for 2888c55
bedrock-entry.sh
@@ -169,15 +169,15 @@ fi
169
if [[ -v ALLOW_LIST_USERS || -v WHITE_LIST_USERS ]]; then
170
allowListUsers=${ALLOW_LIST_USERS:-${WHITE_LIST_USERS}}
171
172
+ WHITE_LIST=false
173
+ rm -f whitelist.json
174
if [[ $allowListUsers ]]; then
175
echo "Setting allow list"
176
jq -c -n --arg users "$allowListUsers" '$users | split(",") | map({"ignoresPlayerLimit":false,"name": .})' > "allowlist.json"
177
# activate server property to enable list usage
178
ALLOW_LIST=true
- rm -f whitelist.json
179
else
- rm -rf whitelist.json allowlist.json
180
- WHITE_LIST=false
+ rm -rf allowlist.json
181
ALLOW_LIST=false
182
fi
183
export WHITE_LIST ALLOW_LIST
0 commit comments