Anyone can create and share their own curation filters! If you have a way to host a text file online, this is typically the easiest approach, and the one we'll focus on here. This allows players to subscribe with a single click, and is easy to update.
Finding Server Details
The most important detail is usually the Server ID, also referred to as the Server Code or Steam ID. Name and IP address can also be useful in some situations.
For Servers Hosted by Someone Else
Pressing the "Clipboard Debug" hotkey (default PageDown) on the server lobby screen copies a variety of public information about the server to your clipboard. For example:
Pressing the key on this server copies the following information to the clipboard:
Name: Nelson's PEI Server
Description:
Thumbnail:
Address: 192.168.48.73
Connection Port: 27016
Query Port: 27015
SteamId: 85568392932910946 (k_EAccountTypeGameServer)
Ping: 1ms
0 workshop file(s):
The server ID in this example is 85568392932910946.
For Your Own Servers
From the server terminal you can execute the CopyServerCode command to copy it to the system clipboard. Alternatively, it's also shown during server startup.
Working with Unturned's Text File Format
We have a documentation page going into more detail, but the basics are:
1. Comment lines start with //
2. Lines start with a "key", typically followed by a value. For examples:
// Key is "Version" and Value is "3.24.7.0"
Version 3.24.7.0
// Key is "Have" and Value is "a nice day!"
Have a nice day!
3. Objects or "dictionaries" are a special value. They start with { and end with }. For example:
// Key is "Item" and Value is an object/dictionary containing two keys and values of its own.
Item
{
Quality 97
Amount 3
}
4. Lists or "arrays" are another special value. They start with [ and end with ]. They only directly contain values. For example:
// Key is "Things" and Value is a list of 4 values:
// 1. "42"
// 2. "Some text"
// 3. A dictionary with two keys and values.
// 4. Another dictionary with two keys and values.
Things
[
42
Some text
{
ID 1
Name George
}
{
ID 2
Name Henry
}
]
Writing Server Curation File
Your curation decisions are written as a list of rules evaluated from top to bottom. Each rule defines an action and a list of filters. When a server matches the filters, the action is applied.
Please refer to the documentation here for information on configuring and writing your file.
The documentation also includes an examples section as a point of reference.
Uploading and Sharing
You can publish your curation file to the web as a .dat or a .txt text file. For example, to a raw text snippet sharing service. Once you have the link, anyone can paste it into the URL field here in the curation menu and click Add Creator:
Clicking on your entry in the list pulls up a menu showing how your rules have been interpreted by the game. You can click Reload in the upper-right to refresh any changes from the web.
Comments
0 comments
Article is closed for comments.