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 Nov 26, 2014@Hephzebah
Sounds like you have another plugin that uses
/market.-
View User Profile
-
Send Message
Posted Nov 25, 2014Hello i hope someone can help me. I had installed this plugin on my spigot 1649 patched version. (1.7.10) and i saw this plugin wasnt working like explained up here. Now i wanted to remove the plugin by deleting the file and folder. After restarting the server i see /market is still available to use. Its not doing anything more than that. Also when the plugin was installed, /market reload wasnt working. Not even with console. I only get the message (before and after deleting the plugin) use /Market [MarketName]. Please how can i remove it completely or how to get it work on my version ? (getting it to work is much better ofc :P) So far thanks!
Gr, Hephzebah
-
View User Profile
-
Send Message
Posted Nov 24, 2014I would just like to say, thank you for creating such an invaluable player-centric shop/economy plugin. I've been struggling to find such a plugin for days, and yours fits the bill perfectly. No filler BS content, just everything that's needed and nothing more. :)
-
View User Profile
-
Send Message
Posted Nov 24, 2014@151baccardi
Are you using a 1.8 client? Which build are you using?
-
View User Profile
-
Send Message
Posted Nov 23, 2014using spigot 1.7.10 also when I do /market reload I get internal error.
[17:25:37 INFO]: 151baccardi issued server command: /market reload [17:25:37 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'market' in plugin GlobalMarket v1.3.0-SNAPSHOT-b17 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:767) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:1043) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:880) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] Caused by: java.lang.NullPointerException at com.survivorserver.GlobalMarket.Market.buildWorldLinks(Market.java:611) [?:?] at com.survivorserver.GlobalMarket.Command.ReloadCommand.onCommand(ReloadCommand.java:94) [?:?] at com.survivorserver.GlobalMarket.Command.MarketCommand.onCommand(MarketCommand.java:51) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-patch_20140927a.jar:git-Spigot-1.7.9-R0.2-205-g0a049fa] ... 13 more
-
View User Profile
-
Send Message
Posted Nov 23, 2014Hi. Great plugin. But when I retrieve a logbook, and try to open it, it says on page 1 '*invalid book tag'
I'm using default settings. Also, are there supposed to be 30+ logbooks in the market chest ? There are logbooks of all sorts of players.-
View User Profile
-
Send Message
Posted Nov 23, 2014@Nentify
Makes listings per-world. More info here: https://github.com/Dasfaust/GlobalMarket/wiki/Configuration#multi-world-settings
-
View User Profile
-
Send Message
Posted Nov 22, 2014What does multiworld.enable and multiworld.links do?
-
View User Profile
-
Send Message
Posted Nov 9, 2014For some reason the util permission isn't working right, players don't have access to /market stall or mailbox.
-
View User Profile
-
Send Message
Posted Nov 8, 2014hi, can anyone tell me how to allow players to use global market .. thanks
-
View User Profile
-
Send Message
Posted Nov 7, 2014please help me .. I can not give permission to sell my players
-
View User Profile
-
Send Message
Posted Nov 7, 2014Hi,
I have a problem with my locale.yml i write: seller: "Verkäufer: "
and when i reload is this: seller: "Verk\xc3\xa4ufer: "
i cant transform the .yml in UTP-8, can you help me? :)
-
View User Profile
-
Send Message
Posted Nov 7, 2014hello, how to enable permissions for players to buy and sell
-
View User Profile
-
Send Message
Posted Oct 28, 2014@pepper82
Add a market creation fee in your config, that will make harder to spam the market.
As admin you can have infinite money, clean the market manually.
You can set a price limit and a simultaneous offer limit in the config.
If you set an "expire" time, those blocs if bugged should disappear by themself
Did that fixed your issue? :3
-
View User Profile
-
Send Message
Posted Oct 28, 2014Since Sponge is not yet released and a lot of mod creators/plugin creators gave up minecraft cause of that, I planned to run a Modded Cauldron Server, stuck in 1.7.10, using your plugin. Since it use item IDs and not Item name, do you think it is able to handle mod's items IDs, like 4480 and things like that?
-
View User Profile
-
Send Message
Posted Oct 27, 2014Hi. do you think you will add the possibility to auction items ?
-
View User Profile
-
Send Message
Posted Oct 26, 2014Sorry everyone, I haven't been checking this page regularly. If you have an issue please open a ticket on the GitHub page.
@ropng
That is a known issue that I haven't been able to solve. It'll probably be fixed in version 2, which is something I'm currently working on.
@SmilingTrickster
Check out the
max_mailconfig option in the latest dev build, it sets a hard limit on the amount of listings and mail a player can have at a given time.-
View User Profile
-
Send Message
Posted Oct 22, 2014some players item in globalmarket became a "Transaction Log" this means no one buy his item,and his item disapeared,just became a "Transaction Log" in globalmarket,his did not recieved money and open this book. the owners name is other player's nickname. can you fix this?
-
View User Profile
-
Send Message
Posted Oct 22, 2014Could someone translate the locale.yml into German? If I try to translate it, the local.yml is resetting itself.
-
View User Profile
-
Send Message
Posted Oct 20, 2014@xdasfaust
Can you add an option to disable non-OPs from canceling their own listings? Players list their items and then cancel it to move everything to their mailbox and use it as a free unlimited chest.