Synchronizes Minecraft groups with Discourse groups
- Vault
- Download the latest release from GitHub
- Add it to your
plugins
folder - Either run Bukkit/Spigot once to generate
DiscourseGroupSync/config.yml
or create it using the guide below. - All done!
DiscourseGroupSync has several options that can be configured in the config.yml
file:
# The URL of your Discourse installation (without the trailing slash)
discourse-url: http://forum.example.com
# Message to display if kicking due to whitelist
kick-message: You are not on the whitelist
# A mapping between Discourse groups (by integer ID) and Minecraft groups (by name)
groups:
# Add user to groupname when they are in Discourse group 4
- discourse: 4
minecraft: groupname
# Remove user from groupname when they are not in Discourse group 4
- discourse: 4
minecraft: groupname
remove: true
# Add user to guestgroup if they do not have any Discourse groups
- discourse: 0
minecraft: guestgroup
discourse
keys are the IDs of your chosen Discourse groups. A negative number means the absence of the group, so discourse: -20
would target users who were not a member of group 20
. 0
is a special group meaning users who are not a member of any Discourse groups.
Set a whitelist: true
field on any of the groups to enable them as a whitelist filter.
- Synchronizes Minecraft groups with Discourse groups on player join
- Add more hooks for synchronization, including recurring tasks and possibly webhooks