[OPEN SOURCE] AchievementService | Easily Manage and Award Badges | v1.03

v1.03 - November 29th, 2024

  • Internal Recovery Module Added
    • Introduced :SafeCall() function to handle retries when a function fails.
    • The SafeCall function is now used within the AchievementService module for more resilient function calls.
  • New Variables
    • MaxRetryLimit
      • Controls the maximum number of retry attempts (default is 5).
    • RetryDelay
      • Defines the delay between retry attempts (default is 1 second).
  • Code Documentation Improvements
    • More comments have been added throughout the code to increase legibility and clarify the functionality for developers
  • achievementsService.Defaults Table
    • Default values for configurable variables are now stored in the Defaults table for easier management.
  • Initialization Enhancements
    • AutoInitialize variable
      • Determines whether the module initializes automatically on startup or if developers should initialize it manually.
    • Developers can now call AchievementService.init() again to retry initialization if the first attempt fails. (It is recommended to disable AutoInitialize and handle initialization yourself if you choose to do this.)
    • Improved checks during initialization for a smoother startup process.
  • Removed Redundancy
    • Removed the redundant achievementService.Timeout variable and more for cleaner and more efficient code.
  • New IntValue Dependency (Duration)
    • Added an IntValue called Duration inside each AnimationStyle folder. This new value can be used to configure the duration of animations.

This update improves both the robustness and flexibility of the AchievementService module, providing developers with more control over initialization and retry logic.

1 Like

I thought i can edit itđŸ˜„because i need to add in my game and how to hide the roblox badge notification!!!

I am a bit confused. What do you need help with?

StarterGui:SetCore("BadgeNotificationsActive", false) hides the default badge notification

Yes, this is included in the module and runs by default.

1 Like

that achievement animation reminds me of the achievement animation on the xbox one, nice work!

1 Like

To be completely fair, yes it’s strange, but when manually inputting both, the ID is easier to mess up.

When copying, you don’t need to go to the badge page to see the ID as you can just copy the name beside the badge, unless you’re creating it as you add the rewarder. Even if you are, you’ll have the name before the ID.

I’ve added support for both options, so you can use either the name or the badge ID, depending on your preference.

1 Like