Jump to content

Can we disable the use of /kill for certain players (e.g. prisoners)?


Conquest of Blocks

Recommended Posts

Hi Kai,

currently the /kill command is bound to the chat privilege. You could take it away to avoid players using it, but that will also take away the ability to chat.

Alternatively you could write a tiny mod that unregisters the vanilla kill command, then register your own /kill command and execute "player.Entity.Die()" yourself if your desired conditions are met.

hope that helps ^_^

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.