Sueta

Numismatics

1.0.3

A new view of your money.

·Plugin

Numismatics.png
Definition of numismatics:

numismatics : the study or collection of coins, tokens, and paper money and sometimes related objects (such as medals) - from www.merriam-webster.com

Description:
Numismatics provides a configurable way to view your money or the money of others, as well as provides a flexible way to send it. Say you want to send 10 billion dollars to Sungcad normally you would need to type out /pay Sungcad 10000000000 but with numismatics you can instead type /pay Sungcad 10B or /pay Sungcad $10,000,000,000

Commands:
/balance (player) : see the balance of yourself or target player (rounded)
/ebalance (player) : see the balance of yourself or target player (exact)
/baltop (page) : see the top balances of the servers players (rounded)
/ebaltop (page) : see the top balances of the servers players (exact)
/eco <give|set|take> <player> <amount> : change a players balance
/numismatics (help|info|reload) : view information about the plugin or reload the config
/pay <player|*> <amount> : send another player an amount of money

Permissions:
numismatics.balance.self : access to /balance
numismatics.balance.others: access to /balance (player)
numismatics.ebalance: access to /ebalance
numismatics.ebalance.others: access to /ebalance (player)
numismatics.baltop: access to /baltop
numismatics.ebaltop: access to /ebaltop
numismatics.pay: access to /pay
numismatics.pay.payall: access to /pay * <amount>
numismatics.economy: access to /eco
numismatics.info: access to /numismatics
numismatics.help: access to /numismatics help
numismatics.reload: access to /numismatics reload
numismatics.admin: access all commands

Installation:
Requires Vault and an economy plugin. VanishNoPacket is not needed but will hide players from baltop and ebaltop unless you have the permission "vanish.see" or baltop.online is set to false in the config.

To Do:
Add a config option for confirming /pay commands.
Re-add comments to config to explain / make it easier to read
Change update time and baltop online mode on reload
If there is anything you would like added message me or post it in the discussion tab

Change Log:
Version 1.0.1 Confirmation Update

  • confirmation on /pay
  • baltop update timer now updates on reload


Version 1.0 released

Config:

#for all messages use & or § for color codes 

#config for the /bal and /ebal commands 
#placeholders {name} and {balance} 
balance: 
  #shown when checking your own balance 
  self: §6Your balance is &2{balance} 
  #shown when checking another players balance 
  others: §6The balance of {name} is &2{balance} 

#config for /baltop and /ebaltop 
baltop: 
  #should baltop show only the online players or all players 
  online: true 
  #how often should the list update in seconds 
  update: 120 
  #number of players per page 
  players: 10 
  format: 
    #shown before the players in /baltop and /ebaltop 
    first: §6======== Top Balances ======== 
    #format for player information in baltop and ebaltop 
    #placeholders {number} {name} {balance} 
    player: §8{number} &7{name} {balance} 
    #format of last line to skip put '' 
    last: §6=============================== 

#config for /pay 
pay: 
  #does the player have to send the command again to confirm. 
  confirm: false 
  #minimum amount of money to send 
  min: 500.0 
  #messages for pay 
  #placeholders {sender} {receiver} {amount} 
  #messages for confirmation if enabled 
  confirmation: 
    #message to player asking for confirmation /pay player 
    one: 'You are about to pay {receiver} {amount}. type /pay {receiver} {amount} to confirm.' 
    #message to player asking for confirmation /pay * 
    all: 'You are about to pay everyone {amount}. type /pay * {amount} to confirm.' 
  #messages for when it works 
  success: 
    #sent to the player who sent the money 
    sender: You have sent {amount} to {receiver} 
    #sent to the player who received the money 
    receiver: You have received {amount} from {sender} 
  #messages sent when something goes wrong 
  failure: 
    #message when a player tries to send money to themself 
    senttoself: You can't send money to yourself 
    #message when a player tries to send less than the minimum amount 
    belowminimum: You must send at least $500 
    #message when the player doesn't have 
    lowbalance: You do not have {amount} 
    #message when the target is not online 
    playernotfound: Player not found 

#config for /eco 
economy: 
  #messages for setting a balance 
  #placeholders {receiver} {amount} 
  set: 
    #message to the player who sends the command 
    sender: You have set {receiver}'s balance to {amount} 
    #message to targeted player 
    receiver: Your balance has been set to {amount} 
  give: 
    #message to the player who sends the command 
    sender: You have sent {receiver} {amount} 
    #message to targeted player 
    receiver: '{amount} has been added to your balance' 
  take: 
    #message to the player who sends the command 
    sender: You have taken  {amount} from {receiver} 
    #message to targeted player 
    receiver: '{amount} has been taken from you balance' 
  error: 
    #message if the player is not found 
    playernotfound: Player not found

Similar projects

Plugin →