itemtrader
itemtrader
WARNING: itemtrader 0.3.4 contains a bug making it unable to execute commands, please use a newer build. Sorry for the inconvenience.
Introduction
This plugin allows players to set up custom offers to buy/sell items and customers can right-click those players to open a trading gui they know from villagers to browse and accept offers. Maybe an image will explain it better:
Please note that this plugin may contain bugs and that new suggestions are always welcome.
Features
- Trade simple and securely by the villager GUI
- No commands for customers, just right-click the traders to open the GUI
- Highlight trading players by adding a color to the nameplate via TagAPI
- Simplify offers by decreasing the stack sizes of product and price but keeping the same ratio. (Ex: 64:8 -> 8:1)
- More is coming... :D
Commands & Permissions
Command | Permission | Description |
---|---|---|
/itemtrader addoffer <price> <product> | itemtrader.addoffer | Adds an offer |
/itemtrader removeoffer <number>|all | itemtrader.removeoffer | Removes an offer |
/itemtrader list | itemtrader.listoffers | Lists all offers |
/itemtrader start | itemtrader.starttrading | Starts trading |
/itemtrader stop | itemtrader.stoptrading | Stops trading |
Examples:
/itemtrader addoffer 10x17 ironingot
- Buy 10 blocks of wood for 1 iron ingot/itemtrader addoffer 5x#3 #current
- Sell the item in the currently selected slot for 5 items/blocks in slot 3 (count from left to right starting with '1')
There is an in-game help topic for each command, just do /help itemtrader
for an overview.
Soft Dependencies
- Add a prefix to merchants' nameplates by installing TagAPI
Config
You can find a default config with explanation here.
Source
Source can be found in GitHub, contributions are always welcome.
TODOs & Suggestions
Add MCStats statisticsDone in v0.3.3Item amounts of input and output should be divided by their greatest common divisorDone in v0.3.1Left items in the left slot shouldn't be dropped on window exitDone in v0.3.1Decrease file sizeDone in v0.3.1Add ability to use item namesDone in v0.2
(Write a comment or send me a PM if you have suggestions)
Great plugin!
I can always spam /itemtrader stop even if I'm not even trading.. otherwise a great plugin (y)
@Exbaphomet
Thx! Glad to hear some feedback :P
Love it:D Thanks,that's more like rpg
I'm having crashes in my server and I am 100% positive that this plugin causes it:
itemtrader-0.3.6
CB 1.7.2 R0.2
@Wurlshkins
Thx. :D I'ts always nice to hear good feedback (Sry that I reply so late, I probably clicked on the preview button instead of the post button)
Great! Glad to see it being updated. A great plugin for roleplaying servers.
@lunarixx
Right-click the trader, just put items in the left slot and put the product out of the right slot.
How do i accept the Offer? Nothing written about that.
@ase34
nooo no "trade" plugin xD its most dupe plugin ever i seen before xD
@Adrenalineq
Other plugins already have implemented that (ex: http://dev.bukkit.org/bukkit-plugins/trade/), this plugin should not re-use that idea, but player whitelists may be an interessting idea. :D
@ase34
soooo add second command to block incoming requests :D
@Adrenalineq
The problem, other people can abuse the command to troll/annoy/... players by spamming them with offer orders. BTW, the plugin is intended that players can act like villagers, not to make small offers with one person. :D
@ase34
Make this image bigger :D
And maybe add a feature to start trading with other player by command ?
Example; /itemtrader addoffer 10x17 ironingot NICK
/itemtrader accept NICK
@Adrenalineq
Well, I'll check if I can make something to decrease the file size. I made two commands so that you can add multiple offers :D
WoW, its pretty nice but heavy ;D 1,2 mb and very uncomfortable ;
1. no feature to use item names (done in 0.2 - nice) ,
2. need to type twice command /itemtrader addoffer after it: /itemtrader start :d
item names \o/ (TODOs & Suggestions) ;p
Looking very nice ;)