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 Aug 28, 2013@Mintaru
It do not see why it shouldn't work with Gringotts. I've been testing it with and it was fine.
-
View User Profile
-
Send Message
Posted Aug 27, 2013Please make GlobalMarket support Gringotts economy plugin.
-
View User Profile
-
Send Message
Posted Aug 27, 2013For example i would like to sell 128 blocks of dirt. 2 block of dirt would sell with price 1. I would like to do this with one single command instead of typing 64 times:
"(/market create 1 2) * 64"
Something like this: "/market create 1 2 128"
Currently I do not understand what does <args> do. I have been trying to type several numbers which all resulted in selling all stuff with X price.
/market create <price> (<amount>) (<args>)
-
View User Profile
-
Send Message
Posted Aug 26, 2013Can't wait for java6 version <3
-
View User Profile
-
Send Message
Posted Aug 24, 2013@xdasfaust
I noticed that the chat messages are showed as:
[?aMarket?f]
you have to use "&" not that wierd double 'S' symbol you see on this: http://www.minecraftwiki.net/wiki/Formatting_codes
im assuming you are using the double s symbol since chat puts a ? mark which is for an unrecognized language character.
-
View User Profile
-
Send Message
Posted Aug 24, 2013@alek123222
simple, option in config to enable or disable. this wouldnt be a feature directed towards large servers like your example. this feature is for servers that dont have a market that changes so rapidly, like smaller servers with 10 maybe 15 players. which is like 90% of servers.
EDIT: nevermind about the gold is money compatibility if you saw it earlier. i was testing it wrong =/ i was trying to buy my listing but i used an alt account to test again and it works like a charm!
-
View User Profile
-
Send Message
Posted Aug 24, 2013If you add broadcast that would spam my chat when you have 300 players buying and selling
-
View User Profile
-
Send Message
Posted Aug 23, 2013@Xinito95
+1 this would be an amazing feature that would ad more activity. the theory of "out of sight, out of mind" would go away. it seems many players forget its even there when things arent bought or new things in market.
-
View User Profile
-
Send Message
Posted Aug 22, 2013Would it be able to broadcast on the server when someone listed a item? That would make the plugin alot more used on my server.
Thanks
-
View User Profile
-
Send Message
Posted Aug 21, 2013xdas did you get my message?
-
View User Profile
-
Send Message
Posted Aug 21, 2013@DrRedAxel
Not directly, but I may make a module for multiworld support as it's been requested quite often.
@pellopo82
The next release will work with Java 6.
@crysis992
I caught this bug last night actually, haha, it's a typo causing the lore field in the config not to be read. I'll push my changes, try the latest dev build.
-
View User Profile
-
Send Message
Posted Aug 21, 2013I guess i found a bug.
I have tons of custom Items on my server. And special items have the lore "Unable to be sold."
But if i add "Unable to be sold." or "&7Unable to be sold." to the lore blacklist it doesnt block it from being added to the market?
Tested on RB and latest Dev Build.
Screenshot of my custom item:
http://www.avalon-mine.de/bukkit/lore.png
Lore section from config:
http://pastebin.com/YdFw4ZgB
Did i anything wrong? Doesnt your plugin support multiple lore lines or colored lore lines?
Blacklist with IDs and Names is working fine, just the lore refuses to work.
,
crysis992
-
View User Profile
-
Send Message
Posted Aug 20, 2013To all people who are crying about people in creative using, there is a simple solution, create a seperate group for them that doesn't inherit any other permissions and just don't give them the global market permissions or B: if you have a creative world a lot of plugins allow for per world permissions so stop F ucking asking for useless features!
-
View User Profile
-
Send Message
Posted Aug 19, 2013Can you add a something to stop people in creative using it?
-
View User Profile
-
Send Message
Posted Aug 19, 2013will my issue ever get fixed??
-
View User Profile
-
Send Message
Posted Aug 19, 2013Can you make it java 6 compatbile???
-
View User Profile
-
Send Message
Posted Aug 18, 2013Is it possible to make GlobalMarket work per world, for example I don't want my Survival world to be linking with my UHC world?
-
View User Profile
-
Send Message
Posted Aug 18, 2013@riskaedits
GM just uses Bukkit's built in permissions API, so virtually any permission plugin should do the job. As for economy, anything supported by Vault will work. I'm sure it's something with your setup, what permissions plugins have you tried? I recommend setting up a local server without McMyAdmin, just Bukkit, a permissions plugin (PEX, GroupManager, bPerms, etc.), Vault, and an economy plugin. Don't op yourself and give the default group globalmarket.create, globalmarket.quicklist, etc. and try it out.
@spaze4life
Just use permissions. If you have mixed creative/survival you have more problems than just cheated market listings :P
-
View User Profile
-
Send Message
Posted Aug 17, 2013Hey xdasfaust
Would you be able to block users who are in creative mode (Configurable of course =P ) from accessing the store to buy/sell/interact with it.
-
View User Profile
-
Send Message
Posted Aug 17, 2013@xdasfaust
I have tried with different permission plugins. I have McMyAdmin, and have changed the permission plugins but no-one seems to work. Everyone can do everything, besides sell stuff..
What permissions plugin do you recommend with GlobalMarket? And what economy plugin do YOU think is best for GlobalMarket?