Tokens  Economy - [1.20.x - 1.21.4] [Bank System] [DB-Support] [API] icon

Tokens Economy - [1.20.x - 1.21.4] [Bank System] [DB-Support] [API] -----

an economy with tokens



Tokens - Advanced Economy Plugin

A powerful and flexible token economy system for Minecraft servers, now with enhanced features and PostgreSQL support!
Features

  • Dual Economy System: Seamlessly integrate with your server's default economy
  • Bank System: Create and manage shared token banks with multiple members
  • Physical Tokens: Trade and exchange physical token items
  • Sign Integration: Interactive token exchange signs
  • PostgreSQL Support: Reliable and scalable database storage
  • Modern API: Easy integration with other plugins
  • Permission-Based: Granular control over all features
  • 1.20+ Support: Fully compatible with the latest Minecraft versions
Commands

Player Commands

  • /tokens balance - Check your token balance
  • /tokens pay <player> <amount> - Send tokens to another player
  • /tokens buy <amount> - Purchase tokens using server economy
  • /tokens sell <amount> - Sell tokens for server economy
  • /tokens bank - Access bank management menu
  • /tokens bank balance - Check bank balance
  • /tokens bank create - Create a new bank
  • /tokens bank delete - Delete your bank
  • /tokens bank leave - Leave current bank
  • /tokens bank add <amount> - Deposit tokens to bank
  • /tokens bank remove <amount> - Withdraw tokens from bank
  • /tokens bank user invite <player> - Invite player to bank
  • /tokens bank user remove <player> - Remove player from bank
  • /tokens bank user makeowner <player> - Transfer bank ownership
Admin Commands

  • /tokens add <player> <amount> - Add tokens to player
  • /tokens remove <player> <amount> - Remove tokens from player
  • /tokens set <player> <amount> - Set player's token balance
Alias: /t
⚙️ Configuration

Code (YAML):
ConfigVersion : 3.0
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 -------------'
database
:
  type
: "postgresql"
  host
: "localhost"
  port
: 5432
  username
: "postgres"
  password
: ""
  database
: "tokens"
  useSSL
: false

API Documentation

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

// Core Methods
api.playerRemoveTokens (player, amount );    // Remove tokens
api.playerAddTokens (player, amount );       // Add tokens
api.playerSetTokens (player, amount );       // Set token balance
api.playerBalance (player );                 // Get balance
api.hasAccount (player );                    // Check if player has account
api.getPrefix ( );                           // Get formatted token name

// Bank Methods
api.createBank (owner, name );               // Create new bank
api.getBankBalance (bankName );              // Get bank balance
api.addBankMember (bankName, player );       // Add member to bank
api.removeBankMember (bankName, player );    // Remove member from [/COLOR ] [COLOR= #ecf0f1] [/COLOR][COLOR=#000000]bank
 

�� Dependencies

  • Required: Vault (for economy integration)
  • Optional: DecentHolograms (for hologram displays)
Permissions

  • tokens.admin - Access to admin commands
  • tokens.hologram - Access to hologram features
  • tokens.bank.create - Create banks
  • tokens.bank.manage - Manage bank members
  • tokens.bank.deposit - Deposit to banks
  • tokens.bank.withdraw - Withdraw from banks
�� Support

For support, questions, or suggestions, contact me on Discord: Twan#9968
Installation

  1. Download the latest version
  2. Place the .jar file in your server's plugins folder
  3. Configure your PostgreSQL database settings
  4. Restart your server
  5. Enjoy!
⚠️ Important Notes

  • This version requires PostgreSQL database
  • Minimum Minecraft version: 1.20
  • Make sure to backup your data before upgrading from V2
Server Showcase

Want to showcase your server using Tokens? DM me your server IP and I'll add it here!
Created and maintained by Twan Luttik
Resource Information
Author:
----------
Total Downloads: 6,330
First Release: Mar 1, 2018
Last Update: Apr 10, 2025
Category: ---------------
All-Time Rating:
11 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings