/Enforcer

[No longer works due to discord api gateway update] A Spigot plugin that sync Discord roles with server groups.

Primary LanguageJavaMIT LicenseMIT

Enforcer

When finished, this plugin will:

  • A firewall to prevent crack users to steal an account
  • Sync one Discord server's roles with group for all users
  • Assign different groups for twitch subs and followers

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • Maven installed
  • A Spigot server (or Bukkit/Paper either)
  • Have the Vault plugin in your plugin folder
  • An app and a Bot created on Discord Dev Portal

Installing

  1. Build the plugin
    mvn clean install
    
  2. Put the resulting JAR available in target/Enforcer-VERSION-SNAPSHOT.jar in your plugin folder
  3. Create an App and a Bot on Discord Dev Portal
  4. Run the server
  5. Edit plugins/Enforcer/config.yml
  6. Run enforcer reload in the console

Built With

  • Discord4J - A fast, reactive Java wrapper for the official Discord Bot API.
  • Maven - Dependency Management

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Damien Djmb - Initial work - Nowtryz

License

This project is licensed under the MIT License - see the LICENSE.md file for details