StoreStats - Recent & Top Donators ⭐ Goals, Leaderboards, Broadcasts⭐ [1.8.x - 1.21.x] icon

StoreStats - Recent & Top Donators ⭐ Goals, Leaderboards, Broadcasts⭐ [1.8.x - 1.21.x] -----

⭐ Show your recent, top donators and donation goals in-game! Tebex/CraftingStore/MineStore support!




  • Updated for FancyNPCs v2.3.0.
    • StoreStats will not work on older versions of FancyNPCs.
  • Improve setting FancyNPCs skins.
No config changes.
----------, Oct 11, 2024

  • Added username support to the total spent placeholder.
No config changes.
----------, Oct 6, 2024

  • Fixed error when setting head textures on some versions.
No config changes.
----------, Oct 3, 2024

  • Updated libraries.
No config changes.
----------, Oct 2, 2024

  • Fixed startup error/setting head textures due to a recent Spigot change.
No config changes.
----------, Sep 30, 2024

  • Added %storestats_total_spend_UUID% placeholder.
No config changes.
----------, Sep 15, 2024

  • Fixed issue with setting/unsetting a player wall head.
No config changes.
----------, Aug 26, 2024

  • Changed the broadcast system and split it into a single or group package broadcast. When a broadcast is triggered it'll wait with a buffer of 3 seconds for more broadcasts and it'll group them together instead of spamming the same one message over and over.
Config changes
----------, Aug 14, 2024

  • Added FancyNpcs support.
No config changes.
----------, Aug 5, 2024

  • Added a extra message for users who may be trying to use an API key for Tebex.
No config changes.
----------, Jul 28, 2024

  • Misc changes.
  • Changed the default task delay.
Config changes
----------, Jul 10, 2024

  • Updated dependencies.
  • Updated to Minecraft 1.21.
Config changes
----------, Jun 16, 2024

  • Updated dependencies.
No config changes.
----------, Jun 12, 2024

  • Fixed an error if the world you have a display in is removed/unloaded.
No config changes.
----------, May 14, 2024

  • Updated to Minecraft 1.20.6.
  • Rewrote and improved the version helper.
No config changes.
----------, May 12, 2024

  • Fixed a tiny memory leak in the update checker.
No config changes.
----------, Mar 15, 2024

  • Fixed a rare NPE when a Citizens NPC is removed.
No config changes.
----------, Mar 13, 2024

  • Added support for more than 15 community goals on CraftingStore.
No config changes.
----------, Mar 1, 2024

  • Potentially fixed a lag issue when updating block heads.
No config changes.
----------, Feb 3, 2024

  • Added a Hologram y-offset config setting.
Config changes
----------, Jan 13, 2024

  • Improved DecentHolograms and ZNPCsPlus updating by loading their chunks beforehand and giving some more time and checks.
No config changes.
----------, Dec 26, 2023

  • Removed some leftover debug particles when setting a ZNPCsPlus display.
  • Small refactoring.
  • Added a check for ZNPCsPlus' version.
No config changes.
----------, Dec 21, 2023

  • Added basic ZNPCsPlus support.
    • Note: This only works for ZNPCsPlus v2.x.x and all StoreStats does is trigger the NPC to respawn/update nothing else. Names and skins etc. are handled by ZNPCsPlus and you should use Placeholders for their skin and text which you could do before this update but this just ensures they are always updated when a store refresh happens.
Config changes
----------, Dec 19, 2023

  • Updated to 15.0.4 SkinsRestorer.
No config changes.
----------, Dec 11, 2023

  • Fixed some error message typos.
  • Added an exception check that will print information if the payment updater task fails for some reason.
No config changes.
----------, Dec 10, 2023

  • Updated to Minecraft 1.20.4 and other dependencies.
  • Improved the timeout error messages.
No config changes.
----------, Dec 9, 2023

  • Misc internal refactoring.
No config changes.
----------, Nov 28, 2023

  • Added a config setting to change whether to remove invalid displays or not.
Config changes
----------, Nov 21, 2023

  • Added a check with a message when not using SkinsRestorer v15.X.X.
No config changes.
----------, Nov 18, 2023

  • Improved a debug message.
No config changes.
----------, Nov 17, 2023

  • Updated to SkinsRestorer 15. Please note that SkinsRestorer 14 and under will no longer work.
No config changes.
----------, Nov 13, 2023

  • General internal updates and cleanup.
No config changes.
----------, Nov 12, 2023

  • Added a package formatting config setting only for Tebex stores.
  • Added a new display type, hologram - needs DecentHolograms to be installed to be able to use, can use a dynamic package line so each package is on a new hologram line.
