Jump to content

/SetInfo: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
Line 5: Line 5:
|uses=/SetInfo <PlayerName> <Property> <Value>
|uses=/SetInfo <PlayerName> <Property> <Value>
|cat=Maintenance
|cat=Maintenance
|perm=EditPlayerDB
|perm={{rperm|EditPlayerDB}}
|console=Yes
|console=Yes
|v=0.492
|v=0.492
Line 25: Line 25:


===PreviousRank===
===PreviousRank===
:Changes previous rank held by the player. To reset previous rank to "none" (will show as "default" in [[/Info]]), type <code>/SetInfo <Name> PreviousRank</code> (omit the rank name). Shortcut: "pr"
:Changes previous rank held by the player. To reset previous rank to "none" (will show as "default" in {{cmd|Info}}), type <code>/SetInfo <Name> PreviousRank</code> (omit the rank name). Shortcut: "pr"


===RankChangeType===
===RankChangeType===
Line 42: Line 42:
:Changes unban reason for the given player. Original unban reason is preserved in the logs. Shortcut: "ur"
:Changes unban reason for the given player. Original unban reason is preserved in the logs. Shortcut: "ur"


{{LastUpdated|1400}}
{{LastUpdated|1650}}

Revision as of 05:20, 22 August 2012

Command
SetInfo

Edits PlayerDB records.

Usage

/SetInfo <PlayerName> <Property> <Value>

CategoryMaintenance
Required permissionsEditPlayerDB
Usable from console?Yes
Introduced infCraft 0.492

Allows direct editing of players' database records. Should be used with caution.

/SetInfo <PlayerName> <Property> <Value>

Edits a property of given player's record.

Editable properties

BanReason

Changes ban reason for the given player. Original ban reason is preserved in the logs. Shortcut: "br"

DisplayedName

Sets or resets the way player's name is displayed in chat. Any printable symbols or color codes may be used in the displayed name. Note that player's real name is still used in logs and on the in-game player list. To remove a custom name, type /SetInfo <RealName> DisplayedName (omit the name). Shortcut: "dn"

KickReason

Changes reason of most-recent kick for the given player. Original kick reason is preserved in the logs. Shortcut: "kr"

PreviousRank

Changes previous rank held by the player. To reset previous rank to "none" (will show as "default" in /Info), type /SetInfo <Name> PreviousRank (omit the rank name). Shortcut: "pr"

RankChangeType

Sets the type of rank change. <Type> can be: Promoted, Demoted, AutoPromoted, AutoDemoted. Only really useful if you use AutoRank. Shortcut: "rct"

RankReason

Changes promotion/demotion reason for the given player. Original promotion/demotion reason is preserved in the logs. Shortcut: "rr"

TimesKicked

Changes the number of times that a player has been kicked. Acceptable value range: 0-9999. Shortcut: "tk"

TotalTime

Changes the amount of game time that the player has on record. Accepts values in the common compact time-span format. Shortcut: "tt"

UnbanReason

Changes unban reason for the given player. Original unban reason is preserved in the logs. Shortcut: "ur"