Sueta

BankNote Advanced

2.1-SNAPSHOT

A lightweight plugin that allows users to convert digital currency into banknotes

·Plugin

  • Simple Setup: Simply drop BankNote Advanced into your Plugins folder, and make sure to install Vault! BankNote Advanced is also compatible with all versions of Spigot.
  • Efficient: BankNote Advanced has been optimized to prevent unnecessary stress to your server. It won't affect your server's performance in any way.
  • Customizable: BankNote Advanced allows as much customization as we possibly can allow.

  • /withdraw help - Displays the help page.
  • /withdraw <$> - Withdraws <$> into a banknote.
  • /withdraw all - Withdraws all the users balance into a banknote.
  • /withdraw give <player> <$> [signer] - Gives a user a banknote with the <$> amount.
  • /withdraw giveall <$> [signer] - Sends the whole server a banknote with the <$> amount.
  • /withdraw giverd <player> <min> <max> [signer] - Gives a user a banknote with a random signed banknote amount.
  • /withdraw giveallrd <min> <max> [signer] - Sends the whole server a random signed banknote amount.
  • /withdraw reload - Reloads banknote config.yml and lang.yml files.
  • Aliases: /banknote

  • banknote.admin - This will allow a player to have permission to all commands available.
  • banknote.help - This will allow a player to execute the command /withdraw help.
  • banknote.allow - This will allow a player to execute the command /withdraw <$>.
  • banknote.allow.all - This will allow a player to execute the command /withdraw all.
  • banknote.give - This will allow a player to execute the command /withdraw give.
  • banknote.give.all - This will allow a player to execute the command /withdraw giveall.
  • banknote.give.random - This will allow a player to execute the command /withdraw giverd.
  • banknote.give.all.random - This will allow a player to execute the command /withdraw giveallrd.

config.yml
#------------------------------------------------#
#     ____              __   _   __      __      #
#    / __ )____ _____  / /__/ | / /___  / /____  #
#   / __  / __ `/ __ \/ //_/  |/ / __ \/ __/ _ \ #
#  / /_/ / /_/ / / / / ,< / /|  / /_/ / /_/  __/ #
# /_____/\__,_/_/ /_/_/|_/_/ |_/\____/\__/\___/  #
#                                 by Ryuji(Ryu)  #
#------------------------------------------------#
settings:
 # This is the min amount a player may withdraw at a time.
  min-withdrawal-amount: 1.0
 # This is the max amount a player may withdraw at a time.
  max-withdrawal-amount: 100000.0
 # This allow you to set the minimal decimal places a number will for example
 # having it set as 1 will make the number format as so: 100.0
  minimal-decimal-places: 1
 # This allow you to set the maximum decimal places a number will for example
 # having it set as 2 will make the number format as so: 100.00
  maximum-decimal-places: 2
 # This would be the Signer of the banknote in the give or giveall command
 # if you don't provide a signer in the command
  default-signer: 'Console'
 # This would allow you to claim a stack of banknotes all at once and it would
 # calculate all of them together for a grand total.
  claim-all: true
 # This would allow you to combine banknotes together to make it all into one
 # like shown here: https://gyazo.com/0368d6e52e22fc96e2706f951bd85033
  banknote-combination: false
 # This will allow you to prevent users from using banknotes in crafting tables.
  disable-crafting: true
 # This will all you to prevent users from using banknotes in villager trading.
  disable-villager-trading: true
 # This is the sound effect when a player combines a banknote.
 # Note: Please use a valid sound effect for the version of minecraft.
 # Servers Running 1.9 & Above: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
 # Servers Running 1.7 or 1.8: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
  combination-sound:
    sound: 'ANVIL_USE'
    enable: false
 # This is the sound effect when a player withdraws a banknote.
 # Note: Please use a valid sound effect for the version of minecraft.
 # Servers Running 1.9 & Above: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
 # Servers Running 1.7 or 1.8: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
  withdrawal-sound:
    sound: 'ENDERDRAGON_WINGS'
    enable: false
 # This is the sound effect for when a player redeems a banknote.
 # Note: Please use a valid sound effect for the version of minecraft.
 # Servers Running 1.9 & Above: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
 # Servers Running 1.7 or 1.8: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
  redeem-sound:
    sound: 'LEVEL_UP'
    enable: false
   
