DUXPLIMA Documentation

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.

CommandWhat it doesAbility node
/claim invite send <player>Invite someoneuxmclaims.ability.member.invite
/claim invite accept <claim>Accept an invitationn/a
/claim invite reject <claim>Decline onen/a
/claim invite revoke <player>Withdraw one you sentuxmclaims.ability.member.revoke
/claim invite inboxOpen your pending invitationsn/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

  1. The owner or a member with MANAGE_INVITES runs /claim trust Steve.
  2. Steve, if online, receives a message with clickable [Accept] and [Reject] buttons.
  3. Steve accepts. He becomes a member with the claim's Member role.

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

LimitNodeDefault
Pending invitations per claimuxmclaims.limit.invite.<n>10, MAX
Members per claimuxmclaims.limit.member.<n>50, stacking
Cost of sending oneuxmclaims.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 make this two keystrokes

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.