Server name fixes (#153)
This commit is contained in:
parent
da23c9cabb
commit
c0304ff671
@ -19,7 +19,7 @@ App.ExecutableLinux=1110390/Unturned_Headless.x86_64
|
|||||||
App.WorkingDir=1110390
|
App.WorkingDir=1110390
|
||||||
App.LinuxCommandLineArgs=
|
App.LinuxCommandLineArgs=
|
||||||
App.WindowsCommandLineArgs=
|
App.WindowsCommandLineArgs=
|
||||||
App.CommandLineArgs={{$PlatformArgs}} -batchmode -nographics {{$FormattedArgs}} +{{ServerType}}/{{ServerName}}
|
App.CommandLineArgs={{$PlatformArgs}} -batchmode -nographics {{$FormattedArgs}} +{{ServerType}}/Unturned
|
||||||
App.AppSettings={}
|
App.AppSettings={}
|
||||||
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:{{$FullRootDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"304930"}
|
App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:{{$FullRootDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"304930"}
|
||||||
App.CommandLineParameterFormat=-{0}={1}
|
App.CommandLineParameterFormat=-{0}={1}
|
||||||
@ -44,7 +44,7 @@ App.AdminMethod=TelnetRCON
|
|||||||
App.RCONConnectDelaySeconds=5
|
App.RCONConnectDelaySeconds=5
|
||||||
App.RCONConnectRetrySeconds=5
|
App.RCONConnectRetrySeconds=5
|
||||||
App.TelnetLoginFormat=login {0}
|
App.TelnetLoginFormat=login {0}
|
||||||
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"1110390"},{"UpdateStageName":"Main Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/unturnedconfigfile.dat","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Workshop Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/unturnedworkshopconfig.json","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./U3DS/1110390/Servers/{{ServerName}}/Server"},{"UpdateStageName":"Config File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Servers/{{ServerName}}/Server/Commands.dat","UpdateSourceArgs":"./unturnedconfigfile.dat","OverwriteExistingFiles":false},{"UpdateStageName":"Rocket Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./U3DS/1110390/Modules/Rocket.Unturned"},{"UpdateStageName":"First Rocket File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Modules/Rocket.Unturned/English.dat","UpdateSourceArgs":"./U3DS/1110390/Extras/Rocket.Unturned/English.dat","OverwriteExistingFiles":true},{"UpdateStageName":"Second Rocket File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Modules/Rocket.Unturned/Rocket.API.dll","UpdateSourceArgs":"./U3DS/1110390/Extras/Rocket.Unturned/Rocket.API.dll","OverwriteExistingFiles":true},{"UpdateStageName":"Third Rocket File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Modules/Rocket.Unturned/Rocket.Core.dll","UpdateSourceArgs":"./U3DS/1110390/Extras/Rocket.Unturned/Rocket.Core.dll","OverwriteExistingFiles":true},{"UpdateStageName":"Fourth Rocket File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Modules/Rocket.Unturned/Rocket.Unturned.dll","UpdateSourceArgs":"./U3DS/1110390/Extras/Rocket.Unturned/Rocket.Unturned.dll","OverwriteExistingFiles":true},{"UpdateStageName":"Fifth Rocket File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Modules/Rocket.Unturned/Rocket.Unturned.module","UpdateSourceArgs":"./U3DS/1110390/Extras/Rocket.Unturned/Rocket.Unturned.module","OverwriteExistingFiles":true},{"UpdateStageName":"Start Server","UpdateSourcePlatform":"All","UpdateSource":"StartApplication"},{"UpdateStageName":"Wait For Server Start","UpdateSourcePlatform":"All","UpdateSource":"WaitForStartupComplete"},{"UpdateStageName":"Stop Server","UpdateSourcePlatform":"All","UpdateSource":"ShutdownApplication"}]
|
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"1110390"},{"UpdateStageName":"Main Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/unturnedconfigfile.dat","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Workshop Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/unturnedworkshopconfig.json","UpdateSourceTarget":"../","OverwriteExistingFiles":true},{"UpdateStageName":"Config Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./U3DS/1110390/Servers/Unturned/Server"},{"UpdateStageName":"Config File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Servers/Unturned/Server/Commands.dat","UpdateSourceArgs":"./unturnedconfigfile.dat","OverwriteExistingFiles":false},{"UpdateStageName":"Rocket Directory Creation","UpdateSourcePlatform":"All","UpdateSource":"CreateDirectory","UpdateSourceArgs":"./U3DS/1110390/Modules/Rocket.Unturned"},{"UpdateStageName":"First Rocket File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Modules/Rocket.Unturned/English.dat","UpdateSourceArgs":"./U3DS/1110390/Extras/Rocket.Unturned/English.dat","OverwriteExistingFiles":true},{"UpdateStageName":"Second Rocket File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Modules/Rocket.Unturned/Rocket.API.dll","UpdateSourceArgs":"./U3DS/1110390/Extras/Rocket.Unturned/Rocket.API.dll","OverwriteExistingFiles":true},{"UpdateStageName":"Third Rocket File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Modules/Rocket.Unturned/Rocket.Core.dll","UpdateSourceArgs":"./U3DS/1110390/Extras/Rocket.Unturned/Rocket.Core.dll","OverwriteExistingFiles":true},{"UpdateStageName":"Fourth Rocket File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Modules/Rocket.Unturned/Rocket.Unturned.dll","UpdateSourceArgs":"./U3DS/1110390/Extras/Rocket.Unturned/Rocket.Unturned.dll","OverwriteExistingFiles":true},{"UpdateStageName":"Fifth Rocket File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./U3DS/1110390/Modules/Rocket.Unturned/Rocket.Unturned.module","UpdateSourceArgs":"./U3DS/1110390/Extras/Rocket.Unturned/Rocket.Unturned.module","OverwriteExistingFiles":true},{"UpdateStageName":"Start Server","UpdateSourcePlatform":"All","UpdateSource":"StartApplication"},{"UpdateStageName":"Wait For Server Start","UpdateSourcePlatform":"All","UpdateSource":"WaitForStartupComplete"},{"UpdateStageName":"Stop Server","UpdateSourcePlatform":"All","UpdateSource":"ShutdownApplication"}]
|
||||||
App.Compatibility=None
|
App.Compatibility=None
|
||||||
App.SteamUpdateAnonymousLogin=True
|
App.SteamUpdateAnonymousLogin=True
|
||||||
App.SteamForceLoginPrompt=False
|
App.SteamForceLoginPrompt=False
|
||||||
|
@ -57,14 +57,14 @@
|
|||||||
{
|
{
|
||||||
"DisplayName": "Server Name",
|
"DisplayName": "Server Name",
|
||||||
"Category": "Server Settings",
|
"Category": "Server Settings",
|
||||||
"Description": "WARNING: You MUST run an update of the server after changing the name for correct configuration",
|
"Description": "Sets the name of the server shown publicly",
|
||||||
"Keywords": "name",
|
"Keywords": "name",
|
||||||
"FieldName": "ServerName",
|
"FieldName": "Name",
|
||||||
"InputType": "text",
|
"InputType": "text",
|
||||||
"IsFlagArgument": false,
|
"IsFlagArgument": false,
|
||||||
"ParamFieldName": "",
|
"ParamFieldName": "Name",
|
||||||
"IncludeInCommandLine": false,
|
"IncludeInCommandLine": false,
|
||||||
"DefaultValue": "UnturnedServer",
|
"DefaultValue": "AMP Powered Unturned Server",
|
||||||
"EnumValues":{}
|
"EnumValues":{}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -132,7 +132,7 @@
|
|||||||
"IsFlagArgument": false,
|
"IsFlagArgument": false,
|
||||||
"ParamFieldName": "Welcome",
|
"ParamFieldName": "Welcome",
|
||||||
"IncludeInCommandLine": false,
|
"IncludeInCommandLine": false,
|
||||||
"DefaultValue": "Welcome to Unturned. Hosted using AMP by CubeCoders",
|
"DefaultValue": "Welcome to Unturned",
|
||||||
"EnumValues":{}
|
"EnumValues":{}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,8 @@ Port 27015
|
|||||||
Password
|
Password
|
||||||
Owner
|
Owner
|
||||||
GSLT
|
GSLT
|
||||||
Welcome Welcome to Unturned. Hosted using AMP by CubeCoders
|
Name AMP Powered Unturned Server
|
||||||
|
Welcome Welcome to Unturned
|
||||||
Maxplayers 10
|
Maxplayers 10
|
||||||
Map PEI
|
Map PEI
|
||||||
Mode Normal
|
Mode Normal
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"ConfigFile": "Servers/{{ServerName}}/Server/Commands.dat",
|
"ConfigFile": "Servers/Unturned/Server/Commands.dat",
|
||||||
"AutoMap": true,
|
"AutoMap": true,
|
||||||
"ConfigType": "kvp",
|
"ConfigType": "kvp",
|
||||||
"ConfigFormat": "{0} {1}",
|
"ConfigFormat": "{0} {1}",
|
||||||
"ConfigFormatRegex": "^(?<key>.+?) (?<value>.*?)$"
|
"ConfigFormatRegex": "^(?<key>.+?) (?<value>.*?)$"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ConfigFile": "Servers/{{ServerName}}/WorkshopDownloadConfig.json",
|
"ConfigFile": "Servers/Unturned/WorkshopDownloadConfig.json",
|
||||||
"AutoMap": true,
|
"AutoMap": true,
|
||||||
"ConfigType": "template",
|
"ConfigType": "template",
|
||||||
"ConfigFileTemplate": "unturnedworkshopconfig.json"
|
"ConfigFileTemplate": "unturnedworkshopconfig.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ConfigFile": "Servers/{{ServerName}}/Rocket/Rocket.config.xml",
|
"ConfigFile": "Servers/Unturned/Rocket/Rocket.config.xml",
|
||||||
"AutoMap": true,
|
"AutoMap": true,
|
||||||
"ConfigType": "xml"
|
"ConfigType": "xml"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user