Commands

Commands are being rewritten for CitiTraders 2, Redown for Cititrader 1 commands

CitiTraders 2

Commands

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

create
usage: create [name] --type (type) --wallet (validwallettype)
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 <price> --group (group) --player (player) (-r)
permission: traders.command.sellprice
Sets the Sellprice of an item. (group and player prices aren't implemented yet)
Buyprice
usage: buyprice <price> --group (group) --player (player) (-r)
permission: traders.command.buyprice
Sets the buyprice of an Item. Using /buyprice -r will remove the price. (group and player prices aren't implemented yet)
SetWallet
usage: setwallet [admin|owner|bank|town_bank|private] (--bank (name))
permission: traders.command.setwallet
Sets the wallet type of a trader. If you use the bank option you need to specify a bank name with --bank.
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)
List
usage: list [buy|sell]
permission: traders.command.list
Lists the items for sale or that the trader is purchasing.
Setinv
usage: setinv -i (toggle infinite Inventory) or -s # (multiple of 9)
permission: traders.command.setinv
Sets verious options on the Traders inventory (Not fully implemented yet.

CitiTraders 1

Commands

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

create [NAME]
this will create a trader where you are standing
sellprice [amount]
this will set the price of an item you wish to sell, after this command you need to right click the trader to set the price of that item.
buyprice [amount]
this will set the price of an item that the NPC will purchase, you need to right click the trader with the item to set the price of that item.
buyprice remove
This will remove a buyprice from the NPCs price list.
sellprice remove
This will remove a sellprice from the NPCs price list
setwallet [private|admin|owner|town_bank|bank]
this will set what wallet the NPC is going to use for transactions
admin Infinate item/cash, all you need to do is set the prices and place a stack of the items in inventory once
private This will use a wallet of that NPC
owner Will use the wallet of the owner of the trader
town_bank This will use the towns bank, provided the owner of the npc is a Mayor or Assistant - requires Towny
bank Will have the trader use of a bank that the player owns, this is works if your economy system has banks.
wallet [take|give]
Will give or take an amount from a Trader, only works with private wallet.
cancel
this will reset the players trader status, thus exiting any transaction that might be breaking the trader and reseting everything to working order
enable
This will enable the NPCs sales and buy windows for players to use
disable
This will disable the NPCs sales and buy windows for player to use, owners can still open stock and set prices as normal.
fire
This will completely remove the NPC from the game.
link [npcname]
This will link the pricelist from another NPC to the right clicked NPC, the right clicked NPC will use the price list from the other NPC.
linkchest
This will link a chest to a trader, the chest can be linked to multiple traders, but all traders need to be owned by the same player
unlinkchest
This will unlink a chest from a trader.
list buy|sell
Will list the buy and sell prices of the Trader. Right click to choose the trader you want to see.
SellStack
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

Comments

Posts Quoted:
Reply
Clear All Quotes