Wiki
Wiki updated for 0.4
1) How to create an exposition?
Type /expo create display to create an exposition and follow the instructions. You'll have to left click the block you want to expose the item in hand on.
Type /expo create shop <price> to create a shop and follow the instructions. You'll have to left click the block you want to expose the item in hand on.
2) How to remove an exposition?
Type /expo remove and follow the instructions. You'll have to left click the exposition/shop you want to remove.
3) Configuration
language: en checkforupdate: 'true'
language: I think you guessed, it's the language you want. For the moment, only French and English are available. Put fr for french, en for english. You can modify the file as you want in your language ;)
checkforupdate: Allows the plugin to check for updates.
4) Data
If you want to modify exposition's data, go in Exposicraft/data.yml. You'll find all the created expositions.
An exposition is structured like that in the data file:
'0': owner: tchocolate x: -99 y: 65 z: 324 w: world item: org.bukkit.inventory.ItemStack type: DIAMOND_SWORD damage: 1 isshop: false price: -1.0
'0' is an index, don't car about it
owner is the owner of the exposition. Only him/her or an administrator can remove the exposition.
x, y, z and world are the exposition's location. Don't touch it.
item is the itemstack, you can modify some variable of the Item exposed.
isShop is a boolean that tells the plugin if the exposition is a shop or not.
price is the price per unit of a shop. If the exposition is not a shop, the price will be -1.
5) Use shops
To buy an item on a shop, left click it and follow the instructions. You'll have to enter the amount of items you want in the chat. If you want to cancel type /expo cancel
To save the data, use /expo save
To reload the data from the file without saving actual data, use /expo reload-data
Comments