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

Installation

  1. pip install package
  2. Add 'aadiscordmultiverse', to your INSTALLED_APPS in your projects local.py #TODO add redirect to sso app #TODO add settings for redirect or make it auto #TODO add the other step...
  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 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 bot 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.1b3.tar.gz (53.8 kB view details)

Uploaded Source

Built Distribution

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

File details

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

File metadata

File hashes

Hashes for allianceauth_discord_multiverse-0.0.1b3.tar.gz
Algorithm Hash digest
SHA256 852b51f8d33776cef0bd7809578e539489e5e9c0c8e83837c3645dec238a9752
MD5 698bc3b6553dc535143b6117fac3f265
BLAKE2b-256 d39c0e345d3e46395dfc7611c22f1d76db504d80d2c17a2a924fdcfabc8ce5b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for allianceauth_discord_multiverse-0.0.1b3-py3-none-any.whl
Algorithm Hash digest
SHA256 d142588aa521bb2df40a7166d9250f9992ebdcbe8de53acf147e5868401fcb0d
MD5 0fcc55bc11f1ff228642953b70906b39
BLAKE2b-256 786708482c90d7be054f0e6d35798afe5f229f53d2f506b184bcb8934a9b7ea3

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