FrameAPI v 2.8.5 Beta

API

  1. Darryl00
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.13
    • 1.14
    Source Code:
    https://github.com/TrAxMC/FrameAPI--v2.8
    Anmerkung 2019-09-15 175337.png



    FrameAPI V 1.1


    This plugin can not be used in the game, the plugin is needed with a plugin hanging together.


    Suitable for developers

    Use for Money:

    Code (Text):
    public static void createAccount(String name) {

    MoneyFrameAPI.createAccount(p.getName());

    getMoney
    :

    Code (Text):
    public static Double getMoney(String name) {

    double money = MoneyFrameAPI.getMoney(p.getName());
    addMoney:

    Code (Text):
    public static void addMoney(String name, double amount) {


    double amount = youre nummbers;
    MoneyFrameAPI.addMoney(p.getName(), amount);
    removeMoney:

    Code (Text):
    public static void removeMoney(String name,double amount) {

    double amount = youre nummbers;
    MoneyFrameAPI.removeMoney(p.getName(), amount);
    setMoney:

    Code (Text):
    public static void setMoney(String name, double amount) {

    MoneyFrameAPI.setMoney(p.getName(), amount);

    Information:
    It has its own currency system.
    Get heads.
    And much more
    Create Pets!

    Code (Java):
    Pet.createPet(p, EntityType.CAT, "Name", speed);
    Create Pet : FrameAPI.Pet.createPet(Player, EntityType, Name, PetSpeed);

    to Remove Pet use:

    FrameAPI.Pet.RemovePet(player);

    Permissions:
    Code (Text):
    frameapi.*
    frameapi.startbudget
    frameapi.teleporter
    frameapi.backtp
    frameapi.spawnmob
    frameapi.denied
    frameapi.getitem
    frameapi.heal
    frameapi.mysql
    frameapi.set
    frameapi.balance.other
    frameapi.balance
    frameapi.set.other

    look in SourceCode!

    FrameAPI.PNG


    MoneySigns:

    Need to Activate in Config.yml

    MoneySigns: false = true

    Anmerkung 2019-09-15 191001.png


    Balance Sign = Line 1 = [balance]
    Free Sign = Line 1 free
    Line 2 Material Name
    Line 3 Amount

    Buy Sign = Line 1 buy
    Line 2 Material Name
    Line 3 Amount
    Line 4 Money in int

    Sell Sign = Line 1 sell
    Line 2 Material Name
    Line 3 Amount
    Line 4 Money in int



    MYSQL is not in use



    Good Luck FrameDev!

    My Youtube Channel:
    https://www.youtube.com/channel/UCP9zc-oYLIhU7W-0n1qigvQ

    Images

    1. Bild.png

Recent Updates

  1. Config updated Money Signs Can be changed
  2. Money Signs
  3. Permissions Update