Invites
Timed invitations for closed teams with accept/deny and auto-expiry.
How Invites Work
When a team is set to "closed" (invite-only), players must receive an invitation from a Moderator or higher before they can join.
The invite system works as follows:
A Moderator+ sends an invite with /team invite <player>. The target player receives a message prompting them to accept or deny. The invite has a configurable expiry timer (default 60 seconds).
If the player accepts, they are added to the team immediately. If they deny or the invite expires, nothing happens.
Commands
| Command | Description | Permission |
|---|---|---|
| /team invite <player> | Send a timed invite to a player | simpleteams.player.invite |
| /team accept | Accept a pending team invite | simpleteams.player.accept |
| /team deny | Deny a pending team invite | simpleteams.player.deny |
Auto-Expiry
Invites automatically expire after the configured duration (default 60 seconds). When an invite expires, the player is notified.
A player can only have one active invite at a time. Sending a new invite to a player who already has a pending invite will replace the previous one.
Configuration
| Option | Default | Description |
|---|---|---|
| invites.enabled | true | Enable the invite system entirely |
| invites.expire-seconds | 60 | How long before an invite expires (in seconds) |
invites.enabled to false disables the invite system entirely. Players will need to use /team join on open teams or be bypassed via simpleteams.admin.bypass.
Permissions
| Permission | Default | Description |
|---|---|---|
| simpleteams.player.invite | Everyone | Send team invitations |
| simpleteams.player.accept | Everyone | Accept a team invitation |
| simpleteams.player.deny | Everyone | Deny a team invitation |