TMoney | Multiple Economies
0.5DA minecraft plugin providing support for multiple economies on your server
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:
%tmoney_<economy>%
To get fixed balance use:
%tmoney_<economy>&&<precision>%
To get formatted balance use:
%tmoney_<economy>&&formatted%
(like 1.32K or 1.55M)
Config
Here is example config (plugins/TMoney/data.json)
{
"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!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta