Skip to main content

Alliance Auth Plugin

Project description

Discord Multiverse

Service module for managing an unlimited number of discord servers from a single auth instance. It can run side by side with the core auth discord service, or completely standalone.

Most of the code is borrowed from Alliance Auth's core Discord Service Module[link] and re-purposed to be guild agnostic.

Active Devs:

-                 THIS APPLICATION IS NOT PRODUCTION READY

MID PRIO:

  • TODO: Check the performance with massive servers/counts...
  • TODO: ensure no cache conflicts
  • TODO: Instructions and documentation
  • TODO: Maybe custom client/secrets at a server level?

HIGH PRIO!

  • TODO: Check AuthBot to see what it does.
  • TODO: Check/update all members on change of server model.

Installation

  1. pip install package
  2. Add 'aadiscordmultiverse', to your INSTALLED_APPS in your projects local.py
  3. Run migrations, collectstatic and restart auth.
  4. Setup your permissions as documented below

Access Control and Server Permissions

  • First and foremost to access ANY server a user must have this permission;
    • aadiscordmultiverse | discord managed server | Can access the Discord Multiverse services
  • Access control to each server is managed by the Server Model
    • You can grant access by adding one of the following to the managed server in admin.
      • User State
      • User Groups
      • Main Characters Faction
      • Main Characters Alliance
      • Main Characters Corporation
      • Main Character

Adding a Guild to Auth

  1. Add a new DISCORD MANAGED SERVER in admin
  2. Set the guild id to match your new server
  3. set any access control settings you need
  4. Set the ignored groups for the server. These groups wll not be synced to this discord server.
  5. Click Save
  6. Goto Services in the main auth site
  7. Click "Link Discord" on the new server and add your auth bot to the correct server.
  8. People can now join as required

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page