Skip to content

Faction command

MFFbrokenSwing edited this page Nov 26, 2017 · 3 revisions

Informations

Utility

The faction command is, by default, available for all the players. It's the command to manage the faction (create a faction, invite a player, kick a player, etc ...).

Understand command syntax

Arguments between <> are needed, example, in the syntax /faction <param1>, the argument param1 is needed.

Arguments between [] are optionnal, example, in the syntax /faction [param2], the argument param2 is optionnal.

Arguments followed by ... can be multiple, example, in the syntax /faction [params ...], you can put multiple arguments to replace params.

Syntaxes

If you are not in a faction

When you're not in a faction you can only perform the following commands :

/faction create <faction name> [description] : creates a faction, faction name is the name of the faction, it has to be unique. description is the description of the faction.

/faction join <faction name> : type this command to join a faction. faction name is the name of the faction you want to join, this faction has to exist. And you have to be invited or the faction has be to open.

/faction info <faction name> : displays informations about the specified faction, faction name is the name of the faction you want informations about.

If you are in a faction

When you are in a faction you can perform some of these commands (permissions can be needed) :

/faction invite <player name> : invites a player to join the faction, player name is the name of the player you want to invite. You need the permission INVITE_USER.

/faction open : opens the faction if the faction is closed, else close it. If the faction is closed, players need an invitation to join, else if the faction is open they can join without an invitation. You need the permission INVITE_USER.

/faction leave : makes you leave your current faction. If you're the owner of the faction, you can't leave it.

/faction kick <player name> : kicks a player out of the faction, player name is the name of the player to kick. You need the permission REMOVE_USER.

/faction claim : claims a chunk for your faction, the chunk needs to be unclaimed. You need the permission CLAIM_CHUNK.

/faction unclaim : unclaims a chunk, if the chunk is owned by your faction. Unclaims the chunk of an other faction if the faction is enoughtly damaged and the chunk it at the edge of theur territory. You need the permission CLAIM_CHUNK.

/faction sethome : sets the home of the faction at your position. You need the permission SET_HOME.

/faction home : teleports you to the home of your faction.

/faction promote <player name> <grade name> : promotes the player with the specified name by player name to the grade with the name specified by grade name.

/faction chest : opens the chest of your faction. You need the permission SHOW_CHEST.

/faction desc <faction description> : changes the description of the faction, following the same rules as the creation of the faction. You need the permission CHANGE_DESCRIPTION.

/faction link recruit <the link> : sets the recruit link for the faction. This link will be sent to players trying to join the faction without being invited (the faction has to be closed ofc). You need the permission INVITE_USER.

You're the owner of a faction

When you're the owner of a faction you can execute all the commands and more (you have all the permissions) :

/faction disband : disbands your faction. All the players will be kicked out.

/faction set-grade <grade name> <priority> [permissions ...] : creates or modifies a grade. grade name is the name of the grade, priority is the level of the grade (highest grade is owner with priority 0), permissions are the permissions you want to add to the grade (use tab auto-completition). Priority is added to prevent players with the permission of kicking (for example) to kick upper hierarchy.

/faction remove-grade <grade name> : removes a grade. All the players with this grade will be relegated to the grade Member.

Clone this wiki locally