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.
-
View User Profile
-
Send Message
Posted Jun 15, 2013@GeorgeSearle
No, not added yet, will try and look into it soon.
@Lilmac12312
I think you need to look up the data values here: http://www.minecraftwiki.net/wiki/Potions
Eg. config is ItemID:ItemName:Amount:Price(:Damage/Color) Strength II is potion@8233 so config would be: 373:Potion of Strength II:1:50:8233 Speed II is potion@8226 so config would be: 373:Potion of Speed II:1:50:8226 (where quantity is 1 & price is 50)
@Thomjan
Have you tried just using /buy? Also, does /shop reload work?
@Gibbil
You need to add the damage values for both, I believe. Eg:
- 263:coal:1:128.00:0 - 263:charcoal:1:32.00:1
(you had the value for charcoal, but not for coal) - if that doesn't work, let me know - I'm planning on making some changes to the config file anyway (old files will still work) to make this easier.
-
View User Profile
-
Send Message
Posted Jun 9, 2013Spent over 3 hours editing the config only to find it doesn't seem to differentiate between coal, ID 263, and charcoal, ID 263:1. And I made sure I formatted the damage values correctly, so is this a bug for everyone else too? Here's the config if anyone's interested. Values are based on emc from Equivalent Exchange. config.yml
-
View User Profile
-
Send Message
Posted Jun 9, 2013hmm, nothing seems to happen when I use /gs_ commands. I have tried outside creative and op mode. and added the permissions to every rank.
It is enabled since I can see the command in /help
-
View User Profile
-
Send Message
Posted May 29, 2013Does the buy with exp work yet? If not when is that feature due?
-
View User Profile
-
Send Message
Posted May 28, 2013@Barnsey3017
Added (disallow selling in creative mode) & uploaded new file - may take a while to approve though.
-
View User Profile
-
Send Message
Posted May 27, 2013@Barnsey3017
Should be fairly easy to fix this, will look into it tonight.
-
View User Profile
-
Send Message
Posted May 27, 2013how do you stop people from selling from GM mode???
-
View User Profile
-
Send Message
Posted May 20, 2013@danielfr789 @bradybell33
I've just added a check for non-stackable items so they'll be given individually now. I also added a check for inventory space so you don't waste money buying stuff you can't fit.
v0.9 will be uploaded shortly (may take a day to approve).
-
View User Profile
-
Send Message
Posted May 14, 2013@absintoj: Thank you for making the video tutorial. I visited Lisboa once, but my Portuguese is not as good to actually understand what you are saying. But it looks really good. Feel free to drink a serveja and send me the bill ;-) Obrigado!
-
View User Profile
-
Send Message
Posted May 14, 2013@absintoj
Thanks for the video tutorial but can you please edit your comment and note that it is not in English (& please do note what language it is in)?
-
View User Profile
-
Send Message
Posted May 11, 2013what does it work?
-
View User Profile
-
Send Message
Posted May 4, 2013Can you add it so non-stackable items cant be stacked when bought?
-
View User Profile
-
Send Message
Posted May 1, 2013You should make it so that /sell all sells everything possible to sell in your inventory!!! that would help so so much!!! thankyou
-
View User Profile
-
Send Message
Posted Apr 30, 2013/sell all isnt working for me
-
View User Profile
-
Send Message
Posted Apr 30, 2013@SkyLandPvP
You've probably got an error in your config file
-
View User Profile
-
Send Message
Posted Apr 20, 2013Ive installed essentials economy updated and also got vault an newest version of plugin it wont work please help it shops up red when i do /pl i dont know why**
-
View User Profile
-
Send Message
Posted Apr 19, 2013Can you add it so non-stackable items cant be stacked when bought?
-
View User Profile
-
Send Message
Posted Apr 16, 2013Also could you make the price command work from console please :D, thanks.
-
View User Profile
-
Send Message
Posted Apr 13, 2013Great plugin, my players love it. They say its so much easier than physical shops.
One thing I would like to see added though would be an in-game command to bring up a list of what's for sale and at what price. I'd be really happy if this was added in :)
Thanks for the plugin, keep up the good work!
-
View User Profile
-
Send Message
Posted Apr 12, 2013Anyone wanna give me a full config?