Items

The Items module provides commands to obtain items, edit and customize item data.


Commands

The table below shows default command settings. Please see the Commands Guide on how to toggle and customize SunLight's commands.

Standalone Commands [?]

Command Arguments Description Permission Default State
/itemamount amount Change item stack size. sunlight.items.command.item.amount OFF
/itemdamage damage Change item damage value. sunlight.items.command.item.damage OFF
/addenchant enchantment level Add enchantment to item. sunlight.items.command.item.enchant
sunlight.items.command.item.enchant.unlimited
OFF
/removeenchant enchantment Remove enchantment from item. sunlight.items.command.item.disenchant OFF
/getitem item amount Get item to inventory. sunlight.items.command.item.get ON
/giveitem player item amount Give item to a player. sunlight.items.command.item.give ON
/itemmodel model Set custom model data value. sunlight.items.command.item.model OFF
/rename name Rename item with custom name. sunlight.items.command.item.name ON
/repair /fix - Repair item. sunlight.items.command.item.repair ON
/dropitem item x y z world amount Drop item in the world. sunlight.items.command.item.drop OFF
/unbreakable - Toggle item's unbreakable state. sunlight.items.command.item.unbreakable ON

Root Command [?]

Command Arguments Permission Default State
/item /i help amount damage enchant disenchant get give model name repair spawn unbreakable sunlight.items.command.item.root ON

Standalone Commands [?]

Command Arguments Description Permission Default State
/addlore text Add text line to item's lore. sunlight.items.command.lore.add OFF
/inslore pos text Insert text line to item's lore. sunlight.items.command.lore.insert OFF
/dellore pos Delete text line from item's lore. sunlight.items.command.lore.remove OFF
/clearlore - Clear item's lore. sunlight.items.command.lore.clear OFF

Root Command [?]

Command Arguments Permission Default State
/lore /itemlore help add insert remove clear sunlight.items.command.lore.root ON