Skip to main content

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.

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 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

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

allianceauth_discord_multiverse-0.0.1.tar.gz (55.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

allianceauth_discord_multiverse-0.0.1-py3-none-any.whl (64.5 kB view details)

Uploaded Python 3

File details

Details for the file allianceauth_discord_multiverse-0.0.1.tar.gz.

File metadata

File hashes

Hashes for allianceauth_discord_multiverse-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f69d5ad22d253d55286cae9c6fb250507a68898e055189bd93a7b8cfe527415e
MD5 00c804ca6d5bb6175dbc64256c1bb259
BLAKE2b-256 2548b35b572c8b8959684549c0761503f74f2fc7cd66fead46621a21033a7677

See more details on using hashes here.

File details

Details for the file allianceauth_discord_multiverse-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for allianceauth_discord_multiverse-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 265e8662374967bc56b6eb95995de1a7a29df754530968f473c21d334c7322c3
MD5 6cc35629c3553fc93ca07dd332944a61
BLAKE2b-256 dd5544e1f21935d33db5d5fe44b5691cac7ce6d3f11e515eff85b87b249575ca

See more details on using hashes here.

Supported by

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