Jump to content

/SetInfo: Difference between revisions

From fCraft Wiki
Editable properties: formatting improvements
Line 16: Line 16:
==Editable properties==
==Editable properties==
===Bandwidth===
===Bandwidth===
:Sets bandwidth use mode for given player. Can be used to make players' experience smoother based on their Internet connection quality. Value may be: '''Default''' (uses server-wide default), '''VeryLow''', '''Low''', '''Normal''', '''High''', or '''VeryHigh'''. See [[List_of_config_keys#Advanced|BandwidthUseMode config key]] documentation for a detailed explanation of the options. Shortcut: "bw"
:Sets bandwidth use mode for given player. Can be used to make players' experience smoother based on their Internet connection quality. Value may be: '''Default''' (uses server-wide default), '''VeryLow''', '''Low''', '''Normal''', '''High''', or '''VeryHigh'''. See [[List_of_config_keys#Advanced|BandwidthUseMode config key]] documentation for a detailed explanation of the options. Shortcut: '''<code>bw</code>'''


===BanReason===
===BanReason===
:Changes ban reason for the given player. Original ban reason is preserved in the logs. Shortcut: "br"
:Changes ban reason for the given player. Original ban reason is preserved in the logs. Shortcut: '''<code>br</code>'''


===DisplayedName===
===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 <code>/SetInfo <RealName> DisplayedName</code> (omit the name).  Shortcut: "dn"
: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 <code>/SetInfo <RealName> DisplayedName</code> (omit the name).  Shortcut: '''<code>dn</code>'''


===KickReason===
===KickReason===
:Changes reason of most-recent kick for the given player. Original kick reason is preserved in the logs. Shortcut: "kr"
:Changes reason of most-recent kick for the given player. Original kick reason is preserved in the logs. Shortcut: '''<code>kr</code>'''


===PreviousRank===
===PreviousRank===
: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"
: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: '''<code>pr</code>'''


===RankChangeType===
===RankChangeType===
:Sets the type of rank change. Value may be: '''Promoted''', '''Demoted''', '''AutoPromoted''', or '''AutoDemoted'''. Only really useful if you use AutoRank. Shortcut: "rct"
:Sets the type of rank change. Value may be: '''Promoted''', '''Demoted''', '''AutoPromoted''', or '''AutoDemoted'''. Only really useful if you use AutoRank. Shortcut: '''<code>rct</code>'''


===RankReason===
===RankReason===
:Changes promotion/demotion reason for the given player. Original promotion/demotion reason is preserved in the logs. Shortcut: "rr"
:Changes promotion/demotion reason for the given player. Original promotion/demotion reason is preserved in the logs. Shortcut: '''<code>rr</code>'''


===TimesKicked===
===TimesKicked===
:Changes the number of times that a player has been kicked. Acceptable value range: 0-9999. Shortcut: "tk"
:Changes the number of times that a player has been kicked. Acceptable value range: 0-9999. Shortcut: '''<code>tk</code>'''


===TotalTime===
===TotalTime===
:Changes the amount of game time that the player has on record. Accepts values in the [[Time_formatting|common compact time-span format]]. Shortcut: "tt"
:Changes the amount of game time that the player has on record. Accepts values in the [[Time_formatting|common compact time-span format]]. Shortcut: '''<code>tt</code>'''


===UnbanReason===
===UnbanReason===
: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: '''<code>ur</code>'''


{{LastUpdated|1900}}
{{LastUpdated|1900}}

Revision as of 03:58, 5 May 2013

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

Bandwidth

Sets bandwidth use mode for given player. Can be used to make players' experience smoother based on their Internet connection quality. Value may be: Default (uses server-wide default), VeryLow, Low, Normal, High, or VeryHigh. See BandwidthUseMode config key documentation for a detailed explanation of the options. Shortcut: bw

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. Value may be: Promoted, Demoted, AutoPromoted, or 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