Jump to content

/SetInfo

From fCraft Wiki
Revision as of 01:50, 11 December 2012 by F (talk | contribs)
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. Shortcut: "bw". Acceptable values are:
  • Default - uses server-wide default, BandwidthUseMode config key
  • VeryLow - uses very little bandwidth (choppy player movement, players pop-in/pop-out in the distance, 10 updates/sec, 100ms max movement latency).
  • Low - uses less bandwidth than usual (less choppy, pop-in distance is further, 20 updates/sec, 50ms max movement latency).
  • Normal - normal behavior (pretty much no choppiness, pop-in only noticeable when teleporting, 20 updates/sec, 50ms max movement latency).
  • High - uses more bandwidth than usual (pretty much no choppiness, pop-in only noticeable when teleporting on large maps, 20 updates/sec, 50ms max movement latency).
  • VeryHigh - uses tons of bandwidth (no choppiness at all, no pop-in, 40 updates/sec, 25ms max movement latency).

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"