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
/market
to 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 send
if 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!
@yyeerai
Fixed in dev build #21.
@cybergame44
The server stopping suddenly during a save probably corrupted your files. Unfortunately, I doubt there is anything that can be done.
Unlimited store items can not be deleted. server version 1.7.10 spigot
Please help me! My spigot server run global market and it's work perfectly! But every thing gone wrong when my server got power failure, now the console say that global market not loaded correctly duel to yml files error. i've been checked globalmarket folder, config file is ok. but history.yml;listings.yml;mail.yml;queue.yml is all display as "Null Null Null......" all is Null can i restore item from shop or mail?
i got this 2 times and my player complain about it! thanks for reading!
@TowelieDOH
A command will be added. I can also add the same permission for the menu button.
I will downgrade for now, but what I was asking was if you could add /market create again and also add a permission for selling (on my server users can buy by default and only sell if they buy the permission with in-game money)
I've been a GlobalMarket user on my server since it came out and I've loved it ever since.
Thank you for your work for GlobalMarket!
@dutchy1001
I see, that may be a better way to do it. Thanks for the idea! I've made changing the GUI really easy for myself, fortunately.
@xdasfaust
There are ways to accomplice this but it probably needs some redesign of the GUI. We have in our plugin the option they can go up and down with value's using arrows.
Contact me in pm if you are interested in this and I can add our coder to the conversation.
@dutchy1001
That's why it's a beta. It'll have feature parity in time.
You can't detect a shift+1 or shift+3 button press, unfortunately.
Glad to see this updated as it is one of my favourite market plugins, but there are a few things missing compare to the old version.
As I do like the new GUI and system I personally still miss the limits, tax and
listingfees that were added in the 1.3.0-SNAPSHOT version (released through Jenkins).I understand there are still features added to the plugin but these were not in the list.
For this reason I will not yet update but will a keep a close look on the plugin releases.
The price system is very good/clever way of setting the price, I would only add a minus feature while holding shift for example.
@TowelieDOH
Dont update then if your players are not happy with it. ;)
EDIT:
I found the listing cut
Please add a way to set custom prices from keyboard or the old /market create back My players are furious about the new usage :S
I'm not used to this new way of price adjustment.<0-9>button ...Some awkward.
I hope playerpoints will get added later. I use this plugin as well!
@JackOrmondroyd
For 1.X it's "globalmarket.quicklist", for 2.0 it's "globalmarket.use"
What is the permission node for players to be able to use /market listings?
What is the permission node for players to be able to use /market listings?
@chinafriend
Looks like PlayerPoints has Vault support, so there you go.
This Great!
Good update! realy a long time,I hope add playerpoints support,so that we can buy or sell things via points.
@dadee971
Fixed. Sorry about the downtime.
Hi, This link is dead: http://build.survivorserver.com/job/GlobalMarket/
There is no way to get the Dev builds.