Collaborate on modpacks with your team by adding members and configuring their permissions. This guide covers the permission system, adding and removing members, and best practices for team modpacks.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Greens-Organization/pz-packs/llms.txt
Use this file to discover all available pages before exploring further.
Understanding the Permission Model
PZ Packs uses a flexible permission system for modpack collaboration:Ownership vs Membership
-
Owner - The user who created the modpack
- Full control over all modpack settings
- Can add and remove members
- Can archive/delete the modpack
- Cannot be removed or changed
-
Members - Users invited to collaborate
- Permissions granted by owner
- Can be added or removed by owner
- Access levels determined by permission array
Permission Array Structure
Permissions are stored as an array of strings, allowing flexible and granular access control:The current implementation requires at least one permission when adding a member. Empty permission arrays are not allowed.
Permission Types
While the system is flexible, common permission patterns include:Read Access
- View modpack details
- See mod list
- View other members (if modpack is private)
["read"]
Write Access
- Add and remove mods
- Import from Steam Workshop
- Modify modpack metadata
- Includes read access implicitly
["read", "write"]
Export Access
- Generate server configuration files
- Configure personal export settings
- Download export files
["read", "export"]
Full Collaboration
- All read, write, and export permissions
- Cannot add/remove members (owner only)
- Cannot archive modpack (owner only)
["read", "write", "export"]
Adding Team Members
Verify you're the owner
Only the modpack owner can add members. If you try to add a member to a modpack you don’t own, you’ll receive:
Enter the user's email
Type the email address of the user you want to invite:The email must:
- Be a valid email format
- Belong to an existing PZ Packs user
- Not already be a member of this modpack
Select permissions
Choose which permissions to grant:
- For viewers:
["read"] - For contributors:
["read", "write"] - For server managers:
["read", "export"] - For full collaborators:
["read", "write", "export"]
Adding Members - Common Scenarios
User not found:Viewing Team Members
All team members and their roles are visible:Review member information
For each member, you can see:
- User name and avatar
- Email address
- Assigned permissions
- Join date
- Active status
Public vs Private Modpacks
- Public modpacks - Members list is visible to everyone
- Private modpacks - Members list only visible to owner and members
Removing Team Members
Select the member to remove
On the members list, find the user you want to remove and click the remove button or icon.
Confirm removal
A confirmation dialog appears:“Are you sure you want to remove [User Name] from this modpack?”This action:
- Immediately revokes their access
- Removes them from the members list
- Cannot be undone (you must re-invite them)
Removing a member doesn’t delete their personal export configurations. If you re-add them later, their previous export settings may still exist.
Permission Checks in Action
Here’s how permissions are validated for common operations:Importing Mods from Steam
When a user tries to import:- Check if modpack exists - Returns 404 if not found
- Check if modpack is active - Archived modpacks cannot be modified
- Check ownership - Is the user the owner?
- Check membership - If not owner, is the user an active member?
- Deny if neither - “You do not have permission to edit this modpack”
apps/api/src/domain/modpack/controllers/import-modpack.controller.ts:39-59:
Adding/Removing Members
Only the owner can modify team membership:apps/api/src/domain/modpack/controler/add-member.ts:35-44
Viewing Modpack Details
Public modpacks are visible to everyone. Private modpacks require ownership or membership.Best Practices for Team Modpacks
Define clear roles
Decide who needs which permissions:
- Viewers -
["read"]- Teammates who just need to see the mod list - Curators -
["read", "write"]- Members who add/remove mods - Server Admins -
["read", "export"]- Those who deploy to servers - Co-Owners -
["read", "write", "export"]- Full collaborators
Use descriptive modpack names
For team projects, include the team or server name:
- “[Clan] Official Server Modpack”
- “Community Build 42 Collection”
- “[Team Name] Event Mods”
Communicate changes
When adding or removing mods:
- Notify team members of major changes
- Document why mods were added/removed
- Coordinate before importing large collections
Regular audits
Periodically review:
- Who has access to the modpack
- Whether permissions are still appropriate
- Remove inactive members
Separate configs for different servers
If running multiple servers:
- Create separate modpacks for each server
- Or use personal export configurations for different deployments
- Don’t try to manage multiple server configs in one modpack
Advanced: Permission Extensibility
The permission system uses an array structure for future extensibility:- Custom permission strings
- Fine-grained access control
- Future features without schema changes
- Role-based templates
While the system supports custom permissions, the current API validates permissions based on ownership and membership status. Additional permission types may be added in future updates.
Troubleshooting
Can’t Add Member
Problem: Add member button is disabled or missing Solution:- Verify you’re the modpack owner
- Check that the modpack is active (not archived)
- Ensure you’re logged in
Member Can’t Import Mods
Problem: Member receives permission error when importing Solution:- Verify the member is listed in the members table
- Check that their
isActivestatus istrue - Confirm the modpack itself is active
- Re-add the member if their membership is inactive
Permission Errors After Adding Member
Problem: Newly added member still gets permission errors Solution:- Have the member log out and back in
- Check that the member was added successfully (view members list)
- Verify the permission array is not empty
- Try removing and re-adding the member
Can’t Remove Member
Problem: Remove button doesn’t work or shows error Solution:- You can only remove members, not the owner
- Verify you’re the modpack owner
- Check if the member is already removed (refresh the page)
- Ensure the member exists in the database
Related Resources
- Importing from Steam - Members with write access can import mods
- Exporting Server Files - Each member can configure their own exports
- API Reference: Add Member - API endpoint for adding members
- API Reference: Remove Member - API endpoint for removing members