#------------------------------------------------#
# - id: This is the id of the banknote item.     #
# - name: This is the name of the banknote item. #
# - lore: This is the lore of the banknote item. #
# - glowing: This is a true or false statement   #
# if true the item will be enchanted.            #
# - amount-lore: This is where the {amount} is   #
# located.                                       #
#------------------------------------------------#
banknote-item:
  id: 339
  data: 0
  name: '&b&lBank Note &7(Right Click)'
  lore:
  - '&dValue &f${amount}'
  - '&dSigner &7{signer}'
  glowing: false
  amount-lore: 1
lang.yml
WITHDRAW-DEFAULT:
 usage-message:
  - '&c/withdraw <$>'
  - '&7This will create a bank note with the equivalent value of <$>.'
 withdraw-create:
  - '&c&l- ${amount}'
  - '&aYou have signed a bank note for ${amount}!'
 withdraw-redeem:
  - '&a&l+ ${amount}'
 withdraw-all:
  - '&c&l- ${amount}'
  - '&aYou have successfully withdrew your whole /balance!'
 withdraw-less-than-min:
  - '&cYou must /withdraw at least ${min} at a time.'
 withdraw-more-than-max:
  - '&cYou cannot withdraw more than ${max} in a single bank note!'
 withdraw-not-enough:
  - '&cYou do not have enough $ to sign a bank note that large!'
 withdraw-inventory-full:
  - '&cYou do not have enough room in your inventory.'
 withdraw-reload:
  - '&aBankNote Reload Complete!'
 withdraw-no-perms:
  - '&cYou don''t have permission for that command!'
 withdraw-invalid:
  - '&cYou specified an invalid withdrawal amount.'
 
WITHDRAW-GIVEALL:
 usage-message:
  - '&cUssage: &7/withdraw giveall <amount> [signer]'
 sender-message:
  - '&a&l(!) &aYou have successfully gave the whole server a signed banknote worth &2$&f{amount}&a!'
 receiver-message:
  - '&aA &2$&f{amount} &asigned banknote has been added to your inventory from &e{sender}&a!'
 receiver-inventory-full:
  - '&e{sender} &ctried sending you a signed banknote worth &2$&f{amount} &cbut seems like you had no space so it dropped down near your feet!'
 
WITHDRAW-GIVE:
 usage-message:
  - '&cUssage: &7/withdraw give <player> <amount> [signer]'
 sender-message:
  - '&a&l(!) &aYou have successfully gave &e&n{target}&a a signed banknote worth &2$&f{amount}&a!'
 receiver-message:
  - '&aA &2$&f{amount} &asigned banknote has been added to your inventory from &e{sender}&a!'
 receiver-inventory-full:
  - '&e{sender} &ctried sending you a signed banknote worth &2$&f{amount} &cbut seems like you had no space so it dropped down near your feet!'
 receiver-offline:
  - '&c&l(!) &c{target} is currently not online.'
 
WITHDRAW-GIVE-RANDOM:
 usage-message:
  - '&cUssage: &7/withdraw giverd <player> <min> <max> [signer]'
 min-greater-than-max:
  - '&cYour minimum amount cannot be greater than the maximum!'
 sender-message:
  - '&a&l(!) &aYou have successfully gave &e&n{target}&a a random signed banknote amount&a!'
 receiver-message:
  - '&aA &2$&f{amount} &asigned banknote has been added to your inventory from &e{sender}&a!'
 receiver-inventory-full:
  - '&e{sender} &ctried sending you a signed banknote worth &2$&f{amount} &cbut seems like you had no space so it dropped down near your feet!'
 receiver-offline:
  - '&c&l(!) &c{target} is currently not online.'
 
WITHDRAW-GIVEALL-RANDOM:
 usage-message:
  - '&cUssage: &7/withdraw giveallrd <min> <max> [signer]'
 min-greater-than-max:
  - '&cYour minimum amount cannot be greater than the maximum!'
 sender-message:
  - '&a&l(!) &aYou have successfully gave the whole server a random signed banknote amount&a!'
 receiver-message:
  - '&aA &2$&f{amount} &asigned banknote has been added to your inventory from &e{sender}&a!'
 receiver-inventory-full:
  - '&e{sender} &ctried sending you a signed banknote worth &2$&f{amount} &cbut seems like you had no space so it dropped down near your feet!'

WITHDRAW-OTHER:
 disabled-crafting:
  - '&c&l(!) &cYou''re not allowed to use a banknote item for crafting recipes.'
 disable-villager-trade:
  - '&c&l(!) You''re not allowed to use a banknote in villager trading.'

Your server running BankNote Advanced?
Message me your IP Address, and I'll add it!

  • Polarisfactions.org
  • Play.exclusivemc.us.to
  • Play.ethelfactions.com

Similar projects

Plugin →