1,118 ratings
Type: Mod
Mod Type: Mechanics
File Size
21.118 MB
Aug 16, 2019 @ 3:47am
Nov 26, 2020 @ 11:33pm
13 Change Notes ( view )

Subscribe to download

This mod adds a banking system and requires the Community Framework.

The config can be found in a folder called "DC_Banking" located in the server profile folder and by default supports the currency from the Trader mod by Dr_J0nes.
You do not have to create the config yourself, it will get generated once you start the server for the first time after installing the mod or if no config could be found:
//Do not copy this config directly, let it generate a new one on the first server start after installing this mod instead, otherwise it will cause issues, since the comments in here are causing issues with the json format { "m_DefaultMaxCurrency": 10000, //The maximum amount of currency a player can have stored "m_StartCurrency": 0, //The amount of currency that players start with in their account "m_PlaceExcessiveCurrencyOnGround": 1, //A bool that decides whether currency that can not be carried by the player is placed on the ground "m_CreateLogs": 1, //A bool that decides whether logs should be created in the script*.log file in the server profile folder "m_MessageDisplayTime": 5, //The time that messages will be displayed for in seconds "m_TransactionDelayTime": 1, //The time that users will have to wait before being able to make another deposit/withdrawal request in seconds "m_BankingCurrencyArray": [ //An array that contains all currency class names and values { "m_ClassName": "MoneyRuble100", "m_Value": 100 }, { "m_ClassName": "MoneyRuble50", "m_Value": 50 }, { "m_ClassName": "MoneyRuble25", "m_Value": 25 }, { "m_ClassName": "MoneyRuble10", "m_Value": 10 }, { "m_ClassName": "MoneyRuble5", "m_Value": 5 }, { "m_ClassName": "MoneyRuble1", "m_Value": 1 } ] }