Config changes
----------, Nov 6, 2023

  • Updated Citizens and PlaceholderAPI.
  • Added package support, the plugin now stores the package information from the store and can now be displayed with a placeholder and also on the GUI system.
    • MineStore isn't supported for this yet due to not knowing the API, if you use MineStore please DM me.
Config changes
----------, Nov 4, 2023

  • Cleaned up some empty lines.
  • Moved the invalid UUID warning to show in debug mode only.
No config changes.
----------, Oct 10, 2023

  • Removed old debug message for head creation.
  • Improved the UUID selection when getting payments from the store and will now warn you when there is an invalid UUID.
No config changes.
----------, Oct 7, 2023

  • Added a config setting to enable or disable the inventory system.
  • Fixed missing period on one of the config comments.
Config changes
----------, Oct 1, 2023

  • Added a debug message when creating heads for the inventory system.
No config changes.
----------, Sep 29, 2023

  • Updated to Minecraft 1.20.2.
No config changes.
----------, Sep 24, 2023

  • Added a debug message when the AsyncStoreBroadcastEvent is cancelled.
No config changes.
----------, Aug 22, 2023

  • Fixed the newly added AsyncStoreBroadcastEvent not actually being marked as async.
No config changes.
----------, Aug 19, 2023

  • Added AsyncStoreBroadcastEvent.
No config changes.
----------, Aug 18, 2023

  • Increased the default cache amount.
  • Some internal cleanup with fields.
  • Increased the sleep time between pages very slightly.
  • Added some more comments to the config.
  • Changed the minimum update task timer to 180 seconds.
Config changes (Default changes)
----------, Jul 8, 2023

  • Improved connections to head skin services.
No config changes.
----------, Jul 3, 2023

  • Added a null check for when the buffered reader is null in the head image helper.
  • Optimized the error head image handling by caching it.
No config changes.
----------, Jun 26, 2023

  • Added more debug messages to the head image helper.
No config changes.
----------, Jun 26, 2023

  • Fixed some issues with skins on the broadcast command when having an offline server.
  • Removed Crafatar due to not supporting usernames.
Config changes
----------, Jun 24, 2023

  • Added a precondition for the head image to ensure the lines aren't null.
  • Improved the debug messaging to not colorize the actual debug information.
  • Improved console logging.
No config changes.
----------, Jun 21, 2023

  • Added debug messages to head image helper when using SkinsRestorer to find any issues.
No config changes.
----------, Jun 17, 2023

  • Updated bStats to 3.0.2.
  • Updated to Minecraft 1.20.1.
No config changes.
----------, Jun 15, 2023

  • Moved the inventory close event listener to monitor priority to allow leeway for other plugins.
No config changes.
----------, May 10, 2023

  • Possibly fixed a rare issue with the broadcast command throwing class cast exceptions.
No config changes.
----------, Apr 27, 2023

  • Improved command tab completion.
No config changes.
----------, Apr 22, 2023

  • Added a debug message when skipping payments to the cache.
No config changes.
----------, Apr 14, 2023

  • Updated PlaceholderAPI 2.11.2 -> 2.11.3
  • Added a cache blacklist config setting to blacklist players from their payments being added to the cache.
Config changes
----------, Mar 19, 2023

  • The command suggestions now show lowercase enums.
  • Updated dependencies:
    • Spigot 1.19.3 -> 1.19.4
    • bStats 3.0.0 -> 3.0.1
    • AuthLib 3.16.29 -> 3.18.38
    • Citizens 2.0.30 -> 2.0.31
    • SkinsRestorer 14.2.3 -> 14.2.8
No config changes.
----------, Mar 17, 2023

  • Improved sign updating and added more debug messages.
No config changes.
----------, Mar 10, 2023

  • Updated PaperLib to 1.0.8.
  • Updated JSON to 20230227.
  • Fixed the PluginInformation URL being nullable despite being marked as not null.
No config changes.
----------, Mar 5, 2023

  • Fixed the distance for getting the player's target block not being the same as the distance for getting the player's target entity.
No config changes.
----------, Feb 17, 2023

  • Improved the payment updater task.
No config changes.
----------, Jan 27, 2023

  • Fixed the no overflow progress placeholder showing the target amount not 100%.
No config changes.
----------, Jan 21, 2023

  • Added %storestats_goal_progress_ID_no_overflow% placeholder.
No config changes.
----------, Jan 19, 2023

  • Added a delay config.yml setting for the commands broadcast effects.
  • Updated to use Citizens' new way of setting metadata.
