BagOfGold icon

BagOfGold -----

BagOfGold creates a new dimension in Minecraft where your server Economy is item based.




* Added support for Minecraft 1.2.0 (Camel+Sniffer added)

* Fixed Sqlite databse bug where the database version was detedted as version 3 instead of version 4.

* If using MySQL you need to be on v 8.0.32 because a security issue was found in 8.0.31
----------, Jun 11, 2023

This update is only important if you use Mysql!

PLEASE REVIEW YOUR Database settings in the config.yml after installing this update.

Updated MySQLCOnnector to V8.0.32
----------, Apr 13, 2023

  • Added support for Minecraft 1.19.3 and 1.19.4
----------, Apr 10, 2023

V4.5.2
* Shopkeepers integration BETA 3 released. I need some more testers to find the last bugs. Currently I have no bugs on my to do list.
* Fixed buy when a player was trading using Shopkeepers with having enough money.
* Fixed integration with ProtocolLib and all Actionbar/Bossbar/Titlemanager plugings and moved the code from MobHunting+BagOfGold to CustomItemsLib to make development easier.
V4.5.1
* BETA 2 Shopkeeper support. Buying items for BagOfGold and Selling items to get BagOfGold, but it is not bug free yet.
* Fixed bug which caused losing money when the BagOfGold was placed in slot 0
V4.5.0
* CustomItemsLib is mandatory ( https://www.spigotmc.org/resources/customitemslib.106375/)
* All methods drop, pickup, moving rewards has been rewritten and moved to CustomItemsLib to fix duplication bugs and other bugs.
* Worldgroups.yml moved from the BagOfGold folder to the CustomItemsLib folder
* rewards.yml was moved from the BagOfGold folder to the CustomItemsLib folder
* BETA Shopkeeper support. You can sell Items and get BagOfGold. Buying items for bagofgold does not yet work.
*
----------, Nov 27, 2022

* Fixed bug which caused losing money when the BagOfGold was placed in slot 0
* BETA 2 Shopkeeper support. Buying items for BagOfGold and Selling items to get BagOfGold, but it is not bug free yet.
----------, Nov 26, 2022

I have been working on this release a while now. Please make a backup of the BagOfGold/MobHunting folder before you install BagOfGold/MobHunting/CustomItems so you can rollback if anything is breaking. I have done a lot of testing, but I cant impossible test all combinations and integrations.

V4.5.0
* CustomItemsLib is mandatory ( https://www.spigotmc.org/resources/customitemslib.106375/)
* All methods drop, pickup, moving rewards has been rewritten and moved to CustomItemsLib to fix duplication bugs and other bugs.
* Worldgroups.yml moved from the BagOfGold folder to the CustomItemsLib folder
* rewards.yml was moved from the BagOfGold folder to the CustomItemsLib folder
* BETA Shopkeeper support. You can sell Items and get BagOfGold. Buying items for bagofgold does not yet work.
----------, Nov 24, 2022

  • /bag bag top was broken
  • fixed bug when blacklist.yml or whitelist.yml contained a unknown/deleted world.
  • Rewards,yml is only written to disk if there has been changes in the world.
----------, Sep 4, 2022

----------, Aug 20, 2022

The former BagOfGoldBanker has evolved to a Bank Manager. Establish a Bank at let your players Deposit/Withdraw money through the Bank Manager Interface. The Skin and name can be changed through the config.yml in the "banker section"
upload_2022-8-9_10-17-40.png
----------, Aug 9, 2022

Fixed minor bugs
----------, Jul 3, 2022

I finally got the time to add support for Minecraft 1.19
----------, Jun 22, 2022

----------, Apr 20, 2022

  • New feature: You can now hide the BagOfGold/MobHunting item displayname. Change "show_displayname: false" in BagOfGoldCore.yml
  • placeholders in the lang files is updated. You will need to delete the lang folder and restart the server to get the new files.
  • Fixed "/bag money drop playname amount"
  • Fixed wrong value when BagOfGold/MobHunting items merged
  • Fixed wrong language after /bag reload
----------, Apr 17, 2022

Player can now deposit and withdraw money to/from the bank using the BankManager.
----------, Apr 16, 2022

V4.1.2
* Updated to Reserve 0.1.5.4
* Updated to TitleManager 2.2.0
* Updated to PlaceholderAPI 2.11.1
* Updated to EssentialsX 2.19.4
----------, Apr 15, 2022

MySQL fixed
----------, Dec 17, 2021

Added support for Minecraft 1.18.1

Please not that MySQL does work yet. Im working on that. :-(
----------, Dec 17, 2021

* This is only minor fixes.
----------, Jul 20, 2021

  • Added support for LevelledMobs
  • Added 2 new commands on request (https://github.com/Rocologo/BagOfGold/issues/115)

    /bag money give * 10 (to give all online players 10 BagOfGold)
    /bag money take * 10 (to take 10 BagOfGold from all online players)
----------, Jul 18, 2021

  • BagOfGold items works a lot better in Creative mode. At the moment Im not able to remove the "strange" Lores on BagOfGold items in Creative mode, because of how Creative mode handle the items.
  • ActionBar messages using CMILib re-added.
Its very time consuming to test BagOfGold movements in different gamemodes in combination with plugins like MultiverseInventories and PerWorldInventories, and with or without both MobHuntin and BagOfGOld. Let me know if someone wants to help me with the testing!
----------, Jul 17, 2021

  • Minor fixes
  • Added support for CMI 9.0.1.0 and CMILib 1.0.12.1
----------, Jul 13, 2021

  • New mobs added: Axolotl, Goat & Glow Squid
----------, Jul 7, 2021

  • Bug fixing
----------, Aug 22, 2020

  • Fixed /bag reload
  • Fixed stacking/merge problem when money was droppen on ground
----------, Aug 22, 2020

* Bugfixing
----------, Aug 18, 2020

I have added support for Mc 1.16.2
----------, Aug 15, 2020

  • Implemented InventoryDragEvent - fixed alot of balance problems
  • Its not possible to wear a BagOfGold as a helmet anymore.
----------, Aug 9, 2020

Note to myself. Dont make changes before going to bed. V3.0.1 had a small bug I did not find because I was tired at 2 AM.
----------, Jul 19, 2020

  • Fixed bug which caused balance to be corrupted
  • Added support for RGB colours in lang file
  • Fixed bug where BagOfGold could be placed as a playerhead
----------, Jul 19, 2020

This version is a big update for me. Please backup configuration files and databases before updating to this version.

I have of cause added the 4 new mobs: Hoglin, Piglin, Strider and Zoglin.

Because both BagOfGold and MobHunting uses the Bags / Playerheads the share a lot of code. This has been a pain to maintain as a developer, but from now it will be easier for me. I introduce some new files in the BagOfGold folder which is also used by MobHunting. After installing this update you should review both bagofgoldcore.yml and worldgroups.yml, also rewards.yml is now the file where MobHunting stores rewards placed in the Minecraft worlds.

The PlayerSettings for both BagOfGold and MobHunting is now stored in the same database. For Sqlite users the default database name is bagofgoldcore.db for MySQL users you will have to provide the database name in the bagofgoldcore.yml configuration file.
----------, Jul 2, 2020


  • Fixed problem where picked up BagOfGold items lost its value.
----------, May 1, 2020

----------, Apr 30, 2020


  • Trader Llama and Wandering Trader added to config.yml
  • Pistons cant push to BagOfGold items and MobHunting rewards and destroy the item this way
----------, Apr 17, 2020

  • Optimized code when detecting rewards/bagofgold. Could cause lags acording to the timings report.
----------, Apr 4, 2020

----------, Apr 3, 2020

  • Fixed bug where players you open inventory, hold a reward in the hand and quit, causing the money to be added twice to the playerbalance.
----------, Mar 30, 2020

----------, Mar 30, 2020

Added NMS classes for Minecraft 1.15.x
----------, Feb 8, 2020


I have been off for awhile (while moving to a new house) but now I am back and have made a 1.15.1 release for you!

I have not had time to look at the issues at Github, but it will come in next release.
----------, Dec 23, 2019


  • Fixed bug where rewards placed as blocks lost its value.
----------, Oct 9, 2019

  • Fixed bug which could destroy rewards placed on gound/wall on server restart.
----------, Oct 7, 2019

  • Players are not allowed to wear MobHunting Rewards or BagofGold
----------, Oct 3, 2019


  • Fixed bug where rewards could be destroyed by block updates.
----------, Sep 29, 2019

----------, Sep 28, 2019

  • Fixed a bug where a BagOfGold item could lose its value by placering the item as a block
----------, Sep 11, 2019

  • BagOfGold can now use CMI action bars
----------, Sep 7, 2019

----------, Sep 7, 2019

  • Removed delay in playerchat if no ActionBar message handler is installed
----------, Aug 10, 2019

  • Fixed: BagOfGold blocks / MobHunting Rewards blocks loses it value when hit by flowing water.
----------, Aug 7, 2019

* fixed NoClassDefFoundError: one/lindegaard/Core/skins/Skins_1_14_R1
----------, Jul 27, 2019

  • Fixed bugs where new Material names was not recognized in older minecraft versions.
----------, Jul 26, 2019

  • BankSigns can now be used when Gringotts_Style is chosen.
  • Gringotts deposit/withdraw recoded
  • Added Economy_API to bstats.org
  • Gringotts debug information removed
----------, Jul 21, 2019

  • BagOfGold now support the new Economy API Reserve. You can freely choose between Vault and Reserve.
  • Fixed problem where player could duplicate the BagOfGold item, making a fake reward. (This only happened in creative mode).
----------, Jul 18, 2019

  • Fixed minor bugs and tested ProtocolLib-4.4.0 against MC 1.10.2 servers.
----------, Jul 9, 2019

  • Fixes a bug when a player without a skin joins the server
----------, Jul 8, 2019

  • Implemented a MessageQueue system between MobHunting and BagOfGold
  • Moved more shared code to one.lindegaard.Core
----------, Jul 6, 2019

fixed some bugs
----------, Jul 5, 2019

I have now added support for Minecraft 1.10 as well. It should be okay to test with 1.9 and 1.8 as well.
----------, Jun 26, 2019

  • Support for Minecraft 1.11 was re-added. Notice that not all Integrations to other plugins work (They have changed to much and does not support the old Minecraft versions)
  • Never Minecraft versions should also take this update. I have fixed some bugs too.
  • hu_HU.lang was updated. Thanks to https://github.com/montlikadani
----------, Jun 26, 2019

  1. Added all Villagers introduced in Minecraft 1.14. (Armorer, Butcher, Cartographer, Cleric, Fisherman, Fletcher, Leatherworker, Librarian, Mason, Nitwit, Unemployed, Shepherd, Toolsmith, Weaponsmith) Please notice that the deprecated villagers Priest, Blacksmith, Farmer is still in the config for backward compatibility with older versions.
  2. The BagOfGold Banker Trait is now a Villager
----------, Jun 26, 2019

I finally succeded adding support for Minecraft 1.12 again.

Minecraft 1.13 + 1.14 should update too... I have fixed some bugs as well..

Please make a backup of your server before updating from an old version.

----------, Jun 23, 2019

  • bStats was updated to v 1.5
----------, Jun 20, 2019

  • * Changed LAST_LOGON, LAST_INTEREST datatype to BIGINT for MySQL users
  • Core updated
  • Compiled with SpigotMC 1.14.2
----------, May 30, 2019

* This release is an important bug fix if you dont use MobHunting as well.
----------, May 26, 2019

V2.5.8 was a bad release...
----------, May 16, 2019

* New messages added when using command /bag bag pay ...
----------, May 15, 2019

  • Deny players in Spectator mode to pickup BagOfGold items.
  • Fixed BagOfGold Bank signs on 1.13.x servers
----------, May 11, 2019

I finally found some time to make a Minecraft 1.14 release

  • Minecraft 1.14 support added
  • Mute command added. (Permission: bagofgold.mute)
  • Core library implemented
  • Moved to new PlaceHolderExpansionAPI
----------, May 7, 2019

  • Placeholder %bagofgold_balance% and %bagofgold_bank_balance% for PlaceholderAPI is now fixed.
----------, Apr 13, 2019

  • Fix a balance problem when players was given money while being offline
----------, Jan 22, 2019

  • Added Gringotts Style. For fans of Gringotts.
  • Total Wealth fixed (/bag bag Top or /bag bag wealth)
  • Added Mob names to lang.yaml file
  • Portuguese language added
  • BagOfGold works alot better in Creative mode now. "Fake" rewards has been reduced.
  • Bug fixing, removed some debug information.
----------, Jan 13, 2019

  • Fixed bug where you could not withdraw bagofgold using the BankSigns
----------, Dec 11, 2018

  • Dependency for MobHunting removed. MobHunting and BagOfGold is not dependend on each other anymore.
  • Updated to bStats 1.4
----------, Dec 2, 2018

  • Fixed Ticket 42 - losing money when deposit all money into the bank. (https://github.com/Rocologo/BagOfGold/issues/42)
  • Fixed duplication bug appeared when player tried to withdraw more money from the bank than the player had room for.
  • Development of GRINGOTTS_STYLE began, but DONT use it until its finish. There still stuff to do before it works.
----------, Oct 3, 2018

----------, Sep 30, 2018

  • Added three new admin commands /bag bank give... /bag bank take... /bag bank balance... (inclusive permissions)
  • Fixed ticket 35. Loss of money when splitting a bag and closing inventory before placing the second half in the inventory. ( https://github.com/Rocologo/BagOfGold/issues/35 )
  • Added possibility to set the BagOfGoldBanker numbers in Config.yml. See banker-actions.
----------, Sep 18, 2018

  • Added a limit of gold per BagOfGold, default 10000 (Notice that you need to set the limit in both BagOfGold and MobHunting at the moment).
  • Added a limit on how much gold the player can drop, give and take using /bag money .... the limit is 100 bags
  • Rounding fixed.
----------, Sep 13, 2018

  • New command "/bag money top" showing top 54 wealthiest players in a GUI
  • Fixed ticket 33 ItemFrame causes doubling money
----------, Sep 8, 2018

Thank you to braceyourself07 for a nice big donation and helping me with testing a good feedback.
  • Added new commands "/bag money pay"(bagofgold.money.pay), /bag money bankbalance"(bagofgold.money.bankbalance), /bag money bankbalance <playername>"(bagofgold.money.bankbalance.other)
  • Fix bug where new players throw an error in the console and invalidated the balance.
  • Fixed BankSigns not working for player first time players
  • Fixed double starting balance for first time players
----------, Aug 28, 2018

  • Support for SpigotMC 1.13.1 added
  • "MobHunting Reward" Lore added to MobHunting Rewards
----------, Aug 26, 2018

  • Fixed problem where balance was corrupted when all BagOfGold was put in to a chest / ender chest
----------, Aug 22, 2018

V2.0.3
* Fixed wrong label in worldgroups.yml. Starting-balance must be reviewed after this update.
* Delayed loading the player balances 1 sec. for better result if the server is slow. (The balance MUST be loaded after PerWorldInventory has loaded the inventory).
* Fixed Balance bug when using MySQL. Balances on MySQL seems to works well now.
----------, Aug 15, 2018

Fix Balance problem introduced in V2.0.1.

I asked to the Dev of PerWorldInventory to make a new event, but it seems to have bug, so I have made a rollback to the event I used in V2.0.0
----------, Aug 9, 2018

  • Added new commands "/bag money", "/bag money drop", "/bag money give", "/bag money take" incl. permissions (bagofgold.money.balance, bagofgold.money.balance.other, bagofgold.money.drop, bagofgold.money.give, bagofgold.money.take)
  • BagOfGoldBanker code moved completely to the BagOfGold plugin (/bag npc create... ,/bag npc remove ID, /bag npc sethome, /bag npc select, /bag npc tphere, /bag npc spawn, /bag npc despawn)
  • Message queues added to bagOfGold
  • Support added for TitleManager, ActionAnnouncer, ActionBarAPI, Actionbar ,TitleAPI
  • Support for PlaceholderAPI added. New PlaceHolders: %bagofgold_balance% and %bagofgold_bank_balance%
  • plugin.yml updated
  • Removed old MC1.7 code
----------, Aug 9, 2018

This version is ONLY for MC 1.13

REAL Multi-World support has been added in V2.0.0 Please review the WorldGroups.yml file in the plugin folder.

Bug must be reported here https://github.com/Rocologo/BagOfGold/issues
----------, Jul 29, 2018

NOTICE that if you use PerWorldInventory you should set

player.economy: false

in PerWorldInventory config.yml

Let me know if you uses other Inventory management plugins than PWI.
----------, Jul 14, 2018

NOTICE that if you use PerWorldInventory you should set

player.economy: false

in PerWorldInventory config.yml

Let me know if you uses other Inventory management plugins than PWI.
----------, Jul 14, 2018

  • Fixed problem where balance was calculated before data was loaded from database.
----------, Jul 13, 2018

----------, Jul 13, 2018

  • Added support fro PerWorldInventory. This plugin is strongly reccommended if your change gamemode / worlds.
  • Fixed bStarts.org redirecting
  • BagOfGold balance fixed when changing gamemode
----------, Jul 7, 2018

Reporting to bStats.org broke in V1.1.1
----------, Jun 25, 2018

  • Fixed bug which could double bank balance when jumping between survival and creative worlds.
  • BagOfGold can now be used in both Survival and Creative mode. PerWorldInventory or similar plugin is strongly recommended.
----------, Jun 20, 2018

  • Reversed startup changes in V1.0.7 which causes problems if you use EssentialsXProtect.
----------, Apr 2, 2018

  • Statistics for mcstarts.org is now disabled.
  • Saving balance and shutdown process updated.
----------, Mar 25, 2018

  • Improved /bag update so it handles SNAPSHOT's too.
  • Forced BagOfGold to be loaded before Vault, to create better compatibility with other plugins.
  • Backup config on each start / load
----------, Mar 10, 2018

  • Fixed bug where Withdraw could result in a bag with a negative value. (Which does not make sense)
  • Fixed reload command. Messages can now be changed while server is online and reloaded with /bag reload
----------, Feb 7, 2018

  • Better support for Towny
  • Fixed duplication bug, when a player changed from Survival to Creative and back, while not having a PerWorldInventory plugin.
  • Fixed some debug information.
----------, Jan 24, 2018

  • Fixed balance problem, when changing the balance and the shutdown and restart server
  • Added MobHunting Skin Cache - support for MC 1.8R1, 1.8R2, 1.8R3, 1.9R1, 1.10R1, 1.11R1, 1.12R1
  • Fixed formating in the console
----------, Jan 16, 2018

Add a delayed hook into EssentialsX. BagOfGold is loaded before Essentials, but does not create a hook until Essentials is fully loaded.
----------, Jan 14, 2018

  • Using player skin cache in MobHunting
----------, Jan 7, 2018

  • Fixed "/bag version"
  • Removed some debug information.
  • Saved waiting data to database when server is stopping.
----------, Jan 6, 2018

* Fixed bug in the new updating system. You might need to do this update manually. Check that BagOfGold startup on server restart. If not you need to download newest version manually and install.
----------, Jan 5, 2018

  • Updating system changed from BukkitUpdater to SpigetUpdater (http://spiget.org) Curse broke my updating system again again :-(
  • Language files updated.
----------, Jan 4, 2018

The uddate feature at bukkit.org is broken. (Curse.com made some changes). I am working on a new updating system.

If you are on BagOfGold V0.9.8 you dont need to update now. All I have done is basically to rename the version number from V0.9.8 to 0.9.8.

When I release 0.9.9 the update feature will work again.
----------, Jan 4, 2018

  • I recommend to update both BagOfGold and MobHunting
----------, Jan 1, 2018

  • Bug fixing. The Player balance should be more stable now.
----------, Dec 31, 2017

  • Fixed bug in BagOfGold player balance when changing between Creative and Survival after giving BagOfGOld to the player
  • hu_HU.lang updated by @montlikadani - Thank you!
Thank you for your patience with the BagOfGold Balance bugs. It is extremely hard to test all combinations and use of BagOfGold.
----------, Dec 28, 2017

  • Added new command to create a Banker NPC (Citizens2 required) /bag banker create.... Permission bagofgold.npc needed.
  • Trying to fix /mh head give...
----------, Dec 27, 2017


  • BagOfGold can not be used as a helmet anymore
  • Fixed Balance Problem when a player moved a BagOfGold from his inventory to another inventory.
----------, Dec 23, 2017

Fixed bug where balance was not updated when the player joined , after the balance was changed while the player was offline.
----------, Dec 15, 2017

  • fixed problem where the BagOfGold Balance was wrong.
----------, Dec 9, 2017

Fixed bug where balance was set to 0 when player logged out.
----------, Dec 5, 2017

Fixed bugs where the balance was calculated wrongly whene the player is Creative mode.
----------, Dec 5, 2017

  • Fixed bug where balance was set to 0 when player logged out.
----------, Dec 5, 2017

  • Fixed bug where the BagOfGOld lost its skin, when placing the BagOfGold as a block
----------, Dec 4, 2017

  • If Essensials is installed (and integration enabled) The Essentials Balance will be imported to BagOfGold.
  • Minecraft Items can be used instead of the BagOfGold (skull). Make sure to set drop-money-on-ground-itemtype: ITEM in both MobHunting and BagOfGold if you want this.
PLEASE MAKE A REVIEW IF YOU LIKE THIS PLUGIN
----------, Dec 3, 2017

You can now create a BagOfGold Bank, to let the player save their money in the bank

2017-11-10_00.07.01.png
----------, Nov 9, 2017

Resource Information
Author:
----------
Total Downloads: 38,076
First Release: Nov 8, 2017
Last Update: Jun 11, 2023
Category: ---------------
All-Time Rating:
40 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings