SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

World Border

XBy Xel

Prevent players from going too far away

World Border

Description

<p>A serverside-only world border mod. Players that walk past a configured max radius from the center of the map will be teleported back within the radius a little ways from the edge. Translocators that would take the player outside of the allowed area are disabled.</p> <hr> <p>Config options:</p> <table style="border-collapse: collapse; width: 100%; height: 220px;" border="1"> <tbody> <tr style="height: 18px;"> <td style="width: 14.4421%; height: 23px;"><code>WorldRadiusChunksXZ</code></td> <td style="width: 52.2245%; height: 23px;">The radius of the worldborder in each direction, <span style="color: #2880b9;"><strong>in chunks</strong></span>.</td> </tr> <tr style="height: 51px;"> <td style="width: 14.4421%; height: 51px;"><code>WorldBorderPaddingBlocks</code></td> <td style="width: 52.2245%; height: 51px;">The distance away from the border players will be teleported if they go past the border, in blocks.</td> </tr> <tr style="height: 22px;"> <td style="width: 14.4421%; height: 22px;"><code>CheckIntervalSeconds</code></td> <td style="width: 52.2245%; height: 22px;">How often to check player positions, in seconds.</td> </tr> <tr style="height: 22px;"> <td style="width: 14.4421%; height: 22px;"><code>NewPlayerCheckDelaySeconds</code></td> <td style="width: 52.2245%; height: 22px;">How long to wait before starting to enforce a newly joined player's position, in seconds</td> </tr> <tr style="height: 34px;"> <td style="width: 14.4421%; height: 34px;"><code>BorderShape</code></td> <td style="width: 52.2245%; height: 34px;">The shape of the border. Either <span style="color: #e74c3c;"><code>Square</code></span> or <span style="color: #e74c3c;"><code>Circle</code>.</span></td> </tr> <tr style="height: 34px;"> <td style="width: 14.4421%; height: 34px;"><code>PreventFarTranslocatorExits</code></td> <td style="width: 52.2245%; height: 34px;">Whether to stop translocators from picking exits outside the border. May cause translocators to never find an exit if the border is small (&lt;12 chunks).</td> </tr> <tr style="height: 17px;"> <td style="width: 14.4421%; height: 17px;"><code>WorldCenter</code></td> <td style="width: 52.2245%; height: 17px;">X and Z world coordinates of the center point of the radius</td> </tr> <tr style="height: 17px;"> <td style="width: 14.4421%; height: 17px;"><code>LoopEdges</code></td> <td style="width: 52.2245%; height: 17px;">Whether to loop around to the other side of the world when going over the edge</td></tr></tbody></table>

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.