Wiki
Imported revision
Config
You are reading an older revision. This is not the current page.
/* vs_core_server.json */
Wildeditour · Imported from the former Valkyrien Skies wiki · ·
77286ff4-931e-4e29-943e-450db82d32ca · MediaWiki wikitext source
Revision 2280 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===
<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>
Can be between 0 and 2147483647. Sets the number of physics ticks per game tick. There are 20 game ticks per second.
<syntaxhighlight lang="json">
"terrainBakingThreads" : 12,
</syntaxhighlight>
Can be between 0 and 2147483647. Sets the number of terrain baking threads, more is good for preventing stutters when flying fast ships. However, too many will overload the cpu which will lag the game.
<syntaxhighlight lang="json">
"terrainBakingThreadPriority" : 5,
</syntaxhighlight>
Can be between 0 and 2147483647. The thread priority of terrain baking threads. Higher is higher priority, lower is lower priority.
<syntaxhighlight lang="json">
"terrainDeletionThreads" : 1,
</syntaxhighlight>
Can be between 0 and 2147483647. Number of terrain deletion threads. Typically just 1 is fine.
<syntaxhighlight lang="json">
"terrainDeletionThreadPriority" : 4
</syntaxhighlight>
Can be between 0 and 2147483647. The thread priority of the terrain deletion threads. These are used to clean up memory, so they can be lower priority than other threads. Higher is higher priority, lower is lower priority.
<syntaxhighlight lang="json">
"udpPort" : 25565,
</syntaxhighlight>
Can be between 0 and 2147483647. This option sets the port to establish UDP connections on.
<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>
Can be between 0 and 2147483647. It sets the ship load distance in blocks.
<syntaxhighlight lang="json">
"shipUnloadDistance" : 196.0,
</syntaxhighlight>
Can be between 0 and 2147483647. It sets the ship unload distance in blocks.
<syntaxhighlight lang="json">
"lodDetail" : 512,
</syntaxhighlight>
Can be between 0 and 2147483647. The detail of the collision box of ships, higher values are more detailed but heavier to compute.
<syntaxhighlight lang="json">
"subSteps" : 20,
</syntaxhighlight>
Can be between 0 and 2147483647. Sets the number of sub-steps used by Krunch.
<syntaxhighlight lang="json">
"iterations" : 5,
</syntaxhighlight>
Can be between 0 and 2147483647. Sets the number of iterations per sub-steps used by Krunch.
<syntaxhighlight lang="json">
"solver" : "GAUSS_SEIDEL",
</syntaxhighlight>
Can be set to "GAUSS_SEIDEL" or "JACOBI". It sets the constraint solver used by Krunch. Gauss seidel is both faster and more accurate than the Jacobi method.
<syntaxhighlight lang="json">
"maxDePenetrationSpeed" : 10.0,
</syntaxhighlight>
This is represented by a double so it is virtually infinite. This option limits the max collision de-penetration speed so that rigid bodies don't go flying apart when they overlap.
<syntaxhighlight lang="json">
"physicsSpeed" : 1.0
</syntaxhighlight>
This is represented by a double so it is virtually infinite. How fast the physics is running. 1.0 is full speed, 0.5 is 50% speed, etc.
===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>