Invites
The invitation flow, from sending to accepting, and the inbox.
Nobody is added to a claim directly. An invitation is created, and the invited player accepts it.
| Command | What it does | Ability node |
|---|---|---|
/claim invite send <player> | Invite someone | uxmclaims.ability.member.invite |
/claim invite accept <claim> | Accept an invitation | n/a |
/claim invite reject <claim> | Decline one | n/a |
/claim invite revoke <player> | Withdraw one you sent | uxmclaims.ability.member.revoke |
/claim invite inbox | Open your pending invitations | n/a |
/claim trust <player> is a shorthand for invite send, and /claim invites for invite inbox.
Sending also needs the MANAGE_INVITES role permission.
The flow
- The owner or a member with
MANAGE_INVITESruns/claim trust Steve. - Steve, if online, receives a message with clickable [Accept] and [Reject] buttons.
- Steve accepts. He becomes a member with the claim's
Memberrole.
The notification is notificationInviteReceived in messages.yml and its buttons run
/claim invite accept <claim> and /claim invite reject <claim>. Rewriting that message is how you
change what players see; the click targets are ordinary commands.
If Steve was offline, or lost the message, /claim invites shows everything waiting.
Limits
| Limit | Node | Default |
|---|---|---|
| Pending invitations per claim | uxmclaims.limit.invite.<n> | 10, MAX |
| Members per claim | uxmclaims.limit.member.<n> | 50, stacking |
| Cost of sending one | uxmclaims.cost.invite.<count>.<price> | 0.0 |
The invite limit counts invitations that have not been answered, so a claim spamming invitations to offline players will hit it. Revoking frees a slot.
aliases.yml ships /accept and /untrust. Adding /invite: "claim invite send" gives players the
verb they expect from every other plugin, without touching the command tree.
Was this page helpful?