/currency backend <mysql,yaml,sqlite> - This command allows you to change the current backend, this does not convert the data from the old to the new.
New messages to the command above, you can find them here, they are pointed out with an arrow. It is 2 new messages.
Code (Text):
# GemsEconomy
# Version: 4.7.3
# GemsEconomy Main Configuration file.
# Developer(s): [Xanium]
#
# You have three valid storage methods, yaml, mysql or sqlite. If you choose mysql you would have to enter the database credentials down below.
# All messages below are configurable, I hope you use them because it took 1 hour to make all of them into the plugin and configurable.
storage: YAML
debug: false
vault: true
transaction_log: true
mysql:
database: gemseconomy
tableprefix: ge
host: localhost
port: 3306
username: username
password: password
sqlite:
file: database.sqlite
cheque:
material: PAPER
name: '&aBank Note'
lore:
- '&7Worth: {value}.'
- '&7&oWritten by {player}'
console_name: Console
Messages:
prefix: '&2&lGemsEconomy> '
nopermission: '&7You don''t have permission to do this.'
noconsole: '&7Console cannot do this.'
invalidamount: '&7Not a valid amount.'
invalidpage: '&7Not a valid page number.'
pay_yourself: '&7You can''t pay yourself.'
player_is_null: '&7The specified player does not exist.'
unknownCurrency: '&7Unknown Currency.'
unknownCommand: '&7Unknown sub-command.'
noDefaultCurrency: '&7No default currency.'
currencyExists: '&7Currency already exists.'
accountMissing: '&7Your account is missing. Please relog the server.'
cannotReceiveMoney: '&a{player}&7 can''t receive money.'
insufficientFunds: '&7You don''t have enough {currencycolor}{currency}&7!'
targetInsufficientFunds: '&e{target} &7don''t have enough {currencycolor}{currency}&7!'
paid: '&7You were paid {currencycolor}{amount} &7from &a{player}&7.'
payer: '&7You paid {currencycolor}{amount} &7to &a{player}&7.'
payNoPermission: '&7You don''t have permission to pay {currencycolor}{currency}&7.'
currencyNotPayable: '{currencycolor}{currency} &7is not payable.'
add: '&7You gave &a{player}&7: {currencycolor}{amount}. '
take: '&7You took {currencycolor}{amount} &7from &a{player}&7.'
set: '&7You set &a{player}&7''s balance to {currencycolor}{amount}&7.'
exchange_rate_set: '&7Set the exchange rate for {currencycolor}{currency} &7to &a{amount}&7.'
exchange_success_custom_other: '&7Successfully exchanged {currencycolor}({currEx})
&7for {currencycolor2}{receivedCurr}&7 to player {player}&7.'
exchange_success_custom: '&7Successfully exchanged {currencycolor}({currEx}) &7for
{currencycolor2}{receivedCurr}&7.'
exchange_success: '&7Successfully exchanged {currencycolor}{ex_curr} &7for equivalent
value in {currencycolor2}{re_curr}&7.'
exchange_command:
no_perms:
preset: '&7You don''t have permission to exchange currencies with a preset rate.'
custom: '&7You don''t have permission to exchange currencies with a custom rate.'
balance:
current: '&a{player}&7''s balance is: {currencycolor}{balance}'
multiple: '&a{player}&7''s balances:'
list: '&a&l>> {currencycolor}{format}'
none: '&7No balances to show for &c{player}&7.'
balance_top:
balance: '&a&l-> {number}. {currencycolor}{player} &7- {currencycolor}{balance}'
header: '&f----- {currencycolor} Top Balances for {currencyplural} &7(Page {page})&f
-----'
empty: '&7No accounts to display.'
next: '{currencycolor}/gbaltop {currencyplural} {page} &7for more.'
nosupport: '&a{storage} &7doesn''t support /baltop.'
cheque:
success: '&7Cheque successfully written.'
redeemed: '&7Cheque has been cashed in.'
invalid: '&7This is not a valid cheque.'
help:
eco_command:
- '{prefix}&e&lEconomy Help'
- '&2&l>> &a/eco give <user> <amount> [currency] &8- &7Give a player an amount
of a currency.'
- '&2&l>> &a/eco take <user> <amount> [currency] &8- &7Take an amount of a currency
from a player.'
- '&2&l>> &a/eco set <user> <amount> [currency] &8- &7Set a players amount of
a currency.'
exchange_command:
- '{prefix}&b&lExchange Help'
- '&2&l>> &a/exchange <account> <currency_to_exchange> <amount> <currency_to_receive>
<amount> &8- &7Exchange between currencies with a custom rate for an account.'
- '&2&l>> &a/exchange <currency_to_exchange> <amount> <currency_to_receive> <amount>
&8- &7Exchange between currencies with a custom rate.'
- '&2&l>> &a/exchange <currency_to_exchange> <amount> <currency_to_receive> &8-
&7Exchange with a pre-set exchange rate.'
cheque_command:
- '{prefix}&e&lCheque Help'
- '&2&l>> &a/cheque write <amount> [currency] &8- &7Write a cheque with a specified
amount and currency.'
- '&2&l>> &a/cheque redeem &8- &7Redeem the cheque.'
currency_command:
- '{prefix}&e&lCurrency Help'
- '&2&l>> &a/currency create <singular> <plural> &8- &7Create a currency.'
- '&2&l>> &a/currency delete <plural> &8- &7Delete a currency.'
- '&2&l>> &a/currency convert <method> &8- &7Convert storage method. WARN: Take
backups first and make sure the storage you are switching to is empty!'
--> - '&2&l>> &a/currency backend <method> &8- &7Switch backend. This does not convert.'
- '&2&l>> &a/currency view <plural> &8- &7View information about a currency.'
- '&2&l>> &a/currency list &8- &7List of currencies.'
- '&2&l>> &a/currency symbol <plural> <char|remove> &8- &7Select a symbol for
a currency or remove it.'
- '&2&l>> &a/currency color <plural> <color> &8- &7Select a color for a currency.'
- '&2&l>> &a/currency colorlist &8- &7List of Colors.'
- '&2&l>> &a/currency decimals <plural> &8- &7Enable decimals for a currency.'
- '&2&l>> &a/currency payable <plural> &8- &7Set a currency payable or not.'
- '&2&l>> &a/currency default <plural> &8- &7Set a currency as default.'
- '&2&l>> &a/currency startbal <plural> <amount> &8- &7Set the starting balance
for a currency.'
- '&2&l>> &a/currency setrate <plural> <amount> &8- &7Sets the currency''s exchange
rate.'
usage:
pay_command: '&2&l>> &a/pay <user> <amount> [currency] &8- &7Pay the specified
user the specified amount.'
give_command: '&2&l>> &a/eco give <user> <amount> [currency] &8- &7Give a player
an amount of a currency.'
take_command: '&2&l>> &a/eco take <user> <amount> [currency] &8- &7Take an amount
of a currency from a player.'
set_command: '&2&l>> &a/eco set <user> <amount> [currency] &8- &7Set a players
amount of a currency.'
currency_create: '&2&l>> &a/currency create <singular> <plural> &8- &7Create a
currency.'
currency_delete: '&2&l>> &a/currency delete <plural> &8- &7Delete a currency.'
currency_convert: '&2&l>> &a/currency convert <method> &8- &7Convert storage method.
WARN: Take backups first and make sure the storage you are switching to is empty!'
--> currency_backend: '&2&l>> &a/currency backend <method> &8- &7Switch backend. This
does not convert.'
currency_view: '&2&l>> &a/currency view <plural> &8- &7View information about
a currency.'
currency_list: '&2&l>> &a/currency list &8- &7List of currencies.'
currency_symbol: '&2&l>> &a/currency symbol <plural> <char|remove> &8- &7Select
a symbol for a currency or remove it.'
currency_color: '&2&l>> &a/currency color <plural> <color> &8- &7Select a color
for a currency.'
currency_colorlist: '&2&l>> &a/currency colorlist &8- &7List of Colors.'
currency_payable: '&2&l>> &a/currency payable <plural> &8- &7Set a currency payable
or not.'
currency_default: '&2&l>> &a/currency default <plural> &8- &7Set a currency as
default.'
currency_decimals: '&2&l>> &a/currency decimals <plural> &8- &7Enable decimals
for a currency.'
currency_startbal: '&2&l>> &a/currency startbal <plural> <amount> &8- &7Set the
starting balance for a currency.'
currency_setrate: '&2&l>> &a/currency setrate <plural> <amount> &8- &7Sets the
currency''s exchange rate.'