Item Exchange: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(remove first party (am on the fence about this))
(move references to main body)
Line 1: Line 1:
'''ItemExchange''' ([https://github.com/CivMC/ItemExchange source]) is a plugin that facilitates asynchronous trade without sacrificing physicality or raidability.
'''ItemExchange''' ([https://github.com/CivMC/ItemExchange source]) is a plugin that facilitates asynchronous trade without sacrificing physicality or raidability.


== How it works ==
== Mechanics ==
Shops chests<ref>Shops can, by default, be made with chests, trapped chests, barrels, dispensers, and droppers.


Find out what containers are supported using the <code>/ieinfo shopblocks</code> command.</ref> are created when they contain Exchange Rules: encoded buttons which specify the rules of an exchange. Exchanges are made of pairs of inputs and outputs<ref>Donation 'exchanges' only require an input rule.</ref>. Bulk exchange rules are a single encoded button which contains within it one or more pairs of Exchange Rules. Players can view and cycle through a shop's available exchanges by punching a shop chest, preferably with an empty hand. If the player then punches the chest again on a given exchange with a matching input, and the shop chest is stocked, then the exchange is transacted.
Shops chests are created when they contain Exchange Rules: encoded buttons which specify the rules of an exchange. Exchanges are made of pairs of inputs and outputs (though an output rule is not strictly necessary and a "donation" item exchange uses only an input rule). Bulk exchange rules are a single encoded button which contains within it one or more pairs of Exchange Rules.

Players can view and cycle through a shop's available exchanges by punching a shop chest, preferably with an empty hand. If the player then punches the chest again on a given exchange with a matching input, and the shop chest is stocked, then the exchange is transacted.

Shops can, by default, be made with chests, trapped chests, barrels, dispensers, and droppers. Find out what containers are supported using the <code>/ieinfo shopblocks</code> command.


ItemExchange differs from other market and trade plugins in that it functions on a series of rules and criteria, rather than selling specific items. An Exchange Rule that ONLY specifies that the output is a Diamond Pickaxe will be able to output ANY Diamond Pickaxe, enchanted or not, used or not, repaired or not, named or not, etc.
ItemExchange differs from other market and trade plugins in that it functions on a series of rules and criteria, rather than selling specific items. An Exchange Rule that ONLY specifies that the output is a Diamond Pickaxe will be able to output ANY Diamond Pickaxe, enchanted or not, used or not, repaired or not, named or not, etc.