Cuxial Banking has one command, for staff. Players use the bank through branches, ATMs and items.
Commands
| Command | Who | What it does |
|---|---|---|
/bankadmin | Staff | Opens the staff panel: overview, citizens, societies, loans, points, settings and audit log. |
The name of the command is commands.admin.name in shared/config.lua. An empty name removes the command.
Keys
The bank adds no key bindings.
Interactions
| Where | Who | What it does |
|---|---|---|
| Bank branch (target or NPC) | Everyone, or the jobs set on that point | Opens the bank. |
| ATM prop or ATM point | Anyone carrying an active card | Opens the ATM after the PIN. |
| Nearby player, with the chequebook open | Bosses | Issues a business cheque to that player. |
Usable items
| Item | Who | What it does |
|---|---|---|
bank_cheque | Whoever holds it | Shows the cheque on screen. |
bank_chequebook | Bosses of a job | Opens the chequebook for a few seconds to issue a business cheque. Using it again puts it away. |
printerdocument | Whoever holds it | Shows the printed receipt on screen. |
The names are the defaults of data/cheques.lua and data/accounts.lua.
Permissions
Staff
A player is bank staff when your framework grants them the permission in admin.permission, 'admin' by default. The bank asks the framework through cuxial_bridge; it does not read ACE groups directly.
The player needs the admin permission of the framework.
Every action of the panel checks the permission again on the server and is written to the audit log.
To also restrict the command by ACE, set a group:
commands = {
admin = { name = 'bankadmin', restricted = 'group.admin' },
},With restricted = false, the default, anyone can type the command, and those without the staff permission get a refusal.
Players
| Feature | Requirement |
|---|---|
| Personal account | Be at a branch. |
| Business account | Be a boss of the job. |
| Shared account | Be the owner, or a member with the permission for that operation: deposit, withdraw, transfer or loans. |
| ATM | Carry an active card and know its PIN. |
| Business cheque | Be a boss of the job and carry the chequebook. |
| Job-limited point | Have one of the jobs set on that point. |
