diff --git a/creativerse.kvp b/creativerse.kvp new file mode 100644 index 0000000..703bfaf --- /dev/null +++ b/creativerse.kvp @@ -0,0 +1,88 @@ +Meta.DisplayName=Creativerse +Meta.Description=Creativerse Dedicated Server +Meta.OS=Windows, Linux +Meta.Arch=x86_64 +Meta.Author=Greelan +Meta.URL=https://creativersegame.com/ +Meta.DisplayImageSource=steam:280790 +Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.Ports.$QueryPort} +Meta.ConfigManifest=creativerseconfig.json +Meta.MetaConfigManifest=creativersemetaconfig.json +Meta.ConfigRoot=creativerse.kvp +Meta.MinAMPVersion=2.4.3.0 +Meta.SpecificDockerImage= +Meta.DockerRequired=False +Meta.ContainerPolicy=Supported +Meta.ContainerPolicyReason= +Meta.ExtraSetupStepsURI=https://discourse.cubecoders.com/docs?topic=3971?utm_source=ampcreate&utm_content=creativerse +Meta.Prerequsites=[] +Meta.ExtraContainerPackages=[] +Meta.ConfigReleaseState=NotSpecified +Meta.NoCommercialUsage=False +App.DisplayName=Creativerse +App.RootDir=./creativerse/ +App.BaseDirectory=./creativerse/1098260/ +App.ExecutableWin=1098260\CreativerseServer.exe +App.ExecutableLinux=1098260/CreativerseServer +App.WorkingDir=1098260 +App.LinuxCommandLineArgs= +App.WindowsCommandLineArgs= +App.CommandLineArgs={{$PlatformArgs}} {{$FormattedArgs}} -forceIp={{$ApplicationIPBinding}} +App.UseLinuxIOREDIR=False +App.AppSettings={} +App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"280790","XDG_DATA_HOME":"{{$FullBaseDir}}"} +App.CommandLineParameterFormat=-{0}="{1}" +App.CommandLineParameterDelimiter= +App.ExitMethod=OS_CLOSE +App.ExitTimeout=30 +App.ExitString=quit +App.ExitFile=app_exit.lck +App.HasWriteableConsole=True +App.HasReadableConsole=True +App.SupportsLiveSettingsChanges=False +App.LiveSettingChangeCommandFormat=set {0} "{1}" +App.ApplicationIPBinding=0.0.0.0 +App.Ports=[{"Protocol":"UDP","Port":26900,"Ref":"GamePort","Name":"Game Port","Description":"Port for game traffic"},{"Protocol":"UDP","Port":26901,"Ref":"QueryPort","Name":"Query Port","Description":"Port for Steam query traffic"},{"Protocol":"TCP","Port":26902,"Ref":"WebAdminPort","Name":"Web Admin Port","Description":"Port for web admin traffic"}] +App.PrimaryApplicationPortRef=GamePort +App.UniversalSleepApplicationUDPPortRef=GamePort +App.UniversalSleepSteamQueryPortRef=QueryPort +App.MaxUsers=100 +App.UseRandomAdminPassword=False +App.RemoteAdminPassword=Password123 +App.AdminMethod=STDIO +App.AdminLoginTransform=None +App.RCONConnectDelaySeconds=5 +App.RCONConnectRetrySeconds=5 +App.RCONHeartbeatMinutes=0 +App.RCONHeartbeatCommand=ping +App.TelnetLoginFormat=login {0} +App.UpdateSources=@IncludeJson[creativerseupdates.json] +App.Compatibility=None +App.SteamUpdateAnonymousLogin=True +App.SteamForceLoginPrompt=False +App.RapidStartup=False +App.MonitorChildProcess=False +App.MonitorChildProcessWaitMs=100 +App.MonitorChildProcessName= +App.SupportsUniversalSleep=False +App.WakeupMode=Any +App.ApplicationReadyMode=RegexMatch +App.TemplateMatchRegex={{(\$?[\w]+)}} +Console.FilterMatchRegex= +Console.FilterMatchReplacement= +Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ +Console.AppReadyRegex=^\d+-\d+-\d+ \d+:\d+:\d+,\d+ (?:.*?) server INFO SimThread\(\d+\) BuildVerseServer\.Reporting - Server \[READYFORLOGIN\]$ +Console.UserJoinRegex=^$ +Console.UserLeaveRegex=^$ +Console.UserChatRegex=^$ +Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$ +Console.MetricsRegex= +Console.SuppressLogAtStart=False +Console.ActivateLogRegex= +Console.UserActions={} +Limits.SleepMode=False +Limits.SleepOnStart=False +Limits.SleepDelayMinutes=5 +Limits.DozeDelay=2 +Limits.AutoRetryCount=0 +Limits.SleepStartThresholdSeconds=25 diff --git a/creativerseconfig.json b/creativerseconfig.json new file mode 100644 index 0000000..7d9f01f --- /dev/null +++ b/creativerseconfig.json @@ -0,0 +1,159 @@ +[ + { + "DisplayName":"Game Port", + "Category":"Creativerse Server Settings", + "Description":"", + "Keywords":"", + "FieldName":"$GamePort", + "InputType":"number", + "IsFlagArgument":false, + "Hidden":true, + "ParamFieldName":"$.GamePort", + "IncludeInCommandLine":false, + "EnumValues":{} + }, + { + "DisplayName":"World Key", + "Category":"Creativerse Server Settings", + "Description":"Sets the world key for the server. Don't use spaces. NOTE: Update the server after changing this setting", + "Keywords":"world,key,id", + "FieldName":"worldId", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"worldId", + "IncludeInCommandLine":true, + "DefaultValue":"AMP_Server", + "EnumValues":{} + }, + { + "DisplayName":"World Key", + "Category":"Creativerse Server Settings", + "Description":"", + "Keywords":"", + "FieldName":"worldId", + "InputType":"text", + "Hidden":true, + "IsFlagArgument":false, + "ParamFieldName":"$.WorldKey", + "IncludeInCommandLine":false, + "EnumValues":{} + }, + { + "DisplayName":"World Template", + "Category":"Creativerse Server Settings", + "Description":"Sets the template for the world. If Custom Template is selected, then the Custom Template Key must also be set", + "Keywords":"template,key", + "FieldName":"TemplateKey", + "InputType":"enum", + "IsFlagArgument":false, + "ParamFieldName":"$.TemplateKey", + "IncludeInCommandLine":false, + "DefaultValue":"69bac762182c4dd69c59a48c3e1e9304", + "EnumValues":{ + "cb201411260047e5ab4f4b8166eb3976":"Archipelago 10K", + "cb20141210ed4b1590c6a1420c384f2b":"Continent 1K", + "cb20150118204805ab4f4b8166eb3980":"Continent 2K-1", + "cb20150119204805ab4f4b8166eb3980":"Continent 2K-2", + "cb20150120204805ab4f4b8166eb3980":"Continent 2K-3", + "cb20141228040965ab4f4b8166eb3977":"Continent 4K-1", + "cb20141231040965ab4f4b8166eb3981":"Continent 4K-2", + "892bbca2d6444e26a8857a07a90292f1":"Flat Grass 2K", + "b0c2e10917fe4b709255b1b6f162e558":"Flat Sand 2K", + "bb0326fd64b74791b493ad03abe7af6b":"Flat Snow 4K", + "hg_testmap_1":"HG TestMap", + "island_ruins":"Island Ruins", + "6af068019ad648ceb3d8eadf3e1ab854":"Lowlands 1K-1", + "18285efb343e4e619df1facc2b7d27c3":"Lowlands 1K-2", + "425a9f8d3f6a4d42ad4d7a0ef98dc4ce":"Lowlands 2K", + "1ec67c5a8598480cabac567762bf59b9":"Lowlands 3K", + "25b95767960e4810a0d896f2b4d1d3df":"Lowlands 10K-1", + "cb20140912ac428bae68abb4822dbfda":"Lowlands 10K-2", + "cb20140915ac428bae68abb4822dbfda":"Lowlands 10K-3", + "6b87b59bdfc344c89920dc7eb44c5839":"Lowlands 10K-4", + "6d1ef9b9e2bd46889068f3df6aa73954":"Mixed 1K-1", + "35da7596161942ffad4bad6b7b932950":"Mixed 1K-2", + "69bac762182c4dd69c59a48c3e1e9304":"RW1 10K (default)", + "e153099c609f4bb2b5f89e218fcb471e":"RW2 10K", + "4a4d04caf0d449e3a5a04c0ecfe03957":"RW3 10K", + "5dcc93229f004bfe86e2bca3cc60e2d3":"RW4 10K", + "f8d02b7209a54aa19d2fcca0f58778e4":"RW5 10K", + "e05d2ad3952a4061931cbe003bc71ec9":"RW6 10K", + "6b7f11478cb54a1896ef30352af168ef":"RW7 10K", + "5c659bff855243f2bc26c9d82b8ca073":"RW8 10K", + "c773ad62e9b74fedb989092e8d6cb3af":"RW9? 10K", + "0c9de19ab8b8485dabae8144e6b39317":"RW10? 10K", + "024dbf3fcb92412295cd8d07ba93288f":"RW10? 10K-1", + "cb20150125819205ab4f4b8166eb0520":"RW? 8K", + "6af665950087483b9fac9c21f3e9f0ff":"RW? 10K-2", + "fb45525a5f9b48eaa4820bed2759bb59":"RW? 10K-3", + "0ce5b025a31546ec84b28330a78a431e":"RW? 10K-4", + "{{CustomTemplate}}":"Custom Template" + } + }, + { + "DisplayName":"Custom Template Key", + "Category":"Creativerse Server Settings", + "Description":"Sets the key for a custom template for the world", + "Keywords":"custom,template,key", + "FieldName":"CustomTemplate", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"CustomTemplate", + "IncludeInCommandLine":false, + "DefaultValue":"", + "EnumValues":{} + }, + { + "DisplayName":"World Owner SteamID", + "Category":"Creativerse Server Settings", + "Description":"To start the server, you must include a valid Steam64 ID for \"WorldOwnerSteamId\" in the world's config_world.json", + "Keywords":"steam,id", + "FieldName":"SteamID", + "InputType":"hidden", + "IsFlagArgument":false, + "ParamFieldName":"SteamID", + "IncludeInCommandLine":false, + "EnumValues":{} + }, + { + "DisplayName":"World Name", + "Category":"Creativerse Server Settings", + "Description":"Sets the name of the world", + "Keywords":"world,name", + "FieldName":"WorldName", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"$.WorldName", + "IncludeInCommandLine":false, + "DefaultValue":"AMP Powered Creativerse Server", + "EnumValues":{} + }, + { + "DisplayName":"World Description", + "Category":"Creativerse Server Settings", + "Description":"Sets the world description", + "Keywords":"world,description", + "FieldName":"WorldDescription", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"$.WorldDescription", + "IncludeInCommandLine":false, + "DefaultValue":"A Creativerse World", + "EnumValues":{} + }, + { + "DisplayName":"Player Limit", + "Category":"Creativerse Server Settings", + "Description":"Sets the maximum number of players that may connect to the server at the same time", + "Keywords":"max,players,limit", + "FieldName":"$MaxUsers", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"$.MaxPlayers", + "IncludeInCommandLine":false, + "DefaultValue":"100", + "Placeholder":"100", + "Suffix":"players", + "EnumValues":{} + } +] \ No newline at end of file diff --git a/creativerseconfig_world.json b/creativerseconfig_world.json new file mode 100644 index 0000000..05bb57c --- /dev/null +++ b/creativerseconfig_world.json @@ -0,0 +1,214 @@ +{ + "GamePort": 26900, + "PrivateServer": false, + "UsePlayerAccessFile": false, + "WorldOwnerSteamId": null, + "DamageVsPlayerScalar": 1.0, + "DamageVsAIScalar": 1.0, + "MaxPlayers": 100, + "MaxItemStack": 999, + "MobSpawnFactor": 1.0, + "TreasureSpawnFactor": 1.0, + "RegrowthFactor": 1.0, + "TraderSpawnFactor": 1.0, + "GravityDefault": 18.0, + "GravityLow": 6.0, + "JumpHeightModifierDefault": 1.0, + "JumpHeightModifierLowGravity": 1.5, + "FallDamageModifierDefault": 1.0, + "FallDamageModifierLowGravity": 0.25, + "AbilityChargesMax": 2, + "AbilityChargesCooldown": 2.5, + "RollCooldown": 0.8, + "GroundPoundStaminaPcRequired": 0.75, + "StaminaDrainSprint": 1.0, + "StaminaDrainGlideBoost": 5.0, + "NPCInteractionMinutes": 15, + "WorldEdgeFullFogDensity": 1.0, + "WorldEdgeFullFogDistance": 8.0, + "WorldEdgeFogBeginDistance": 24.0, + "AFKWarningInMinutes": 10, + "AFKTimeoutInMinutes": 10, + "WorldKey": "AMP_Server", + "TemplateKey": "69bac762182c4dd69c59a48c3e1e9304", + "CombatDefaultTool": "default_stick", + "CreativePermissionLevel": null, + "WorldName": "AMP Powered Creativerse Server", + "WorldDescription": "A Creativerse World", + "Skybox": "SkyboxGradient", + "CraftTime": { + "instant": 1, + "trivial": 10, + "basic": 30, + "forge1": 20, + "forge2": 120, + "forge3": 60, + "complicated": 180, + "difficult": 360, + "epic": 900 + }, + "ExtractTime": { + "trivial": 60, + "basic": 300, + "complicated": 600, + "difficult": 1200, + "epic": 3600 + }, + "MiningTimeForTier": { + "1": 0.85, + "2": 0.7, + "3": 0.65, + "4": 0.6, + "5": 0.5, + "6": 0.4, + "7": 0.25 + }, + "ClaimCountByModLevel": { + "Owner": 500, + "Admin": 500, + "Mod": 500, + "Builder": 1, + "Visitor": 0 + }, + "StartingClaimCountByModLevel": { + "Owner": 200, + "Admin": 100, + "Mod": 50, + "Builder": 0, + "Visitor": 0 + }, + "CostumePurchaseResource": "drone_token", + "CostumePurchaseCost": { + "default": 10, + "$slot_hat": 100, + "$slot_head": 150, + "$slot_body": 50, + "$slot_arms": 50, + "$slot_legs": 50, + "$slot_gauntlet": 200, + "$slot_sword": 100, + "$slot_flashlight": 50, + "$slot_glider": 200 + }, + "BlueprintKitPurchaseResource": "coin", + "BlueprintKitTierCost": { + "tier_1": { + "PerBlockCost": 0.08, + "MinimumCount": 10 + }, + "tier_2": { + "PerBlockCost": 0.09, + "MinimumCount": 10 + }, + "tier_3": { + "PerBlockCost": 0.1, + "MinimumCount": 10 + }, + "tier_4": { + "PerBlockCost": 0.12, + "MinimumCount": 50 + }, + "tier_5": { + "PerBlockCost": 0.13, + "MinimumCount": 50 + }, + "tier_6": { + "PerBlockCost": 0.14, + "MinimumCount": 50 + }, + "tier_7": { + "PerBlockCost": 0.15, + "MinimumCount": 100 + }, + "tier_8": { + "PerBlockCost": 0.16, + "MinimumCount": 100 + }, + "tier_9": { + "PerBlockCost": 0.17, + "MinimumCount": 100 + }, + "tier_10": { + "PerBlockCost": 0.2, + "MinimumCount": 200 + }, + "tier_11": { + "PerBlockCost": 0.3, + "MinimumCount": 200 + }, + "machines_12": { + "PerBlockCost": 0.5, + "MinimumCount": 200 + } + }, + "BlueprintKitBulkFactors": { + "4999": 1.0, + "9999": 0.85, + "14999": 0.71, + "19999": 0.587, + "24999": 0.5, + "29999": 0.475, + "34999": 0.45, + "39999": 0.435, + "44999": 0.42, + "49999": 0.4 + }, + "AutobuildPurchaseResource": "drone_token", + "BlueprintKitCostFactor": 1.0, + "BlueprintAutobuildCostPerBlock": 0.0001, + "ClaimResourceCostByLevel": { + "1": { + "coal": 20 + }, + "2": { + "obsidian": 40 + }, + "3": { + "iron_bar": 80 + }, + "4": { + "diamond": 160 + }, + "5": { + "lumite": 320 + }, + "6": { + "arcstone": 320 + } + }, + "VisitorDefault": false, + "DisablePvp": false, + "DisableExplosions": false, + "DisableFireSpread": false, + "DisableCorruptionSpread": false, + "DisableVaults": false, + "DisableClaims": false, + "DisableMobSpawns": false, + "DisableAmbientSpawns": false, + "DisableNpcSpawns": false, + "DisableTreasureSpawns": false, + "DisableDayVariations": false, + "DisableFlashlight": false, + "DisableGlider": false, + "DisableBlockDig": false, + "DisableBlockPlace": false, + "DisableFogOfWar": false, + "DisableBlueprintKitPurchase": false, + "DisableMap": false, + "DisableDeathMarkerOnHud": false, + "DisableBlockPainting": false, + "DisableAutoBuild": false, + "DisableErrorBlockCheck": false, + "DropInventoryOnDeath": true, + "DropQuickbarOnDeath": false, + "DropEquipmentOnDeath": false, + "RecipesLocked": true, + "AllCraftsFree": false, + "TradersEnabled": false, + "EventHalloweenEnabled": false, + "EventHolidayEnabled": false, + "LowGravity": false, + "PassiveMobs": false, + "Tags": [], + "AFKDisconnectionDisabled": false +} \ No newline at end of file diff --git a/creativersemetaconfig.json b/creativersemetaconfig.json new file mode 100644 index 0000000..c4993cf --- /dev/null +++ b/creativersemetaconfig.json @@ -0,0 +1,7 @@ +[ + { + "ConfigFile":"PlayfulCorp/CreativerseServer/worlddata/worlds/{{worldId}}/config_world.json", + "AutoMap":true, + "ConfigType":"json" + } +] \ No newline at end of file diff --git a/creativerseupdates.json b/creativerseupdates.json new file mode 100644 index 0000000..f88989a --- /dev/null +++ b/creativerseupdates.json @@ -0,0 +1,32 @@ +[ + { + "UpdateStageName":"SteamCMD Download", + "UpdateSourcePlatform":"All", + "UpdateSource":"SteamCMD", + "UpdateSourceData":"1098260", + "UpdateSourceArgs":"280790" + }, + { + "UpdateStageName":"World Directory Creation", + "UpdateSourcePlatform":"Linux", + "UpdateSource":"CreateDirectory", + "UpdateSourceArgs":"{{$FullBaseDir}}PlayfulCorp/CreativerseServer/worlddata/worlds/{{worldId}}", + "OverwriteExistingFiles":false + }, + { + "UpdateStageName":"World Directory Creation", + "UpdateSourcePlatform":"Windows", + "UpdateSource":"Executable", + "UpdateSourceData":"cmd.exe", + "UpdateSourceArgs":"/C mkdir \"%LocalAppData%\\PlayfulCorp\\CreativerseServer\\worlddata\\worlds\\{{worldId}}\" & mkdir \"{{$FullBaseDir}}PlayfulCorp\" & mklink /J \"{{$FullBaseDir}}PlayfulCorp\\CreativerseServer\" \"%LocalAppData%\\PlayfulCorp\\CreativerseServer\"" + }, + { + "UpdateStageName":"World Config Download", + "UpdateSourcePlatform":"All", + "UpdateSource":"FetchURL", + "UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/creativerseconfig_world.json", + "UpdateSourceArgs":"config_world.json", + "UpdateSourceTarget":"{{$FullBaseDir}}PlayfulCorp/CreativerseServer/worlddata/worlds/{{worldId}}/", + "OverwriteExistingFiles":false + } +] \ No newline at end of file