Jump to content

/Rank: Difference between revisions

From fCraft Wiki
No edit summary
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:


==<code>/Rank PlayerName RankName [Reason]</code>==
==<code>/Rank PlayerName RankName [Reason]</code>==
:Note that the <code>playerName</code> has to be typed out &mdash; no autocompletion for player names.
:If a <code>reason</code> is given, it is displayed to the banned player, saved on player's record (can be viewed via {{cmd|Info}}), and may be announced publicly.
:If a <code>reason</code> is given, it is displayed to the banned player, saved on player's record (can be viewed via {{cmd|Info}}), and may be announced publicly.
:Note that autocompletion for the <code>playerName</code> is turned off (all names have to be typed out) for players with {{perm|EditPlayerDB}} permission.


==Side effects==
==Side effects==
Line 23: Line 23:
:*Number of copy slots is increased/decreased, depending on rank settings. See {{cmd|CopySlot}}.
:*Number of copy slots is increased/decreased, depending on rank settings. See {{cmd|CopySlot}}.
:*Player is unhidden, if new rank does not have {{perm|Hide}} permission.
:*Player is unhidden, if new rank does not have {{perm|Hide}} permission.
==Adding players==
:If calling player has {{perm|EditPlayerDB}} permission, they can add new names to the database (names of players who have never joined before). You will be asked to confirm. This may be useful for preemptively banning players. For example, to ban account "Notch" (who presumably never joined your server before) do:
/Rank Notch guest
/Ban Notch


==Customizing /Rank behavior==
==Customizing /Rank behavior==
Line 30: Line 35:
*If [[List_of_config_keys#Security|AnnounceRankChangeReasons]] setting is enabled (default: true), reasons are included with the announcement.
*If [[List_of_config_keys#Security|AnnounceRankChangeReasons]] setting is enabled (default: true), reasons are included with the announcement.
*If [[List_of_config_keys#IRC|IRCBotAnnounceServerEvents]] setting is enabled (default: false), promotions and demotions are announced on IRC.
*If [[List_of_config_keys#IRC|IRCBotAnnounceServerEvents]] setting is enabled (default: false), promotions and demotions are announced on IRC.
*Players with {{perm|EditPlayerDB}} permission can add new players to the database using {{cmd|Rank}}


==Related commands==
==Related commands==
*{{cmd|Ranks}} - Lists all ranks.
*{{cmd|Ranks}} - Lists all ranks.
*{{cmd|Info|@RankName}} - Lists all players of a given rank.
*{{cmd|RankInfo}} - Shows detailed information about a rank.
*{{cmd|RankInfo}} - Shows detailed information about a rank.


{{LastUpdated|1201}}
{{LastUpdated|1201}}

Latest revision as of 04:03, 3 March 2013

Command
Rank

Promotes or demotes a player.

AliasesPromote, Demote
Usage

/Rank Player Rank [Reason]

CategoryModeration
Required permissionsPromote or Demote
Usable from console?Yes
Introduced infCraft 0.100


Promotes or demotes a given player.

/Rank PlayerName RankName [Reason]

If a reason is given, it is displayed to the banned player, saved on player's record (can be viewed via /Info), and may be announced publicly.
Note that autocompletion for the playerName is turned off (all names have to be typed out) for players with EditPlayerDB permission.

Side effects

When players are promoted or demoted, some side effects can take place:
  • All target's block bindings (like /Water or /Lava) are reset.
  • Any in-progress selection (like /Cuboid or /ZAdd) is canceled.
  • Brush is reset to "Normal" if new rank does not have DrawAdvanced permission.
  • Number of copy slots is increased/decreased, depending on rank settings. See /CopySlot.
  • Player is unhidden, if new rank does not have Hide permission.

Adding players

If calling player has EditPlayerDB permission, they can add new names to the database (names of players who have never joined before). You will be asked to confirm. This may be useful for preemptively banning players. For example, to ban account "Notch" (who presumably never joined your server before) do:
/Rank Notch guest
/Ban Notch

Customizing /Rank behavior

  • Ability to promote/demote can be limited per-rank. By default, players with Promote permission may only rank players up to their own rank or lower. Players with Demote permission may only demote players of their own rank of lower.
  • If RequireRankChangeReason setting is enabled (default: false), players are required to provide a reason.
  • If AnnounceRankChanges setting is enabled (default: true), promotions and demotions are publicly announced.
  • If AnnounceRankChangeReasons setting is enabled (default: true), reasons are included with the announcement.
  • If IRCBotAnnounceServerEvents setting is enabled (default: false), promotions and demotions are announced on IRC.
  • Players with EditPlayerDB permission can add new players to the database using /Rank
  • /Ranks - Lists all ranks.
  • /Info @RankName - Lists all players of a given rank.
  • /RankInfo - Shows detailed information about a rank.