GlobalShop
A simple global shop which is used through commands.
To use GlobalShop you must install one of the following Economy plugins:
- iConomy 4,5 or 6
- BosEconomy 6 or 7
- Essentials Economy 2.2.17+
- MultiCurrency
The first found Economy plugin is used. Economy functions are used through Nijikokun's Register API which is implemented in GlobalShop.
Globalshop v0.8 now supports (and requires) Vault
Features
- Shop that can be accessed from everywhere.
- Add customizable item names.
- Damage/Color can be defined in config. So you can sell for example black_wool.
- Considers the durability of an item to calculate the selling price.
- Set the sellratio. This defines how much money you get for selling an item. Default is 80%.
- All commands can be renamed to your wish by re-configuring the aliases in plugin.yml HowTo.
Permissions
There are ParentPermissions for SuperPerms: globalshop.trade.* and globalshop.admin.*
- 'globalshop.trade.buy' -> Allow /buy and /price
- 'globalshop.trade.sell' -> Allow /sell and /checksell
- 'globalshop.admin.reload' -> Allow /shop reload
Commands
- /price (name|id) -> Show the price you must pay to buy name|id
- /buy (name|id) [amount] -> Buy name|id (with optional amount)
- /checksell -> Shows the money you would get for the item you are holding
- /sell -> Sells the item you are holding
- /sell <quantity> -> (v0.8) Sell a given quantity of the item held (only applies to stack in hand)
- /sell all -> (v0.8) Sell all items of the same type throughout inventory
- /shop reload -> Reloads the config of GlobalShop
Configuration
At moment you must setup all prices in the config file. This is explained here: Configuration
Planned Features
- Setting up prices with commands
- Writeout of a HTML-File where all prices can be viewed
Changelog
0.91
- Fix: disallow selling in Creative mode
- Add: Metrics support (see http://mcstats.org/learn-more/ for more info)
0.9 (Zarius)
- Fix: non-stackable items no longer stack when buying multiple
- Added: now checks for available inventory space (so you don't waste money if your purchase doesn't fit).
0.8 (Zarius)
- Support for Vault
- Added /sell <quantity> (from current held stack only)
- Added /sell all (sells all of the same item from your inventory)
0.7b2 (modifications by Zarius)
- fix for new Bukkit Version
- code cleanup
- start of coding for buy/sell with exp (doesn't work yet)
GlobalShop uses Metrics for anonymous usage stats (learn more). From v0.91 only.
@ZariusT
wait, no it works :) i didnt have vault last time i tried it. x3
@ZariusT
yeah, i have vault.
also, i have the latest build
@MrREOM
You should be able to change the commands buy modifying the "aliases" in the plugin.yml file (found inside the .jar file - just open it in a zip program, or temporarily rename it globalshop.zip).
@iamcion
Odd, works fine for me. What version of GlobalShop are you running? And if it's version 0.8 do you have Vault installed?
Could you add an option of changing the commands. So that way it won't conflict with BuyCraft
@ZariusT
although, i have essentials.... so... im guessing the essentials economy is built into essentials? cause thats what im using hahaha
@ZariusT
http://pastebin.com/u2BuPnqS
@iamcion
Can you post your config (best via pastebin.com)?
@jasoncher
Thanks, glad you like the plugin. Zephim is the original developer and I've done a bit of work cleaning up it and keeping it working for new versions. I did start some new features (eg. /sell all) and I could make the config file support names and id's as you've noted (as I've already done this in my OtherDrops plugin).
I'm reluctant to commit too much time to GlobalShop however unless Zephim's happy for me to take over the project however I haven't heard from him since last year :(
i have a problem.. when i type /buy ice 1 it goes through, it works but it doesnt take the money, nor give me the ice....
I LOVE this plugin. Looked through about 6-7 plugins and this is the only one i found that does what it says it does.
Ive got a few questions, would it be possible to just have the config for the prices be like : ITEM ID:PRICE
And with the item ID it gets the item name. So users would be able to put in like WoodenPlank, or WookPlank, or the item ID? (Maybe have it bind with Essentials to get the names of items)
Because i have constantly found myself explaining to users what the names of the items are in the config.
Also, when buying wood logs of different colors, u can not do /buy 17:1 I get "This item is not for sale!"
Do you mind adding a donate button through paypal? Because if these errors are fixed i would TOTALY donate :D
Also, do you have skype?
Hi this is a great plugin however i have one suggestion and that is with /sell.
currently when users type /sell they cant specify the amount they want to sell, so something like /sell 50 would be great. Also if they type just /sell then it would be awesome if it just sold all of that item that they had not just one stack at a time. If there's a way to do this already then i apologise and would love to know how to do it.
Keep up the great work and thank you :D
@joeb2144
Just try adding the item 383:50 to your config
Is there a way to add creeper eggs, it would be really helpful because i run a raid server?
@OCHwallo
Yes :D
Does this work on 1.4.7? 2 March 2013
@GameAnarchy
Odd, I might look into it later.
Derp type /buy 1 600 Watch what happens... Infinite items...
@dtschaedler
i am putting together a file with all the prices .. if anyone is interested .. it should be 100% complete by 2013 .. this is by far the simplest and most efficient shop created .. it is working just fine with my current server [1.4.5] and will hopefully continue to work forever .. FYI .. my pricing structure is based off bhmi values created by supuhstar0 .. only the config.yml is my creation
@briandmk99
Really? It's working fine for me on 1.4.5. Awesome plugin, btw. An update really would be nice, though. Anyone willing to take this over and implement Vault?
@briandmk99
No longer works :/