What is it?
I have created a ComputerCraft Bank which allows players to store and retrieve upto 5 levels of currency.
Each currency level can be set to whatever item you want and has a field to set the worth.
The worth field is how much of the lowest currency each level is. It then calculates the difference between the levels for you the best it can.
For an example on my server the currency is;
Level 1: Shillings
Level 2: Pounds - 1 Pound is worth 50 Shillings
Level 3: Diamonds - 1 Diamond is worth 2,500 Shillings
Level 4: Jewels - 1 Jewel is worth 125,000 Shillings
Level 5: Crowns - 1 Crown is worth 6,250,000 Shillings
This all works out to be a 50 between each level.
You dont have to have the same difference per level. For our server we found it easier.
The Bank is made up of 8 computers;
- 4 Currency Withdraw computers
- 1 Database computer
- 1 Client Computer
- 1 Server and Withdraw in one
- Currency Board (Optional - scrolls through the worth of each level.)
Each player has a username, password and Bank Card (floppy disk).
This card does not hold any balances or passwords but has a unique 5 digit pin which is an added layer of security for player accounts.
Please feel free to make changes to it, I just ask that my Minecraft name PomTom12 be mentioned as the original developer.
I would like to mention the following people because without their tutorials on YouTube and programs such as NPaintPro I would not have gotten
the bank to where it is now, so thanks;
- Nitrogen Fingers
- TheStillRendering
- DireWolf20
- Dan200
What can Everyone do?
All players can do the following once logged in;
- Deposit Funds
- Transfer Funds
- Withdraw Funds
- View Recent Transactions
- Count Funds
- Change Password
What can Admins do?
For players with Admin access;
- Create Account
- Delete Account
- List Current Users
- Reissue a bank card to a player
- View Currency Levels
- Update currency levels
- Update Bank
- Reset Passwords
Screenshots
Spoiler
Front of BankInside Bank
Main Screen
Counter Screen
Login Screen
Account Screen
Main Functions
Deposit ScreenWithdraw Screen
Transfer Screen
Admin Functions
Admin PanelCreate Account
List Accounts
List Currency Levels
New Currency Screen
How to Install?
If you would like to download and build one on your server/single player world I have a manual here;
https://www.dropbox.com/s/m8a3rg2w7dw4du3/pomtom%20national%20bank%20manual.docx?dl=0
Requirements:
- Computercraft 1.74
- OpenBlocks-1.7.10-1.4.4.jar
- OpenModsLib-1.7.10-0.8.jar
- OpenPeripheralCore-1.7.10-1.2.jar
- OpenPeripheralIntegration-1.7.10-0.3.jar
- OpenPeripheralAddons-1.7.10-0.4.jar
Updates
Update 14.09.2015:
- The list account screen has been updated to allow for admins to reset passwords. It allows multiple users with pages.
- Create account screen has been updated to have radio like buttons for the account type and the starting balance isn't hard coded so can be whatever the admin wants.
- The account screen has been changed to include a settings button. This allows users to change their password.
- The code has been updated to a newer mod version, they are;
- Computercraft 1.74
- OpenBlocks-1.7.10-1.4.4.jar
- OpenModsLib-1.7.10-0.8.jar
- OpenPeripheralCore-1.7.10-1.2.jar
- OpenPeripheralIntegration-1.7.10-0.3.jar
- OpenPeripheralAddons-1.7.10-0.4.jar
How to update the Bank
Client
- Press the update button in the Admin Control Panel on the client computer.
- Press and hold Ctl+T until you get to a command line.
- type pastebin get eSgrKy6s updateServer and hit enter
- type updateServer and hit enter
- Reboot by pressing and holding Ctrl+R
Database
- Press and hold Ctl+T until you get to a command line.
- type pastebin get Z9viAGE6 updateDatabase and hit enter
- type updateDatabase and hit enter
- Reboot by pressing and holding Ctrl+R
Previous Updates
Spoiler
Update 14.07.2015:- There is now a Counter Application on the main screen to help players determine how much to put in the deposit screen fields
- The Admin Panel has been updated to include a Update button for the client computer
if you have an existing version of the bank you can run the below command to get the update, after you do this you just use the button for future updates;
- pastebin get Yi3qzHk3 tempInstall
Update 27.06.2015:
- You don't have to have resonant strongboxes or diamond chests as shown in the pictures and manual. The diamond chest was because of an original build of the bank and hasn't been changed and the resonant strongboxes allows for a block to be placed on top while still be accessible.
- I have just made an update to stop termination on screens (Ctrl+T) and have applied some validation on a lot of the fields