Commands

CitiTraders 2

Commands

All commands are subcommands of /trader, so all commands will be formatted as /trader <command>

Create
usage: create [name] (Will try to re-implement type and wallet in latter build)
permission: traders.command.create
Automaticly creates a trader NPC, this command will create the NPC and assign all the needed traits for a default trader. This is the preferred way to create a trader.
Sellprice
usage: sellprice <amount | remove>
permission: traders.command.sellprice
Sets the Sellprice of an item. Use remove instead of a price to remove existing price.
Buyprice
usage: buyprice <amount | remove>}
permission: traders.command.buyprice
Sets the buyprice of an Item. Using Use remove instead of a price to remove existing price.
SetWallet
usage: setwallet [admin|owner|bank|town_bank|private]}
permission: traders.command.setwallet
Sets the wallet type of a trader. If you use the bank option you need to specify a bank name.
Wallet
usage: wallet [balance|give|take] <amount>
permission: traders.command.wallet
Will give/take money from a Traders with a private wallet. Balance requires no modifiers, will display the balance.
Fire
usage: fire
permission: traders.command.fire
Will completely remove a trader from the game.
Cancel
usage: cancel
permission: traders.command.cancel
Cancels all transaction currently in use with a player.
Version
usage: version
permission: none
Displays the Version of Cititraders in use (useful to help me debug)
Reloadprofiles
usage: reloadprofiles
permission: traders.command.reloadprofiles
Reloads the profiles.yml after a manual update.
Disable
usage: disable
permission: traders.command.disable
Closes the traders shop from doing business.
Enable
usage: enable
permission: traders.command.enable
Opens the traders shop to do business.
Link
usage: link [name]
permission: traders.command.link
Links two NPCs to share the named NPCs price list.
Remove Link
usage: removelink
permission: traders.command.removelink
Removes the price list link from an NPC.
Linkchest
usage: linkchest
permission: traders.command.linkchest
Links a chest to an NPC, NPCs can share chests. Number of chests is limited in profiles.yml
Unlinkchest
usage: unlinkchest
permission: traders.command.unlinkchest
Unlinks a chest from an NPC.
SellStack
usage: sellstack [size]
permission: traders.command.sellstack
Set the size of the stack to sell (if you don't want to sell just one at a time)
Will allow the trader to sell stacks of items instead of 1 at a time, /trader sellstack 5 would start the sell page to start 5 and list stacks in sets of 5, so 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60 (will not exceed 64) the price is the price that is set, not multiple of it.. so if you /trader sellprice 5, the price of the stack will be 5. BUYSTACK does not work
List
usage: list [buy|sell]
permission: traders.command.list
Lists the items for sale or that the trader is purchasing.

Comments

Posts Quoted:
Reply
Clear All Quotes