1.x/Trader: Difference between revisions

From Citizens Wiki

< 1.x

m (NavBox)
No edit summary
Line 4: Line 4:
To stock a trader, one requires the permission 'citizens.trader.modify.stock'. To trade with the trader, give users the permissions 'citizens.trader.use.trade'.
To stock a trader, one requires the permission 'citizens.trader.modify.stock'. To trade with the trader, give users the permissions 'citizens.trader.use.trade'.


== Commands ==
==Commands==
'''[]''' - Mandatory
Commands specific for use with traders.
<br>'''()''' - Optional


'''Command''' - command's syntax
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
<br>'''Args Description''' - description of the command's arguments
|-
<br>'''Require Selected''' - whether the command requires an NPC to be selected
! style="width: 100%; background-color:#ADD8E6" colspan="3" | '''Trader Commands'''
<br>'''Require Ownership''' - whether the commands requires you to be the owner of the NPC
|-
<br>'''Permission''' - command's permission node
<br>'''Description''' - short description of the command
 
{| class="wikitable" style="text-align: center;"
! style="width: 250px;" | Command
! style="width: 250px;" | Command
! style="width: 200px;" | Args Description
! style="width: 200px;" | Args Description

Revision as of 14:37, 15 February 2012

Traders allow trading of items for virtual currency. The trader can both buy and sell items to the player, and uses an intuitive interface to facilitate this. Warning: may be exploitable under lag until bukkit creates inventory events.

Permissions

To stock a trader, one requires the permission 'citizens.trader.modify.stock'. To trade with the trader, give users the permissions 'citizens.trader.use.trade'.

Commands

Commands specific for use with traders.

FAQ

Why does my trader let players dupe items?
This is due to lag and is a bug with Citizens/Bukkit. Citizens requires inventory events (that's programmer-speak), which Bukkit is not close to implementing.

Why won't you add Spout support so traders aren't buggy?
Spout is a great API for client-side additions to Bukkit. However, we are not interested in supporting it server-side. We don't want people to feel forced to download Spout if they want to use trader NPCs.