Updates for BadgeService3 will be kept here!
Most recent patch:
Updates for BadgeService3 will be kept here!
Most recent patch:
:onBadgeAwarded(function(badgeId) RBXScriptSignal
added. Will fire only when a badge is awarded.
New customizable settings! Look at these!
["usesBadgeImageForNotifications"] = false;
["isNotificationsDisabled"] = false;
["usesGoldBadgeNotification"] = false;
["defaultBadgeNotificationImage"] = "rbxassetid://6170641771";
["notificationDuration"] = 5;
["autoGarbageCollectProfileTime"] = 5;
["NotificationDescription"] = 'You have been awarded "%s"!';
["NotificationTitle"] = "Badge Awarded!"
New function added to BadgeService3, :SetGlobalSettings(SettingsTable)
, this function will change the settings you ask for!
New usable “variable” into badges, Image
which can be set to a image id, not a decal id, and with the setting usesBadgeImageForNotifications
enabled, it will use that as the notification image for that badge.
New function added :GetBadgeAmount()
will return you the number of all badges.
:GetBadges()
will now return the badges, and also the result from :GetBadgeAmount()
isNotificationsDisabled
:onBadgeAwarded()
usesGoldBadgeNotification
defaultBadgeNotificationImage
usesBadgeImageForNotifications
NotificationDescription
and NotificationTitle
Download BadgeService3 here!
Changes:
Download BadgeService3 here!
BadgeService3 has been updated to 2.0.0.
This release is more so a bug fix, and optimization and memory leak fix. If you use it, please update it.
The Signal API here was updated / replaced, so it fixes some issues from the past.
You shoudn’t have any problems migrating to this new version, simply get your ‘Badges’ sub-module, delete the rest, and replace the old stuff with the new code and you should be fine.
You can now use :Connect()
on the Signals, like: badgeProfile.onBadgeAwarded:Connect()
, and also you can still use badgeProfile:onBadgeAwarded()
.
You can download it from here: