PaperMoney 1.0.1

Allow your players to withdraw & deposit bank notes into their balance!

  1. Ugleh
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    Source Code:
    https://github.com/Ugleh/PaperMoney
    Languages Supported:
    Configurable Localization
    Moneymodlogo_3211099_thumb[1].jpg
    [​IMG] [​IMG] [​IMG]
    PaperMoney allows you to give players money in the form of an item. Players can withdraw and deposit money into their balance and admins can give out paper money. You can hook this into other plugins to allow paper money as prizes.

    This plugin requires Vault and collects Metrics.

    [​IMG]
    config.yml
    This is the default config file. It includes the language nodes simply because the config only takes in 2 arguments.
    withdraw.reusetime: The time players have to wait to reuse the withdraw command.
    withdraw.minimum: The minimum amount of currency that can be turned into a bank note.

    Language Note: color.character MUST be only 1 character long, I recommend just keeping it as '&'. Warning and Info color node is the color in which any node in the info/warning section will be colored after. Any %s you see is the formatting of the string in which that is replaced with the obvious contents depending on the node.

    Code (YAML):
    config:
      withdraw
    :
        reusetimer
    : 10
        minimum
    : 100.0
    language
    :
      color
    :
        character
    : '&'
        warning
    : '&4'
        info
    : '&2'
      message
    :
        prefix
    : '&e[&2PaperMoney&e] '
        warning
    :
          wrongitem
    : Not a valid bank note.
          wrongcommandusage
    : Incorrect Command Usage.
          withdrawusage
    : Usage:&r /withdraw [amount]
          giveusage
    : Usage:&r /papermoney give [amount]
          papermoneyusage
    : Usage:&r /papermoney [give/reload]
          nopermission
    : You do not have permission to use that command.
          noconsole
    : Command must be used in-game.
          nofunds
    : Not enough funds.
          noplayer
    : That player was not found.
          notzero
    : Amount cannot be zero.
          toolittle
    : Minimum withdraw allowed is %s.
          toofast
    : Doing that too fast, try again in &r%s&4 seconds.
        info
    :
          deposited
    : Amount Deposited.
          balance
    : Current Balance:&a %s
          inventoryfull
    : Inventory Full. Dropped Bank Note at your location.
          withdrew
    : '%s withdrew as bank note.'
          given
    : You were given a bank note in the amount of&a %s
          gave
    : 'Gave [Bank Note : &a%s&2] to&a %s'
          configreloaded
    : Config Reloaded.
      item
    :
        name
    : '&1Bank Note:&2 %s'
        lore
    : '&2&lUse &n/deposit&r&2&l while holding.'
      console
    :
        disabled
    : Plugin Disabled!
        novault
    : Disabled due to no Vault dependency found!
     
    Commands:
    • withdraw [amount] : Withdraw currency into a bank note.
    • deposit : Deposit bank note player is holding.
    Admin Commands:
    • papermoney give [name] [amount] : Give player a bank note of amount.
    • papermoney reload : Reloads config file.
    Player Permissions:
    • papermoney.withdraw : Use of the /withdraw command
    • papermoney.deposit : Use of the /deposit command

    Admin Permissions:
    • papermoney.* : Use of all commands
    • papermoney.admin : Use of the /playermoney command
    plugin.yml
    Even though it isn't that helpful, figured I would include the plugin.yml file here for anyone who wants to see behind the counter.
    Code (YAML):

    name
    : PaperMoney
    main
    : com.ugleh.papermoney.PaperMoney
    description
    : Adds paper money to your economy plugin!
    author
    : Ugleh
    version
    : "1.0"
    api-version
    : "1.13"
    depend
    : [Vault]
    commands
    :
      papermoney
    :
        permission
    : papermoney.admin
        description
    : Command used to access admin related features
      deposit
    :
        permission
    : papermoney.deposit
        description
    : Used to deposit a bank note into your eco balance
      withdraw
    :
        permission
    : papermoney.withdraw
        description
    : Used to withdraw a bank note from your eco balance
    permissions
    :
      papermoney.*
    :
        default
    : op
        children
    :
         - papermoney.admin
          - papermoney.withdraw
          - papermoney.deposit
      papermoney.admin
    :
        default
    : op
      papermoney.withdraw
    :
        default
    : true
      papermoney.deposit
    :
        default
    : true
     
    PantallazoAzul likes this.

Recent Reviews

  1. PantallazoAzul
    PantallazoAzul
    5/5,
    Version: 1.0.1
    Easy to use and fast to config, 100% translatable and I like it so much, 'cause most plugin can't be translated that much, thank you :)
    1. Ugleh
      Author's Response
      Appreciate the review!