Перейти к основному содержимому

Corpse Admin Command

Admin command for corpses

Поля

ПолеТипПо умолчаниюОписание
commandStringcorpsesCommand to register, without the leading slash.
permissionStringtypewriter.corpse.adminPermission required to run it.
noCorpsesMessageString<gray>No corpses on the server.Reply to the list subcommand when no corpse exists. Leave empty for no reply.ПлейсхолдерыЦвета
listHeaderMessageString<red>☠ <gray><count> corpse(s):First line of the list subcommand. Placeholder: <count>, the number of corpses. Leave empty for no line.ПлейсхолдерыЦвета
listEntryMessageString<gray>- <white><player></white> at <white><x>, <y>, <z></white> in <white><world></white> (<yellow><items></yellow> items, <yellow><xp></yellow> xp)One line per corpse in the list subcommand. Placeholders: <player> the dead player, <x> <y> <z> and <world> where the corpse lies, <items> the stacks it holds, <xp> the experience it holds.ПлейсхолдерыЦвета
unknownWorldLabelStringunknownShown in place of <world> when a corpse's world is no longer loaded.Цвета
clearedMessageString<green>Removed <count> corpse(s).Reply to the clear subcommand. Placeholder: <count>, the number of corpses removed. Leave empty for no reply.ПлейсхолдерыЦвета

How to use it​

The entry registers the command named in command (default corpses, without the slash) with the sub-commands list and clear. Only players with the permission in permission (default typewriter.corpse.admin) can run it. clear removes corpses without firing on_corpse_expire, so owners are not penalised.