Tokens Economy - [1.8.x - 1.13.x] [Bank System] [SQL] [API] 2.4.0

an economy with tokens

  1. Twan040
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://gitlab.com/TwanLuttik/Tokens/issues
    Contributors:
    Twan L
    Tokens Banner-01.png

    What is this?
    this is a tokens economy plugin, and you can buy tokens with with the default economy





    Futures:
    - OfflinePlayer Support
    - mySQL Support
    - transfer from file-based to mySQL
    - Vault Support
    - Build in bank system



    Coming Futures:
    - convert you tokens to an item
    - API for developers
    - support multiple versions
    - OfflinePlayer Support
    - MySQL Support
    - set a limit for the minimum amount of tokens
    - remove the ID an let tokens stack together
    - add support for more languages
    - holographics
    - bank system with multiple users
    - placeholder support (BiBeo2006)
    - get tokens from killing a player (BiBeo2006)
    - add an option to sell item in the shop (Nawaf)



    Commands:
    aliases:
    /t
    tokens
    tokens balance / tokens balance <playername>
    tokens pay <playername>
    tokens get <amount>
    tokens buy <amount>
    tokens sell <amount>
    tokens shop
    tokens top
    tokens help
    tokens reload
    tokens bonus <amount>
    tokens add <amount> <playername>
    tokens remove <amount> <playername>
    tokens set <amount> <playername>
    tokens convert sql
    tokens bank
    tokens bank add <value>
    tokens bank get <value>
    tokens bank create
    tokens bank delete
    tokens bank leave
    tokens bank user invite <player>
    tokens bank user remove <player>
    tokens bank user makeowner <player>
    tokens bank balance

    For more specific information and permissions
    > SpreadSheet


    Known issues:
    - None

    Found any bugs, report your bugs here





    Config File
    Code (YAML):
    #
    #                     <--- Tokens --->
    #                   Created by Twan Luttik
    ConfigVersion
    : 1.1
    update_message
    : true
    bonus_message
    : '&a&l» &r&freceived &a{tokens} {prefix} &ffrom your boss'
    prefix
    :
      prefix
    : '&cB&6e&ea&au&bt&9y&5 &cT&6o&ek&ae&bn'
      enable
    : false
    tokens
    :
      buy_price
    : 100
      sell_price
    : 100
    sign
    :
      line1
    : '&a   Tokens '
      line2
    : '&8&m-------------'
      line3
    : '  &fRight Click'
      line4
    : '&8&m-------------'
    mySQL
    :
      host
    : "localhost"
      port
    : 3306
      username
    : "root"
      password
    : ""
      database
    : "players"
      table
    : "player_data"
      useSSL
    : false
     

    API -
    Code (Text):

    // Accessing the API
    private TokensAPI api = new TokensAPI();


    // remove a amount of tokens from a player
    api.TokensAPI.playerRemoveTokens(player, 100);

    // add a amount of tokens from a player
    api.TokensAPI.playerAddTokens(player, 100);

    // set a amount of tokens
    api.TokensAPI.playerSetTokens(player, 100);

    // return an int
    api.TokensAPI.playerBalance(player);

    // return a true or false
    api.TokensAPI.hasAccount(player);

    // return the name of the token (in colors)
    api.TokensAPI.getPrefix();
     






    Images:

    Sign:
    upload_2018-3-30_8-36-42.png
    upload_2018-3-30_8-36-56.png

    Phyisical Note
    Screenshot_1.png


    Help Command
    shop.png


    Do you want to have your server below here if your server using this plugin, dm me your ip adres


    You can contact me on discord Twan#9968
    BiBeo2006 and JohnnySig like this.

Recent Updates

  1. Bank system update
  2. v2.3.0
  3. v2.2.6 more bugs fixed

Recent Reviews

  1. Bagsdto75
    Bagsdto75
    4/5,
    Version: 2.3.0
    Great Plugin, But PLEASE Release The Update. Im Trying to Implement a Token System, But Im Not Experienced on How to Code. PLEASE Add/Release The New Update.
    1. Twan040
      Author's Response
      Thank you, working currenlty on the new update with the Bank system
  2. BlackGamerHD
    BlackGamerHD
    5/5,
    Version: 2.2.4
    Hello, your plugin is really good and performant. I would be very happy, if you can upload it on this website again, because I and many of my buddies use this, and that is really cool. <3 https://trailcraft.net/
    1. Twan040
      Author's Response
      Thank you, i will add post it on the website
  3. kassad
    kassad
    5/5,
    Version: 2.2.2
    I still can not understand the purpose of this plugin. Can someone tell me more? My server already has an economy. Why do I need tokens?
    1. Twan040
      Author's Response
      Maybe you want that players can buy a special items and they need the collect tokens to get the special item.
  4. GravityTurtalz
    GravityTurtalz
    5/5,
    Version: 2.2.0
    I like the concept, but I was wondering if there was anyway I could have it so my players got tokens for voting on my servers (this would be a cool way to have players vote for the server and then get tokens to use in the shop)
    1. Twan040
      Author's Response
      Thank you for the review, I will do you for more informations
  5. BiBeo2006
    BiBeo2006
    5/5,
    Version: 2.1.1
    It's amazing! Can you please add placeholder support in PlaceholderAPI plugin? And other way to obtain it like one kill give one token.
    1. Twan040
      Author's Response
      Thank you, i will gonna add your request
  6. Hips_
    Hips_
    5/5,
    Version: 1.6.1
    Great plugin! can be used as an alternate economy simple and easy to use.
    Could you also add it where players can't place the tokens?

    Thanks
    1. Twan040
      Author's Response
      Thanks, i will gonna add that
  7. izoody
    izoody
    5/5,
    Version: 1.6.1
    great plugin use on my faction server for a way for players to grind out to get ranks well done
    1. Twan040
      Author's Response
      Thank you for using Tokens. :)
  8. Holographic_
    Holographic_
    5/5,
    Version: 1.6.1
    Could you add the ability to change the name of the Tokens? Would be awesome, thanks!
    1. Twan040
      Author's Response
      i will add that in the coming update
  9. ogplayerfc
    ogplayerfc
    5/5,
    Version: 1.3.3
    Daily updates, Amazing plugin.
    But could you do updates once a while [massive updates at once]
    1. Twan040
      Author's Response
      Thank you, i gonna try bigger updates, and just little fix updates.
  10. razorblur
    razorblur
    5/5,
    Version: 0.0.3
    How can you pay for things if you can't transfer them to other players? :D
    Do you need permissions for these commands? ^^
    1. Twan040
      Author's Response
      there will be more updates today, adding permissions, adding more commands like admin commands and player default commands