DayZ bikey settings
This commit is contained in:
parent
1132273791
commit
195e2911f1
@ -60,7 +60,7 @@ App.RCONHeartbeatMinutes=0.5
|
||||
App.RCONHeartbeatCommand=ping
|
||||
App.TelnetLoginFormat={0}
|
||||
App.UpdateSources=@IncludeJson[dayz-experimentalupdates.json]
|
||||
App.PreStartStages=[{"UpdateStageName":"Delete Active File","UpdateSourcePlatform":"Linux","UpdateSource":"Executable","UpdateSourceData":"/bin/bash","UpdateSourceArgs":"-c 'rm -f {{$FullBaseDir}}battleye/beserver_x64_active_*.cfg'"},{"UpdateStageName":"Delete Active File","UpdateSourcePlatform":"Windows","UpdateSource":"Executable","UpdateSourceData":"cmd.exe","UpdateSourceArgs":"/C del /Q /F {{$FullBaseDir}}battleye\\beserver_x64_active_*.cfg"}]
|
||||
App.PreStartStages=@IncludeJson[dayz-experimentalstart.json]
|
||||
App.Compatibility=None
|
||||
App.SteamUpdateAnonymousLogin=False
|
||||
App.SteamForceLoginPrompt=True
|
||||
|
@ -246,6 +246,22 @@
|
||||
"DefaultValue":"",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Manage Bikeys",
|
||||
"Category":"Dayz Server Settings",
|
||||
"Description":"If enabled, the bikey files for each of the mods specified in Load Mods will be copied to the 'keys' directory on server start, to enable addon signature verification. All existing bikeys in that directory (other than the default 'dayz.bikey') will be deleted",
|
||||
"Keywords":"mods,addons,bikeys",
|
||||
"FieldName":"ManageBikeys",
|
||||
"InputType":"checkbox",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"ManageBikeys",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"false",
|
||||
"EnumValues":{
|
||||
"False":"false",
|
||||
"True":"true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Server/RCON IP Binding",
|
||||
"Category":"DayZ Server Settings",
|
||||
|
34
dayz-experimentalstart.json
Normal file
34
dayz-experimentalstart.json
Normal file
@ -0,0 +1,34 @@
|
||||
[
|
||||
{
|
||||
"UpdateStageName":"Delete Active File",
|
||||
"UpdateSourcePlatform":"Linux",
|
||||
"UpdateSource":"Executable",
|
||||
"UpdateSourceData":"/bin/bash",
|
||||
"UpdateSourceArgs":"-c 'rm -f {{$FullBaseDir}}battleye/beserver_x64_active_*.cfg'"
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Delete Active File",
|
||||
"UpdateSourcePlatform":"Windows",
|
||||
"UpdateSource":"Executable",
|
||||
"UpdateSourceData":"cmd.exe",
|
||||
"UpdateSourceArgs":"/C del /Q /F {{$FullBaseDir}}battleye\\beserver_x64_active_*.cfg"
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Manage Bikeys",
|
||||
"UpdateSourcePlatform":"Linux",
|
||||
"UpdateSource":"Executable",
|
||||
"UpdateSourceData":"/bin/bash",
|
||||
"UpdateSourceArgs":"-c 'cd dayz/1042420; find keys/ -name \"*.bikey\" ! -name \"dayz.bikey\" -exec rm {} +; IFS=\";\" read -ra subdirs_array <<< \"{{mod}}\" && for subdir in \"${subdirs_array[@]}\"; do find \"$subdir/keys\" -maxdepth 1 -mindepth 1 -type f -name \"*.bikey\" -exec \\cp -t keys/ {} +; done'",
|
||||
"UpdateSourceConditionSetting":"ManageBikeys",
|
||||
"UpdateSourceConditionValue":"true"
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Manage Bikeys",
|
||||
"UpdateSourcePlatform":"Windows",
|
||||
"UpdateSource":"Executable",
|
||||
"UpdateSourceData":"cmd.exe",
|
||||
"UpdateSourceArgs":"/C start powershell.exe -NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -Command \"$mod = '{{mod}}' -split ';'; Set-Location dayz\\1042420; Get-ChildItem -Path 'keys' -Filter '*.bikey' | ForEach-Object { if ($_.Name -ne 'dayz.bikey' -and -not ($_.Name -like '*dayz.bikey*')) { Remove-Item -LiteralPath $_.FullName -Force } }; foreach ($a in $mod) { Get-ChildItem -Path ('{0}\\keys' -f $a) -Filter '*.bikey' | Copy-Item -Destination 'keys' -Force }\"",
|
||||
"UpdateSourceConditionSetting":"ManageBikeys",
|
||||
"UpdateSourceConditionValue":"true"
|
||||
}
|
||||
]
|
@ -59,7 +59,7 @@ App.RCONHeartbeatMinutes=0.5
|
||||
App.RCONHeartbeatCommand=ping
|
||||
App.TelnetLoginFormat={0}
|
||||
App.UpdateSources=@IncludeJson[dayz-originalupdates.json]
|
||||
App.PreStartStages=[{"UpdateStageName":"Delete Active File","UpdateSourcePlatform":"Windows","UpdateSource":"Executable","UpdateSourceData":"cmd.exe","UpdateSourceArgs":"/C del /Q /F {{$FullBaseDir}}battleye\\beserver_x64_active_*.cfg"}]
|
||||
App.PreStartStages=@IncludeJson[dayz-originalstart.json]
|
||||
App.Compatibility=None
|
||||
App.SteamUpdateAnonymousLogin=False
|
||||
App.SteamForceLoginPrompt=True
|
||||
|
@ -246,6 +246,22 @@
|
||||
"DefaultValue":"",
|
||||
"EnumValues":{}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Manage Bikeys",
|
||||
"Category":"Dayz Server Settings",
|
||||
"Description":"If enabled, the bikey files for each of the mods specified in Load Mods will be copied to the 'keys' directory on server start, to enable addon signature verification. All existing bikeys in that directory (other than the default 'dayz.bikey') will be deleted",
|
||||
"Keywords":"mods,addons,bikeys",
|
||||
"FieldName":"ManageBikeys",
|
||||
"InputType":"checkbox",
|
||||
"IsFlagArgument":false,
|
||||
"ParamFieldName":"ManageBikeys",
|
||||
"IncludeInCommandLine":false,
|
||||
"DefaultValue":"false",
|
||||
"EnumValues":{
|
||||
"False":"false",
|
||||
"True":"true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"DisplayName":"Server/RCON IP Binding",
|
||||
"Category":"DayZ Server Settings",
|
||||
|
27
dayz-originalstart.json
Normal file
27
dayz-originalstart.json
Normal file
@ -0,0 +1,27 @@
|
||||
[
|
||||
{
|
||||
"UpdateStageName":"Delete Active File",
|
||||
"UpdateSourcePlatform":"Windows",
|
||||
"UpdateSource":"Executable",
|
||||
"UpdateSourceData":"cmd.exe",
|
||||
"UpdateSourceArgs":"/C del /Q /F {{$FullBaseDir}}battleye\\beserver_x64_active_*.cfg"
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Manage Bikeys",
|
||||
"UpdateSourcePlatform":"Linux",
|
||||
"UpdateSource":"Executable",
|
||||
"UpdateSourceData":"/bin/bash",
|
||||
"UpdateSourceArgs":"-c 'cd dayz/223350; find keys/ -name \"*.bikey\" ! -name \"dayz.bikey\" -exec rm {} +; IFS=\";\" read -ra subdirs_array <<< \"{{mod}}\" && for subdir in \"${subdirs_array[@]}\"; do find \"$subdir/keys\" -maxdepth 1 -mindepth 1 -type f -name \"*.bikey\" -exec \\cp -t keys/ {} +; done'",
|
||||
"UpdateSourceConditionSetting":"ManageBikeys",
|
||||
"UpdateSourceConditionValue":"true"
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Manage Bikeys",
|
||||
"UpdateSourcePlatform":"Windows",
|
||||
"UpdateSource":"Executable",
|
||||
"UpdateSourceData":"cmd.exe",
|
||||
"UpdateSourceArgs":"/C start powershell.exe -NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -Command \"$mod = '{{mod}}' -split ';'; Set-Location dayz\\223350; Get-ChildItem -Path 'keys' -Filter '*.bikey' | ForEach-Object { if ($_.Name -ne 'dayz.bikey' -and -not ($_.Name -like '*dayz.bikey*')) { Remove-Item -LiteralPath $_.FullName -Force } }; foreach ($a in $mod) { Get-ChildItem -Path ('{0}\\keys' -f $a) -Filter '*.bikey' | Copy-Item -Destination 'keys' -Force }\"",
|
||||
"UpdateSourceConditionSetting":"ManageBikeys",
|
||||
"UpdateSourceConditionValue":"true"
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user