Tool:ShopO

From EscapeToMars
Jump to navigation Jump to search
library fromcommandoverwrite schema_t_shopo minecraft:oak_sign{display:{Lore:['{"text":"@Tool:t_shopo"}'],Name:'[{"text":"[","color":"#AA0A0A"},{"text":"⚒","color":"gold","bold":true},{"text":"] ","color":"#AA0A0A"},{"text":"Shop: Oak","color":"dark_green"}]'}}

fcraft enabled t_shopo false
ftool delete t_shopo 
fcraft delete t_shopo 

fcraft create t_shopo bookshelf,bookshelf,bookshelf,bookshelf,oaksign,bookshelf,bookshelf,chest,bookshelf schema_t_shopo 
#fcraft description t_shopo 1 "Allows you to creat shops with a birch sign"
fcraft shaped t_shopo true

ftool create t_shopo schema_t_shopo
ftool unique t_shopo true
ftool soulbound t_shopo true
ftool limiteduse t_shopo true 100
ftool linkrecipe t_shopo true

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

ftool testmethod t_shopo