Player data can be found in the "PlayerDatabase" folder and is named after the steamID64 of the corresponding player:
{ "m_PlainID": "01234567891234567", //ID of the player "m_Username": "Survivor", //Name of the player that was last used while using the banking system "m_OwnedCurrency": 11000, //Amount of currency the player has stored "m_MaxOwnedCurrencyBonus": 4000 //Maximum amount of currency the player can own on top of the max currency set in the config (To, for example, allow long-time players or event winners to store more than normal players) }

By default an ATM with the classname "DC_BankingATM" is used to access the banking menu and has to be placed like a custom building (using the community offline mode or getting the position and orientation manually), but any object should be usable as long as the action "DC_ActionOpenBankingMenu" is added.
Classnames: "DC_BankingLocker" "DC_BankingATM" "DC_BankingATMRed" "DC_BankingATMGreen" "DC_BankingATMBlue" "DC_BankingATMDarkGreen" "DC_BankingATMDarkBlue" "DC_BankingATMOrange" "DC_BankingATMYellow" "DC_BankingATMPurple" "DC_BankingATMWhite" "DC_BankingATMGray" Green Mountain ATM: Position: "3706.7 402.012 5984.86" Orientation: "90 0 0" Position: "3704.7 402.332 6003.1" Orientation: "275 0 0" Kumyrna ATM: Position: "8360.15 292.054 5994.15" Orientation: "325 0 0" Position: "8350.7 292.011 5978.3" Orientation: "235 0 0" If you should be using the Stary or Klen trader mods: Stary ATM: Position: "6262.1 301.012 7725.4" Orientation: "35 0 0" Klen ATM: Position: "11477.8 341.941 11341.6" Orientation: "35 0 0" If you are using the community offline mode function: SpawnObject("DC_BankingATM", "3706.7 402.012 5984.86", "90 0 0"); //Green Mountain ATM 1 SpawnObject("DC_BankingATM", "3704.7 402.332 6003.1", "275 0 0"); //Green Mountain ATM 2 SpawnObject("DC_BankingATM", "8360.15 292.054 5994.15", "325 0 0"); //Kumyrna ATM 1 SpawnObject("DC_BankingATM", "8350.7 292.011 5978.3", "235 0 0"); //Kumyrna ATM 2 SpawnObject("DC_BankingATM", "6262.1 301.012 7725.4", "35 0 0"); //Stary ATM SpawnObject("DC_BankingATM", "11477.8 341.941 11341.6", "35 0 0"); //Klen ATM Thanks to =]PMC[=Tyson for providing the locations for his PMC traders: SpawnObject( "DC_BankingATMDarkGreen", "13326.676758 6.065017 6766.269043", "-20.000000 0.000000 0.000000" ); //PMC Trader Funfair SpawnObject( "DC_BankingATMDarkBlue", "13345.848633 6.033757 6739.655273", "75.000000 0.000000 0.000000" ); //PMC Trader Funfair SpawnObject( "DC_BankingATMOrange", "13349.243164 5.359690 6703.152344", "160.000000 0.000000 0.000000" ); //PMC Trader Funfair SpawnObject( "DC_BankingATMRed", "13324.538086 6.165526 6765.516602", "-20.000000 0.000000 0.000000" ); //PMC Trader Funfair SpawnObject( "DC_BankingATM", "9164.450195 93.925499 13163.900391", "50.000004 0.000000 0.000000" ); //PMC Trader Prison SpawnObject( "DC_BankingATMDarkBlue", "9172.360352 90.937103 13229.299805", "-45.000000 0.000000 0.000000" ); //PMC Trader Prison SpawnObject( "DC_BankingATM", "172.014313 472.758850 11316.481445", "35.000004 0.000000 0.000000" ); //PMC Trader Camp

Most items should be useable as currency.
Double clicking on the amount field will empty it. Double clicking on the deposit/withdraw buttons while the amount field is 0 will deposit/withdraw as much currency as possible.

You should probably not double click the withdraw button while the amount is set to 0 like mentioned above since you might end up dropping part of the withdrawn money on the ground if you don't have enough room in your inventory to hold it.

Everything should work as intended, but I only tested this mod with a couple of people at once, so if anyone finds bugs, issues or has suggestions just hit me up on steam or discord: Deadcraft#8378

I do not give permission to distribute, repack, reupload or modify this mod in any way without my permission. Monetizing features of this mod (for example selling increases in maximum storable currency) is also not allowed.

Should your server break Bohemia's monetization guidelines in any way, you are not allowed to use this mod.
Popular Discussions View All (14)
Jul 9 @ 2:35pm
Servers using this mod!
Jul 21 @ 9:42am
Add to TraderObjects.txt
Mar 11, 2021 @ 10:37am
Lady Nevermore
< >
Moray Dabamako Aug 10 @ 9:37am 
I just have a problem when I reboot its despawn
Deadcraft  [author] Aug 8 @ 5:19am 
@Moray Dabamako You have to spawn them in manually. I should probably rework the workshop page at some point and explain it better, but for now you could reference the mod's github page. I (hopefully) explain the spawing process a bit better there: . Basically any way that lets you spawn persistent buildings should work.
Moray Dabamako Aug 6 @ 10:53am 
can someone explain to me how to make the Banking mod work please? ATMs do not spawn in game
The Joker HAHAHA Jul 23 @ 10:38am 
i only asked as it stated to asked for permission pal really appreciate you replying and love ya mod its the only banking mod we would ever use
Deadcraft  [author] Jul 23 @ 10:35am 
@The Joker HAHAHA Sorry, but I don't allow repacking in general
The Joker HAHAHA Jul 23 @ 10:10am 
hi first off thank u for such a great mod i was wondering if its possible to get permission to repack your mod into our own mod pack. its none monitized no donations server and if permission is granted we will give credit in the discription no changes will be made to the mod its just to compress the amount of mods we have
NeO_PRoX Jul 11 @ 12:29pm 
Привет. Могу я использовать ваш мод у себя на сервере? Спасибо))
SCLowTonez Jun 17 @ 7:32pm 
I do not plan on making a similar mod nor distributing the works derived from the source files. Just use this as some what of a reference to see how to code a GUI addition that counts the money in a players inventory and displays it on screen so I don't have to count all the money I collect as I am collecting it, I want it to be added up and shown to me on screen. All work I do will not intervene with this mod as I will use all unique pathing so it will not conflict with the Bank mod as I use this amazing mod myself on my server. So I will be testing to see if any scripts conflict which for this to work correctly for me it must not. But no worries there anyhow since I DO NOT wish to release the counter on workshop.
SCLowTonez Jun 17 @ 7:14pm 
Hey Deadcraft, AMAZING skills on Developing this Mod! I was wondering if I could use the source to see how to create a CurrencyCounter addition to my GUI. I just wish to view the source files and view them as a guide to help me learn Code. Very interested in educating myself on scripting and development and wish to have permission to view these works as educational reference.
vip-razor Jun 12 @ 11:55pm 
Здравствуйте можно использовать ваш мод на своем сервере?