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 Oct 20, 2013Why am I getting a [SEVERE] [GLOBAL MARKET] Can't save market data! Was it loaded correctly?
Can I turn this off or something,
-
View User Profile
-
Send Message
Posted Oct 16, 2013@4o66
I plan on it. It might or might not be in the next release, I'll have to see how other things go first.
-
View User Profile
-
Send Message
Posted Oct 16, 2013This is an awesome plugin. That being said, I would love it even more if you could expand it to include offers to buy.
-
View User Profile
-
Send Message
Posted Oct 15, 2013@xdasfaust
Very happy I found this plugin.
-
View User Profile
-
Send Message
Posted Oct 15, 2013@mumblerit
Ah, thanks. Disabling history is definitely fixed in #81.
-
View User Profile
-
Send Message
Posted Oct 14, 2013@mumblerit
scratch that, on market create: http://pastebin.com/33gKzVJy
build #80
-
View User Profile
-
Send Message
Posted Oct 14, 2013@xdasfaust
yes, I had history disabled, seems to work now.
-
View User Profile
-
Send Message
Posted Oct 14, 2013@mumblerit
Do you have history disabled? Should be fixed in build #80.
@ZylopServer
Can you put the locale.yml file on Dropbox/Mediafire or Pastebin and give me the link?
-
View User Profile
-
Send Message
Posted Oct 14, 2013Pleace ignore the Points
'...............................................................................................................' Oh.. thats where brilliant when you fix it for me...................................... ................................................................................................................ But have a Question:.............................................................................. ................................................................................................................ Original:................................................................................................... version: 1.2.2:.......................................................................................... selected: english:............................................................................. english::........................................................................................................... you_have_new_mail: You have new mail!:.................................................... player_context_required: All commands require a player context!:................... cmd:...................................................................................................... prefix: '[§aMarket§f] '....................................................................................... ................................................................................................................ But when i Change 'Market to 'Shop'.............................................................. version: 1.2.2............................................................................................ selected: english...................................................................................... english:........................................................................................................ you_have_new_mail: You have new mail!.......................................................... player_context_required: All commands require a player context!................... cmd:..................................................................................................... prefix: '[§aShop§f] '....................................................................................... ................................................................................................................ The locale.yml reset's Shop wo Market than the Server restarts. WHY?
-
View User Profile
-
Send Message
Posted Oct 14, 2013@xdasfaust
http://pastebin.com/w67t3rRV
-
View User Profile
-
Send Message
Posted Oct 14, 2013@ZylopServer
No do not move or rename the file. Only edit what's inside. Try to undo what you've done or delete the file and restart your server for a fresh one. Forget what I said below, only change whatever's wrapped in quotes like this:
becomes:
Be sure to save the file when you're done and then use
/market reload. If it still resets, send me the file and I'll try to fix it for you.-
View User Profile
-
Send Message
Posted Oct 13, 2013must i the local.yml delete? and paste a new .yml ===>(german.yml) with german translation? Or must i copy the german translation in the locale.yml? then when i edit the select to 'select: german' then resets that all. can you help me again? :)
-
View User Profile
-
Send Message
Posted Oct 12, 2013@ZylopServer
How are you editing it? Try copying the whole 'english: ' block, put it under a new name, and then change 'selected: ' to the block you just created, like this. Be sure to only edit the values wrapped in quotes.
@mumblerit
Thanks, fixed in #78.
-
View User Profile
-
Send Message
Posted Oct 12, 2013@xdasfaust
Using the dev builds on your site, #77 search eg: market listings, click search paper, search for diamond
Players unable to change page
-
View User Profile
-
Send Message
Posted Oct 12, 2013Hello, when i edit the locale (lague) to german then it always resets. can you help me pls?
-
View User Profile
-
Send Message
Posted Oct 10, 2013@piritacraft
Have you tried a recent dev build? I'm using the latest build with Spigot #1120 and I haven't gotten a crash.
@cancabron
Added in the latest build.
If you upgrade to a dev build note that I rewrote the storage system and there may be bugs. But I'd like to have some testers :) also the config has changed, you can go here for an explanation of the new values.
-
View User Profile
-
Send Message
Posted Oct 10, 2013Error log: http://pastebin.com/uRyshU8b
-
View User Profile
-
Send Message
Posted Oct 10, 2013Could you add an option to deny the use of global market if the player is in creative mode?
Thanks!
-
View User Profile
-
Send Message
Posted Oct 8, 2013@mal67
See my last comment, I will no longer be updating it.
@piritacraft
Not totally sure why that'd happen, maybe try updating Spigot, or downgrading it to a version that has worked before. I made some changes regarding this in the latest dev build, you could try that too.
-
View User Profile
-
Send Message
Posted Oct 7, 2013player interact event errors on localmarket im assuming this is why the info was pulled XD looks like a great idea though, hope to see it in action :)