KGX'S DEV LIBRARY / 7 DAYS TO DIE / TUTORIALS

08 GUIDES.

7 DAYS TO DIE MOD

KGX Dukes Bank.How to use it.

KGX Dukes Bank keeps your Dukes safe in a bank account. These guides cover the ATM, deposits, sending Dukes, interest, party accounts and paying at the Trade Post.

Tutorial 01

Build the ATM and open your account

Craft an ATM and see your balance.

  1. Craft the KGX ATM in your backpack: 10 forged iron, 4 mechanical parts and 4 electrical parts.
  2. Place it (it is two blocks tall).
  3. Look at it and press E. Your account opens with your balance and history. Every player has their own account.

Tutorial 02

Deposit and withdraw

Put Dukes in the bank so you keep them when you die.

  1. Type an amount in Amount and press Deposit, or press Deposit all to put in every Duke you carry.
  2. To take Dukes out, type an amount and press Withdraw, or press Withdraw all. At most 100,000 Dukes at a time.
  3. Dukes in the bank are safe when you die. Dukes in your backpack are not.

Tutorial 03

Send Dukes to another player

Pay a friend, also when they are offline.

  1. Open the ATM.
  2. In Send to player, type the player's name and the amount, then press Send.
  3. The player must have played on this world. They get a toast when they are online.
  4. The server can turn sending off (setting transfers).

Tutorial 04

Earn interest

Your balance grows every game day.

  1. At the start of each game day your account earns interest: 1% of the balance by default, at most 250 Dukes a day, from a balance of 100.
  2. Days skipped by sleeping or time commands are paid too, up to 7 days at once.
  3. Type kgx bank interest to see the server's interest settings.

Tutorial 05

Share a party account

One account for your whole group.

  1. Join a party, open the ATM and press Open account under the party account.
  2. Everyone in a party with you can deposit. They can withdraw too, unless the server turned that off (setting partyMembersWithdraw).
  3. As the owner you can close the party account; its Dukes go into your own account.

Tutorial 06

Use the bank with Contract Board and Trade Post

Let other KGX mods pay into and from your account.

  1. Contract Board: press the Contract Dukes button at the ATM until it says into the bank. Contract Dukes (and Trade Post sales) then go straight into your account.
  2. Trade Post: at the Trade Post, press Pay from: Backpack so it says Pay from: Bank. Buy orders, purchases and fees are then paid from your account, and unspent Dukes go back into it.
  3. These payments show in your history as payment and refund lines. Only your own account is used, never the party account.

Tutorial 07

Read and clear your history

See where your Dukes went.

  1. The ATM shows the newest lines of your history; kgx bank history shows more in the console.
  2. Each account keeps its last 50 lines.
  3. Clear history removes your own history after you confirm with Clear. Your balance does not change.

Tutorial 08

Server owner: settings and commands

Set up the bank for your server.

  1. Server settings (F2, or kgx config bank): interestPercent, interestMaxPerDay, interestMinBalance, transfers, partyAccounts, partyMembersWithdraw and payments (paying KGX Trade Post from the bank).
  2. kgx bank balance, kgx bank history and kgx bank interest for every player.
  3. Admin: kgx bank balance <player> and kgx bank history <player> look at any account; kgx bank give <player> <amount> adds Dukes (a negative amount takes them).
  4. Every deposit, withdrawal, transfer and payment is written to the server log.

Type to search every project, roadmap and toolbox tutorial.