Skip to content
TATDK edited this page May 3, 2011 · 11 revisions

<Must be filled> [Optional]

/account help [page]

Show commandlist in-game.
If page is set, showing the set page.
/account help
Returns

Bank Account Help - Page 1 of 2
This is used mainly to shared bank accounts
/account help [page]
/account open <accountname> [players]
/account info <accountname>
/account balance <accountname>
/account adduser <accountname> <player>
/account removeuser <accountname> <player>
/account password <accountname> [password]
/account deposit <accountname> <amount>

/account open <accountname> [players]

Open an new account with name specified in <accountname>.
If you want more players have access to the account, write their username in [players] separated by space.
/account open MyAccount MyFriend MyOtherFriend
Returns
On Success

ATM: MyAccount created
Players: TAT, MyFriend, MyOtherFriend

On Failed

ATM: Accountname is taken

/account info <accountname>

Get informations about the balance and who have access to the account with the name specified in <accountname>.
/account info MyAccount
Returns:

ATM: Balance of MyAccount: 0 Coins
Players: TAT, MyFriend, MyOtherFriend

/account balance <accountname>

Get balance of the account with the name specified in <accountname>.
/account balance MyAccount
Returns:

ATM: Balance for MyAccount: 0 Coin

/account adduser <accountname> <player>

Give a player user access to an account.
/account adduser MyAccount SomeUser Returns:

ATM: SomeUser added to account

/account removeuser <accountname> <player>

Remove player user access to an account.
/account removeuser MyAccount SomeUser
Returns:

ATM: SomeUser removed from account

/account addowner <accountname> <player>

Give a player owner access to an account.
/account addowner MyAccount SomeUser

/account removeowner <accountname> <player>

Remove player owner access to an account.
/account removeowner MyAccount SomeUser

/account list

Return list of accounts.
/account list

/account password <accountname> [password]

Lock an account with password.
/account password MyAccount MySecretPassword
Returns:

ATM: Password set for account

/account deposit <accountname> <amount>

Deposit money from your iConomy account to an account.
/account deposit MyAccount 20
Returns:
On Success

ATM: 20 Coin added to MyAccount

On Failed

ATM: Couldn't deposit, are you sure you have enough money?

/account withdraw <accountname> <amount> [password]

Withdraw money from your account to your iConomy account.
If password is set, you must write the password for your account.
/account withdraw MyAccount 10 MySecretPassword
Returns:
On Success

ATM: 10 Coin withdrawed from MyAccount

On Failed

ATM: Couldn't withdraw, are you sure you have enough money on account?

/account transfer <from account> <to account> <amount> [password]

Transfer money from one account to another, the other doesn't need to be your own.
If password is set, you must write the password for your account.
/account transfer MyAccount MyFriendsAccount 5 MySecretPassword
Returns:
On Success

ATM: 5 Coin transfered from MyAccount to MyFriendsAccount

On Failed

ATM: Couldn't transfer, are you sure you have enough money on account?

/account close <accountname> [password]

Closes an account, if there is money left on the account, they will be withdrawn automatically.
If password is set, you must write the password for your account.
/account close MyAccount MySecretPassword
Returns:
On Success with money left

ATM: 5 Coin withdrawed
ATM: Account closed

On Success without money left

ATM: Account closed

/account loan [amount]

Loan money from the bank.
If amount isn't set, shows status on loan.
/account loan 50

/account pay <amount>

Pay amount back on loan.
/account pay 10

/account select (ADMIN COMMAND)

Used to activate and deactivate selection of bankareas
/account select
Returns:
On Activation

ATM: Selecting area active, send command again to deactivate

On Deactivation

ATM: No longer selecting area

/account setarea <areaname> (ADMIN COMMAND)

Used to turn a selection into a bankarea.
Must have areas set to true in config.yml.
Returns:
On Success

ATM: Area added

On Failed

ATM: Something went wrong. Please try again.

or

ATM: You haven't selected an area!

/account removearea <areaname> (ADMIN COMMAND)

Used to remove a bankarea.
Returns:
On Success

ATM: Area removed

On Failed

ATM: Something went wrong. Please try again.