/SetInfo
From fCraft Wiki
| Command | |
| SetInfo
Edits PlayerDB records. | |
|---|---|
| Aliases | |
| Usage | /SetInfo <PlayerName> <Property> <Value> |
| Category | Maintenance |
| Required permissions | EditPlayerDB |
| Usable from console? | Yes |
| Introduced in | fCraft 0.492 |
Allows direct editing of players' database records. Should be used with caution.
Contents |
[edit] /SetInfo <PlayerName> <Property> <Value>
- Edits a property of given player's record.
[edit] Editable properties
[edit] BanReason
- Changes ban reason for the given player. Original ban reason is preserved in the logs.
[edit] 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).
[edit] KickReason
- Changes reason of most-recent kick for the given player. Original kick reason is preserved in the logs.
[edit] 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).
[edit] RankChangeType
- Sets the type of rank change. <Type> can be: Promoted, Demoted, AutoPromoted, AutoDemoted. Only really useful if you use AutoRank.
[edit] RankReason
- Changes promotion/demotion reason for the given player. Original promotion/demotion reason is preserved in the logs.
[edit] TimesKicked
- Changes the number of times that a player has been kicked. Acceptable value range: 0-9999
[edit] TotalTime
- Changes the amount of game time that the player has on record. Accepts values in the common compact time-span format.
[edit] UnbanReason
- Changes unban reason for the given player. Original unban reason is preserved in the logs.