Skip to main content

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 and re-purposed to be guild agnostic.

Active Devs:

Installation

  1. pip install package
  2. Add 'aadiscordmultiverse', to your INSTALLED_APPS in your projects local.py
  3. Add a new redirect in the discord app SSO
  • the url needed is https://yourauth.url/dmv/callback
  • if you are using this along side the inbuilt module just add another url
  1. Add redirect url to your local.py
  • DMV_CALLBACK_URL = f"{SITE_URL}/dmv/callback/"
  1. Run migrations, collectstatic and restart auth.
  2. 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 included groups for the server. These are the only groups that will not be synced to this discord server. Enable the "managed groups" option if you want the auto corp/ali groups to sync magically too.
  5. Click Save
  6. Restart Auth
  7. Goto Services in the main auth site
  8. Click "Link Discord" on the new server and add your auth to the correct server.
  9. People can now join as required

Metadata

Release files for allianceauth-discord-multiverse 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for allianceauth-discord-multiverse 0.0.1
File Size Uploaded
allianceauth_discord_multiverse-0.0.1.tar.gz 55.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for allianceauth-discord-multiverse 0.0.1
File Interpreter ABI Platform
allianceauth_discord_multiverse-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 120.4 kB

Release files / allianceauth_discord_multiverse-0.0.1.tar.gz

Download URL allianceauth_discord_multiverse-0.0.1.tar.gz
Size 55.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f69d5ad22d253d55286cae9c6fb250507a68898e055189bd93a7b8cfe527415e
BLAKE2b-256 checksum
How to use checksums
2548b35b572c8b8959684549c0761503f74f2fc7cd66fead46621a21033a7677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / allianceauth_discord_multiverse-0.0.1-py3-none-any.whl

Download URL allianceauth_discord_multiverse-0.0.1-py3-none-any.whl
Size 64.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
265e8662374967bc56b6eb95995de1a7a29df754530968f473c21d334c7322c3
BLAKE2b-256 checksum
How to use checksums
dd5544e1f21935d33db5d5fe44b5691cac7ce6d3f11e515eff85b87b249575ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page