[Plugin] ChestShop 3.40 (iConomyChestShop) - Chest&sign shop

Tutos, Infos, Maj, Plugins, Mods
Avatar du membre
darwine

Signature et avatar Posteur newbie Posteur confirmé Posteur pro Posteur expert Posteur amateur Le régulier Donateur Recruteur Membre 1 an Membre 2 ans Membre 3 ans Role play
Administrateur du site
Administrateur du site
Messages : 3936
Enregistré le : 25 avr. 2010, 16:14
Medals : 13
Jeux joués : Smite avant tout!
Mais je reste ouverte à tout type de jeu.
Zodiac : Cancer
Contact :

[Plugin] ChestShop 3.40 (iConomyChestShop) - Chest&sign shop

Message non lupar darwine » 29 avr. 2012, 17:14

http://dev.bukkit.org/server-mods/chest ... /28-v3-40/


[img=center]http://r0x.fr/site/images/chestshop.png[/img]


Iconomy Chestshop :


Iconomy Chestshop vous permet d'avoir un magasin dans une des villes de notre monde. Une fois Résident, vous pourrez acheter et vendre dans ces magasins, et ceux des admins.
Demandez à un des admins de vous créer un magasin (avec l'accord du maire bien entendu)

Acheter : Il vous suffit de faire un clique droit sur le panneau pour acheter la ressource au prix et à la quantité indiqués.
strong> Vendre : Cliquez simplement avec le bouton gauche de votre souris sur le panneau.
Prix d'achat : Il est indiqué après le B : sur le panneau.
Prix de vente : C'est le chiffre après le S : .
Quantité : Elle est indiquée sur la ligne sous les prix.

C'est tout ce dont vous aurez besoin pour le moment, notez qu'un plugin "fait maison" est en cours de fabrication et ajoutera de nouvelles fonctionalités ausystème économique actuel.




ChestShop 3.40 (iConomyChestShop) - Chest&sign shop for economy plugins [1.2.5-R1.2]


Permissions:
Easy to copy: http://pastebin.com/aBb36xwJ

ChestShop.shop.create - lets you create shop
ChestShop.shop.buy - lets you buy from shops
ChestShop.shop.sell - lets you sell to shops



ChestShop.nofee - lets you create shops for free

ChestShop.mod - lets you open other people's chests, but doesn't let you create admin shops
ChestShop.admin - ChestShop.mod + ability to create admin shops, etc.


You can also add ".itemID", where itemID is... well... item id.
ChestShop.shop.create.itemID - lets you create shop which buys/sells itemID.
ChestShop.shop.buy.itemID - lets you buy itemID from shops
ChestShop.shop.sell.itemID - lets you sell itemID to shops

How to create a ChestShop?
- Place a chest, if you haven't already.
- Place a sign 1 block near the chest (for example, above the chest)
- On the sign, write:


(Item name can actually be item ID or alias)
First line will be filled in by the plugin automatically.
Price is a combination of buy and sell price.
You have to have B near buy price (people buy from you), and S near sell price (people sell to you).
If you have both B and S, separate them with a colon - :
For example:


means that AcrobotPL wants to sell 64 diamonds for 10 currency, and buy them back from you for 5 currency.
Also, if you put "free" instead of price, it is free to buy or sell

- Now, when you finish editing the sign, if LWC is turned on in config, shop will be automatically created.
Also, if your default protection is turned on in the config, people won't be able to break chest, sign or the block the sign is on

What is an Admin Shop?
Admin shop is the shop that doesn't require a chest, because it has infinite stock.
If you sell to it, the items will disappear, and if you buy from it, items will magically appear.
To create one, you have to be Admin/OP. Just put "Admin Shop" (or anything specified in config file) on the first line of the sign.

Restricting shops to some groups or regions
You can either use permissions, or you can just put a sign ABOVE shop sign (you need to be in that group to create the sign) to restrict it to players with ChestShop.group.groupName permission
The syntax is:
[restricted]
firstGroupName
2ndGroupName
3rdGroupName
Only those groups will be able to use that shop


To restrict a shop to some regions:
- If you're using Towny, turn TOWNY_INTEGRATION on. Residents will be able to create shops in economy plots (either their or, if specified in config, any)
- If you're using WorldGuard, you can use an experimental "chestshop" flag. Turn WORLDGUARD_INTEGRATION on and flag a region. (f.e. /region flag ChestShopRegion chestshop allow)

Do you want to limit the maximum prices for items?
Well, there's an app.... wait, not that : P
You can use an experimental feature in ChestShop.
In your config.yml, add lines like:
max-buy-price-5: 14
max-sell-price-5: 15

That means that the maximum price for items BOUGHT by PLAYER is 14, and items SOLD by PLAYER using the shop is 15.

You can also use a global setting, like this:
max-sell-price: 200

That means that the maximum price for items SOLD to PLAYER is 200 (if there is, for example, a max-sell-price-5 found, it will be used instead of the global sell price)

USING SHOPS
You could buy and sell by right and left clicking the sign for a long time.
Now it's the only way to use the shops.
It's SIMPLE!
Just LEFT-CLICK to SELL to shop, and
RIGHT-CLICK to BUY from shop.
(This can be changed in the config file)

DESTROYING SHOPS
If you want to delete your old shop, simply SNEAK and destroy the sign.
It's that easy =)

STOCKING THE SHOPS
You can either open the chest and stock it up, or click on your own sign - it will open chest's inventory (that way you can have chests not openable by other people for sure )

ItemInfo command
It's a simple command that shows item information.
If you use it without any arguments, it shows you information about the item you're holding.
If you specify item id or item name after the command, it will show you information about that item.

Source code
ChestShop is Open-Source =)
You can find its code on https://github.com/Acrobot/ChestShop-3



Image

Image


Image
Image

Avatar du membre
ReFLExX
Membre
Membre
Messages : 1459
Enregistré le : 30 janv. 2011, 12:37
Jeux joués : WarZ | Infestation
League Of Legends
Cod4
Minecraft
Mw3
Zodiac : Aquarius

Re: [Plugin] ChestShop 3.40 (iConomyChestShop) - Chest&sign

Message non lupar ReFLExX » 29 avr. 2012, 21:52

De nouveau fonctionnel, génial!!


Image

Image


Retourner vers « Tuto Minecraft »

Qui est en ligne

Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 1 invité

cron

Search

Nothing to display.

Login