GlobalMarket
GlobalMarket is a global market system. It allows players to buy and sell items via a convenient in-game interface. It's similar WoW's Auction House or Runescape's Grand Exchange. I created this plugin awhile ago (back in the days of WebAuction, it's what inspired me) for private use, but I've decided to release it to the public. This plugin requires Vault and ProtocolLib, other than that, just drop it in plugins (make sure you have Vault plus a supported economy plugin installed) and start trading!
Features
- Players can put any item up for sale using a dead simple in-game GUI system (see below)
- Uses ProtocolLib for proper item serialization that supports Bukkit, Spigot, and Cauldron
- Real time interface, all trades show up immediately without having to 'refresh' or close the GUI
- No maintenance or admin interaction required
Mailbox system that allows you to set up market areas or auction houses(not currently in 2.0.0)A built in price guide that compiles average prices from previous transactions(not currently in 2.0.0)
Latest Dev Build
Development builds of this project can be acquired at the following continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
http://build.survivorserver.com/job/GlobalMarket%202.0.0/
Changelog
Usage
- The Interface
- This is a display of all current listings, you click an item to buy it. You can shift+click to remove a listing if you own it, or if you have the "globalmarket.listingsadmin" permission. Listings automatically expire after 1 week (configurable). You can use
/marketto access the menu.

- Stock
- When you purchase an item it will be sent to your stock. Stock is an entirely optional system but is suggested to be enabled, as disabling it will disable certain other features like
/market send. The stock system can hold a configurable amount of stacks of items in a configurable amount of slots. Once you place an item in your stock, you can list it to be sold to other players. Players can also send items to other players' stock via/market sendif they have the "globalmarket.command.send" permission.

