|
These options are applicable to all items, and go under the Options field:
|
|
These options are applicable to all items, and go under the Options field:
|
|
|
|
|
|
| Option | Description |
|
|
| Option | Description |
|
|
|------------------------------|----------------------------------------------------------------|
|
|
|------------------------------|-------------------------------------------------------------------------|
|
|
| CancelDamage: [true/false] | Prevents the item from doing physical damage on melee hit. |
|
|
| CancelDamage: [true/false] | Prevents the item from doing physical damage on melee hit. |
|
|
| Destroy: [true/false] | If true, the item will be removed from every player. Used to remove a matching item from the server. |
|
|
| Destroy: [true/false] | If true, the item will be removed from every player. Used to remove a matching item from the server. |
|
|
| DestroyOnDrop: [true/false] | Destroys the item if the player drops it. |
|
|
| DestroyOnDrop: [true/false] | Destroys the item if the player drops it. |
|
|
| KeepOnDeath: [true/false] | Players won't drop the item on death. |
|
|
| KeepOnDeath: [true/false] | Players won't drop the item on death. |
|
|
| PreventDropping: [number] | Prevents the item from being dropped. |
|
|
| PreventDropping: [number] | Prevents the item from being dropped. |
|
|
| Permission: [perm.node] | Required perm node to have this item. If the player doesn't have the permission, it will be removed from their inventory when they attempt to use it (use permission conditions in skills if you just want to prevent skill usage).
|
|
| Permission: [perm.node] | Required perm node to have this item. If the player doesn't have the permission, it will be removed from their inventory when they attempt to use it (use permission conditions in skills if you just want to prevent skill usage). |
|
|
| Placeable: [true/false] | Allows the item to be placed in the world |
|
|
| Placeable: [true/false] | Allows the item to be placed in the world |
|
|
| PreventAnvil: [true/false] | Prevents the item from being used in an anvil. |
|
|
| PreventSmithing: [true/false]| Prevents the item from being used in an anvil. |
|
|
| PreventCrafting: [true/false]| Prevents the item from being used to craft other items. Defaults to true for items with CustomModelData. |
|
|
| PreventCrafting: [true/false]| Prevents the item from being used to craft other items. Defaults to true for items with CustomModelData. |
|
|
| PreventEnchanting: [true/false]| Prevents the item from being enchanted. | |
|
| PreventEnchanting: [true/false]| Prevents the item from being enchanted. | |
|
\ No newline at end of file |
|
\ No newline at end of file |