RoleSync (Bungee) icon

RoleSync (Bungee) -----

Want to sync minecraft ranks with your discord role? This plugin does it all!



THIS IS NOT THE SPIGOT VERSION. CLICK HERE TO VIEW SPIGOT VERSION!

NOTE: I am slowly and slowly giving up on continuing this project. I really only do bugs and fixes and some additions when i really like them. For me, I published this project for the fun only (Didn't really think I would be dedicated). Life is starting for me, yes I know this could be good for a portfolio but I doubt I will continue doing Minecraft development in the future. I will stay supporting this project but at some point I may leave it in the archive. I dont say that my code is the best, if anyone there knows better than me, go ahead and fork the project. You WILL notice that I dont do updates that often unless they were urgent like bugs and stuff. I will from time to time try to add some of your suggestions to the plugin. This is because of me losing time on doing what I really should do, I didnt expect this project to actually grow this well. I'm impressed that I really achieved this position and downloads (260 downloads at this time ). I work on multiple projects (small and big) and I need to keep up with them.

TL;DR: I will continue on this but I wont do as much updates due to reasons.


Support Discord Server
[​IMG]

[​IMG]
A simple plugin that syncs your minecraft ranks with your discord roles with just a couple configurations!

This is my first plugin so bear with me!

[​IMG]
If a player has his permissions changed, rejoining will automatically update his roles in the discord server!

MAKE SURE ALL ROLES YOU WANT TO GIVE TO LINKED USERS ARE UNDER/BELOW THE BOT'S ROLE AND THE BOT HAVE THE MANAGE ROLES PERMISSION, OTHERWISE YOU WILL GET AN ERROR!


[​IMG]

Code (Text):

/sync <discordname> - When used it will ask discord user to verify they are syncing. Gives discord roles to user depending on the permissions they have.
/sync id <discordid> - Does same as /sync <discordname> but can be used by players who have special characters in their discord name like zalgo/chinese/etc...
/syncreload - Reloads the config.
/unsync [player] - Unsync yourself/player
 
[​IMG]

Code (Text):

rolesync.use - Allows to use /sync
rolesync.reload - Allows to use /reload
rolesync.role.ROLE - Gives ROLE id according to the config.yml to the linked user
rolesync.unsync - Allows to use /unsync
rolesync.unsync.others - Allows to unsync other players
 

[​IMG]


Code (YAML):

#Version of the config, PLEASE DO NOT CHANGE OR STUFF WILL BREAK!!!!
version
: "1.2.0-BETA-1.2"

# Place here the bot token that can be get from https://discordapp.com/developers/applications/me
bot-token
: "REPLACEBOTTOKEN"
# Place here the discord server id of the server you want the role to be given in.
server-id
: "REPLACESERVERID"
#Whether you want to have custom bot status.
#NOTE: This might override the current bot status.
enable-bot-status
: false
#Choose from the allowed options what to have the bot say.
bot-status
: PLAYING # Allowed options: DEFAULT (same as Playing), LISTENING, WATCHING
#Place here the custom status you want to have bot have!
custom-status
: "with RoleSync!"

# Place here the discord role IDs of the roles that you want to give players
roles
:
Donor
: "REPLACEROLEID"
Iron
: "REPLACEROLEID"

# Place here the prefix you want the plugin to use.
prefix
: "&6[&r&eRoleSync&6]&2 "

# Time till verify request times out when no one answers. Put -1 if you want no timeout. IN MINUTES
verifyTimeout
: 2

#Opt out of bstats
opt-out-bstats
: false

 

[​IMG]

Code (Text):

ERROR JDA - One of the EventListeners had an uncaught exception
net.dv8tion.jda.core.exceptions.HierarchyException: Can't modify a role with higher or equal highest role than yourself!
 
This error is caused by you making the bot giving a role that is equal/higher than it.

Code (Text):

InsufficientPermissionException
 
This error is caused by you not giving the bot the Manage Roles permission, which allows the bot to give roles to users.

Code (Text):

RateLimitedException
 
This error is caused by discord rate limiting the bot/server. Leave it for a while until the rate limit expires.

Code (Text):

Error: Cannot send messages to this user
 
This error is caused by the user trying to sync having DMs locked/closed. This plugin requires the user to have their DMs open to verify. All the user needs to do is open their DMs just for a minute till they link their account.

[​IMG]

I would honestly thank all the HelpChat Community for helping me with my questions/errors/etc... I would especially thank @PiggyPiglet, @xCodiq , @Sxtanna and @funnycube ! Thank you guys, helped me a lot.

MAKE SURE YOU HAVE READ THE FAQs AND THIS DESCRIPTION ALL BEFORE ASKING FOR SUPPORT
IF YOU NEED ANY SUPPORT ASK IN THE SUPPORT DISCORD AND NOT IN REVIEWS SECTION
PLEASE REPORT BUGS/ISSUES @ https://github.com/dode5656/RoleSync/issues AND NOT IN THE REVIEWS SECTION
Resource Information
Author:
----------
Total Downloads: 937
First Release: Mar 5, 2020
Last Update: Jun 20, 2021
Category: ---------------
All-Time Rating:
8 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings