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 Jun 22, 2013There is no way to make it so people can access market stalls and mail box's?
I see perms for the quicklist and such but none for the others.............
-
View User Profile
-
Send Message
Posted Jun 22, 2013First time reloading has done something this big........ It is annoying and should be fixed still.
-
View User Profile
-
Send Message
Posted Jun 22, 2013@SirMangler
Plugins do not like reload command.. it cause alot of problems like memory leaks.
-
View User Profile
-
Send Message
Posted Jun 22, 2013Whenever I reload, All the stalls turn into normal chests again, Is this suppose to happen? If not can it be fixed?
-
View User Profile
-
Send Message
Posted Jun 20, 2013I can not use this plugin on my FTB Ultimate server because the command "/market history" give to the player a enchanted book. With this book he can make good items. Any method to disable it ?
-
View User Profile
-
Send Message
Posted Jun 20, 2013Could it possible to add an admin command that makes an "infinite" item listing? As in if a player buys the item it won't go away and can be purchased again. Basically it's an admin shop tied in with the listings. With my current set up I can just use Essentials' kit command do do the same thing outside of the market (with another item menu plugin) but it would be much more streamlined if I could do it inside the market.
-
View User Profile
-
Send Message
Posted Jun 19, 2013Every hour at x:26 minutes (0:26, 1:26, 2:26...) all of the items in the markets returns back in the mailboxes, but this isn't the cooldown, what can I do?
-
View User Profile
-
Send Message
Posted Jun 19, 2013@Adrenalineq
Try build #43.
-
View User Profile
-
Send Message
Posted Jun 19, 2013@xdasfaust
Cannot make it work ;___; for me
http://pastebin.com/BDYwi3RP
Spigot: 937
GlobalMarket: #42
---- NVM: 2 errors:
Cannot create new listings because of this:
blacklist:
.........
item_id:
0: 0
Changing it to: none: 0 resolved the issue
--- Next error:
Cannot type /market listings when market is empty
http://pastebin.com/BDYwi3RP
-
View User Profile
-
Send Message
Posted Jun 18, 2013@parrothead1337
You're very welcome.
@GoldcraftPVP
Yes, read the description.
@Siirus_Blackbane
Try build #42, it should work with Java 6 installations.
-
View User Profile
-
Send Message
Posted Jun 18, 2013Add item pay.
-
View User Profile
-
Send Message
Posted Jun 17, 2013@xdasfaust
I don't understand what you mean when you say "You need Java 7." Who needs it? The server hosting company?
-
View User Profile
-
Send Message
Posted Jun 17, 2013They use the books from the Transaction History to trade the villagers for items, can this be fixed or transaction books have a disable option.
-
View User Profile
-
Send Message
Posted Jun 16, 2013Honestly one of the best plugins I've used over the course of 2+ years. Thanks for making this, I know a lot of server owners appreciate it!
-
View User Profile
-
Send Message
Posted Jun 14, 2013If you try add an item to the market in GlobalMarket #41 you'll get an NPE when using the default blacklist. I changed the only item_id to 'none: 0' and it fixed it.
Stacktrace: http://pastebin.com/GFPe4QjM
-
View User Profile
-
Send Message
Posted Jun 14, 2013@xdasfaust
Oh right, it's in the dev builds, guess I'll try them. :)
-
View User Profile
-
Send Message
Posted Jun 14, 2013@LeChuuck
Afraid you can only search by item IDs with non-vanilla items.
@YoFuzzy3
Read the description! You can do all of that. ;)
-
View User Profile
-
Send Message
Posted Jun 14, 2013Hello again xdasfaust.
You know, an option to disable transaction logs would be nice. All these unwanted logs are akin to a receipt that a cashier forces you to take. Also, there's the possibility of abuse of these logs with villager trading, as well as the issue YoFuzzy3 just posted below happening on his server. (though he can solve his by using the blacklist. Hope you're paying attention YoFuzz!) I understand you still need an item to appear in the mailbox so players can get their cash, so perhaps linking this option with another simple vault plugin like moneydrop would be ideal. I dunno, that's just one approach. Let me know what you think, and thanks for your time! ^_^
-
View User Profile
-
Send Message
Posted Jun 14, 2013Could you add an option that stops people putting their transaction logs in the market? It's so annoying. :P
-
View User Profile
-
Send Message
Posted Jun 14, 2013Would be great if you could add support for custom items aka FTB, when i do a search for custom items nothings shows up.