Don't Starve Together

Don't Starve Together

56 ratings
Empty Inventory
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
142.088 KB
Aug 17, 2015 @ 3:23am
1 Change Note ( view )

Subscribe to download
Empty Inventory

Description
It makes Players who are out of the white list empty their inventory and drop everything they have upon leaving, which protect your server from someone taking something important.

Here are the usage of the mod

Press "~" to open the console;

Execute "player()" to show the number of a specific player.

And of course, you can see the number on the list you see when pressing tab;

!!!( "" is not included )!!!

Execute "addlist(num)" to add a player to the white list;

Execute "rmlist(num)" to remove a player from the white list;

Execute "list()" to show the white list. The player who is not in the server at present will not show in the white list.

PS

Defautly, no one is in the white, which means that everybody will drop stuffs.

If the admin shuts down the server when someone is still in the server, he/she will not drop his/her items. To make sure that they drop, your should wait until they leave the server or just kick them. :)

This project is under the GNU GENERAL PUBLIC LICENSE [www.gnu.org]

Source code

Source code is available at GitHub: https://github.com/jupitersh/dst-mod-empty-inventory
29 Comments
iRiolu Aug 1, 2021 @ 4:30pm 
Obsolete now
danieru Dec 16, 2020 @ 8:15am 
You need to change the Console mode to "Local" by pressing Control, otherwise it won't work
单排已经很困难了,就 Dec 11, 2020 @ 7:58pm 
好的,期待
辣椒小皇纸  [author] Dec 11, 2020 @ 6:08am 
等我有空吧
单排已经很困难了,就 Dec 10, 2020 @ 8:45pm 
在st找了很久,又去百度,转到贴吧,找到了up的帖子,这才找到这里,求更新,其他的mod功能太多,有和我自己本身的mod重复,所以只想要这种单独的mod
单排已经很困难了,就 Dec 10, 2020 @ 8:43pm 
求更新啊,最近给路人坑怕了,进游戏拿了东西就走,真的是被搞的心态爆炸,都不懂自己一个人收集资源多困难,需要多少时间。求加个菜单,白名单,设置除了草、树枝、食物可以带走以外,其他的都不行就可以了。
辣椒小皇纸  [author] Dec 10, 2020 @ 7:26am 
hhh 五年前的mod了 我都忘了还有这个mod
单排已经很困难了,就 Dec 10, 2020 @ 2:28am 
能不能更新方便一点啊,看介绍,mod操作困难的很
Zygalo Nov 2, 2020 @ 3:46am 
Can anyone explain to me how this works? I can't see any numbers upon typing player() in the console
DeathBurst Apr 12, 2020 @ 8:38pm 
I love the principle, but in practice it seems to be unreliable. The whitelist is sometimes reset for no apparent reason, or people in the whitelist will still drop their items anyway. Any idea what could be happening?