Tool:ShopW

From ETM
Jump to navigation Jump to search
library fromcommandoverwrite schema_t_shopw minecraft:warped_sign{display:{Lore:['{"text":"@Tool:t_shopw"}'],Name:'[{"text":"[","color":"#AA0A0A"},{"text":"⚒","color":"gold","bold":true},{"text":"] ","color":"#AA0A0A"},{"text":"Shop: Warped","color":"dark_green"}]'}}

fcraft enabled t_shopw false
ftool delete t_shopw 
fcraft delete t_shopw 

fcraft create t_shopw bookshelf,bookshelf,bookshelf,bookshelf,warpedsign,bookshelf,bookshelf,chest,bookshelf schema_t_shopw 
#fcraft description t_shopw 1 "Allows you to creat shops with a warped sign"
fcraft shaped t_shopw true

ftool create t_shopw schema_t_shopw
ftool unique t_shopw true
ftool soulbound t_shopw true
ftool limiteduse t_shopw true 100
ftool linkrecipe t_shopw true

ftool setEventTrigger t_shopw org.bukkit.event.player.PlayerInteractEvent
ftool setmethodname t_shopw createShop 2
#ftool setmethodparam t_shopw 0 de.k.kadi.api.features.tools.IToolData
ftool setmethodparam t_shopw 1 org.bukkit.Material WARPED_WALL_SIGN

ftool testmethod t_shopw