Update to newer version of JDA, meaning that we aren't using a deprecated gateway now which fixes a major bug in the plugin that made the bot not find the server.
Cleanup code, remove repeated code and remove unnecessary spaces.
Add option to change nickname on sync/update ( No PAPI support yet )
Add error checking meaning that you shouldn't have any big errors in console and will have more detailed information given when an error happens on syncing/updating.
Use implementation rather than compile for JDA and actually relocate JDA this time
Fixed error when discord server name contained "$"
When putting the new jar, the previous config.yml and messages.yml file will be placed in the "old" folder. There has been new additions so when moving data back make sure you keep them added or there will be errors.
With the move to newer version of JDA, the bot requires you to have Server/Guild Members privileged intent enabled. You can enable it by going to the Discord Developer Portal -> Click on the bot used -> Bot -> Privileged Intents -> Enable Server Members Intent. Without this enabled the bot will NOT work.
NOTE: This will break the message if the player isnt in 1.16. Use this ONLY if all players are 1.16.
Add bStats
Add SLF4J-JDK14 to remove the JDA warnings on startup
Move to gradle since its better
Add /unsync command
Add AuthMeReloaded integeration to ensure discord roles are updated after a successful login
Add a way to customise the activity of the bot
Fixes:
Make user add the space at end of prefix to allow people to remove the prefix completely
Make prefix be reloaded on /syncreload
Make /sync usage configurable
Make doing /sync while already verified update discord roles
Upgrading:
If you are upgrading from BETA-1.1, to make it easier for you it would be better to rename the version in the config to "1.2.0-BETA-1.2"since the config wasn't changed.
For you others, its as simple as putting the new jar in. Restart server, the old config will be backed up in plugins/RoleSync/old/ directory. From there you can use your old values in the new config!