-
Notifications
You must be signed in to change notification settings - Fork 148
CustomItems
With Magic, you can create two different types of custom items. Magic Items, AKA "Wands", have special custom item data that Magic uses for casting spells, passive effects and other abilities. See Wand Parameters for more info.
Magic also lets you create custom vanilla items. These are regular vanilla items, like you could create with the vanilla "/give" command with no special data or tracking/behavior in Magic.
The /mgive command may be used to give yourself any item- wand or vanilla. You can also give yourself items that you have saved in-game with "/mitem save " or added manually to the items.yml configuration file.
The /mitem command lets you manipulate items in-game in several interesting ways:
/mitem save [worth] : Save an item to a configuration file for use with /mgive, or in a crafting recipe, shop or anywhere else in Magic. The "worth" value is optional, but can be used to centralize prices for shops.
/mitem name : Add a custom display name to an item, supports & escape codes for colors.
/mitem add lore : Add lore to an item /mitem add enchant : Add an enchantment to an item /mitem add attribute : Add an attribute to an item /mitem add flag : Add a flag to an item, can be used to hide vanilla lore
/mitem remove lore [line#] : Remove lore from an item /mitem remove enchant [enchant] : Remove an enchantment from an item /mitem remove attribute [attribute] : Remove an attribute from an item /mitem remove flag [flag] : Remove a flag from an item
/mitem worth : Show the configured worth of an item /mitem duplicate : Duplicate an item /mitem delete : Delete a saved item
- Home
- FAQ
- Support
- Progression
- Spell Points
- Crafting
- Basic Setup
- Customization
- Resource Pack
- Examples
- Messages and Languages
- Vanity Items
- NPCs
- Magic Blocks
- Magic Mobs
- Putting Images on Maps
- Using MySQL or SQLite
- Placeholders
- Skript
- Regions