Wiki
Imported revision
Config
You are reading an older revision. This is not the current page.
No edit summary
Wildeditour · Imported from the former Valkyrien Skies wiki · minor edit · ·
40f4ae3e-98c3-41f4-9bb7-48aee7dfa143 · MediaWiki wikitext source
Revision 2279 of the former Valkyrien Skies wiki, licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). Its original wikitext is shown as source only and can't be restored.
MediaWiki wikitext source
Modifying configs can be done through a mod like Mod Menu on fabric or through forge's own mod manager, but having this will be useful for both the server and client. If you're on client most of this should apply.
==Accessing Configurations==
To access your config folder, you'll first need to access your Minecraft folder. A guide is found here on the Minecraft wiki:
[https://minecraft.wiki/w/.minecraft#Locating_.minecraft Locating .minecraft]
If you're using another launcher you'll have to figure it out on you're own. We can't guide you on everything.
From your Minecraft folder you'll want to navigate to the configs like so:
<div class="treeview">
*minecraft
**config
***valkyrienskies
****''(config namespace.json)''
</div>
== Explaination of Configurations ==
All listed configs will be in their default state. It is best to restart the game after making changes.
=== vs_client.json ===
<syntaxhighlight lang="json">
"massTooltipVisibility" : "ADVANCED",
</syntaxhighlight>
Accepts "ALWAYS", "ADVANCED", or "DISABLED". Setting this to advanced will make the block weights visible when you turn on advanced tooltips (F3+H).
<syntaxhighlight lang="json">
"useImperialUnits" : false
</syntaxhighlight>
<!--[[File:Imperial_units.png|right]]-->
Accepts "true" or "false" as a value. Enabling it will display weights in Imperial Units (lbs. and oz.)
<syntaxhighlight lang="json">
"fixBlockTinting" : false
</syntaxhighlight>
Accepts "true" or "false" as a value. Enabling applies the block tint for the dimension the ship is in when it is rendered. Yet the option doesn't appear to do anything.
<syntaxhighlight lang="json">
"renderDebugText" : false,
</syntaxhighlight>
[[File:debugtext.png|right]]
Accepts "true" or "false" as a value. Enabling it will display the VS2 debug HUD in the top left of your screen. The second is the physics thread TPS, this should always be 60, the third line is the number of chunks loaded in physics, and the fourth line is whether you're using UDP for data transfer. (explained further down)
<syntaxhighlight lang="json">
"recommendSlugsInMcCommands" : true,
</syntaxhighlight>
Accepts "true" or "false" as a value. Setting this to true may disable autocompleting ship slugs in the /tp command. It wouldn't appear to do anything. <!--will recommend VS2 ship slugs as target selectors while typing commands such as /tp or-->
===vs_common.json===
<syntaxhighlight lang="json">
"renderPathfinding" : true
</syntaxhighlight>
Accepts "true" or "false" as a value. To see this option in action you'll have to set it to true on both the server and client. Then paste this into the java arguments "-Dorg.valkyrienskies.render_pathfinding=true". Now mob pathfinding will render.
===vs_core_server.json===
<!--
Well Ruby, I am stumped, all yours!
-->
<syntaxhighlight lang="json">
"synchronizePhysics" : false,
</syntaxhighlight>
Accepts "true" or "false" as a value. Setting it to true will synchronize the physics thread and the game thread.
<syntaxhighlight lang="json">
"physicsTicksPerGameTick" : 3,
</syntaxhighlight>
<syntaxhighlight lang="json">
"terrainBakingThreads" : 12,
</syntaxhighlight>
<syntaxhighlight lang="json">
"terrainBakingThreadPriority" : 5,
</syntaxhighlight>
<syntaxhighlight lang="json">
"terrainDeletionThreads" : 1,
</syntaxhighlight>
<syntaxhighlight lang="json">
"terrainDeletionThreadPriority" : 4
</syntaxhighlight>
<syntaxhighlight lang="json">
"udpPort" : 25565,
</syntaxhighlight>
<syntaxhighlight lang="json">
"enableUdp" : false,
</syntaxhighlight>
Accepts "true" or "false" as a value. Enabling it will make the server use UDP for data transfer, which is faster but less reliable, otherwise the server will use TCP for data transfer.
<syntaxhighlight lang="json">
"shipLoadDistance" : 128.0,
</syntaxhighlight>
<syntaxhighlight lang="json">
"shipUnloadDistance" : 196.0,
</syntaxhighlight>
<syntaxhighlight lang="json">
"lodDetail" : 512,
</syntaxhighlight>
<syntaxhighlight lang="json">
"subSteps" : 20,
</syntaxhighlight>
<syntaxhighlight lang="json">
"iterations" : 5,
</syntaxhighlight>
<syntaxhighlight lang="json">
"solver" : "GAUSS_SEIDEL",
</syntaxhighlight>
<syntaxhighlight lang="json">
"maxDePenetrationSpeed" : 10.0,
</syntaxhighlight>
<syntaxhighlight lang="json">
"physicsSpeed" : 1.0
</syntaxhighlight>
===vs_server===
<syntaxhighlight lang="json">
"shipsProtectedByClaims" : true,
</syntaxhighlight>
<syntaxhighlight lang="json">
"shipsProtectionOutOfBuildHeight" : false
</syntaxhighlight>
<syntaxhighlight lang="json">
"canTurtlesLeaveScaledShips" : false
</syntaxhighlight>
<syntaxhighlight lang="json">
"enableInteractDistanceChecks" : true,
</syntaxhighlight>
<syntaxhighlight lang="json">
"transformTeleports" : true,
</syntaxhighlight>
<syntaxhighlight lang="json">
"enableMovementChecks" : false,
</syntaxhighlight>
<syntaxhighlight lang="json">
"preventFluidEscapingShip" : true,
</syntaxhighlight>
<syntaxhighlight lang="json">
"explosionBlastForce" : 500000.0,
</syntaxhighlight>
<syntaxhighlight lang="json">
"allowMobSpawns" : true,
</syntaxhighlight>
<syntaxhighlight lang="json">
"aiOnShips" : true,
</syntaxhighlight>
<syntaxhighlight lang="json">
"miniShipSize" : 0.5,
</syntaxhighlight>
<syntaxhighlight lang="json">
"minScaling" : 0.25,
</syntaxhighlight>