V-MultiEconomies is a plugin that allows you to create customizable economies, you can create a custom initial command, modify the command messages, and more.
Customized main command for each economy.
The main command of the economy is the one found in the section where the economy starts in config.yml
Command aliases.
The plugin has an option to add command aliases, to enable it set the aliases option to
true.
Code (YAML):
aliases: true
command-aliases: - gem
- gemas
Customizable messages for each command of the economy.
You can remove any message by placing "ignore" on it (Except Help-Admin and Help-Player).
Code (YAML):
Messages:
Set:
economy-set-incorrect: ignore
economy-set: '&c&l
%economy_name% &8> &7You have set the Krans of &c%player% &7to &c%amount%&7.' economy-set-all-incorrect: ignore
economy-set-all: '&c&l
%economy_name% &8> &7You have set the Krans of all online players to &c%amount%&7.' economy-message-to-player: '&c&l
%economy_name% &8> &7Your Krans has been set to &c%amount%&7.'
Code (YAML):
Messages:
Set:
economy-set-incorrect: '&cUse
: /
%economy_name% set <name> <amount>' economy-set: '&c&l
%economy_name% &8> &7You have set the Krans of &c%player% &7to &c
%amount%&7.' economy-set-all-incorrect: '&cUse
: /
%economy_name% setall <amount>' economy-set-all: '&c&l
%economy_name% &8> &7You have set the Krans of all online players to &c
%amount%&7.' economy-message-to-player: '&c&l
%economy_name% &8> &7Your Krans has been set to &c
%amount%&7.' Add:
economy-add-incorrect: '&cUse
: /
%economy_name% add <name> <amount>' economy-add: '&c&l
%economy_name% &8> &7You have added to &c%player% &c%amount% &7Krans.'
economy-add-all-incorrect: '&cUse
: /
%economy_name% addall <amount>' economy-add-all: '&c&l
%economy_name% &8> &7You have added to all online players &c
%amount% &7Krans.' economy-message-to-player: '&c&l
%economy_name% &8> &7You received &c%amount% &7Krans&7.'
Remove:
economy-remove-incorrect: '&cUse
: /
%economy_name% remove <name> <amount>' economy-remove: '&c&l
%economy_name% &8> &7You have removed from &c%player% &c
%amount% &7Krans.' economy-remove-all-incorrect: '&cUse
: /
%economy_name% removeall <amount>' economy-remove-all: '&c&l
%economy_name% &8> &7You have removed from &7all online players &c
%amount% &7Krans.' economy-message-to-player: '&c&l
%economy_name% &8> &c%amount% &7Krans have been removed of your account.'
economy-remove-not-enough: '&c&l
%economy_name% &8> &c%player% doesn''t have enough
%economy_name%. %player% has %amount% %economy_name%' economy-remove-not-enough-some-players: '&c&l
%economy_name% &8> &cSome players don''t have enough
%economy_name%, so they weren''t removed %economy_name%.' Pay:
economy-pay-incorrect: '&cUse
: /
%economy_name% pay <name> <amount>' economy-pay-receiver: '&c&l
%economy_name% &8> &7You have received &c%amount% &7Krans from &c
%player%&7.' economy-pay-sender: '&c&l
%economy_name% &8> &7You have sent &c%amount% &7to &c
%player%' economy-pay-yourself: '&c&l
%economy_name% &8> &cYou can''t pay yourself' Withdraw:
economy-withdraw-incorrect: '&cUse
: /
%economy_name% withdraw <amount>' economy-withdraw: '&c&l
%economy_name% &8> &7You have withdrawn from your account &c
%amount% &7Krans' economy-withdraw-add-item: '&c&l
%economy_name% &8> &7You added to your account &c
%amount% &7Krans' economy-inv-empty: '&c&l
%economy_name% &8> &7You have no space in your inventory.' Give:
economy-give-incorrect: '&cUse
: /
%economy_name% give <name> <amount>' economy-give: '&c&l
%economy_name% > &7You have given &c%player% &c%amount% &7Krans items.'
economy-give-all-incorrect: '&cUse
: /
%economy_name% giveall <amount>' economy-give-all: '&c&l
%economy_name% &8> &7You give to all online players &c
%amount% &7Krans items.' economy-message-to-player: '&c&l
%economy_name% &8> &7You received &c%amount% &7Krans items.'
economy-inv-empty: '&c&l
%economy_name% &8> &c%player% doesn''t have enough space in the inventory.'
economy-inv-empty-some-players: '&c&l
%economy_name% &8> &cSome players didn''t have an empty inventory and didn''t receive their items'
Booster:
economy-booster-incorrect: '&cUse
: /
%economy_name% booster perm/temp' economy-boosterall-incorrect: '&cUse
: /
%economy_name% boosterall perm/temp' economy-booster-perm-incorrect: '&cUse
: /
%economy_name% booster perm <name> <level>'
economy-booster-temp-incorrect: '&cUse
: /
%economy_name% booster temp <name> <level> <time in seconds>'
economy-boosterall-perm-incorrect: '&cUse
: /
%economy_name% boosterall perm <level>'
economy-boosterall-temp-incorrect: '&cUse
: /
%economy_name% boosterall temp <level> <time in seconds>'
economy-booster-to-player-temp: '&c&l
%economy_name% &8> &7You received a temporal booster of &c
%booster% &7for &c%time%&7.' economy-booster-to-player-perm: '&c&l
%economy_name% &8> &7You received a permanent booster of &c
%booster%&7.' economy-booster-perm: '&c&l
%economy_name% > &7You activated a permanent booster of &c
%booster% &7to &c%player%&7.' economy-booster-temp: '&c&l
%economy_name% > &7You activated a temporal booster of &c
%booster% &7for &c%time%&7 to &c%player%&7.' economy-boosterall-perm: '&c&l
%economy_name% > &7You activated a permanent booster &c
%booster% &7to all connected players. ' economy-boosterall-temp: '&c&l
%economy_name% > &7You activated a permanent booster &c
%booster% &7to all connected players for &c%time%&7.' economy-booster-ended: '&c&l
%economy_name% > &7Your &c%booster% temporary booster has finished.'
Cheque:
economy-cheque-incorrect: '&cUse
: /
%economy_name% cheque <amount>' economy-cheque: '&c&l
%economy_name% &8> &7You created a check of &c%amount% &7Krans'
economy-cheque-claimed: '&c&l
%economy_name% &8> &7You claimed a cheque of &c
%amount% &7Krans' economy-inv-empty: '&c&l
%economy_name% &8> &7You have no space in your inventory.' Others:
economy-balance: '&c&l
%economy_name% &8> &7You have &c%balance% &7Krans.' economy-balance-other-incorrect: '&cUse
: /
%economy_name% balance <player>' economy-balance-other: '&c&l
%economy_name% &8> &c%player% &7has &c%balance% &7Krans.'
economy-boost: '&c&l
%economy_name% &8> &cYour boost is &7X%booster% &c(Perm X
%perm% | Temp X%temp% for %time%)' economy-no-permission: '&c&l
%economy_name% &8> &cYou don''t have permissions.' economy-player-offline: '&c&l
%economy_name% &8> &cThat player is offline.' economy-player-not-registed: '&c&l
%economy_name% &8> &c%player% &7is not registed in the server.'
economy-not-enough: '&c&l
%economy_name% &8> &cYou don''t have enough Krans.' economy-invalid-arguments: '&c&l
%economy_name% &8> &cThe command has invalid arguments, check it.'
economy-help-admin: - ''
- '&c&lKran Economy'
- ''
- '&7/kran'
- '&7/kran balance <name>'
- ¿&7/kran withdraw <amount
> - '&7/kran pay <name> <amount>'
- '&7/kran cheque <amount>'
- ''
- '&7/kran setall <amount>'
- '&7/kran addall <amount>'
- '&7/kran removeall <amount>'
- '&7/kran giveall <amount>'
- '&7/kran boosterall perm/temp'
- '&r'
- '&7/kran set <name> <amount>'
- '&7/kran add <name> <amount>'
- '&7/kran remove <name> <amount>'
- '&7/kran give <name> <amount>'
- '&7/kran booster perm/temp'
- ''
economy-help-player: - ''
- '&c&lKran Economy'
- ''
- '&7/kran'
- '&7/kran balance <name>'
- '&7/kran pay <name> <amount>'
- '&7/kran withdraw <amount>'
- '&7/kran cheque <amount>'
- ''
You can give players multipliers and multiply the amounts they get. Multipliers only work with "Add" commands (Ex: /kran add <name> <quantity>). You can give temporary and permanent multipliers.
As custom commands are unregistered commands (commands that only the user in game can use and cannot be used from the console) I created commands to be used from the console.
The <economy> option has to be the main command of the economy (Spoiler: Customized Commands).