RoleSync

RoleSync 1.2.0-BETA-1.3

Tested Minecraft Versions:
1.71.81.91.101.111.121.131.141.151.161.17
Source Code:
Contributors:
funnycube | Gave me Design Idea
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



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!


Upload plugin to server
Start server
Update config.yml with Bot Token (got from here https://discordapp.com/developers/applications/me), Role IDs and Server ID
Enable the Guild/Server Members Intent 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.
Do /syncreload and you are done!
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!

RGB Format: &xRRGGBB
However, RGB will only work for people using 1.16+. Do NOT use RGB when not everyone will use 1.16+, the colours will be broken between lines for people not using 1.16+.



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


Spoiler









Spoiler




































Q: I am the owner of the discord server and the bot fails to change my nickname even though it is higher than me. Why?
A: As far as I know, no one can change the nickname of the owner even if they are higher than them.

Q: My users keep getting invalid discord name every time they try to do /sync with their discord tag.
A: The bot will not be able to register and load the member without them triggering an event such as sending a message. Ask them to send a message in any channel the bot has access to and they will be able to run /sync afterwards. Note: When you do /syncreload or restart the server, the cache is destroyed so users have to send another message to be added back.

Q: I sometimes get this error. What does it mean?
Code (Text):

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



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
REPORT BUGS/ISSUES @ https://github.com/dode5656/RoleSync-Bungee/issues AND NOT IN REVIEWS SECTION
Author
Mined
Downloads
3
Views
21
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Mined

  • Simple
    Simple
    Sends a custom message to the server whenever someone joins or leaves
  • PearlRide
    PearlRide
    Ride the enderpearl you shoot!
  • sPrefix
    sPrefix
    A simple tab prefix plugin.
  • BitBase
    BitBase
    Core plugin for my plugins.
  • JoinMSG
    JoinMSG
    Create custom join, quit and first join messages for your people
Top