first commit
This commit is contained in:
12
bedrockserver.sh
Executable file
12
bedrockserver.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
if [ "$EULA" == "accept" ]
|
||||
then
|
||||
echo "EULA accepted."
|
||||
else
|
||||
echo "EULA not accepted. Please set the environment variable EULA to 'accept' to accept the Minecraft EULA (https://minecraft.net/terms) and privacy policy (https://go.microsoft.com/fwlink/?LinkId=521839)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Starting Minecraft Bedrock Edition Server..."
|
||||
cd /opt/mcbedrock
|
||||
LD_LIBRARY_PATH=. ./bedrock_server
|
||||
Reference in New Issue
Block a user