You can grant admin and whitelist privileges - or ban players - by adding their unique identifier to the desired file. The relevant files can be found in the DSTClusterConfig/
folder.
DSTClusterConfig/
adminlist.txt
blocklist.txt
whitelist.txt
See below what each of these actually means and how to get the players identifiers.
adminlist.txt
)Grant admin powers with caution . As per the official Wiki:
An administrator has the ability to kick and ban users in the game, as well as to execute arbitrary lua on the server. WARNING: Only grant administrator rights to those who the GSA would trust with full access to their server / machine.
whitelist.txt
)Whitelisted players have guaranteed access to your server at all times, regardless.
Examples:
blocklist.txt
)Quite straightforward. Don't want someone messing around your world? Add them to this list.
Remember you can kick/ban players from the game interface! That will add the player to the blocklist.txt
file automatically for you.
The identifiers are usually (they might vary a bit) 11 characters long, always prefixed by KU_
followed by 8 (or more) alphanumeric characters ([a-zA-Z0-9]
). Examples: KU_A1b2C3d4
, KU_aAaA11bB
, KU_zyXWFegd
.
Once you have the ids, add them - one per line - in the file you want. Example of adminlist.txt
:
KU_A1b2C3d4
KU_aAaA11bB
KU_zyXWFegd
There are a few ways to get the player identifier. Here's 2 methods for you to choose the one that suits you best:
Easiest one if you have access to the server logs. Watch the logs (tail -f
- or however you prefer) while the desired player is joining. You'll see some messages like these:
[01:52:27]: New incoming connection 123.123.123.123|44444 -- IP Address|Port from client connecting
[01:52:27]: Client connected from 123.123.123.123|44444
[01:52:27]: ValidateGameSessionToken pgs-usc^KU_aBCd1234^DontStarveTogether^1cx+crazyEncryptedTokenHash/yolol9=
[01:52:28]: Client authenticated: (KU_aBCd1234) WesIsTheBes
You can see the identifier shows up twice. It's easier to visualize in the last line, where you can also see the player's nickname on Steam. From this example:
KU_aBCd1234
WesIsTheBes
(:thinking:)Sounds weird but it works quite well. This way the player id will show up in blocklist.txt
. All you have to do is to move it from there to your desired adminlist.txt
or whitelist.txt
.
Don't forget to actually (re)move it from
blocklist.txt
or that player won't be able to join the server!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。