🐊Commands

The available commands. You can change the command prefix for each system in the settings.yml of LightCoins.

// settings.yml from LightCoins
# While I register commands after Server start, you can change the command prefix here.
# After changing the command prefix, you have to reload the plugin with /lightcoins reload
# To see autocomplete suggestions for the new command prefix you must rejoin the server!
# HINT: to remove the previous command prefix, you have to RESTART the server.
commands:
  # The command prefix for the Vault currency
  coins: 'coins'
  # The command prefix for the Virtual currency
  virtual: 'virtual'
  # The command prefix for baltop command
  baltop: 'baltop'
  # The command prefix for the vault pay command
  pay: 'pay'
  # The command prefix for the voucher command
  voucher: 'voucher'

Default Currency Commands

Command
Description
Permission

/coins add <player> <amount>

Give some player a specified amount of money. Also supported 10k, 2m and so on.

lightcoins.command.admin.coins.add

/coins remove <player> <amount>

Remove some player a specified amount of money. Also supported 10k, 2m and so on.

lightcoins.command.admin.coins.remove

/coins set <player> <amount>

Set some player a specified amount of money. Also supported 10k, 2m and so on.

lightcoins.command.admin.coins.set

/coins show <player>

Show the current coins from a specified player

lightcoins.command.admin.coins.show

/coins

Show your current Coins

-

/baltop

Shows a Top 10 List of the richest player

lightcoins.command.player.coins.baltop

/pay <player>

Pay some specified player some money. Supports 10k, 2m and so on.

lightcoins.command.player.coins.pay

Virtual Currency Commands

Command
Description
Permission

/virtual add <currency> <player> <amount>

Give some player a specified amount of the specified custom currency. Also supported 10k, 2m and so on.

lightcoins.command.admin.virtual.add

/virtual remove <currency> <player> <amount>

Remove some player a specified amount of the specified custom currency. Also supported 10k, 2m and so on.

lightcoins.command.admin.virtual.remove

/virtual set <currency> <player> <amount>

Set some player a specified amount of the specified custom currency. Also supported 10k, 2m and so on.

lightcoins.command.admin.virtual.set

/virtual show <player> <currency>

Show the current custom currency from a specified player

lightcoins.command.player.virtual.show

Admin Commands

Command
Description
Permission

/lightcoins reload

Reload all files and read custom currencies

lightcoins.command.admin.reload

/lightcoins debug

Shows some system specs including current ram usage/tps/mspt + some database and redis informations

lightcoins.command.admin.debug

Console Commands

Command
Description
Permission

/coins add <player> <amount>

Give some player a specified amount of money. Also supported 10k, 2m and so on.

Console command only

/coins remove <player> <amount>

Remove some player a specified amount of money. Also supported 10k, 2m and so on.

Console command only

/coins show <player>

Pay some specified player some money. Supports 10k, 2m and so on.

Console command only

/lightcoins transfer lighteconomy sqlite

Transfer old LightEconomy balances to LightCoins via SQLite. More information in the migration tab. Make sure you have the old .db from LightEconomy in the LightCoins Plugin directory!

Console command only

/lightcoins transfer lighteconomy mysql <host> <port> <username> <password> <databaseName>

Transfer old LightEconomy balances to LightCoins via MySQL. More information in the migration tab.

nsole command only

Last updated