HomeJavaModsTMoney | Multiple Economies
TMoney | Multiple Economies
A minecraft plugin providing support for multiple economies on your server

Commands
() - optional argument
[] - required argument
If economy is not specified plugin will use default one (usually Vault)


Balance
/tmoney balance [economy] (player) - Get balance of player in certain economy

Deposit
/tmoney deposit [economy] (player) [amount] - Deposit money on a player's balance in certain economy

Withdraw
/tmoney withdraw [economy] (player) [amount] - Withdraw money from a player's balance in certain economy

Reload
/tmoney reload - Reloads the config

List
/tmoney list - Returns a list of all economies there are

PlaceholderAPI
You need to execute: /papi ecloud download TMoney in order to use placeholders
Just to get balance in certain economy use:
Code (Text):
%tmoney_<economy>%
To get fixed balance use:
Code (Text):
%tmoney_<economy>&&<precision>%
To get formatted balance use:
Code (Text):
%tmoney_<economy>&&formatted%
(like 1.32K or 1.55M)


Config
Here is example config (plugins/TMoney/data.json)
Code (Text):

{
  "economies": [
   {
     "config": {
       "url": "jdbc:h2:file:/home/minecraft/inst/plugins/TMoney/Economy.db",
       "user": "minecraft",
       "password": "password",
       "prefix": "mc"
     },
     "type": "jdbc",
     "name": "donate"
   }
  ],
  "libsUrl": "https://theseems.ru/tmoney/libs",
  "libs": [
   "org.h2.Driver",
   "org.postgresql.Driver"
  ]
}
 
Currently supported types of economies in config:
Type memory means that all balances of players will not be load on server restart
Type jdbc means that all balances of players will be stored on a database (JDBC) and will be load from it on server restart

Thanks for a hundred+ downloads!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

TMoney | Multiple Economies is a free Minecraft Java mod. Compatible with Minecraft 1.13, 1.14, 1.15. Downloaded 958 times (via Spigot). Download it and open it directly in the game.

Explore more