Item-for-item Buy Sign / Item Exchange Signs
What it does
Itemex allows you to sell custom items for custom item-based currencies, done through signs.
Permissions
- itemex.use - Allow you to use the signs.
Usage
- Define a custom currency in the config
- Define a custom item in the config
- Set the parameters for finding signs
- Start the server
- Right click on a sign
Configuration
lang: inventoryFull: '§cThere is not enough space in your inventory' notEnoughMoney: '§cYou don''t have the required amount of money' success: '§aYou bought %amount %item' currencies: gold: #The name of the currency ==: org.bukkit.inventory.ItemStack type: GOLD_INGOT meta: ==: ItemMeta meta-type: UNSPECIFIC display-name: Admin Gold enchants: DURABILITY: 10 #The above is a serialized version of an ItemStack which is kind of hard to edit manually #I will add a command later sign: boots: #Can be any name you want, but has to be different for every item sign: - '^.*Fancy Boots.*' - '^.*' - '^.*' - '^.*' #These are regex codes, all four lines have to match with the four lines of the sign #Quick regex tips: #.* means match anything for any length #matches ANY text #.*sometext.* means match 'sometext' surrounded by any characters for any length #matches: klnjsometexthfushd #sometext.* means match 'sometext' followed by any characters for any length #matches: sometexthfiaushd #sometext means match 'sometext' only when present alone #matches: sometext price: currency: 'gold' #The name of the above listed currencies to use amount: 2 #The amount of needed (currency) itemstacks item: ==: org.bukkit.inventory.ItemStack type: LEATHER_BOOTS meta: ==: ItemMeta meta-type: LEATHER_ARMOR display-name: ~Fancy Boots~ enchants: PROTECTION_ENVIRONMENTAL: 10 PROTECTION_FIRE: 10 DURABILITY: 10 PROTECTION_EXPLOSIONS: 10 PROTECTION_PROJECTILE: 10 repair-cost: 4 color: ==: Color RED: 255 BLUE: 0 GREEN: 0
Support
Please create a ticket or comment if you find any errors or you have any suggestions.
Source
You can find the source code in the plugin jar file.
Comments