Skip to content
fromgate edited this page Jun 25, 2017 · 1 revision

Remove item from the specified armor slot.

ITEM_WEAR <item> [slot] [removedItem]

Parameter Parameter value Description
<item> item:<Item> Item, that player should remove
[slot] `slot:<helmet / chestplate / leggins / boots / auto> Armour slot, to put item
[removedItem] item-action:<remove / drop / undress > What to do with already equipped item:
· remove — destroy old item
· undress — move item into player's inventory
· drop — drop item near player

Temporary placeholders provided by this action

Placeholder Description
%item_str% Description of item, that will composed from item's name, data and amount.
Examples:
ITEM_WEAR type:DIAMOND_BOOTS name:{Power boots}
For this action placeholder will return: "Power boots"
%item% Text representation of item that was in player hands before removal, that could be use to "create" another items using actions ITEM_GIVE, ITEM_DROP, etc.
Examples:
1. ITEM_REMOVE type:DIAMOND amount:3 data:5 name:{Power crystal}
For this action placeholder will return: "type:DIAMOND amount:3 data:5 name:{Power crystal}"
2. ITEM_REMOVE type:DIAMOND amount:3 name:{Power .*}
For this action placeholder will return: "type:DIAMOND amount:3 data:5 name:{Power crystal}"
Clone this wiki locally