Global Banking icon

Global Banking -----

Add a Banking system to your server!



This plugin is still in development!

Current Features:
- Player Creatable Banks
- Bank accounts (players currently have no limit)
- Interest payment on the bank account value
- Bank Upkeep costs
- Transaction Fees
- Asset Creation (Includes NPC creation, region protection)
- Asset Management (Selling/Deleting/Buying)
- Bank Building (Includes NPC creation, region protection & Holograms)
- Bank Deletion (by choice or by a bank running out of liquidity)
- Adding limits to num of banks that can be created (Globally)
- Limits to banks owned by a player
- Limit to the number of creatable assets
- Limit to the number of creatable bank accounts
- A Loaning system (This will involve, interest, and putting up collateral (in the form of Items or Assets)


Planned Features:
- GUI Customisability (To a limit, I do not plan on making it fully customisable)

Commands
- bankAccount (
aliases: openBank )
- This will show all created bank accounts
- banks ( aliases: allBanks )
- This will show all created bank's
- createBank
- registerBankBuilding(
aliases:newBankBuilding )
- CreateAsset (aliases:asset, newAsset)
- assets(aliases:assetsMenu
)
- assetMarket
- openAsset(aliases:assetSettings)

- This will open the settings for the asset you are standing in.
- buildingSettings( aliases: bankBuildingSetting)
- This will open the settings for the bank building you are standing in.

permissions:
globalbanking.createbank:
description: Ability to create a bank.
default: true
globalbanking.createbankbuilding:
description: Ability to register a bank building
default: true
globalbanking.createasset:
description: Ability to create a asset
default: false
globalbanking.sellasset:
description: Ability to put asset for sale on the market
default: true
globalbanking.buyasset:
description: Ability to buy a asset
default: true


# Uses PlaceholderAPI
# %globalbanking_bankName%
# %globalbanking_bankOwner%
# %globalbanking_interest%
# %globalbanking_liquidity%
# %globalbanking_transactionFee%


Informant:
prefix: "&eInformant -> "
lines:
- "&7Welcome to &b%globalbanking_bankName%!"
- "&7Walk through the open doors and interact with the npc ahead!"
- "&7The current bank interest rate is &e%globalbanking_interest%&7! And we have a liquidity amount of &e%globalbanking_liquidity%"

BankAccountant:
prefix: "&9Account Manager -> "
lines:
- "&7Left Click me to open up your account details"

LoanAccountant:
prefix: "&9Loan Manager -> "
lines:
- "&7Left Click me to open up your loan details"
- "&7No Function Yet."

AssetAccountant:
prefix: "&9Asset Manager -> "
lines:
- "&7No Function Yet."

Security:
prefix: "&4&lGUARD -> "
holdingWeapon:
- "&cThat better not be a weapon inside the bank!"
speedPotion:
- "&cYou better not be using that speed to rob the bank!"
clicked:
- "&7Dear Customer. Please &crefrain &7from distracting me."

# all times are going to be times (not minecraft time)
# Times:
# s -> Seconds
# m -> Minutes
# h -> Hours
# d -> days

Bank:
bankCreationCost: 100000.0 # How much it costs to create a bank.
startingFunds: 5000.0 # how much liquidity a players bank must start with. So a player in this scenario will pay (105000)
operatingCosts: 100.0
operatingCostsTimes: 7d # 7 days
bankAccounts:
minAmount: 500.0
interestTime: 60d # How long till banks pay the interest into the customers account.
deletionFee: 100.0
Loan:
minLoanAmount: 100.0
maxLoanAmount: 1000000.0
interestIncrease: 7d # How long till the interest causes total loan amount to increase.
loanDefault:
loanerPenalty: 0 # Additional amount taken from the loaner as a penalty. This money will be removed from the system.
PaymentScheme: # Default Values
minTime: 7d # To prevent people from trying to exploit and use the system in ways it is not supposed to.
maxTime: 60d # Adding limits to the time frame will prevent it.
totalTime: 21d # Default Value
minNumOfPayments: 2 # Min Limit
amountOfPayments: 7 # Default Value
maxNumOfPayments: 20 # Max Limit.
Modifiable:
FinalDate: true
numberOfPayments: true
Building:
minSize: 25 # (5x5; this is the area on a 2D plain, so x-axis * Z-axis)
maxSize: 1600 # (40x40)



Asset:
Region:
minSize: 125 # This is done by volume! (5x5x5)
maxSize: 125000 # 50x50x50 the dimensions doesn't have to be this it can be (20x10x70) but its volume has to be below.
doCalculationTime: 20 # 36000 # In Ticks! 20 ticks = 1 second. default time = 30 min
defaultPrice: 500.0
minPrice: 50.0
maxPrice: 10000.0
border: 0.1 # Border around maxprice or minprice where the price will want to go to the opposite direction
defaultVolatility: 0.01
defaultMaxVolatility: 0.02
# border = defaultPrice * VALUE

# -1 remove the limit.
Limits:
GlobalMaxBanks: 50
OwnedMaxBanks: 1
bankAccountsMax: 20
MaxGlobalAssets: -1
MaxOwnedAssets: 50

# DO NOT TOUCH.
Store:
interestIncrementLastTime:

# Not all flags are in use yet!
# Layout inspired from "MiroTcz"

allowed-cmds:
- "&7A list of commands to permit"
block-break:
- "&7Whether blocks can be mined"
block-place:
- "&7Whether blocks can be placed"
blocked-cmds:
- "&7A list of commands to block"
build:
- "&3Everything:"
- ""
- " &7Whether blocks can be mined or placed"
- " &7Whether doors, levers, etc. (but not inventories) can be used"
- " &7Whether entities and blocks can be interacted with"
- " &7Whether player versus player combat is permitted"
- " &7Whether sleeping in a bed is permitted"
- " &7Whether inventories can be accessed"
- " &7Whether vehicles (boats, minecarts) can be placed"
- " &7etc."
buyable:
- "&7Not used by WorldGuard at this time,"
- "&7but third-party plugins may use it"
chest-access:
- "&7Whether inventories can be accessed"
chorus-fruit-teleport:
- "&7Whether chorus fruit can be used"
creeper-explosion:
- "&7Whether creepers can do damage"
damage-animals:
- "&7Whether players can harm friendly animals (cows, sheep, etc)"
deny-message:
- "&7The message issued to players that are denied an action"
deny-spawn:
- "&7A list of entity types that cannot spawn"
enderdragon-block-damage:
- "&7Whether enderdragons can do block damage"
enderman-grief:
- "&7Whether endermen will grief"
enderpearl:
- "&7Whether enderpearls can be used"
entity-item-frame-destroy:
- "&7Whether non-player entities can destroy item frames"
entity-painting-destroy:
- "&7Whether non-player entities can destroy paintings"
entry:
- "&7Whether players can enter the region"
entry-deny-message:
- "&7The message issued to players that aren't permitted to enter region"
exit:
- "&7Whether players can exit the region"
exit-deny-message:
- "&7The message issued to players that aren't permitted to exited region"
exit-override:
- "&7Flag that can be used on an entry=allow region"
- "&7that players can walk into from an entry=deny region"
exit-via-teleport:
- "&7Whether players can exit the region via teleport"
exp-drops:
- "&7Whether XP drops are permitted"
fall-damage:
- "&7Whether players can take damage from falling"
farewell:
- "&7The message that appears upon leaving the region"
feed-amount:
- "&7The amount of half food points to give (...or take if negative)"
- "&7the player at the rate of feed-delay"
feed-delay:
- "&7The number of seconds between feeds (if feed-amount is set)"
feed-max-hunger:
- "&7The maximum number of half food points that damage (via feed-amount)"
- "&7will not exceed"
feed-min-hunger:
- "&7The minimum number of half food points that damage (via feed-amount)"
- "&7will not exceed"
fire-spread:
- "&7Whether fire can spread"
firework-damage:
- "&7Whether players can take damage from fireworks"
game-mode:
- "&7The gamemode (survival, creative, adventure, spectator)"
- "&7that will be applied to players that enter the region"
ghast-fireball:
- "&7Whether ghast fireballs can do damage"
grass-growth:
- "&7Whether grass will grow"
greeting:
- "&7The message that appears upon entering the region"
heal-amount:
- "&7The amount of half hearts to heal (...or hurt if negative)"
- "&7the player at the rate of heal-delay"
heal-delay:
- "&7The number of seconds between heals (if heal-amount is set)"
heal-max-health:
- "&7The maximum number of half hearts that damage (via heal-amount)"
- "&7will not exceed"
heal-min-health:
- "&7The minimum number of half hearts that damage (via heal-amount)"
- "&7will not exceed"
ice-form:
- "&7Whether ice will form"
ice-melt:
- "&7Whether ice will melt"
interact:
- "&3Everything that involves a block or entity:"
- ""
- " &7Whether doors, levers, etc. (but not inventories) can be used"
- " &7Whether inventories can be accessed"
- " &7Whether vehicles (including animals) can be mounted"
- " &7etc."
invincible:
- "&7Whether players are invincible"
item-drop:
- "&7Whether items can be dropped"
item-pickup:
- "&7Whether items can be picked up"
lava-fire:
- "&7Whether lava can start fires"
lava-flow:
- "&7Whether lava can flow"
leaf-decay:
- "&7Whether leaves will decay"
lighter:
- "&7Whether flint and steel can be used"
lightning:
- "&7Whether lightning can strike"
mob-damage:
- "&7Whether mobs can hurt players"
mob-spawning:
- "&7Whether mobs can spawn"
mushroom-growth:
- "&7Whether mushrooms will grow"
mycelium-spread:
- "&7Whether mycelium will spread"
notify-enter:
- "&7Whether players with the worldguard.notify permission"
- "&7are notified when another player enters the region"
notify-leave:
- "&7Whether players with the worldguard.notify permission"
- "&7are notified when another player leaves the region"
other-explosion:
- "&7Whether explosions can do damage"
passthrough:
- "&3This flag is short for build"
- "&3It has nothing to do with movement."
- ""
- " &7If not set (default), then the region protects its area."
- " &7If set to deny, then the region protects its area."
- " &7If set to allow, then the region no longer protects its area."
- ""
- " &7When you are using other flags (PvP, healing, etc.)"
- " &7 and you donwant to prevent building."
- " &7Why not set build to allow instead?"
- " &7 That would override other regions and let people build!"
pistons:
- "&7Whether pistons can be used"
potion-splash:
- "&7Whether potions can have splash effects"
price:
- "&7Not used by WorldGuard at this time,"
- "&7but third-party plugins may use it"
pvp:
- "&7Whether player versus player combat is permitted"
receive-chat:
- "&7Whether players can receive chat"
ride:
- "&7Whether vehicles (including animals) can be mounted"
send-chat:
- "&7Whether players can send chat"
sleep:
- "&7Whether sleeping in a bed is permitted"
snow-fall:
- "&7Whether snow will fall"
snow-melt:
- "&7Whether snow will melt"
soil-dry:
- "&7Whether soil will dry"
spawn:
- "&7The location to teleport to when a player"
- "&7dies within the region"
teleport:
- "&7The location to teleport to when the"
- "&7/rg teleport command is used within the region"
time-lock:
- "&7Time of day in ticks (between 0 and 24000) that players"
- "&7will see the world as while in the region."
- "&7Use + or - for time relative to the world time."
tnt:
- "&7Whether TNT detonation or damage is permitted"
use:
- "&7Whether doors, levers, etc. (but not inventories) can be used"
vehicle-destroy:
- "&7Whether vehicles can be destroyed"
vehicle-place:
- "&7Whether vehicles (boats, minecarts) can be placed"
vine-growth:
- "&7Whether vines will grow"
water-flow:
- "&7Whether water can flow"
weather-lock:
- "&7Type of weather players will see when in the region."
- "&7This does not affect world mechanics. Valid values are downfall and clear."
wither-damage:
- "&7Protects from explosion of the wither itself, not the skull projectiles."

Dependencies:
- WorldGuard
- CommandAPI
- Vault
- Citizens
- PlaceholderAPI

A Hologram plugin is recommended:
- DecentHolograms
- HolographicDisplays
- CMI

NOTE: This plugin will require another economy plugin for the actual economy and it will link to that via vault. This will not create an economy for you.

To Report a bug please join my discord server: https://discord.gg/djKnjZq87D
Resource Information
Author:
----------
Total Downloads: 188
First Release: Jun 2, 2023
Last Update: Jul 17, 2023
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings