MoneyPouch [1.8-1.19] | Packages with money or XP icon

MoneyPouch [1.8-1.19] | Packages with money or XP -----

Now supporing custom economies!




  • Fix for 1.8-1.12 servers
----------, Jul 23, 2021

----------, Jul 22, 2021

Pouches can no longer be placed when held in the off-hand
Thank you to TheSummerGrinch on GitHub for this change #14
----------, May 21, 2021

[​IMG]

  • New | For servers running below 1.11, the title will no longer continuously fade in and out

[​IMG]
----------, Mar 1, 2021

[​IMG]

  • More error handling has been added to help prevent players from losing out due to a configuration error or any unexpected transaction error.
    • Failed transactions will log errors in the console, with enough information for you to reimburse the player (or re-issue a new pouch).
    • Pouches which have invalid economy types will no longer default to Vault, instead they will use an 'Invalid' economy type preventing their use.
    • Custom economy types can no longer override built-in types, or types directly made by hooking into MoneyPouch.
    • Warnings in console have been added to help you locate and fix broken pouches, or custom economy types.
    • Config update: See the comments in the config here for more info and to adjust the behaviour of error handling.
      • Code (YAML):
        error-handling :
          # It is recommended you set the following to 'true' in a production environment
          # The plugin will log should a transaction fail for any reason, allowing you to investigate
          # and manually reward the player yourself
          # The player will be alerted and asked to tell an admin should this event occur regardless if this is disabled
          # You can change this message ('reward-error') at the bottom of the config
          log-failed-transactions
        : true
          # Refund the pouch to the player (if they are online) in the event a transaction failed - this is default
          # to 'false' as this results in a different prize on the second try, and it is unlikely
          # that the transaction will succeed if it had already failed. It is recommended
          # to keep this 'false' and manually investigate when errors occur.
          refund-pouch
        : false
          # Prevent opening pouches which have an invalid economy type assigned to them.
          # The message 'invalid-pouch' will be sent to the player.
          prevent-opening-invalid-pouches
        : true
  • New | /moneypouchadmin command - all commands related to reloading and viewing existing pouches have been relocated here
    • This is to prevent command arguments overriding pouch IDs, all pouches are given using /mp.
  • Fix | LemonMobCoins economy type failing after it is reloaded using plugman (or similar)

[​IMG]
----------, Jan 17, 2021

[​IMG]

  • Fix | Changed file comments

[​IMG]
----------, Jan 16, 2021

[​IMG]

  • Fix | Fix empty README

[​IMG]
----------, Jan 16, 2021

[​IMG]

  • New | Custom economy types can now be made
    • These execute a specified command, rather than relying on me to add a direct hook into the plugin for compatiblity
    • See the wiki for help

[​IMG]
----------, Jan 16, 2021

[​IMG]

  • New | Pouches can now require permissions
  • New | The shop can now require permissions
  • Fix | Fixed bug

[​IMG]
----------, Jan 14, 2021

[​IMG]
  • New | Re-added MoneyPouch Shop
    • Code (YAML):
      # /mpshop
      shop
      :
        enabled
      : true
        ui-title
      : "Pouch Shop"
        purchasable-items
      :
          xp-1
      :
            price
      : 4000
            currency
      : "VAULT"
          vault-1
      :
            price
      : 5500
            currency
      : "VAULT"
        append-to-lore
      :
         - "&8==========================="
          - "&aPrice
      : &e%prefix%%price%%suffix%"
          - "&aClick to purchase"
    • See default config here
  • New | Added more support for 1.14+ items
  • New | Added bStats support

[​IMG]
----------, Jan 11, 2021

[​IMG]
  • New | Support for "LemonMobCoins" added, check out the wiki for more info
Note: The configuration structure for prefixes and suffixes has changed (your current layout will still work). See below for the new layout:
Code (YAML):
economy:
  xp
:
    prefix
: ""
    suffix
: " XP"
  vault
:
    prefix
: "$"
    suffix
: ""
  lemonmobcoins
:
    prefix
: ""
    suffix
: " Mob Coins"

[​IMG]
----------, Jan 6, 2021

[​IMG]
  • Fix | Small bug with invalid pouches fixed

[​IMG]
----------, Jan 6, 2021

[​IMG]

  • New | Tab completion for pouch names
  • Fix | Versions before 1.9 using new (default) sound names in the config should no longer break

[​IMG]
----------, Dec 31, 2020

[​IMG]
  • New | Commas can now be added.
    • Commas can be set to be revealed immediately or revealed with the rest of the sequence.
    • Immediate reveal:
      [​IMG]
    • With rest of sequence:
      [​IMG]
    • No commas:
      [​IMG]
    • You can enable this in your configuration under the title section:
      Code (YAML):
      pouches :
        ...
        title
      :
          speed-in-tick
      : 10
          subtitle
      : "&eOpening pouch..."
          obfuscate-colour
      : "&5"
          reveal-colour
      : "&6"
          prefix-colour
      : "&a"
          suffix-colour
      : "&a"
          obfuscate-digit-char
      : "#"
          obfuscate-format-char
      : "|"
          format
      :               # (adds commas e.g   $1,924,281)
            enabled
      : false
            reveal-comma
      : true   # the commas will already be revealed when opening

      ...

