enchantment_command_manifest
Admin command for giving custom enchantment books — misc entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | enchantment_command_manifest |
| Type | Misc |
| Color | Orange |
| Icon | mdi:console-line |
Description
Registers the admin command for the enchantment system through the engine's [CustomCommandEntry] pipeline: /{commandName} give <player> <enchant> [level].
Fields
| Field | Type | Description |
|---|---|---|
commandName | String | Name of the admin command |
adminPermission | String | Permission required to use the command |
playerNotFound | String | Message sent when the target player is not online |
enchantmentNotFound | String | Message sent when no enchantment matches the given name |
bookGiven | String | Message sent when the book has been given (placeholders: {player}, {enchant}, {level}) |
Usage Example
- entry: enchantment_command_manifest
name: "Admin command for giving custom enchantment books"
commandName: ""
adminPermission: ""
playerNotFound: ""
enchantmentNotFound: ""
bookGiven: ""