AdminShop
Buy or Sell Items by Command!
This plugin allows server admins to create an admin shop, where players are able to buy or sell items with a command. It is possible to add each item in the shop and set the prices, so you can create a custom admin shop for your Server!
This Plugin depends Vault!
- Vault must be installed on the server, so that this plugin works.
- Vault: http:dev.bukkit.org/server-mods/vault/
- In addition, you need a economy plugin which manages your accounts like Essentials Eco or iConomy.
Commands & Permissions
- See commands ingame with /shop or look at the image above
- Permissions: adminshop.command.<CommandName> (f.ex. adminshop.command.buy) .
Short Tutorial
You want players to be able to buy dirt but not to be able to sell it.
- First you take dirt in your Inventory
- Select the item (Item in Hand)
- Type /shop add [Price for 1 Dirt] -1 (This means players can buy 1 dirt for '[Price for 1 Dirt]' but can't sell it because of '-1')
- Now dirt was added to the shop
- You can now buy dirt by typing /shop buy 3 10 (You will buy 10 dirt)
Or watch the video:
Looks good! Is there a way to sell a specific item from your inventory rather than hand or all? It'd be really useful for my server.
Can you add German args? pls
You might want to use http://dev.bukkit.org/bukkit-plugins/chestshop/
It has adminshop also
@delta242
It really is a shame.
I wan a make a shop all from scratch. also when i do /shop add (diamond) it will say that that item is already added. so i do /shop delete (diamond) it says item is not in the shop. please help me. How do i completely start my shop from scratch
@delta242 Mind posting the source so someone can take over then? I'd hate to see some people drop the plugin because of some silly bugs.
@miniluigi008
Yea, this pretty much kills this plugin. A shame, since it seems it could be an easy fix (but I don't know).
There really isn't a good alternative for 1.7...
I'm sorry, i won't continue this project, so bugs won't be fixed in the future.
There seems to be a problem where items are sold but not accounted for. For example:
One player has an inventory full of iron ingot stacks. The player uses "/shop sell hand" and the shop sells 64 of them for $2,624 (@$41 each.) However, the rest of the player's iron ingots are taken, and the player ends up losing money.
There's nothing in the console to show any errors, so I'm thinking this is just a coding mistake. Please fix it! And thanks for making this plugin, it really helped me out.
If you're accepting suggestions, maybe have some default aliases built into the plugin. Thanks in advance, miniluigi008
An internal error occurred while attempting to perform this command
:OO PLS HELP
doesnt work, needs to update to 1.6.4
Thanks Dude Does This Work For Normall Players?
@firetornado117
nevermind i forgot to download vault.
isnt working on my server. i built the sign and i sell something and it says you bought 1 cobblestone for . i then try to buy stuff and i did calculate how much money i should have and it says i don't have enough money. i built the sign like this: adminshop 1 B 5:5 S cobblestone
this happens with all items and i didnt do the B S stuff i just put 5:5 but it came out like that. can you tell me what im doing wrong or fix it please? i was really looking forward to using this. please private message (pm) me.
not working in my server :( but np
awesome
love it <3 :D
If craftconomy supports Vault, yes.
Does this plugin support craftconomy 3?
Very, very nice plugin. Actually perfect! I like your idea and plugin perfection, Thank you, it really is awesome! :)