Config changes
----------, Jan 14, 2023

  • Fixed a typo in one of the config comments.
  • Added a new commands section for the broadcast effects to let you do more things.
Config changes
----------, Dec 29, 2022

  • Added previous and next page button names to the config.yml to allow for editing.
Config changes
----------, Dec 28, 2022

  • Updated to 1.19.3.
No config changes.
----------, Dec 17, 2022

  • Misc internal updates.
  • Updated the JSON library to the newest version.
  • Fixed the inventory config settings not updating on reloads.
No config changes.
----------, Dec 2, 2022

  • Added a safety check for SkinsRestorer to fall back to safety if it fails for example if the plugin is in proxy mode.
No config changes.
----------, Oct 23, 2022

  • Added MCHeads as a skin service.
  • Added SkinsRestorer support when using MCHeads, due to the other services not allowing texture data directly.
  • Changed the default skin service to MCHeads.
Config changes (Just default changes, you don't need to update)
----------, Oct 22, 2022

  • Added 2 more skin services with a config setting to change it.
Config changes
----------, Oct 22, 2022

  • Fixed %package_price% not having the currency symbol.
No config changes.
----------, Oct 22, 2022

  • Improved the console message when using an invalid sound in the config.yml
  • The plugin will now only warn you once per unique invalid sound in the config.yml to avoid spam.
No config changes.
----------, Oct 21, 2022

  • Fixed an on-enable error on Minecraft 1.12 or older relating to inventory creation.
No config changes.
----------, Oct 15, 2022

  • Removed color from a disable message.
  • Fixed some internal fields not being final.
  • The plugin will now cache the stained glass panes used in the GUIs.
  • Misc internal cleanup.
No config changes.
----------, Oct 15, 2022

  • Added the new GUI command to the command usage config setting.
  • Changed the default cache config setting amount to 300.
Config changes (Just default changes, you don't need to update)
----------, Oct 8, 2022

[​IMG]
  • Added a new GUI browser so you can look at all the timeframe information in a single place. The command is /StoreStats GUI [Timeframe] and the permission is storestats.command.gui. The GUI will live update whenever the internal cache is updated as well.​
  • Added a new %payment_date% placeholder to use in some config settings.​
----------, Oct 7, 2022

  • Added config settings to change the unknown skin for heads, armor stands and NPCs.
  • Moved the unknown payment name and amount config settings into their own section to be cleaner.
Config changes
----------, Oct 2, 2022

  • Small internal refactoring.
  • Added config settings to change the "Unknown" name and price for the sign displays.
  • Added a currency symbol config setting to change your currency symbol.
Config changes
----------, Oct 1, 2022

  • Fixed %payment_position% not getting updated.
No config changes.
----------, Sep 29, 2022

  • Fixed some issues with CraftingStore providing commas.
No config changes.
----------, Sep 18, 2022

  • Fixed a double message when reloading the plugin.
  • Increased the default cache amount to 250.
  • Changed a bunch of internal placeholder names.
  • Changed %payment_number% to %payment_position% to avoid confusion (You will need to update it in your config if you use it).
  • Some internal refactoring.
  • Changed the payment command to say position instead of number.
Config changes
----------, Sep 17, 2022

  • Improved the broadcast chat message effect array creation to be more efficient.
  • Added PlaceholderAPI support for the broadcast chat message effect.
No config changes.
----------, Sep 1, 2022

  • Fixed some internal typos.
  • Changed some internal placeholders to make more sense.
  • Changed some config placeholder names to make more sense and added missing ones to the comments.
    • %uuid% -> %player_uuid%
    • %amount% -> %payment_amount%
    • %number% -> %payment_number%
    • %timeframe% -> %payment_timeframe%
    • You will need to update it in your config if you use it.
  • Added %month_name% placeholder to timeframe config settings to show the month short name such as "Aug".
  • Changed the order of the payment command details.
  • Some misc default config cleanup.
Config changes
----------, Aug 26, 2022

  • Improved the sound broadcast effect by not playing the sound in world so players don't hear stacking/multiple sounds when near other players.
No config changes.
----------, Aug 22, 2022

  • Added an "Everyone" config setting to the chat message and sound broadcast effects.
Config changes
----------, Aug 20, 2022

  • The plugin is now built against 1.19.2 (No update needed).
  • If the head image errors, it will now return a "!" head image.
No config changes.
----------, Aug 13, 2022

  • The plugin is now built against 1.19.1 (No update needed).
  • Changed some manager startup orders.
No config changes.
----------, Aug 5, 2022

  • Fixed missing message for when citizens isn't installed on startup.
No config changes.
----------, Jul 18, 2022

  • Changed some default config language.
  • Some misc internal refactoring.
  • Changed the head image colors to use a shorter hex format.
Config changes
----------, Jul 14, 2022

  • Improved the update checker by removing all messages apart from the update available message and made it run every 24 hours.
Config changes
----------, Jul 8, 2022

  • Some small internal refactoring.
  • Added a config setting for sending the chat message broadcast effect to the console.
  • Fixed lists not getting colorized such as signs.
  • Fixed fireworks from the broadcast effect damaging players.
Config changes
----------, Jul 6, 2022

  • Added support for more hex color formats, we now support <#RRGGBB>, [#RRGGBB], {#RRGGBB}, (#RRGGBB), &#RRGGBB and #RRGGBB.
  • Added support for converting hex colors to the nearest legacy colors on pre-1.16 servers if they are used instead of just displaying a broken color.
  • Switched the head image API to minotar from crafthead due to outdated skin issues and connection issues on older Minecraft versions.
  • Removed some default comments about the hex format since we now support pretty much all the formats commonly used.
  • The chat message broadcast effect now gets sent to the console as well.
  • Improved the performance of the chat message broadcast effect.
Config changes
----------, Jul 5, 2022

[​IMG]
  • Added Broadcast Effects. Do /StoreStats broadcast (player name) (package price) (package name) (permission: storestats.command.broadcast) to broadcast a new purchase/donation from a player, online or offline and do effects for it including a chat message, sound, fireworks and particles, all configurable in the config.yml.
  • Added some more comments in the config.yml.
  • Updated PlaceholderAPI to 2.11.2.
Config changes
----------, Jul 3, 2022

  • Changed some startup tasks.
  • Fixed still getting default NPC/Armor stand colors if you remove them from the config.
No config changes.
----------, Jul 2, 2022

  • Added preconditions to DisplayDetails.
  • Remove update notification on join and improve the update message.
No config changes.
----------, Jun 27, 2022

  • Made util classes not able to be constructed.
  • Improved the updating speed of Citizens' NPCs.
  • Some refactoring.
  • Fixed some comments in the config.yml.
  • Changed some default values in the config.yml, related to connection timeout and update speed.
Config changes
----------, Jun 21, 2022

  • Updated some dependencies such as Citizens to 2.0.30.
  • Updated to 1.19 and removed commons-lang usage for Google Guava internally.
  • Added some missing NotNull annotations internally.
  • Some misc clean up internally.
No config changes.
----------, Jun 10, 2022

  • Removed the ConfigManager since the small performance increase is not worth the maintenance that comes with it.
No config changes.
----------, Jun 3, 2022

  • Fixed the "Change Armor Stand Names" config setting not doing anything. It was made for the old display system where it would toggle updating the armor stand above the sign but was never removed in the display system update. This update adds functionality back to it to toggle if StoreStats should change the armor stands name or not.
  • Added "Change NPC Names" which is the same as the change armor stand names config but for NPCs.
Config changes
----------, Jun 2, 2022

  • Added the connection response status to the debug mode.
No config changes.
----------, May 31, 2022

  • Updated internal shade plugin and JSON library.
  • Small cleanup to the debug system.
  • The plugin now skips Tebex payments where the player ID is 0 or less, this happens when the purchaser didn't supply a Minecraft username. This also fixes an error.
No config changes.
----------, May 29, 2022

  • Fixed Citizens NPC displays getting removed for being invalid when not. You may need to set your NPCs again for this change to affect previously made displays unless they updated just fine of course.
  • Fixed Citizens NPC displays getting updated twice.
No config changes.
----------, May 16, 2022

  • Fixed placeholders not working at all. Sorry about that, was a small oversight on my part!
  • Slightly improved the placeholder parsing.
No config changes.
----------, May 15, 2022

  • Improved the placeholder requests.
  • Tweaked some default config comments and added a missing MineStore cache comment.
  • Changed all events to MONITOR to make sure we always get the final outcome when removing invalid displays.
Config changes (Don't need to update)
----------, May 14, 2022

  • Fixed a typo in the default config.
Config changes
----------, May 13, 2022

  • Added /StoreStats unset (display type) with permission storestats.command.unset that'll unset the display from the database if the location is in there.
  • Changed some default messages in the config. (You need to update)
Config changes
----------, May 13, 2022

  • Improved armor stand and Citizens NPC updating by basing the search location from the center of the block, fixes armor stand and NPCs not updating when on a slab for example.
No config changes.
----------, Apr 23, 2022

  • Improved the Citizens NPC updating by giving it more time and a hard cap.
No config changes.
----------, Apr 23, 2022

  • Fixed some internal formatting.
  • Fixed a startup message being capitalized.
  • The plugin will now give Citizens a little bit more time to add their own NPCs into the loaded chunks when updating NPCs.
No config changes.
----------, Apr 16, 2022

  • Fixed console color issues.
No config changes.
----------, Apr 11, 2022

  • Changed some internal ints to longs.
  • Fixed an error when using CraftingStore due to the UUID on payments being nullable.
No config changes.
----------, Mar 13, 2022

  • bStats is now shaded into the plugin instead of being manually copy-pasted in.
  • Moved some classes around to be more organized.
  • Fixed Citizen's NPCs getting removed from the database on shutdown.
  • Fixed async chunk loading issues on pre 1.13, the plugin will simply load them sync.
  • Fixed chunk ticket issues on pre 1.14 since they don't exist in the API back then.
  • StoreStats will now only wait for some ticks for Citizens to add their NPCs into the chunk on 1.17+.
No config changes.
----------, Mar 9, 2022

  • Added an "All Time" timeframe, you may need to increase your cache amount for this to be even remotely accurate.
Config changes
----------, Mar 6, 2022

  • Removed an extra &a in the default command message.
  • The plugin is now built against 1.18.2.
  • Updated Authlib to 3.3.39 from 2.0.27.
  • Organized listeners around into their own classes.
  • The plugin will now register a Citizens listener if Citizens is detected on startup and will remove NPC display types when a Citizens NPC is removed or despawned.
No config changes.
----------, Mar 4, 2022

  • Added MineStore support - You need version 2.5 or higher of MineStore to use this and you can connect to the API with or without an API key but I highly, highly recommend using an API key to access your API.
Config changes
----------, Feb 28, 2022

  • Fixed issues with updating Citizens NPC display types, the plugin will now give Citizens some time to load in their NPCs before attempting to update them.
No config changes.
----------, Feb 20, 2022

  • Fixed an issue where if the payment task encountered an error it would never let another payment task start.
No config changes.
----------, Feb 20, 2022

  • Fixed the test connection task not checking if we already updating info.
No config changes.
----------, Feb 19, 2022

  • The plugin will disallow /StoreStats Force if the plugin is already updating payment information so you can't spam it.
Config changes
----------, Feb 13, 2022

  • Remove the info command from the command usage section of the config.yml.
Config changes
----------, Feb 11, 2022

  • Removed the /StoreStats Info command.
No config changes.
----------, Feb 9, 2022

  • Added /StoreStats help to show you information about the commands in the plugin. Requires storestats.command.help to use.
  • Changed the default /StoreStats command message.
Config changes
----------, Feb 7, 2022

  • Small refactor.
  • Fixed only the plugin's prefix getting sent in messages.
No config changes.
----------, Jan 13, 2022

  • Fixed typo in default config.
  • Improved how the plugin gets the language in the config and some refactoring.
Config changes (Just some comment changes, you don't need to update anything)
----------, Jan 13, 2022

  • Payments from CraftingStore are now ignored if their status isn't "PAID", this has recently been added to their API. Tebex has had this since v3.0.0.
  • Fixed a config typo.
  • Added an "Ignore Invalid Payments" config setting so you can choose to ignore them or not from both store types.
  • Improved how the plugin checks the connection response codes.
Config changes
----------, Jan 13, 2022

  • Improved how the plugin checks for the display type on the set command.
  • Improved the set command checking for any generic exception instead of just the number one.
  • Fixed the set command not returning true at the end of a successful execution.
No config changes.
----------, Jan 12, 2022

  • Fixed some usage commands using <> instead of ()
  • Fixed the default message and the info command not having the plugin prefix.
  • Removed some pointless information on the info command and removed the extra spaces.
No config changes.
----------, Jan 10, 2022

I have marked this as a release since most servers running StoreStats are now running v3 and I've had no issues reported to me.

If upgrading from v2.x.x you MUST delete your config, database and read this post!
  • Updated PlaceholderAPI to 2.11.1
  • Updated PaperLib to 1.0.7
No config changes.
----------, Jan 4, 2022

  • The plugin now checks if PlaceholderAPI is enabled on startup before hooking into it.
No config changes.
----------, Jan 3, 2022

  • Small refactor.
  • Moved the PlaceholderAPI hook registration on startup to be after we register the commands, listeners and config/data.
No config changes.
----------, Jan 2, 2022

  • Updated PlaceholderAPI to 2.11.0.
  • Added a new placeholder to get the player's UUID from a payment %storestats_payment_uuid_ID_TIMEFRAME%
No config changes.
----------, Dec 20, 2021

  • Reverted back to using names for the player head data, for some reason when setting the owner with a UUID it wouldn't load the texture.
  • Fixed head rotation getting set back to north when setting the unknown texture.
No config changes.
----------, Dec 17, 2021

  • Bunch of refactoring with comments and making sure things aren't null etc.
  • Added timeframes to the payment command auto-complete.
No config changes.
----------, Jul 31, 2021

StoreStats already works on Java 16 & Minecraft 1.17, no need to update.
  • Unify getPayment/getTopPayment into one single method instead of checking the timeframe and use a different method for each type, now it'll just use one and stop pointless checking.
No config changes.
----------, Jun 11, 2021

  • Fixed the plugin getting some pointless information when getting payments even if we're not going to actually use/need it because we hit our cache amount.
  • Changed how the Citizens/NPC skin gets applied, this should fix some issues when the skin doesn't get changed.
No config changes.
----------, Jun 1, 2021

  • Added debug messages when the signs are added/removed from the database and when signs are updated.
No config changes.
----------, May 12, 2021

  • Small refactor.
  • Added timeframe support to the /storestats payment command to allow checking for the top weekly and monthly donators instead of only the recent payments.
No config changes.
----------, May 6, 2021

  • Fixed getting the incorrect date from CraftingStore, fixes top donators not working when using CraftingStore as your store type.
No config changes.
----------, May 3, 2021

  • Added a config setting to also change the armor stand's name to the donor's name when updating.
Config changes
----------, May 1, 2021

  • Add debug when the top week and month is being calculated.
No config changes.
----------, May 1, 2021

  • Improved performance when getting top payments.
No config changes.
----------, Apr 19, 2021

  • Fix "TX" and "CS" store types not working on plugin reload.
No config changes.
----------, Apr 16, 2021

  • Cached the number format used in the payment manager.
No config changes.
----------, Apr 8, 2021

  • Cache the date format used in the Tebex manager.
No config changes.
----------, Apr 8, 2021

  • More refactoring.
  • No longer check for updates on plugin reload.
No config changes.
----------, Apr 4, 2021

  • Refactoring.
No config changes.
----------, Apr 3, 2021

  • Updated Shade plugin and JSON version.
No config changes.
----------, Mar 31, 2021

  • Added "TX" and "CS" as shortcuts for the store type in the config.
  • Updated Metrics.
No config changes.
----------, Mar 29, 2021

  • Made the new recent timeframe work on the new placeholders.
  • Removed the old placeholders e.g %storestats_payment_amount_1% because of the newly added timeframe placeholders. (Using recent as the timeframe in them is the same as this)
  • Changed the new placeholders from %storestats_top_payment_amount_ID_TIMEFRAME% to %storestats_payment_amount_ID_TIMEFRAME%
No config changes.
----------, Mar 27, 2021

  • Forgot to add a space when saving signs causing errors on the next sign update.
No config changes.
----------, Mar 27, 2021

  • Added a new very demanded top donors feature.
  • You now need to enter a timeframe when making a sign (on the 3rd line) such as Recent, Week or Month. The recent timeframe will show the most X most recent payment, the week and month will show the X top donor from that timeframe.
  • Added top donors placeholders
    • %storestats_payment_top_player_POSITION_TIMEFRAME% (Check 2.14.0)
    • %storestats_payment_top_amount_POSITION_TIMEFRAME% (Check 2.14.0)
  • The plugin will now get all payments (Limited by the cache amount in the config) and add them up to work out the top donors in the last week and month. If you get more payments than the cache amount in your config in a week or month (Depending on what you use) you may need to raise the cache amount.
Config changes
----------, Mar 27, 2021

  • The plugin now uses a PaymentDetails and GoalDetails class for their information instead of having a bunch of strings inside a map. Everything should work the same but I may have missed some edge cases so please report them if you find any issues!
No config changes.
----------, Feb 23, 2021

  • Change how Tebex payments are received and cached from their single payments API with a limit of 100 to their paged system that allowed to cache infinite payments.
Config changes (Just default and comment changes)
----------, Feb 17, 2021

  • Small refactoring.
  • Small performance improvement when handling the goal placeholder logic.
No config changes.
----------, Feb 16, 2021

  • Some refactoring.
No config changes.
----------, Feb 15, 2021

  • Updated Metrics.
No config changes.
----------, Feb 9, 2021

  • Do one method call instead of one per line in the Info, Payment and Goal commands.
No config changes.
----------, Feb 8, 2021

  • Don't use fields for enable/disable times.
No config changes.
----------, Feb 3, 2021

  • Added /storestats info to the tab completion.
No config changes.
----------, Jan 22, 2021

  • Added /StoreStats info which tells you information about the plugin and your store. Permission is storestats.command.info
No config changes.
----------, Jan 14, 2021

  • Some refactor.
No config changes.
----------, Jan 13, 2021

  • Small cleanup with instance and task creation.
No config changes.
----------, Jan 9, 2021

  • Small performance improvement with the storestats command.
No config changes.
----------, Jan 6, 2021

  • Updated Metrics.
No config changes.
----------, Dec 24, 2020

  • Removed a debug exception. You don't need to update if you don't want to.
No config changes.
----------, Dec 14, 2020

  • Added community goal support for CraftingStore since they just added the API for it.
No config changes.

NOTE: If you get "INVALID GOAL" and you are 100% sure you're using the correct ID for the goal as seen under the Placeholders section on how to get the ID then you will have to wait or create a manual payment to update the goal API. The goals only update on payments, not goal creation/deletion, this should be fixed soon https://github.com/CraftingStore/Suggestions/issues/422#issuecomment-744496644
----------, Dec 14, 2020

  • Small optimization for placeholders.
No config changes.
----------, Dec 11, 2020

  • Now starts tasks after setting up the store manager not before.
No config changes.
----------, Sep 5, 2020

  • Now checks and ensures that the NPC above signs is actually spawned in the world and is also valid.
No config changes.
----------, Sep 4, 2020

  • Added a minimum payment system. For example, if you set it to 0.01 in the config.yml then all 0.00 payments will be excluded. If you set it to 50.00 it'll exclude all payments under that etc.
Config changes
----------, Sep 3, 2020

  • Close connections in some cases instead of keeping them open.
  • Actually fix the CraftingStore page system.
  • Reduced the connections needed when using CraftingStore.
No config changes.
----------, Sep 2, 2020

  • Fixed issue with the page system when using CraftingStore, would cap out at 105 payments.
No config changes.
----------, Sep 2, 2020

  • Removed some unused code.
No config changes.
----------, Sep 2, 2020

  • I noticed some lag of 700ms+ ticks during my post update push check and found that the updater task after reloading was changing into a normal sync task, not an async one. Basically fixed the lag from the updater after you reload the plugin once.
No config changes.
----------, Sep 2, 2020

  • Changed the sign updater task into just the payment updater task which updates goal and payment caches including signs.
  • Made the updater task run after its connections to your store.
  • Made the updater task run on the force command instead of
  • Removed the sign updater animation due to it not being needed anymore.
  • Added a max cache amount into the config.
  • Completely changed the internals to work completely on a cache system instead of connecting to your store EACH time it wants to get payment information. Before if you had 10 signs, it'll do 10 connections but now it'll do one and also cache them for future signs if ever needed! The payment cache will update on startup, the task timer set in the config and if you do /storestats force. Due to the big internal changes, I've decided to make this v2.0.0.
Config changes
----------, Sep 2, 2020

  • Build against 1.16.2.
  • Added /storestats goal (number) command.
No config changes.
----------, Aug 21, 2020

  • Send hooked into PAPI message after it hooks not before.
No config changes.
----------, Aug 11, 2020

  • Updated Paperlib to 1.0.5
  • Built against PlaceholderAPI 2.10.9
No config changes.
----------, Aug 8, 2020

  • Fixed error with the payments/goals updater task when PAPI isn't installed due to trying to update the placeholders.
No config changes.
----------, Aug 6, 2020

  • Fixed error when using the force command when PAPI isn't installed due to trying to update the placeholders.
No config changes.
----------, Aug 4, 2020

  • Added some hex color notes in the config.
Config changes
----------, Aug 1, 2020

[​IMG]
  • Added hex color support for all config messages including the sign format. Use <#XXXXXX> for hex colors, for example <#e809ca> will turn out a nice hot pink.
No config changes.
----------, Jul 28, 2020

  • Made the update message when you login send after 22 ticks so you can actually see it.
No config changes.
----------, Jul 26, 2020

  • Removed the exception trace messages for when failing to get a payment or goal information.
  • Added the Payment/Goal ID into the error message if failing payment or goal information.
No config changes.
----------, Jul 26, 2020

  • Added a connection timeout in the config instead of being hardcoded at 16 seconds, also lowered the default.
Config changes
----------, Jul 20, 2020

  • Removed an unneeded replace call in the payment command.
No config changes.
----------, Jul 19, 2020

  • Changed MetricsLite to just Metrics and added a custom pie chart for the store type.
No config changes.
----------, Jul 19, 2020

[​IMG]
  • Added the number position on signs, so the 1st recent donor will have 1, 2nd will have 2 etc. Can be changed of course.
Config changes
----------, Jul 19, 2020

  • Added /storestats reload, only can be used from console and will reload the entire plugin including config, store details and will restart all tasks.
  • Added a message about the reload command when the store type or secret is invalid.
No config changes.
----------, Jul 18, 2020

Just wanted to post this before people start sending me DMs etc asking what the problem is and the errors etc.

See the tweet from Tebex, same outage time as Discord too.
https://twitter.com/TebexSupport/status/1284240009999024128
----------, Jul 17, 2020

Due to addition of CraftingStore a lot of the plugin got reworked to support more than a single store, if you have any issues please DM me straight away or post in the discussion thread!

Please make sure to update your config or regenerate it. CraftingStore doesn't have Community/Donation Goals API that feature will NOT work right now and will return invalid goal.

Config changes
----------, Jul 14, 2020

  • Fixed the NPC selection range to actually be correct.
Yellow Dot: Search start point.
Yellow outline: Search range.

Version 1.5.2:
[​IMG]

Version 1.5.3:
[​IMG]

No config changes.

CraftingStore:

I recently got contacted by Tim, The owner of CraftingStore and he has been nice enough to support me with an API for Store information and payments but nothing for community goals right now.

I will be adding support for payments in the coming week or so, have a bunch of IRL things I'm forced to deal with.​
----------, Jul 13, 2020

  • Mark a community goal is been updated faster (Not in the async method) to stop other placeholders attempting store connections on top of the one already being made when requested at the same time.
No config changes.
----------, Jul 12, 2020

  • Made the placeholders persistent so they dont get unregistered on /papi reload
No config changes.
----------, Jul 12, 2020

[​IMG]

  • Added Community goal support!
Community Goals' Current and target amount, progress and progress bars can now be displayed in ANYTHING that supports PlaceholderAPI such as Holograms, Scoreboards, Chat and more!

Follow the setup guide on the main place and check the placeholders section for how to use this new feature.

This uses caching so you don't have to worry about a million connection to your store for the information. When a goal ID is requested it will check if its in the cache and fetch that information, other wise it will connect to the store for the information and then cache it for future requests, then in the Updating task that is set in the config will get all the cached IDs and request the latest information on them.

This is a big feature update and I'm really excited for it.​
  • Changed the update task and force command to update both sign data and community goals that are currently cached.
  • Added all the community goal information on the main thread and added two gifs that showcase the plugin features (Low-quality gifs because of limits and gifs are bad...) with a title tweak.
Config changes
----------, Jul 12, 2020

No config changes.
----------, Jul 11, 2020

  • Built against 2.0.27 Citizens.
  • /StoreStats payment (number) will be disabled if you're not connected to any store.
No config changes.
----------, Jul 10, 2020

  • Fixed auto tab for the payment command showing 0-100, not 1-100 because 0 isn't a valid payment number.
No config changes.
----------, Jul 9, 2020

  • Added command auto tab completion.
  • Added /storestats payment (number) command to check the payment from 1-100 latest.
  • Changed how the prefix is got in the getLang method for language in the config.
  • Removed the massive exception message when the ID you inputted in the payment command or sign isn't valid and on the store.
No config changes.
----------, Jul 8, 2020

  • Now supports 1.8 - 1.12!
No config changes.

If you find any problems please DM me straight away!
----------, Jul 7, 2020

  • Added command alias setting so you can change the default /ss to something else or more or even disable it.
  • Added force update message to the language.
  • Added the update checker
Config changes.
----------, Jul 7, 2020

  • Removed a useless import and instance.
No config changes.
----------, Jul 6, 2020

  • Built against 1.16.
  • Added the "website" to the plugin.yml.
  • Added a new startup message.
  • Updated PaperLib to 1.0.4.
No config changes.
----------, Jul 5, 2020

Resource Information
Author:
----------
Total Downloads: 529
First Release: Jul 4, 2020
Last Update: Oct 10, 2024
Category: ---------------
All-Time Rating:
48 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings