Don't Starve Together is fun, but public servers attract trolls once in a while. Someone dies, they steal that player's stuff, and won't give it back.
I'm an admin on a server. I can easily ban them, but the stolen stuff disappears with them. I can rollback, but that's a bit overkill (10 players lose a day's work because of one troll).
I can execute basic console commands: c_give, c_spawn, c_move, c_save, c_rollback, c_regenerateworld, but can't install mods.
What command(s) can I execute to force trolls to drop their inventory (killing them is acceptable), before I kick/ban them?
32 Answers
There is a full list of the commands on the wiki.
I think this one would to the job (killing him, hence dropping the precious items) : AllPlayers[number]:PushEvent('death')
number being, of course, the identifier of the troll, which you can determine from c_listallplayers().
You can spawn something to kill him, grab all the stuff and then ban him. You get the stuff, the trolls get out of your server.
I am not really good with admin tools for Don't Starve Together though, so I can't post any commands for you, but just a simple idea.
1