Difference between revisions of "Talk:Unturned: Server"
m (→command examples) |
(→Unity startup arguments: new section) |
||
Line 31: | Line 31: | ||
/zone add flag zonename noPvP | /zone add flag zonename noPvP | ||
/zone remove flag zonename noPvP | /zone remove flag zonename noPvP | ||
+ | |||
+ | == Unity startup arguments == | ||
+ | |||
+ | ServerHelper.sh script does the following: | ||
+ | |||
+ | Runs ./Unturned_Headless.x86_64 -batchmode -nographics with any additional parameters passed | ||
+ | |||
+ | The purpose of that script is to allow any future important Unity startup arguments to be passed to added without hassling existing servers. (-batchmode and -nographics are both Unity options important for dedicated servers) | ||
+ | |||
+ | ./Unturned_Headless.x86_64 -batchmode -nographics -ThreadedConsole -port 12345 -maxplayers 36 -name Happy Server -perspective both -map MyCustomMap -mode normal -owner 12345678901234567 -password -gslt +secureserver/unturned |
Latest revision as of 07:34, 6 May 2023
Unturned Website Web Site Link Lobby URL
On the game's lobby screen, servers can specify links to any related websites which are relevant to the community. To do this, you must make the appropriate changes in the Config.json file and restart the server.
The "Links" field, located around line 10, is an array, so you can have multiple entries, where each one has a rich text "Message" and "Url" field. For example:
"Links": [ { "Message": "Our Website", "Url": "https://examplesite.com/" }, { "Message": "<color=#2979ff>Discord Server</color>", "Url": "https://robotz.com/discord" } ]
In the above example, the first message will read as Our Website which will lead to http://robotz.com when clicked. The second message will read as Discord Server with a specified color, and lead to http://robotz.com/discord when clicked.
command examples
- how to set a warp
/setwarp <warp name>
edit the Servers/unturned/Rocket/Permissions.config.xml file and add the following:
<Permission Cooldown="1800">essentials.command.warp</Permission> <Permission Cooldown="1">essentials.command.warps</Permission> <Permission Cooldown="1">essentials.warp.warpname</Permission>
place those in the desired group.
- how to set and manage a safezone
/zone add zone zonename /zone add node zonename /zone remove node zonename 1 /zone list zones /zone show border zonename on /zone add flag zonename noPvP /zone remove flag zonename noPvP
Unity startup arguments
ServerHelper.sh script does the following:
Runs ./Unturned_Headless.x86_64 -batchmode -nographics with any additional parameters passed
The purpose of that script is to allow any future important Unity startup arguments to be passed to added without hassling existing servers. (-batchmode and -nographics are both Unity options important for dedicated servers)
./Unturned_Headless.x86_64 -batchmode -nographics -ThreadedConsole -port 12345 -maxplayers 36 -name Happy Server -perspective both -map MyCustomMap -mode normal -owner 12345678901234567 -password -gslt +secureserver/unturned