Hydra Eco 1.0

Custom economy skript

  1. HydraSkripts
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.8
    • 1.12
    • 1.15
    • 1.16
    Source Code:
    https://pastebin.com/Fh9yPSsS
    Details


    Hydra Eco is an economy skript that uses simple functions to access a player's balance. You can use this to make a custom shop, custom economy, and much more!


    Function Tutorial

    addBal(player, number)

    player is the player you are adding the balance to, and number is how much you are adding

    getBal(player)

    returns the amount of money a player has, you can use it like "if getBal(player) >= 42069:"

    removeBal(player, number)

    removes the specified amount from a player's balance. In the options you can change if the player's balance can be negative

    setBal(player, number)

    sets the specified player's balance to the number you chose.


    Command Tutorial

    /money - Main command

    /money <add/remove/set> <player> <amount> - Edits how much money a player has either by removing, adding, or setting it to anything

    /bal <player> - Sends the balance of a player

    /pay <player> <amount> - Pays the specified player the specified amount




    Download



    Download the skript at https://pastebin.com/Fh9yPSsS