DiscordRewards

DiscordRewards 0.2.4

Prevent token validation if user is not currently on the server or if user is currently dead so alternative rewards can only be issued on successful validation
Save user data on validation
Fixed users getting alternative rewards multiple times
  • Like
Reactions: Viper97 and smcfrk
Changed token validation method
Users now receive a token in game which they must DM to your bot on Discord
  • Like
Reactions: Pascal
Updated for hook deprecation
Fixed typo that would show count of users with expired tokens in the bot status message instead of users with valid tokens when "Require Re-validation" was set to true
Added config option to wipe reward cooldowns when a map wipe is detected
Added config option to revoke rewards and wipe data when the map is wiped
  • Like
Reactions: Oxinix
Display message to user when using /discord with the UI disabled and user is already registered (lang key "Msg.AlreadyRegistered")
  • Like
Reactions: Dimple
If you are using a bot status message backup your message from your config before updating!
Added support for multiple status messages that cycle through

This will remove any existing status message and the new format in the config will be as follows
Code:
"Bot Status Messages":
    [
      "Test message 1",
      "Test message 2"
    ],
Remove data entries for users with a null Discord ID when using the purge command
Ensure connection is established before trying to set bot status