← Config Help

D7 Banking System

INSTRUCTIONS.txt
==================================================
              D7 BANKING  -  GUIDE
==================================================

--------------------------------------------------
 1) HOW PLAYERS USE IT
--------------------------------------------------
  - Walk up to any ATM on the map.
  - Aim at it and use the action "Open Bank".
  - In the menu you can:
      * Deposit / Withdraw money
      * Deposit All / Withdraw All (one click)
      * Transfer money to another player
      * View your transaction history
      * (If enabled) manage your Group account


--------------------------------------------------
 2) SERVER SETUP
--------------------------------------------------
  a) Add to your -mod line (Core FIRST):
       @D7 Core;@D7 Banking

  b) Place ATMs on your map using these classes:
       D7_BankingATM2

     (use your object spawner / VPP object Builder)

  c) Start the server once - the config auto-creates at:
       \profiles\D7\D7_Banking\BankingConfig.json


--------------------------------------------------
 3) CONFIG SETTINGS  (BankingConfig.json)
--------------------------------------------------
  m_DefaultMaxCurrency  : max money a player can hold in the bank
  m_StartCurrency       : starting balance for new players
  m_ATMMaxDistance      : how close a player must be to an ATM
  m_MessageDisplayTime  : on-screen message duration (seconds)
  m_TransactionDelayTime: delay between transactions (seconds)

  m_EnableDailyInterest : 1 = on / 0 = off
  m_DailyInterestRate   : e.g. 0.01 = 1% per day

  m_EnablePlayerTransfer: 1 = allow player transfers / 0 = off
  m_TransferFeePercent  : fee % taken on transfers (e.g. 5)

  m_EnableGroups        : 1 = enable Group accounts / 0 = off
                          (Group accounts also require DayZ Expansion)

  m_CreateLogs          : 1 = write logs / 0 = off
  m_MaxTransactionHistory: how many transactions are stored
  m_PlaceExcessiveCurrencyOnGround: 1 = drop overflow on ground / 0 = keep in bank

  (Restart the server after editing the config.)


--------------------------------------------------
 4) CHOOSING YOUR CURRENCY  (very important)
--------------------------------------------------
  The bank counts specific items as "money". You decide
  which items and how much each is worth, in:

    "m_BankingCurrencyArray"

  Each entry needs:
    m_ClassName  = the item class name
    m_Value      = how much that item is worth

  EXAMPLE (using your own / any money item):

    "m_BankingCurrencyArray": [
        { "m_ClassName": "D7_Banknote_100", "m_Value": 100.0 },
        { "m_ClassName": "D7_Banknote_10",  "m_Value": 10.0 },
        { "m_ClassName": "D7_Coin",         "m_Value": 1.0 }
    ]

  - Add as many currency items as you like.
  - Use ANY item class (vanilla, Expansion, or your own money mod).
  - Higher value items are used first when giving change.
  - After editing, restart the server.


--------------------------------------------------
 5) GROUP ACCOUNTS (optional)
--------------------------------------------------
  - Requires DayZ Expansion (party system).
  - Set "m_EnableGroups": 1 in the config, then restart.
  - The party LEADER opens the shared account.
  - Roles: Viewer (see), Depositor (see + deposit),
           Manager (see + deposit + withdraw).
  - The leader assigns roles from the Group tab.


==================================================
 Need help?  Discord: https://discord.gg/z8E3Cmcd6M
 Contact (D7): @d7om1b
==================================================