1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Physical Bank

Discussion in 'Requests' started by HowTragicMate, Feb 26, 2020.

  1. HowTragicMate

    HowTragicMate Member

    Feb 21, 2020
    Likes Received:

    Suggested name:

    Physical Bank

    Spigot/Skript Version:

    2.5-alpha1 (1.15.2)

    What I want:

    An item-based economy script, per default emeralds.
    The goals are to add a greater level of immersion, a generally more Minecraft-like feeling, and in the case of a PvP environment, making the currency itself vulnerable to raiding.

    Account support for Factions
    Store physical currency in chests
    Automatic conversion (For example: emeralds and emerald blocks)
    Optional transaction taxes

    Storing money in an account requires a physical bank vault. A vault consists of a chest which is renamed as "<own username>'s Vault #<number>" or "Vault of <name of faction> #<number>". A player can create any number of vaults. Vaults are not
    protected from physical access through other players, unless using /blockdada command or a plugin such as LWC.

    /bank balance – Display vault's current balance.
    /bank deposit <amount> – Deposit an amount from inventory into a vault. Doesn't work if all of the player's vaults are full.
    /bank withraw <amount> – Withdraw an amount from a vault into inventory.

    Faction commands
    /bank balance faction – Display faction's vault's current balance.
    /bank deposit faction – Deposit an amount from inventory into a faction's vault. Doesn't work if all of the faction's vaults are full.
    /bank withraw faction – Withdraw an amount from a faction vault into inventory.

    Admin commands
    /bankadmin coords <player> (or <faction>) <number> – Get the coordinates the vault.
    /bankadmin balance <player> (or <faction>) – Get the balance of the vault.
    /bankadmin add <amount> (or <faction>) <player> – Add an amount of money to the vault. Doesn't work if all of the player's or faction's vaults are full.
    /bankadmin remove <amount> <player> – Remove an amount of money from the vault.

Share This Page