- Server Listings
- You can create 'infinite listings' that do not expire and can't be bought out. Create them with
/market createinf <price> <[amount]>. There's a dedicated section to server listings in the Market menu. You'll need the "globalmarket.command.createserverlisting" permission to do this. Or you can disable this system all-together in the config.
Commands
| Command | Description | Permission |
|---|---|---|
| /market | Opens the Market menu. | globalmarket.use |
| /market ? | Shows command help. | <no permission> |
| /market send <player> <[amount]> | Sends the item you're holding to <player>'s stock. Amount is optional. | globalmarket.command.send |
| /market createinf <price> <[amount]> | Creates a server listing. Amount is optional. | globalmarket.command.createserverlisting |
| /market reload | Reloads config.yml | globalmarket.command.reload |
Permissions
- globalmarket.use - base permission, required to use /market
- globalmarket.listingsadmin - ability to remove all listings
- globalmarket.command.send - ability to use /market send
- globalmarket.command.createserverlisting - ability to use /market createinf
- globalmarket.command.reload - ability to use /market reload
Config
All config values have comments that explain what they do in config.yml, how convenient for me!
If you wish to blacklist items from being used on the Market, there is blacklist.json. You can add material values with meta values:
- APPLE:0 - blacklist apples
- INK_SAC:-1 - blacklist all dies
If you're running Cauldron, you can do things like:
- oredict:ingotSteel - blacklist any item with an OreDictionary value matching ingotSteel
- extracells:storage.component:-1 - blacklist all ExtraCells storage cells
Locale
Virtually every string in the plugin is editable via the "en_US.json" file, inside the plugin's JAR. It's pretty straightforward to edit. Don't replace or edit the %s or %1$s's, these are variables. For example, "Item sold: %s" would appear as "Item sold: Cobblestone" in-game. You can add/edit colors by typing & plus a color code. So light green (the color code is a) would be &a. You can find color codes here: http://ess.khhq.net/mc/
You can also create an entirely different language set, name it something like ch_CN.json, stick it in the server's JAR, and change the appropriate config value in config.yml to use it.
Source
https://github.com/Dasfaust/GlobalMarket
That's all for now. Sorry if things are unclear, I'll be updating this page with more information periodically. If you're stuck just add a reply and I'll do my best to help!
-
View User Profile
-
Send Message
Posted May 19, 2014@ahref
Yeah, ours it does make it so the market is accessible, but you can't click on anything without it yelling in the console and nothing happens at all once you do click on things except lines and lines of basically this (to the point it floods the log file):
net.milkbowl.vault.economy.plugins.Economy_Essentials.depositPlayer(Economy_Essentials.java:146) [?:?]
It drops the TPS from 20 to 19.14 as well in my testing, so I've had to disable it until a solution can be found. :(
-
View User Profile
-
Send Message
Posted May 18, 2014@Gametista
Not sure if this helps at all, but I get these when other plugins prevent or change ItemClicks.
WorldEdit etc being examples. I'm not sure why it occurs when the market isn't even open but It never causes any actual issues with the market.
@xdasfaust : modid.jar is reporting back blank names for all items. Not that much of a deal but breaks the confirmation message when you list a new item. unlocalizedName in wrapped item stack does n't have a value.
-
View User Profile
-
Send Message
Posted May 16, 2014So, I'm not sure what's going on, but now the AH is completely broken for us. I'm not sure what I'm looking at here:
http://pastebin.com/m6P6MgXw
We're on Spigot #1387 (1.7.5) and I kept trying different versions of Essentials.
Any ideas? Thanks for your time!
-
View User Profile
-
Send Message
Posted May 16, 2014@Lordtedo
Hmm, don't have that issue with just GM, Vault, and Fe. Perhaps it is your perms plugin.
@ChengZi368
Yes.
@kiracookie
It already works on 1.7.X.
-
View User Profile
-
Send Message
Posted May 15, 2014Update to 1.7.9 Please! This is almost perfect for my server!
-
View User Profile
-
Send Message
Posted May 10, 2014Can you give a rough estimate on how long this will take to update to 1.7.8?
I'd love for my users to be able to trade with each other without having to go to a specific location just to buy and sell goods, and I feel really bad only having an admin run essentials sign shop for them to buy and sell to.
-
View User Profile
-
Send Message
Posted May 10, 2014Does this support Lore well? (can see items' lore in shop gui)
-
View User Profile
-
Send Message
Posted May 7, 2014@xdasfaust
Sorry, should not have added extra information. My problem directly is OP have no default permissions. All permissions must be given through a permissions plugin. I can not OP myself and add market stalls and what not. I have to give myself globalmarket.whatever to use the market even if I am OP.
I hope this clears up the issue I'm having. This was not an issue before updating.
-
View User Profile
-
Send Message
Posted May 7, 2014@TheLecturer
Excuse the late reply, I'm aware of the issue and will resolve it soon.
@Lordtedo
It's probably caused by the NPC plugin you're using.
@EggoJawsome
Anything that has Vault support.
@ahref
Yes, it's a way for the plugin to bypass Bukkit's CraftItemStack and use Forge's ItemStack. Bukkit strips all non-vanilla NBT from items when you interact with them, so it usually messes modded items up. It's like a compatibility layer. The sync issue has been fixed, the repo doesn't contain the latest version of the mod (I'll update it after posting this). I should have it on my build server relatively soon though!
-
View User Profile
-
Send Message
Posted May 7, 2014@EggoJawsome
- ChestShop (1.7+) - SignShops (1.7+)
-
View User Profile
-
Send Message
Posted May 6, 2014Awesome plugin, Any chance you could explain the MCPC+ support? I know its in dev builds but I like to test them out modded MC support is awesome however developed it might be :D
I see a jar in Lib which looks like a forge mod. I deduced server only after a few errors. I then resolved a dependancy that appears to be missing. I've opened a github issue about it.
I've successfully listed and bought several Modular power suit chest plates with all modules intact. Small synchronisation issues though.
Retrieving my item from /market mail leaves a ghost item in the mailbox which claims i can still retrieve it. I cannot. Re-opening the mailbox resolves this.
-
View User Profile
-
Send Message
Posted May 4, 2014Is there any way that you can make a list of the five most used economy plugins that work here? If so, that would be great!
-
View User Profile
-
Send Message
Posted May 2, 2014With the latest dev build it looks like ops don't have any perms. I had my players right click a npc and talk to the then the npc would run listings as_op for the player. Now when they talk to the npc, if they don't have the perms. they can't use it at all. If they do have the perms. they can use it anywhere. I tried changing the stall_radius. It didn't do anything. Thanks for the great unique plugin.
-
View User Profile
-
Send Message
Posted Apr 29, 2014Just downloaded GlobalMarket v1.3.0-SNAPSHOT-b135 - fantastic plugin, thanks.
Quick question - looks like the search facility (where you type your search into the chat) is case sensitive...?
Example - for the item "Feather", if I start typing "feather" in the chat I get a "Search cancelled" message. But if I use "Feather" then it works as expected.
This is going to throw most players (well, most of my players anyway, they are all kids).
Could you make the search case insensitive?
Thanks.
-
View User Profile
-
Send Message
Posted Apr 29, 2014@Zombiemold
Thanks!
@99IRock
It's just the currency name, not actual items.
@NivixX
This is fixed in the dev builds.
-
View User Profile
-
Send Message
Posted Apr 28, 2014Hey @NivixX
globalmarket.history is the permission for using market history?
Remove this permission for players and it's fixed :).
-
View User Profile
-
Send Message
Posted Apr 28, 2014Hey I saw you are using gold as currency?
Is there anyway I could trade items, instead of using money?
-
View User Profile
-
Send Message
Posted Apr 28, 2014Hello your plugin is awesome, but there is a little glitch :
You can do /market history (NUMBER) And you will have a enchanted book, and you can seel these echanted book to villagers.
Can you help me to disable the command /market history "number"
-
View User Profile
-
Send Message
Posted Apr 27, 2014I just wanted to leave a comment and tell you how amazing your plugin is.
Global Market is a treasure and has seriously enhanced the game-play on our server.
Thank you for maintaining such an excellent plugin.
-
View User Profile
-
Send Message
Posted Apr 21, 2014Hey, Is there a way to chance /market command to /gmarket? i try in plugin.yml but give me error.