Daily Rewards 2

MC Plugin Daily Rewards 2 2.1.12
⭐ Reward players for coming back ⭐ Advanced menus and streaks ✅ Supports Spigot, Paper and Folia!

This update adds some more functionality to the config.yml file. I highly recommend you review the new configuration options which appear here and add them to your config.yml file when updating to this version of Daily Rewards 2.

New:
  • Added an asynchronous dummy (loading) menu that will appear for players while waiting for data from the database to be pulled.

    This should provide a massive TPS improvement for servers with particularly slow databases/database hosts.

  • You can now apply an enchanted effect to items displayed in the rewards menu by adding "enchanted: true" to any menu item in your config.yml. (Suggested by icezaft09)
Changes / Fixes:
  • All calls to the database are now loaded asynchronously, improving the plugin's overall impact on TPS.
  • (Paper) Fixed a bug preventing the "reward-reminder-on-join" config option from working.
Although this update was tested thoroughly, you might still encounter bugs or issues. Please report any bugs you might find to the GitHub bug tracker here.
This update adds some more functionality in the config.yml file. I highly recommend you review the new configuration options which appear here, and add them into your config.yml file when updating to this version of Daily Rewards 2.

New:
  • Added new mysql.max-lifetime and mysql.keepalive-time options to config.yml. These new settings allow the plugin to proactively manage database timeouts.

    I've added clear comments to explain what they do in the config.yml. In short, these will help make MySQL connections more reliable, especially for users with unreliable providers.
Changes / Fixes:
  • The plugin now uses HikariCP, a professional-grade connection pool, to reliably manage all MySQL connections and automatically handle network errors or timeouts.
  • Thanks to HikariCP, I was able to add some optimization settings that enable caching of SQL statements, which should provide a big bump in performance when the SQL connection is being used.
  • Fixed another small debug log typo to show the user's name rather than their CraftPlayer data.
Although this update was tested thoroughly, you might still encounter bugs or issues. Please report any bugs you might find to the GitHub bug tracker here.
Top Bottom