# Building

## <mark style="color:red;">Server Owner</mark>

The table below contains a list of **Building Commands** available for <mark style="color:red;">**Server Owners**</mark>.

<table data-full-width="true"><thead><tr><th width="92">Type</th><th width="285">Command</th><th width="124">Input</th><th width="440">Description</th><th>Default</th></tr></thead><tbody><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.bracket_0_blockcount</mark></td><td><code>“number”</code></td><td>The amount of blocks per structure between 0 and this value are considered bracket 0 and will cost bracket_0_costfraction per upkeep period to maintain.</td><td><code>15</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.bracket_0_costfraction</mark></td><td><code>“number”</code></td><td>Blocks within bracket 0 will cost this fraction per upkeep period to maintain.</td><td><code>0.1</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.bracket_1_blockcount</mark></td><td><code>“number”</code></td><td>The amount of blocks per structure between bracket_0_blockcount and this value are considered bracket 1 and will cost bracket_1_costfraction per upkeep period to maintain.</td><td><code>50</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.bracket_1_costfraction</mark></td><td><code>“number”</code></td><td>Blocks within bracket 1 will cost this fraction per upkeep period to maintain.</td><td><code>0.15</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.bracket_2_blockcount</mark></td><td><code>“number”</code></td><td>The amount of blocks per structure between bracket_1_blockcount and this value are considered bracket 2 and will cost bracket_2_costfraction per upkeep period to maintain.</td><td><code>125</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.bracket_2_costfraction</mark></td><td><code>“number”</code></td><td>Blocks within bracket 2 will cost this fraction per upkeep period to maintain.</td><td><code>0.2</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.bracket_3_blockcount</mark></td><td><code>“number”</code></td><td>The amount of blocks per structure between bracket_2_blockcount and this value (and beyond) are considered bracket 3 and will cost bracket_3_costfraction per upkeep period to maintain.</td><td><code>200</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.bracket_3_costfraction</mark></td><td><code>“number”</code></td><td>Blocks within bracket 3 will cost this fraction per upkeep period to maintain.</td><td><code>0.333</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.delay_metal</mark></td><td><code>“number”</code></td><td>How long should metal building grade decay be delayed when not protected by upkeep, in hours.</td><td><code>0</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.delay_override</mark></td><td><code>“number”</code></td><td>When set to a value above 0, everything will decay with this delay, in seconds.</td><td><code>0</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.delay_stone</mark></td><td><code>“number”</code></td><td>When Decay.upkeep is true, How long should stone building grade decay be delayed when not protected by upkeep, in hours.</td><td><code>0</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.delay_toptier</mark></td><td><code>“number”</code></td><td>When Decay.upkeep is true, How long should toptier building grade decay be delayed when not protected by upkeep, in hours.</td><td><code>0</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.delay_twig</mark></td><td><code>“number”</code></td><td>When Decay.upkeep is true, How long should twig building grade decay be delayed when not protected by upkeep, in hours.</td><td><code>0</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.delay_wood</mark></td><td><code>“number”</code></td><td>When Decay.upkeep is true, How long should wood building grade decay be delayed when not protected by upkeep, in hours.</td><td><code>0</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.duration_metal</mark></td><td><code>“number”</code></td><td>When Decay.upkeep is true, How long should metal building blocks take to decay when not protected by upkeep, in hours.</td><td><code>8</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.duration_override</mark></td><td><code>“number”</code></td><td>When Decay.upkeep is true, a value above 0 everything will decay with this duration, in seconds.</td><td><code>0</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.duration_stone</mark></td><td><code>“number”</code></td><td>When Decay.upkeep is true, How long should stone building blocks take to decay when not protected by upkeep, in hours.</td><td><code>5</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.duration_toptier</mark></td><td><code>“number”</code></td><td>When Decay.upkeep is true, How long should toptier (armoured) building blocks take to decay when not protected by upkeep, in hours.</td><td><code>12</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.duration_twig</mark></td><td><code>“number”</code></td><td>When Decay.upkeep is true, How long should twig building blocks take to decay when not protected by upkeep, in hours.</td><td><code>1</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.duration_wood</mark></td><td><code>“number”</code></td><td>When Decay.upkeep is true, How long should wood building blocks take to decay when not protected by upkeep, in hours.</td><td><code>3</code></td></tr><tr><td><h3><strong>📟🎮</strong>🌌</h3></td><td><mark style="color:red;">decay.scale</mark></td><td><code>“number”</code></td><td>Scales the decay/heal rate of entities.</td><td><code>1</code></td></tr><tr><td><h3><strong>📟🎮</strong>🌌</h3></td><td><mark style="color:red;">decay.tick</mark></td><td><code>“number”</code></td><td>How often should entities decay, in seconds.</td><td><code>600</code></td></tr><tr><td><h3><strong>📟🎮</strong>🌌</h3></td><td><mark style="color:red;">decay.upkeep</mark></td><td><code>"0/1"</code></td><td>Should entities rely on upkeep to decay, otherwise just decay naturally</td><td><code>1</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.upkeep_grief_protection</mark></td><td><code>“number”</code></td><td>Defines how many minutes the upkeep cost will last after the cupboard is destroyed.</td><td><code>1440</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.upkeep_heal_scale</mark></td><td><code>“number”</code></td><td>Scales the amount of health regained by a building block when not attacked for 10 minutes (assuming there is upkeep in the attached Tool Cupboard)</td><td><code>1</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.upkeep_inside_decay_scale</mark></td><td><code>“number”</code></td><td>Scale at which objects decay when they are inside.</td><td><code>0.1</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.upkeep_period_minutes</mark></td><td><code>“number”</code></td><td>Defines how many minutes the upkeep cost lasts.</td><td><code>1440</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.variance_max</mark></td><td><code>“number”</code></td><td>When recieving a random decay rate, this is the maximum scale it can be.</td><td><code>1.005</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">decay.variance_min</mark></td><td><code>“number”</code></td><td>When recieving a random decay rate, this is the minimum scale it can be.</td><td><code>0.995</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">server.debrisdespawn</mark></td><td><code>“number”</code></td><td>Determines the time in seconds for how long building debris should last.</td><td><code>30</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:red;">server.debrisenabled</mark></td><td><code>"0/1"</code></td><td>Determines if debris should spawn from destroying entities.</td><td><code>1</code></td></tr><tr><td><h3><strong>📟🎮</strong>🌌</h3></td><td><mark style="color:red;">server.stability</mark></td><td><code>"0/1"</code></td><td>Determines if building stability is applied.</td><td><code>1</code></td></tr></tbody></table>

## <mark style="color:orange;">Server Admin</mark>

The table below contains a list of **Building Commands** available for <mark style="color:orange;">**Server Admins**</mark> and above.

<table data-full-width="true"><thead><tr><th width="91">Type</th><th width="302">Command</th><th width="123">Input</th><th width="439">Description</th><th>Default</th></tr></thead><tbody><tr><td><h3><strong>📟🎮</strong>🌌</h3></td><td><mark style="color:orange;">codelock.lockoutcooldown</mark></td><td><code>"number"</code></td><td>Controls how long (in seconds) the player is locked out for before being able to re-attempt a Code Lock.</td><td><code>900</code></td></tr><tr><td><h3><strong>📟🎮</strong>🌌</h3></td><td><mark style="color:orange;">codelock.maxfailedattempts</mark></td><td><code>"number"</code></td><td>Controls the maximum amount of incorrect attempts on a Code Lock before it rejects further attempts.</td><td><code>8</code></td></tr><tr><td><h3><strong>📟🎮</strong>🌌</h3></td><td><mark style="color:orange;">construct.demolishabletimeseconds</mark></td><td><code>"number"</code></td><td>Controls the amount of time after a building block is built that it can be demolished for free. Time is measured in real-world seconds.</td><td><code>600</code></td></tr><tr><td><h3><strong>📟🎮</strong>🌌</h3></td><td><mark style="color:orange;">construct.demolishhammer</mark></td><td><code>“0/1”</code></td><td>Toggles the Demolish ability for the Hammer, allowing it to immediately destroy any building block you own.</td><td><code>0</code></td></tr><tr><td><h3><strong>🎮💥</strong></h3></td><td><mark style="color:orange;">construct.getbuildinginfo</mark></td><td><code>none</code></td><td>Prints the building information for the structure you’re looking at to the console log.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>🎮</strong></h3></td><td><mark style="color:orange;">construct.getvendingmachineinfo</mark></td><td><code>none</code></td><td>Prints the building information for the vending machine you’re looking at to the console log.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:orange;">stability.collapse</mark></td><td><code>“number”</code></td><td>Minimum stability % a building block needs to remain stable.</td><td><code>0.05</code></td></tr></tbody></table>
