Invite
Module: Base
Description
Invite a player to your faction
Usage
For Player 👤
/factions invite <invited> <rank>
Parameters
For Player 👤
View Parameters
Parameter | Type | Required | Description |
---|---|---|---|
invited | OfflinePlayer | Yes | The player you want to invite |
rank | FactionRank | No | The rank you want to assign to the invited player |
Permissions
🔒 Permission Required: factions.commands.invite
Responses
Response Code | Description |
---|---|
invitedPlayer | {prefix} <green>You've successfully invited this player</green> |
playerNoFaction | {prefix} <red>Error: The player is not in a faction</red> |
playerInvited | {prefix} <green>You've been invited to join the faction</green> |
noPermission | {prefix} <red>Error: You don't have the required permission</red> |
rankNotFound | {prefix} <red>Error: The rank doesn't exist</red> |
missingRequiredArgument | {prefix} <red>Error: Missing required argument</red> |