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
- pip install
package - Add
'aadiscordmultiverse',to yourINSTALLED_APPSin your projectslocal.py - 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
- Add redirect url to your local.py
DMV_CALLBACK_URL = f"{SITE_URL}/dmv/callback/"
- Run migrations, collectstatic and restart auth.
- 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
- You can grant access by adding one of the following to the managed server in admin.
Adding a Guild to Auth
- Add a new
DISCORD MANAGED SERVERin admin - Set the guild id to match your new server
- set any access control settings you need
- 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.
- Click Save
- Restart Auth
- Goto Services in the main auth site
- Click "Link Discord" on the new server and add your auth to the correct server.
- 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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| allianceauth_discord_multiverse-0.0.1.tar.gz | 55.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|
Security for allianceauth-discord-multiverse 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.