-
Notifications
You must be signed in to change notification settings - Fork 3
Command
Lenient Death's command allows you to:
- Configure the mod in-game,
- If enabled, allows players to change their own per-player settings,
- Run various utilities to help configure the mod.
A list of names to use for Lenient Death's command. This can be useful if it conflicts with another mod / plugin. To disable the command completely,
use an empty list ([]). Requires a world reload (on a singleplayer world), or a server restart (on a dedicated server) to take effect.
- Options: A list of single-world strings.
- Default:
["lenientdeath", "ld"]. - Commands:
-
/ld config command commandNames- list all current command names -
/ld config command commandNames add <commandName>- add a command name for Lenient Death's command, to be applied on world reload. -
/ld config command commandNames remove <commandName>- remove a command name from Lenient Death's command, to be applied on world reload.
-
Does not require any special permissions, though will not be sent if a player cannot use any subcommands.
/lenientdeath-
/ld(alias)
Allows a player to view and edit their own or others' Per-Player settings, if enabled on the server. For more information, see Per-Player.
/lenientdeath perPlayer <subcommand>
Allows a player to check their own Per-Player status.
-
/lenientdeath perPlayer check- Check your own Per-Player status.
/ld perPlayer check
Requires Per-Player mode to be enabled for items and/or experience.
If the player has the ability to check others' status or change their own status, then they are implicitly allowed to use this command.
- Permissions Key:
lenientdeath.command.per_player.check_self - Otherwise: Always Available
Allows a player to check another person's Per-Player status.
-
/lenientdeath perPlayer check <player>- Check another player's Per-Player status.
/lenientdeath perPlayer check jeb_/ld perPlayer check Dinnerbone
Requires Per-Player mode to be enabled for items and/or experience.
If the player has the ability to change others' status, then they are implicitly allowed to use this command.
- Permissions Key:
lenientdeath.command.per_player.check_others - Otherwise: Operator (permission level >=
4).
Allows a player to change their own Per-Player status.
-
/lenientdeath perPlayer <enable|disable>- Enable or disable your own Per-Player status.
/lenientdeath perPlayer disable/ld perPlayer enable
Requires Per-Player mode to be enabled for items and/or experience.
If the player has the ability to change others' status, then they are implicitly allowed to use this command.
- Permissions Key:
lenientdeath.command.per_player.change_self - Otherwise:
$.perPlayer.playersCanChangeTheirOwnSettingistruein the config.
Allows a player to change another person's Per-Player status.
-
/lenientdeath perPlayer <enable|disable> <player>- Change another player's Per-Player status.
/lenientdeath perPlayer enable jeb_/ld perPlayer disable Dinnerbone
Requires Per-Player mode to be enabled for items and/or experience.
- Permissions Key:
lenientdeath.command.per_player.change_others - Otherwise: Operator (permission level >=
4).
Allows a player to edit Lenient Death's config. For more details on configuring a specific feature with the command, see it's respective page. For more information on the available presets, see the overview
-
/lenientdeath config <..config command>. -
/lenientdeath config presets <preset name>.
/lenientdeath config perPlayer playersCanChangeTheirOwnSetting/ld config extendedDeathItemLifetime enabled true/ld config presets generous
- Permissions Key:
lenientdeath.command.config - Otherwise: Operator (permission level >=
4)
Version: 1.2.0+
Lenient Death saves player's inventories at time of death, and allows admins to restore them. For more information, see Restore Inventory.
- Permissions Key:
lenientdeath.command.restore_nventory - Otherwise: Operator (permission level >=
4)
/ld deaths list - List the running user's past deaths.
/ld deaths list <player> - List the given user's past deaths.
By default, restoring an inventory will replace the player's current experience with the saved amount.
/ld deaths restore <player> <deathIndex> - Give the given player a copy of the inventory from that death. This version drops any items that do not fit in their inventory.
/ld deaths restore <player> <deathIndex> replace - Replace the given player's inventory with the copy from the given death. This deletes any items currently in the player's inventory.
A collection of utilities you may find useful for configuring the rest of the mod.
/lenientdeath utilities <utility>
Allows you to check if a given item would pass Lenient Death's preservation checks based on the current configuration.
-
/lenientdeath utilities test- Test if the item in your main hand would pass Lenient Death's preservation check. -
/lenientdeath utilities test <itemstack>- Test if the specified item would pass Lenient Death's preservation check.
/lenientdeath utilities test/ld utilities test diamond_sword{Soulbound: 1b}
- Permissions Key:
lenientdeath.command.utility.safe_check - Otherwise: Operator (permission level >=
4)
Lists all items in a given item tag to chat.
-
/lenientdeath utilities listItemsInTag <tag>- List all items currently in the given item tag.
/lenientdeath utilities listItemsInTag lenientdeath:safe/ld utilities listItemsInTag c:axes
- Permissions Key:
lenientdeath.command.utility.list_tag_items - Otherwise: Operator (permission level >=
4)