[​IMG]
----------, Dec 27, 2019

[​IMG]

Please note the configuration layout has changed! See the new config here.
  • New | XP Pouches has been added.
    • You can now have multiple economy types. See "options.economytype". The valid options are XP and VAULT.
    • Code (YAML):
      pouches:
        tier
      :
          xp-1
      :
            name
      : "&6&lTier I XP Pouch &r&7(Right Click)"
            item
      : "CHEST"
            pricerange
      :
              from
      : 20
              to
      : 400
            options
      :
              economytype
      : "XP"   # <------- here
            lore
      :
             - "&7Open this pouch to receive experience!"
  • New | The revelation of prizes can be now reversed.
    • Changing reverse-pouch-reveal to true will have this effect.
    • Code (YAML):
      ...
      reverse-pouch-reveal
      : true
      ...
  • New | The whole plugin is now open source.
    • The plugin has been fully recoded allowing a much more easier way of adding economies. Please leave suggestions inside Discord.
    • The source can be found here.
  • Removal | The MoneyPouch shop has been removed.
    • Due to lack of use, the shop has been removed in the new recode.

[​IMG]
----------, Dec 26, 2019

  • As suggested by @HashtagMCSG (and a few others) on June 20 2017, I am finally able to deliver almost a year later. MoneyPouch titles and chat messages now have commas.
    • [​IMG]
----------, Apr 9, 2018

%amount% is now a thing in the messages
----------, Aug 27, 2017

You can now use numbers larger than 2,147,...,... (whatever it was/32-bit integer limit) and have some longer ones. Example:
[​IMG]
----------, Aug 13, 2017

Fix for titles not properly being created and shown to the players for lower 1.8 versions
----------, Jul 19, 2017

1.12 support for titles.
----------, Jun 14, 2017

To be honest, I completely forgot the shop even existed but a bug preventing the shop from working has now been fixed.

EDIT: and my grammar
----------, May 14, 2017

  • Small bugfix
----------, Jan 25, 2017

  • Added support for OpGuard
----------, Jan 24, 2017

/mp debug added to help with bugs
----------, Jan 23, 2017

You can now give everyone a money pouch at the same time
/mp <tier> *
----------, Jan 23, 2017

Additional compatibility
----------, Dec 19, 2016

Yeah I'm late.

MoneyPouch now supports 1.11.
----------, Dec 7, 2016

  • You can now change the help message
Add to your configuration:
Code (Text):
help:
- '&8&m-----------------'
- '&5&lMoneyPouch v%version%'
- ''
- '&7&o/mp <tier> <player> [amount] : receive a money pouch of <tier>'
- '&7&o/mp list : list all moneypouches'
- '&7&o/mp shop : open moneypouch shop (if enabled)'
- '&7&o/mp reload : reload the config'
- ''
- '%author%'
- '&8&m-----------------'
----------, Oct 6, 2016

[Warning] Updating will render existing MoneyPouches in the world useless and un-openable!

Now, in a re-code, you would expect a lot of changes right? Well, in this case, not really. There's only two major changes to point out:
  • Optimised the code and organised it a lot.
  • Removed that horrible, annoying, ridiculous, awful, terrible blank line at the bottom of the lore on all MoneyPouches. Because of this, all existing MoneyPouches will not be open-able. All new MoneyPouches that are spawned in will no longer have the blank line at the bottom.
----------, Oct 2, 2016

1.7 compatibility however:
  • 1.7 has no titles (spinning numbers/letters in the middle of the screen) as 1.7 does not support this (titles were introduced to the game in 1.8)
----------, Jun 19, 2016

1.10 is now compatible.
----------, Jun 16, 2016

Additional compatibility:
  • v1_8_R2
  • v1_8_R3
  • v1_9_R1
  • v1_9_R2
Tested & working:
  • 1.8.3
  • 1.8.8
  • 1.9
  • 1.9.2
  • 1.9.4
----------, May 28, 2016

  • More compatibility
----------, May 14, 2016

Can now change the title speed
----------, Apr 29, 2016

Bug fix
----------, Apr 21, 2016

Tweaked messages.yml & can now disable sounds
----------, Apr 18, 2016

Added sounds to the plugin
Leftover debug messages I accidentally left in have been removed
No more BETA tag :)
----------, Apr 18, 2016

Added GUI shop
Fixed where it would send a blank line instead of nothing when you set a message as ''
----------, Apr 17, 2016

Added messages.yml and title customizability
----------, Apr 17, 2016

You can now give more than 1 money pouch
----------, Apr 16, 2016

Cooldown & "tier" spelling fix
----------, Apr 16, 2016

Resource Information
Author:
----------
Total Downloads: 49,743
First Release: Apr 16, 2016
Last Update: Jul 23, 2021
Category: ---------------
All-Time Rating:
72 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings