Corpse Admin Command
Admin command for corpses
フィールド
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
command | String | corpses | Command to register, without the leading slash. |
permission | String | typewriter.corpse.admin | Permission required to run it. |
noCorpsesMessage | String | <gray>No corpses on the server. | Reply to the list subcommand when no corpse exists. Leave empty for no reply.プレースホルダーカラー |
listHeaderMessage | String | <red>☠ <gray><count> corpse(s): | First line of the list subcommand. Placeholder: <count>, the number of corpses. Leave empty for no line.プレースホルダーカラー |
listEntryMessage | String | <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.プレースホルダーカラー |
unknownWorldLabel | String | unknown | Shown in place of <world> when a corpse's world is no longer loaded.カラー |
clearedMessage | String | <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.