Skip to content

Commands & permissions

The staff command of Cuxial Banking, the usable items and who can do what.

Cuxial Banking has one command, for staff. Players use the bank through branches, ATMs and items.

Commands ​

CommandWhoWhat it does
/bankadminStaffOpens 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 ​

WhereWhoWhat it does
Bank branch (target or NPC)Everyone, or the jobs set on that pointOpens the bank.
ATM prop or ATM pointAnyone carrying an active cardOpens the ATM after the PIN.
Nearby player, with the chequebook openBossesIssues a business cheque to that player.

Usable items ​

ItemWhoWhat it does
bank_chequeWhoever holds itShows the cheque on screen.
bank_chequebookBosses of a jobOpens the chequebook for a few seconds to issue a business cheque. Using it again puts it away.
printerdocumentWhoever holds itShows 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:

shared/config.lua
lua
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 ​

FeatureRequirement
Personal accountBe at a branch.
Business accountBe a boss of the job.
Shared accountBe the owner, or a member with the permission for that operation: deposit, withdraw, transfer or loans.
ATMCarry an active card and know its PIN.
Business chequeBe a boss of the job and carry the chequebook.
Job-limited pointHave one of the jobs set on that point.

© Cuxial