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.
Just figured out how to add Potions!//****
Copy and paste this code and edit to your fit
- 373:strp2:1:20:8233 <
- Strength Potion - 373:swp2:1:20:8226 <- Speed PotionSteps to break it down - 373 - That is the id of potions in general :strp2 is the name of the potion - so when they do /buy strp2 they will get a strength potion :1 is the amount of potions they will get :20 is the price and :8233 is the direct id of the potion strength only
Does anyone have a working version of this plugin for 1.7.10+???
Hi, I am only posting this because I have looked almost everywhere for this question but could not find anwser I am trying to make it so you could but a speed potion. Not normal but speed 2 can any1 here help me? Thanks
Using this plugin on my modded Cauldron server http://s0ncraft.enjin.com/
Hello. How can i add gapples (322:2) and ceggs in the shop.
When i try to add them it doesnt work because of the extra :
Thanks.**
Can you add a sell every item in your inventory command? Something like /sellinv or /sell inv?
How do you make it like /buy strp2 which will buy a speed pot or strength idk
Is it possible to purchase 2 items with one /buy command?
Example: "/buy pots" would give you a strength 2 and a swiftness 2. Is this possible to do? I've been messing around with the config but haven't found a solution.
@Cmoor
Seeing as it is not added as a feature right now, and the author has stopped working on it, I do not think it will ever be possible.
can you use this plugin to work per world? i have skyblock and survival but dont want the prices to be the same. is this possible with this plugin?
@Josh15390
Here's an example of a healing potion:
- ItemID:ItemName:Amount:Price(:Damage/Color)
- 373:Healing Potion:1:X.00:8197
The last number, 8197 is the potion ID which I found a list of here: http://www.minecraftforum.net/topic/826689-minecraft-item-id-list-with-potion-id/
The "X.00" is the price
Can someone please tell me how I put in potions? They're not working
Commenting to let anyone who's interested that this plugin works fine! I've finally found a working global /sell that isn't essentials or have some kind of dynamic pricing. I initially skipped this because from the bukkitdev comments it doesn't look as if it's functioning well, and hasn't received updates in a year+. However someone recommended it to me, so I gave it a test and and it works great, just a little complicated and very tedious to configure initially. The downfall being the configurability of messages (a locale.yml file would be nice, but it's gone a year without updates), and the verbosity of errors being a little lacking...
@UprisingHC
Works fine on 1.7.2 and 1.7.8 (what I've tried it on)
I've found the symptoms you said to be the result of a wrongly formatted config file. Remember, color/damage/potion id's go at the END of each item. Read the example in the config and compare the wools to the stone, for example. (I missed moving a couple of these), which is a little confusing. The only error I saw was one:
Which is what indicated the config was formatted wrong, but unfortunately didn't include a line number... >_>
This doesn't work. Whenever I do /buy it doesn't bring up anything. Not one thing. Not "this is not a command", not "you do not have permission", its nothing. Help
hey i was wondering how to buy potions {373:8233} and is it possible i could make it do /buy strp2 and the same with speed 2 as /buy swp2
Hi. I was wondering how do you make it to buy potions? Il do 373:8233 (Strengh2) And i wont even be able to use /buy ingame. what do i do! please help i need it baddly
I'm using it with 1.6.2, and it's working fine... Only request I have is to create a default item list/prices.... It's a pain setting them up, and having a default one would be amazing for lazy server owners like me :) (jk) Other than that, great job!
@ZariusT
Thanks, I'll test it out and let you know if I have problems :)
@tntfactions
Haven't had a chance to test it yet but it should work fine.
Is this working with 1.6?