feat: use easyauth in offline mode
This commit is contained in:
parent
b34b4bf153
commit
42833c22fb
4 changed files with 143 additions and 4 deletions
|
|
@ -16,6 +16,11 @@ let
|
|||
"threadtweak"
|
||||
"crashexploitfixer"
|
||||
|
||||
# Authentication & skins
|
||||
"easyauth"
|
||||
"fabrictailor"
|
||||
"vanish"
|
||||
|
||||
# Anti-cheat
|
||||
"anti-xray"
|
||||
"grimac"
|
||||
|
|
@ -109,10 +114,9 @@ in
|
|||
SIMULATION_DISTANCE = "10";
|
||||
SPAWN_PROTECTION = "0";
|
||||
ALLOW_FLIGHT = "TRUE";
|
||||
ENABLE_WHITELIST = "TRUE";
|
||||
ENFORCE_WHITELIST = "TRUE";
|
||||
WHITELIST = "jetpham";
|
||||
OPS = "jetpham";
|
||||
ENABLE_WHITELIST = "FALSE";
|
||||
ENFORCE_WHITELIST = "FALSE";
|
||||
ONLINE_MODE = "FALSE";
|
||||
MOTD = "meet cool people \\u00A76\\u0026\\u0026\\u00A7r build cool things";
|
||||
OVERRIDE_ICON = "TRUE";
|
||||
REMOVE_OLD_MODS = "TRUE";
|
||||
|
|
@ -151,6 +155,9 @@ in
|
|||
cp ${../server-icon.png} ${mcDataDir}/server-icon.png
|
||||
mkdir -p ${mcDataDir}/config
|
||||
cp ${../configs/anti-xray.toml} ${mcDataDir}/config/anti-xray.toml
|
||||
mkdir -p ${mcDataDir}/config/EasyAuth
|
||||
cp ${../configs/easyauth-main.conf} ${mcDataDir}/config/EasyAuth/main.conf
|
||||
cp ${../configs/easyauth-extended.conf} ${mcDataDir}/config/EasyAuth/extended.conf
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue