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

File details

Details for the file allianceauth-discord-multiverse-0.0.1a3.tar.gz.

File metadata

File hashes

Hashes for allianceauth-discord-multiverse-0.0.1a3.tar.gz
Algorithm Hash digest
SHA256 4d8c26d2cf4ae190c30d9d330c594cf25c82ca1da804cab6e2e05b302144c4d3
MD5 02b953649c0180a932823d2c2ec71457
BLAKE2b-256 10e8e442560f8ff4cde8d3f58e512216cc8db86ca1ed75a38bc43275c93fdc76

See more details on using hashes here.

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