diff --git a/wurm-unlimited.kvp b/wurm-unlimited.kvp index 41fb826..c2f39a4 100644 --- a/wurm-unlimited.kvp +++ b/wurm-unlimited.kvp @@ -1,18 +1,17 @@ App.AdminMethod=STDIO App.ApplicationPort1=8766 App.ApplicationPort2=27016 -App.ApplicationPort3=3724 -App.ApplicationPort4=7220 -App.ApplicationPort5=7221 App.ApplicationReadyMode=RegexMatch App.BaseDirectory=./wurm-unlimited/402370/ -App.CommandLineArgs=start=Creative {{$FormattedArgs}} +App.CommandLineArgs=ip={{$ApplicationIPBinding}} externalport={{$ApplicationPort1}} queryport={{$ApplicationPort2}} {{$FormattedArgs}} +App.LinuxCommandLineArgs= +App.WindowsCommandLineArgs= App.CommandLineParameterDelimiter= -App.CommandLineParameterFormat=-{0} "{1}" +App.CommandLineParameterFormat={0}="{1}" App.DisplayName=Wurm Unlimited -App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "366220"} -App.ExecutableLinux=402370/ +App.EnvironmentVariables={"LD_LIBRARY_PATH":"./linux64:%LD_LIBRARY_PATH%","SteamAppId":"366220"} App.ExecutableWin=402370\WurmServerLauncher.exe +App.ExecutableLinux=402370/WurmServerLauncher App.ExitMethod=OS_CLOSE App.ExitString=stop App.HasReadableConsole=true @@ -20,8 +19,9 @@ App.HasWritableConsole=false App.RapidStartup=false App.RootDir=./wurm-unlimited/ App.UpdateSource=Multi -App.UpdateSources=[{"UpdateStageName": "SteamCMD Download","UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "UpdateSourceData": "402370"}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":31,"UpdateSource":4,"UpdateSourceData":"402370","UpdateSourceArgs":null,"UpdateSourceVersion":null,"UpdateSourceTarget":null,"UnzipUpdateSource":false,"OverwriteExistingFiles":false,"ForceDownloadPlatform":0,"UpdateSourceConditionSetting":null,"UpdateSourceConditionValue":null}] App.WorkingDir=402370 +App.MaxUsers=100 Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ Console.AppReadyRegex=^Wurm Server launcher finished at.+$ Console.UserJoinRegex=^Client was Authenticated$ @@ -29,10 +29,12 @@ Console.UserLeaveRegex=^Client was NOT Authenticated$ Console.UserChatRegex= Meta.Author=IceOfWraith Meta.ConfigManifest=wurm-unlimitedconfig.json +Meta.MetaConfigManifest=wurm-unlimitedmetaconfig.json Meta.ConfigRoot=wurm-unlimited.kvp -Meta.Description= +Meta.Description=Wurm Unlimited Dedicated Server Meta.DisplayImageSource=steam:366220 Meta.DisplayName=Wurm Unlimited -Meta.EndpointURIFormat= -Meta.OS=1 -Meta.URL=https://store.steampowered.com/app/366220/Wurm_Unlimited/ \ No newline at end of file +Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort2} +Meta.OS=3 +Meta.URL=https://store.steampowered.com/app/366220/Wurm_Unlimited/ +Meta.MinAMPVersion=2.3.2.1 diff --git a/wurm-unlimitedconfig.json b/wurm-unlimitedconfig.json index 0637a08..1002e81 100644 --- a/wurm-unlimitedconfig.json +++ b/wurm-unlimitedconfig.json @@ -1 +1,199 @@ -[] \ No newline at end of file +[ + { + "DisplayName": "Server Name", + "Description": "The name of the server that will be visible in server browsers.", + "Category": "Server Settings", + "Keywords": "servername", + "FieldName": "servername", + "InputType": "text", + "IsFlagArgument": false, + "ParamFieldName": "servername", + "IncludeInCommandLine": true, + "DefaultValue": "AMP Powered Server", + "EnumValues": {} + }, + { + "DisplayName": "Server Password", + "Category": "Server Settings", + "Description": "Sets the password that is used when trying to connect to the server.", + "Keywords": "admin,password", + "FieldName": "serverpassword", + "InputType": "password", + "IsFlagArgument": false, + "ParamFieldName": "serverpassword", + "IncludeInCommandLine": true, + "DefaultValue": "", + "SkipIfEmpty": true + }, + { + "DisplayName": "Admin Password", + "Category": "Server Settings", + "Description": "Unlocks the admin commands from within the game, that can be used to change the gameplay settings of the server, such as skill gain rate and field growth time.", + "Keywords": "admin,password", + "FieldName": "adminpwd", + "InputType": "RandomPassword", + "IsFlagArgument": false, + "ParamFieldName": "adminpwd", + "IncludeInCommandLine": true, + "DefaultValue": "Password123" + }, + { + "DisplayName": "Max Players", + "Description": "Sets the max number of players allowed on the server. This overrides the internal game commands to change the player limit.", + "Category": "Server Settings", + "Keywords": "max,players", + "FieldName": "$MaxUsers", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "maxplayers", + "IncludeInCommandLine": true, + "DefaultValue": "100", + "EnumValues": {} + }, + { + "DisplayName": "Game Mode", + "Category": "Server Settings", + "Description": "Starts the server with the configuration and world data from the subdirectory specified.", + "Keywords": "game,mode", + "FieldName": "start", + "InputType": "enum", + "IsFlagArgument": false, + "ParamFieldName": "start", + "IncludeInCommandLine": true, + "DefaultValue": "dist/Adventure", + "EnumValues": { + "dist/Adventure": "Adventure", + "dist/Creative": "Creative" + } + }, + { + "DisplayName": "Enable Epic Settings", + "Description": "If true the server will follow the rules from the Epic servers in Wurm Online. For instance it will use the skill curve.", + "Category": "Server Settings", + "Keywords": "enable,epic,settings", + "FieldName": "epicsettings", + "InputType": "checkbox", + "IsFlagArgument": false, + "ParamFieldName": "epicsettings", + "IncludeInCommandLine": true, + "DefaultValue": "false", + "EnumValues": { + "True": "true", + "False": "false" + } + }, + { + "DisplayName": "Enable PVP", + "Description": "Toggles PvP on or off on the server.", + "Category": "Server Settings", + "Keywords": "enable,pvp", + "FieldName": "pvp", + "InputType": "checkbox", + "IsFlagArgument": false, + "ParamFieldName": "pvp", + "IncludeInCommandLine": true, + "DefaultValue": "false", + "EnumValues": { + "True": "true", + "False": "false" + } + }, + { + "DisplayName": "Set as Login Server", + "Description": "Defaults to On, should only be set to Off if the server is intended to be connected with another server that is going to act as a loginserver.", + "Category": "Server Settings", + "Keywords": "login,server", + "FieldName": "loginserver", + "InputType": "checkbox", + "IsFlagArgument": false, + "ParamFieldName": "loginserver", + "IncludeInCommandLine": true, + "DefaultValue": "true", + "EnumValues": { + "True": "true", + "False": "false" + } + }, + { + "DisplayName": "Enable Home Server", + "Description": "If the server is a home server (belongs to a single kingdom).", + "Category": "Server Settings", + "Keywords": "home,server", + "FieldName": "homeserver", + "InputType": "checkbox", + "IsFlagArgument": false, + "ParamFieldName": "homeserver", + "IncludeInCommandLine": true, + "DefaultValue": "false", + "EnumValues": { + "True": "true", + "False": "false" + } + }, + { + "DisplayName": "Home Kingdom ID", + "Description": "The kingdom the server belongs to.", + "Category": "Server Settings", + "Keywords": "home,kingdom", + "FieldName": "homekingdom", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "homekingdom", + "IncludeInCommandLine": true, + "DefaultValue": "", + "EnumValues": {}, + "SkipIfEmpty": true + }, + { + "DisplayName": "RMI Port", + "Description": "Used for server to server communication. Must manually add the same port number under the ADS Edit Ports button.", + "Category": "Server Settings", + "Keywords": "rmi,port", + "FieldName": "rmiport", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "rmiport", + "IncludeInCommandLine": true, + "DefaultValue": "", + "EnumValues": {}, + "SkipIfEmpty": true + }, + { + "DisplayName": "RMI REG Port", + "Description": "Used for server to server communication. Must manually add the same port number under the ADS Edit Ports button.", + "Category": "Server Settings", + "Keywords": "rmi,reg,port", + "FieldName": "rmiregport", + "InputType": "number", + "IsFlagArgument": false, + "ParamFieldName": "rmiregport", + "IncludeInCommandLine": true, + "DefaultValue": "", + "EnumValues": {}, + "SkipIfEmpty": true + }, + { + "DisplayName": "Memory Limit", + "Category": "Server Settings", + "Description": "Java's maximum heap size", + "Keywords": "maximum,memory,limit", + "FieldName": "MaxHeapSize", + "InputType": "text", + "IsFlagArgument": false, + "ParamFieldName": "Memory.MaxHeapSize", + "IncludeInCommandLine": false, + "DefaultValue": "2048m" + }, + { + "DisplayName": "Custom Java Arguments", + "Category": "Server Settings", + "Description": "Settings that will be appended to the Java arguments for the server. Only change this if you know what you're doing!", + "Keywords": "custom,java,arguments,args", + "FieldName": "JvmParam0", + "InputType": "text", + "IsFlagArgument": false, + "ParamFieldName": "VMParams.JvmParam0", + "IncludeInCommandLine": false, + "DefaultValue": "-XX:+AggressiveOpts", + } +] \ No newline at end of file diff --git a/wurm-unlimitedmetaconfig.json b/wurm-unlimitedmetaconfig.json new file mode 100644 index 0000000..ff26259 --- /dev/null +++ b/wurm-unlimitedmetaconfig.json @@ -0,0 +1,7 @@ +[ + { + "ConfigFile": "./LaunchConfig.ini", + "AutoMap": true, + "ConfigType": "ini", + } +] \ No newline at end of file