Add bank toolshed commands (#40614)

* add bank commands

* Follow convention

* use protoId

* make logic better

* Move stuff to shared

* Make things dirty

* Move UpdateBankAccount to shared as well

* nullable + resolve

* Fix commands

* make things less legible

* typo

* same typo

* im dumb

* I don't know how to spell

* replace select with foreach

Co-authored-by: Simon <63975668+Simyon264@users.noreply.github.com>

* replace select with foreach again

---------

Co-authored-by: Simon <63975668+Simyon264@users.noreply.github.com>
This commit is contained in:
Samuka-C
2025-10-15 12:10:25 -03:00
committed by GitHub
parent 68f9d748a2
commit 71bbe926a0
4 changed files with 249 additions and 50 deletions

View File

@@ -6,6 +6,16 @@ command-description-acmd-perms =
Returns the admin permissions of the given command, if any.
command-description-acmd-caninvoke =
Check if the given player can invoke the given command.
command-description-bank-accounts =
Returns all accounts on a station.
command-description-bank-account =
Returns a given bank account from a station.
command-description-bank-adjust =
Adjusts the money for the given bank account.
command-description-bank-set =
Sets the money for the given bank account.
command-description-bank-amount =
Returns the money for the given bank account.
command-description-jobs-jobs =
Returns all jobs on a station.
command-description-jobs-job =