Line 183: |
Line 183: |
| | | |
| These commands are available for all players: | | These commands are available for all players: |
− | {|class="wikitable" | + | {|class="wikitable sortable" |
| |- | | |- |
− | ! Command | + | !Command |
− | !colspan="2"| Description | + | !Description |
| + | |- |
| + | |<samp>h,<br />help</samp> |
| + | |Shows a list of available commands. |
| + | |- |
| + | |<samp>clear</samp> |
| + | |Clears the game's chat log. |
| + | |- |
| + | |<samp>color-list</samp> |
| + | |Displays the list of chat colors:<br /><sup>''White, red, blue, green, jade, yellowgreen, pink, purple, yellow, orange, brown, gray, cream, salmon, peach, aqua, jungle, plum''</sup> |
| + | |- |
| + | |<samp>color</samp> |
| + | |''Syntax:'' <code>color <color></code> |
| + | <p>Sets your chat to appear in the specified color. To color single lines of chat type <code>['''color''']Your chat message</code></p> |
| + | <p>''Example:'' <code>/color yellow</code> |
| + | |- |
| + | |<samp>dm,<br />message,<br />pm,<br />whisper</samp> |
| + | |''Syntax:'' <code>dm <player> <message></code> |
| + | <p>Send a private message to another player in the same multiplayer session.</p> |
| + | |- |
| + | |<samp>emote,<br />e</samp> |
| + | |''Syntax:'' <code>emote <emote></code> |
| + | <p>Performs an [[#Emotes|emote]].</p> |
| + | |- |
| + | |<samp>list,<br />users,<br />players</samp> |
| + | |Show a list of names of all players current connected to your game world. |
| + | |- |
| + | |<samp>mapscreenshot</samp> |
| + | |Take a screenshot of the entire current location, and save it. |
| + | |- |
| + | |<samp>ping</samp> |
| + | |Show the current ping time to the host (for farmhands) or to each farmhand (for the host). |
| + | |- |
| + | |<samp>r</samp> |
| + | |''Syntax:'' <code>r <message></code> |
| + | <p>Sends a response message to the last player that sent a direct message to the client.</p> |
| + | <p>''Example:'' <code>/r Hello World!</code> to reply to a private message.</p> |
| |- | | |- |
− | {{Modding:Console commands/cmd
| |
− | |command = h, help
| |
− | |desc = Shows a list of available commands.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = clear
| |
− | |desc = Clears the game's chat log.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = color-list
| |
− | |desc = Displays the list of chat colors:<br /><sup>''White, red, blue, green, jade, yellowgreen, pink, purple, yellow, orange, brown, gray, cream, salmon, peach, aqua, jungle, plum''</sup>
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = color
| |
− | |params = {{t|color}}
| |
− | |desc = Sets your chat to appear in the specified color. To color single lines of chat type <code>['''color''']Your chat message</code>
| |
− | |example = <code>/color yellow</code>.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = dm, message, pm, whisper
| |
− | |params = {{t|player}} {{t|message}}
| |
− | |desc = Send a private message to another player in the same multiplayer session.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = emote, e
| |
− | |params = {{t|emote}}
| |
− | |desc = Performs an [[#Emotes|emote]].
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = list, users, players
| |
− | |desc = Show a list of names of all players current connected to your game world.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = mapscreenshot
| |
− | |desc = Take a screenshot of the entire current location, and save it.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = ping
| |
− | |desc = Show the current ping time to the host (for farmhands) or to each farmhand (for the host).
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = r
| |
− | |params = {{t|message}}
| |
− | |desc = Sends a response message to the last player that sent a direct message to the client.
| |
− | |example = <code>/r Hello World!</code> to reply to a DM.
| |
− | }}
| |
| |} | | |} |
| | | |
| These commands only work from the host player: | | These commands only work from the host player: |
− | {|class="wikitable" | + | {|class="wikitable sortable" |
| + | |- |
| + | !Command |
| + | !Description |
| + | |- |
| + | |<samp>pause</samp> |
| + | |Pauses the game at the current time for all players in the session, freezing all characters in place. |
| + | |- |
| + | |<samp>resume</samp> |
| + | |Resumes the game if it has been paused with <code>/pause</code> |
| + | |- |
| + | |<samp>kick</samp> |
| + | |''Syntax:'' <code>kick <player name></code> |
| + | <p>Forcibly disconnected a player from the multiplayer game.</p> |
| + | |- |
| + | |<samp>ban</samp> |
| + | |''Syntax:'' <code>kick <player name></code> |
| + | <p>Ban a player (not just their character) from the current farm. Specify a player name, user ID, or IP address.</p> |
| + | |- |
| + | |<samp>unban</samp> |
| + | |''Syntax:'' <code>unban <player name></code> |
| + | <p>Remove a ban from a player so that they can rejoin the multiplayer session.</p> |
| + | |- |
| + | |<samp>unbanAll</samp> |
| + | |Unbans all players that are currently banned, so that they can rejoin the multiplayer session. |
| + | |- |
| + | |<samp>sleepannouncemode</samp> |
| + | |''Syntax:'' <code>sleepannouncemode <mode></code> |
| + | <p>Changes when alerts are sent to chat when a player has gone to sleep in multiplayer.</p> |
| + | <p>''Examples:''</p> |
| + | *<code>/sleepannouncemode off</code> will disable notifications |
| + | *<code>/sleepannouncemode first</code> will announce the first time a player sleeps in one day |
| + | *<code>/sleepannouncemode all</code> will announce every time a player starts sleeping |
| |- | | |- |
− | ! Command
| + | |<samp>mbp,<br />movebuildpermission,<br />movepermissiong</samp> |
− | !colspan="2"| Description
| + | |''Syntax:'' <code>mbp <permission></code> |
| + | <p>Changes farmhands permissions to move buildings from the [[Carpenter's Shop]] |
| + | <p>''Examples:''</p> |
| + | *<code>/mbp off</code> to entirely disable moving buildings |
| + | *<code>/mbp owned</code> to allow farmhands to move buildings that they purchased |
| + | *<code>/mbp on</code> to allow moving all buildings |
| |- | | |- |
− | {{Modding:Console commands/cmd
| |
− | |command = pause
| |
− | |desc = Pauses the game at the current time for all players in the session, freezing all characters in place.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = resume
| |
− | |desc = Resumes the game if it has been paused with <code>/pause</code>
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = kick
| |
− | |params = {{t|player name}}
| |
− | |desc = Forcibly disconnected a player from the multiplayer game.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = ban
| |
− | |params = {{t|player name}}
| |
− | |desc = Ban a player (not just their character) from the current farm. Specify a player name, user ID, or IP address.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = unban
| |
− | |params = {{t|player}}
| |
− | |desc = Remove a ban from a player so that they can rejoin the multiplayer session.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = unbanAll
| |
− | |desc = Unbans all players that are currently banned, so that they can rejoin the multiplayer session.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = sleepannouncemode
| |
− | |params = {{t|mode}}
| |
− | |desc = Changes when alerts are sent to chat when a player has gone to sleep in multiplayer.
| |
− | |example = <code>/sleepannouncemode off</code> will disable notifications.;<code>/sleepannouncemode first</code> will announce the first time a player sleeps in one day.;<code>/sleepannouncemode all</code> will announce every time a player starts sleeping.
| |
− | }}
| |
− | {{Modding:Console commands/cmd
| |
− | |command = mbp, movebuildpermission, movepermissiong
| |
− | |params = {{t|permission}}
| |
− | |desc = Changes farmhands permissions to move buildings from the [[Carpenter's Shop]]
| |
− | |example = <code>/mbp off</code> to entirely disable moving buildings.;<code>/mbp owned</code> to allow farmhands to move buildings that they purchased.;<code>/mbp on</code> to allow moving all buildings.
| |
− | }}
| |
| |} | | |} |
| | | |