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 Jul 23, 2013@SyncCraft
Are you using the latest release? Try creating a file called
listings.ymlinplugins/GlobalMarket/-
View User Profile
-
Send Message
Posted Jul 23, 2013@xdasfaust
Yeah, I get this: http://pastie.org/8166823
-
View User Profile
-
Send Message
Posted Jul 23, 2013@Pyro4816
You need Vault 1.2.24 for Minecraft 1.4.7.
@xXSshadowXx
Yes but I can't say when.
@Gametista
Make sure
server.enableis set to false in the config@SyncCraft
Do you get an error when the plugin loads?
-
View User Profile
-
Send Message
Posted Jul 23, 2013I'm trying to get this working on a new server of mine, and I've ran into some pretty big errors.
Market listings works, but market create and market mail do not.
http://pastie.org/8166714
http://pastie.org/8166720
Above are the errors I'm getting.
Thanks :)
-
View User Profile
-
Send Message
Posted Jul 22, 2013Working under Java7 but not Java6. Still waiting for a new release of this so I can use it on our java6 server. Here is my pastebin with the error:
http://pastebin.com/rutuxwtL
-
View User Profile
-
Send Message
Posted Jul 22, 2013Hello,
I tried to Google/research this error, but no luck so I figured I'd post it here.
Everytime I start the server up, I get this. So hopefully some light can be shed on the subject as to why it's happening:
http://pastebin.com/h8cnmA3J
Plugin functions perfectly, in spite of this. Thanks!
-
View User Profile
-
Send Message
Posted Jul 21, 2013Any plans to add MySQL support?
Edit - I ask because we use bungee and two of our servers have a shared economy using MySQL.
-
View User Profile
-
Send Message
Posted Jul 21, 2013OK, So no lying, I am rather new to the plugins thing, I am working on a server with a friend of mine and after installling this plugin I run into this error: 2013-07-21 05:31:44 [SEVERE] Error occurred while enabling GlobalMarket v1.2.2 (Is it up to date?) java.lang.NoSuchFieldError: ACTIVATOR_RAIL 6:31:10 AM CONSOLE: [SEVERE] Could not pass event PlayerInteractEvent to GlobalMarket v1.2.2
I am running FTB Ultimate v 1.4.7 with java 7-22
I have quite a few other plugins installed, but I have no clue what would cause this, and thus far I have been unable to find additional information regarding this error. Any help would be greatly appreciated, TY.
-
View User Profile
-
Send Message
Posted Jul 21, 20132013-07-21 09:32:43 [SEVERE] Error occurred while enabling GlobalMarket v1.2.2 (Is it up to date?) java.lang.UnsupportedClassVersionError: com/survivorserver/GlobalMarket/tasks/CleanTask : Unsupported major.minor version 51.0
Assuming this is cause it is not working on Java 6. Will you have a java6 version of this awesome plugin anytime soon?
-
View User Profile
-
Send Message
Posted Jul 19, 2013@xdasfaust
Update went ahead and updated the server to 1.6.2, with the java 7 on the server your plugin is not giving me the error and seems to be running :) looks like it was just the version 6 on my test computer that was messing it up. ah ok, thank you for your help :) i look forward to your next release!
-
View User Profile
-
Send Message
Posted Jul 19, 2013@mal67
Just tested and got the errors. It's because you're using Java 6. Marked it as incompatible, hopefully I can resolve this in the next release.
-
View User Profile
-
Send Message
Posted Jul 19, 2013@xdasfaust
how can i make it start up? or is it because my computer that im using for testing is SE6? the server i run the public end on should be 7
also was getting errors stating can no pass async chat or something... ill have to grab the log again in abit. trying to fight with mChat and TownyChat failing all over my test server XD
-
View User Profile
-
Send Message
Posted Jul 19, 2013@mal67
That's what I get for not testing. It really is built using Java 6. Even though that error occurs, the plugin still functions correctly on 1.6 as far as I can tell.
-
View User Profile
-
Send Message
Posted Jul 19, 2013getting the majorminor version issue on load of this plugin. using 1.6.2 R0.1 DEV, craftbukkit. will not load plugin. or is this just the java version error on my end (testing on computer not on server)
-
View User Profile
-
Send Message
Posted Jul 19, 2013What is "notify_on_update: false" ?
-
View User Profile
-
Send Message
Posted Jul 19, 2013@newmine
Up !
-
View User Profile
-
Send Message
Posted Jul 18, 2013@piritacraft
You need Vault for whatever version of Minecraft FTB is running on. Here's Vault 1.2.24 for Minecraft 1.4.7.
-
View User Profile
-
Send Message
Posted Jul 18, 2013@xdasfaust
I forgot to add this plugin on my test server. But now I get other error message: http://pastebin.com/afxaV2dt and http://pastebin.com/v0tENixt
-
View User Profile
-
Send Message
Posted Jul 18, 2013@piritacraft
You need Vault.
-
View User Profile
-
Send Message
Posted Jul 17, 2013I tested GlobalMarket v1.2.2 on my server FTB Ultimate. But not loaded because some "UnknownDependencyException": http://pastebin.com/bhrPETst