Bank Skript

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Zabrid

Supporter
Mar 2, 2019
54
1
8
Description
Bank is a script that allows your players to store their money or even their items inside of a virtual bank. This bank also allows you to gain interest on the money you put into it every 12 hours!

Dependencies
Skript 2.2+
Skript-Mirror 2.0
SkQuery
TuSKe-PikachuPatch-V3

Important
I have not tested this script on different versions and I'm not certain it will work on other versions. (For support my discord is: Zabrid#0001)

Commands
/Bank - Open the main Bank gui. (bank.use)
/Bank Deposit - Open the deposit Bank gui. (bank.use)
/Bank Withdraw - Open the withdraw Bank gui. (bank.use)
/ItemBank - Open the Item Vault/Bank gui. (bank.use)
/Bank Reset <player> - Reset a player's bank balance, and Item Bank. (bank.admin)

Menus
unknown.png
unknown.png
unknown.png

/SPOILER]
unknown.png

Config
Code:
  #Color Configurations

    #Main Color (Default: &d)
    mainColor: &d
    #Secondary Color (Default: &7)
    secondaryColor: &7


  #Interest Configurations

    #How many seconds pass until you gain interest (Default: 43200)
    interestTime: 43200
    #Formatted time for interest (Default: 12h)
    formatedInterestTime: 12h


  #GUI Configurations
   #Please note: You do not need to put a color code as it will use the Main Color configuration.
   #Please Note 2: If you do put a color it will override the Main Color configuration.

   #Gui Titles
    #Name of the main /bank gui (Default: &lBanker)
    nameOfMainGui: &lBanker
    #Name of the deposit /bank gui (Default: &lBanker)
    nameOfDepositGui: &lBanker
    #Name of the withdraw /bank gui (Default: &lBanker)
    nameOfWithdrawGui: &lBanker
    #Name of the vault /bank gui (Default: &lBanker's Vault)
    nameOfVaultGui: &lBanker's Vault

   #Gui Items
    #Name of the back item (Default: &lBack)
    nameOfBackGuiItem: &lBack
    #Name of main gui deposit item (Default: &lDeposit Money)
    nameOfDepositGuiItem: &lDeposit Money
    #Name of main gui withdraw item (Default: &lWithdraw Money)
    nameOfWithdrawGuiItem: &lWithdraw Money
    #Name of main gui vault item (Default: &lItem Vault)
    nameOfVaultGuiItem: &lItem Vault
    #Item type of back item (Default: glowing feather)
    itemTypeOfBackItem: glowing feather
    #Item type of main gui deposit item (Default: paper)
    itemTypeOfMainGuiDepositItem: paper
    #Item type of main gui withdraw item (Default: dispenser)
    itemTypeOfMainGuiWithdrawItem: dispenser
    #Item type of main gui bank item (Default: chest)
    itemTypeOfMainGuiVaultItem: chest
    #Item type of fill item (Default: black glass pane named "&7")
    itemTypeOfFillItem: black glass pane named "&7" #to add a lore simply add (with lore "(loreLine1||loreLine2")