Difference between revisions of "Multiplayer"

From Stardew Valley Wiki
Jump to navigation Jump to search
(→‎Quests and progress: Added more information and mention of the permission command)
(→‎Chat: Added missing commands, added command examples, added currently blank section for emotes)
Line 134: Line 134:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! description
+
! Command
 +
!colspan="2"| Description
 
|-
 
|-
| <tt>h, help</tt> || Shows a list of available commands.
+
{{Modding:Debug commands/cmd
|-
+
  |command = h, help
| <tt>clear</tt> || Clears the game's chat log.
+
  |desc    = Shows a list of available commands.
|-
+
}}
| <tt>color-list</tt> || Shows a list of colors you can use with <tt>/color</tt> command.
+
{{Modding:Debug commands/cmd
|-
+
  |command = clear
| <tt>color</tt> || Sets your chat to appear in the specified color. To color single lines of chat: [color]text.
+
  |desc    = Clears the game's chat log.
|-
+
}}
| <tt>list, users, players</tt> || Shows a list of names of all players currently connected to your game world.
+
{{Modding:Debug commands/cmd
|-
+
  |command = color-list
| <tt>ping</tt> || Show the current ping time to the host (for farmhands) or to each farmhand (for the host).
+
  |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:Debug 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:Debug 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:Debug commands/cmd
 +
  |command = e, emote
 +
  |params  = {{t|emote}}
 +
  |desc    = Performs an [[#Emotes|emote]].
 +
}}
 +
{{Modding:Debug commands/cmd
 +
  |command = list, users, players
 +
  |desc    = Show a list of names of all players current connected to your game world.
 +
}}
 +
{{Modding:Debug commands/cmd
 +
  |command = mapscreenshot
 +
  |desc    = Take a screenshot of the entire current location, and save it.
 +
}}
 +
{{Modding:Debug commands/cmd
 +
  |command = ping
 +
  |desc    = Show the current ping time to the host (for farmhands) or to each farmhand (for the host).
 +
}}
 +
{{Modding:Debug 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.
 +
}}
 
|}
 
|}
  
Line 152: Line 188:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command !! description
+
! Command
|-
+
!colspan="2"| Description
| <tt>pause</tt> || Pauses the game for everyone in the session.
 
 
|-
 
|-
| <tt>resume</tt> || Resumes the game after a <tt>/pause</tt>.
+
{{Modding:Debug commands/cmd
|-
+
  |command = pause
| <tt>kick {{t|player name}}</tt> || Forcibly disconnects a player from the server.
+
  |desc    = Pauses the game at the current time for all players in the session, freezing all characters in place.
|-
+
}}
| <tt>ban {{t|player}}</tt> || Ban a player (not just their character) from the current farm. You can specify a player name, user ID, or IP address.
+
{{Modding:Debug commands/cmd
|-
+
  |command = resume
| <tt>unban {{t|player}}</tt> || Remove a ban so the player can rejoin the server.
+
  |desc    = Resumes the game if it has been paused with <code>/pause</code>
 +
}}
 +
{{Modding:Debug commands/cmd
 +
  |command = kick
 +
  |params  = {{t|player name}}
 +
  |desc    = Forcibly disconnected a player from the multiplayer game.
 +
}}
 +
{{Modding:Debug commands/cmd
 +
  |command = ban
 +
  |params  = {{t|player name}}
 +
  |desc    = Ban a player (not just their character) from the current farm. You can specific a player name, user ID, or IP address.
 +
}}
 +
{{Modding:Debug commands/cmd
 +
  |command = unban
 +
  |params  = {{t|player}}
 +
  |desc    = Remove a ban from a player so that they can rejoin the multiplayer session.
 +
}}
 +
{{Modding:Debug commands/cmd
 +
  |command = unbanAll
 +
  |desc    = Unbans all players that are currently banned, so that they can rejoin the multiplayer session.
 +
}}
 +
{{Modding:Debug 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:Debug 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.
 +
}}
 
|}
 
|}
 +
 +
===Emotes===
 +
{{Stub|Need to add a the table of possible emotes}}
  
 
===Emojis===
 
===Emojis===

Revision as of 05:36, 15 January 2021

A screenshot of multiplayer showing two cabins and two players.

Multiplayer is an optional game mode in which 1–4 players can play in the same world over LAN or the Internet. Multiplayer is available on the PC, PlayStation 4, Switch, and Xbox One versions, but is not available on the iOS or Android ports. There is both Online Co-op and Split-screen Co-op which is 2–4 players, and additional services may be necessary, depending on the platform. Cross-platform play is not supported in Stardew Valley multiplayer.

The player who created the world (the "host") has the save file on their system, can launch it in multiplayer mode, and can play solo at any time. If the host is not online or the farm is not currently open to other players, then the world is not accessible to other players who had previously connected to the world (the "farmhands") and they cannot view their characters or any other information from that world. Farm ownership cannot be transferred to farmhands without modding.

Creating a multiplayer world

Multiplayer worlds can either begin intended for multiplayer or be converted from a singleplayer save file and opened for new players to join.

Starting a new multiplayer world

To begin a world designed for multiplayer, the host must select "Co-op" instead of "New" from the main menu, then select the "Host" tab and create a new farm. This character and farm creation screen is largely similar to the singleplayer one, but with the additional options to add cabins, set a profit margin, and decide whether all players share a wallet or have their own wallets.

The host can opt to add as many or few cabins at the start as they wish. The number of cabins added at the start determines how many farmhands can immediately join the game once connection is open. Cabins can be added or removed after farm creation.

Profit margins cannot be changed after farm creation, but wallet sharing can.

Converting a singleplayer world into multiplayer

A singleplayer world can be converted into a multiplayer world by building enough cabins for prospective farmhands on The Farm in singleplayer mode, saving the game and exiting to the main menu, then opening the save file via "Co-op" instead of "Load".

Making connections

Once a world is ready for multiplayer, the host must open the world for other players to enter. All worlds are closed to other players by default upon creation. To open the farm, the host must go to the Settings tab in their Inventory and select the options they want to use to open the world.

For farmhands:

PC
On Linux/Mac/Windows, you can connect to other players in three ways:
  • When run through Steam, multiplayer farms hosted by your Steam friends will appear on the co-op join screen.
  • When run through GOG Galaxy or Steam, an invite code appears in the in-game options. Other players can type that into the join screen to connect if they also have GOG Galaxy or Steam.
  • Via direct IP address. This may require an open firewall port or virtual LAN service like Hamachi.
    • By default, the server uses UDP port 24642.[1]
  • Split-screen co-op can be started through the Options tab. Other players can join by pressing the start button on their controller once it is started.
PlayStation 4
On the PS4, you can connect to other players via PlayStation Plus. Multiplayer without a subscription isn't supported.
Switch
On the Switch, you can connect to other players in two ways:
  • Multiplayer farms hosted by people on your friends-list or by you. Your friend's farms will appear on the "join" tab. You can host your farm on the "host" tab so it will appear to your friends on the "join" tab. You will need a Nintendo Switch Online account to play with your friends.
  • Via local communications play (no Nintendo Switch Online account needed).
Xbox One
On the Xbox One, you can connect to other players via Xbox Live Gold. Multiplayer without a subscription isn't supported.

Features

Multiplayer mode is mostly identical to singleplayer mode, though certain features are specific to multiplayer only.

Four Corners farm map

The Four Corners map

The Four Corners farm map was designed with multiplayer mode in mind. Each quadrant of the map features a small area for perks from some of the other farm maps to manifest, as well as a tiny pond for players in quadrants besides the quadrant with the large pond to draw water from. However, the Four Corners Map is also available for singleplayer.

Cabins

The farm can contain up to 3 cabins (selectable during farm creation). For each cabin built, one player can join the farm. If the farm starts with fewer than 3 cabins (including if the farm was begun as a singleplayer save file), Robin can build up to 3 cabins total on the farm for data-sort-value="100">Gold.png100g each. Cabin-building is instantaneous, so extra cabins can be built on the first day of the game.

The host player can also demolish a cabin at any time. Demolishing a cabin removes its occupant from the game.

A cabin can be upgraded at the carpenter's shop by the farmhand who occupies it, but not by the host or any other player. The interior layout of an upgraded cabin is identical to the interior of an upgraded farmhouse, with one exception: the fireplace is replaced by a chest of drawers that holds the farmhand's inventory when the farmhand is not online. This chest of drawers cannot be moved and cannot be accessed by the farmhand who owns it. As with the farmhouse, the physical footprint of the cabin does not change when upgraded.

Profit margins

When creating a new multiplayer save, you can choose a profit margin of 25%, 50%, 75%, or default (100%). Opting to lower the profit margin helps rebalance the economy in multiplayer mode by reducing the gold obtained when selling most items (including crops, forage, minerals, and cooked foods) to account for the increased productivity from the increased number of active players. For example, at 25% profit margin, you can sell Wheat for data-sort-value="6">Gold.png6g instead of data-sort-value="25">Gold.png25g.

Purchase prices for seeds at Pierre's General Store and purchase prices for Grass Starter, Sugar, Wheat Flour, and Rice at JojaMart are scaled with the profit margin set. Prices for other items (including Blacksmith and Fish Shop shop items, buildings, and tool upgrades) and quest gold rewards are not affected.

Lowering the profit margin makes gold much harder to come by in the early game; progressing in all your skills evenly, crafting items, and completing Help Wanted quests become far more important. For example, Willy still sells Crab Pots for data-sort-value="1500">Gold.png1,500g despite your reduced income, so mining iron and crafting your own Crab Pots may be more economical.

Note that there's no profit margin option when creating a singleplayer save. However, you can have a singleplayer save with a chosen profit margin by creating a multiplayer save and playing solo. Choose "Co-op" at the main menu instead of "New", then "Load" it in singleplayer after the save file is created.

Marriage

Players can marry an NPC, which works the same way as single-player. Each NPC can only be married by one player at a time, and children are added to the married player's home.

Players can marry another player by giving them a wedding ring. Married players get a Stardrop in a purple giftbox next to their home beds after the wedding (equivalent to the Stardrop received from an NPC spouse). A home is eligible for children if it's owned by one of the married players, has the kids' room upgrade, doesn't already have two children, and both players are sleeping in its bed; the game will randomly let one player propose having children to the other, and if accepted, the child will be added to the home that both players are sleeping in (if eligible), else the other player's home (if eligible), else the current home.

Gameplay

  • Some decisions are made collaboratively by all players by either clicking dialogues or joining areas:
    • when to sleep, by entering a bed;
    • when to start a festival, by entering the area;
    • whether to finish the Community Center or buy a Joja membership;
    • when to pause the game using a /pause command (opening a menu doesn't pause in multiplayer).
  • All players share the same farmland. Players may choose to pool their money or split it between each player.
  • Each player has their own energy bar, their own Skills, and their own relationships with NPCs.
  • Each player has a separate mailbox and spouse porch area also each player can build a separate cellar.
  • Each NPC can only be married by one player. If multiple players want the same spouse, the first to propose will win their hand.
  • Interactions between players:
    • Players can marry each other and have children. Players propose to each other using a craftable Wedding Ring. The wedding ring recipe can be obtained at the Traveling Cart for data-sort-value="500">Gold.png500g , and will then allow the player to craft a wedding ring with 5 Iridium Bars and a Prismatic Shard.
    • Players can dance with each other in the Flower Dance Festival (no prior requirements).
    • Players can see other players’ scores during certain festivals.

Quests and progress

  • Quest progress is largely kept on an individual level, though players can help each other with quests.
  • Quests set difficulty based on the highest-level player.
  • Mine progress is global, and each player can open chests for themselves (using the elevator to reach required floors also satisfies the mine quests).
  • Museum collection is global, and every player gets their own set of rewards.
  • The reward for completing the Bulletin Board bundle is applied to all players, although item rewards are only given to the player turning in the bundle.
  • Completing bundle sets or Joja forms unlocks the final reward for every player. However, only the player who completes a bundle can pick up the reward.
    • Repairing the bridge at the beach is also global.
  • Each player's tools have to be upgraded individually, though tools can freely be traded between players depending on need. This also eliminates any possible problems of not having a tool available during the upgrade.
  • Any player can purchase and place buildings on the farm, though only the host can upgrade the farmhouse and cabins can only be upgraded by their owners.
    • The permission for moving buildings can be changed with a command
  • Every player has their own set of Stardrops to obtain, though most of them will be available once any player meets the requirement.
  • Recipes for cooking and crafting are obtained individually, though of course players can help each other out.

Money

  • Money can be shared between all players or split individually. This can be set when creating a new game or by using the "Town Ledger" next to the divorce book in Lewis's house.
  • For each item placed in the shipping bin, the price is determined by the online player whose professions would most increase it.

Experience

Each player has their own experience points. Whoever commits the action will be the one to gain the experience.

  • Farming
    • Whoever harvests a crop gets the experience, regardless of who planted it or any other work done with it.
    • Whoever interacts with an animal gets the experience.
  • Mining
    • Whoever gets the last swing with the pickaxe gets the experience. It is not shared.
    • Whoever set off a bomb gets experience for destroyed rocks.
    • If a rock is destroyed by a monster, such as a Dust Sprite, everyone will get experience for it, even if they're not in the Mines.
  • Foraging
    • Whoever picks up the foragable gets the experience.
    • Whoever gets the last swing with the axe when chopping a tree, stump, or log gets the experience. It is not shared.
  • Fishing
    • You get experience for fish you catch as expected.
    • Whoever empties a crab pot gets the experience, regardless of who set it or baited it.
  • Combat
    • Whoever kills the monster gets the experience. It is not shared.

Luck

  • Players can have different daily luck.
  • Luck is averaged out between all players for calculations.

Chat

Chat is a feature that allows communicating between players directly through in-game. There are also several commands that can be run in the chat to change settings, direct message other players, etc.

Commands

You can run commands in the chat box, using a forward slash (/) before the command.

These commands are available for all players:

Modding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmd
Command Description

These commands only work from the host player:

Modding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmdModding:Debug commands/cmd
Command Description

Emotes

Axe.png
Article Stub

This article is marked as a stub for the following reason:

  • Need to add a the table of possible emotes

Emojis

Emojis may be used in chat by selecting them from the Emoji Menu, or by typing the corresponding emote code in brackets. [0] for Emojis000.png, [42] for Emojis042.png, [111] for Emojis111.png, and so on.

Shown below are all of the chat emotes available in-game.

Emoji IDs
Emojis000.png
Emojis001.png
Emojis002.png
Emojis003.png
Emojis004.png
Emojis005.png
Emojis006.png
Emojis007.png
Emojis008.png
Emojis009.png
Emojis010.png
Emojis011.png
Emojis012.png
Emojis013.png
0 1 2 3 4 5 6 7 8 9 10 11 12 13
Emojis014.png
Emojis015.png
Emojis016.png
Emojis017.png
Emojis018.png
Emojis019.png
Emojis020.png
Emojis021.png
Emojis022.png
Emojis023.png
Emojis024.png
Emojis025.png
Emojis026.png
Emojis027.png
14 15 16 17 18 19 20 21 22 23 24 25 26 27
Emojis028.png
Emojis029.png
Emojis030.png
Emojis031.png
Emojis032.png
Emojis033.png
Emojis034.png
Emojis035.png
Emojis036.png
Emojis037.png
Emojis038.png
Emojis039.png
Emojis040.png
Emojis041.png
28 29 30 31 32 33 34 35 36 37 38 39 40 41
Emojis042.png
Emojis043.png
Emojis044.png
Emojis045.png
Emojis046.png
Emojis047.png
Emojis048.png
Emojis049.png
Emojis050.png
Emojis051.png
Emojis052.png
Emojis053.png
Emojis054.png
Emojis055.png
42 43 44 45 46 47 48 49 50 51 52 53 54 55
Emojis056.png
Emojis057.png
Emojis058.png
Emojis059.png
Emojis060.png
Emojis061.png
Emojis062.png
Emojis063.png
Emojis064.png
Emojis065.png
Emojis066.png
Emojis067.png
Emojis068.png
Emojis069.png
56 57 58 59 60 61 62 63 64 65 66 67 68 69
Emojis070.png
Emojis071.png
Emojis072.png
Emojis073.png
Emojis074.png
Emojis075.png
Emojis076.png
Emojis077.png
Emojis078.png
Emojis079.png
Emojis080.png
Emojis081.png
Emojis082.png
Emojis083.png
70 71 72 73 74 75 76 77 78 79 80 81 82 83
Emojis084.png
Emojis085.png
Emojis086.png
Emojis087.png
Emojis088.png
Emojis089.png
Emojis090.png
Emojis091.png
Emojis092.png
Emojis093.png
Emojis094.png
Emojis095.png
Emojis096.png
Emojis097.png
84 85 86 87 88 89 90 91 92 93 94 95 96 97
Emojis098.png
Emojis099.png
Emojis100.png
Emojis101.png
Emojis102.png
Emojis103.png
Emojis104.png
Emojis105.png
Emojis106.png
Emojis107.png
Emojis108.png
Emojis109.png
Emojis110.png
Emojis111.png
98 99 100 101 102 103 104 105 106 107 108 109 110 111
Emojis112.png
Emojis113.png
Emojis114.png
Emojis115.png
Emojis116.png
Emojis117.png
Emojis118.png
Emojis119.png
Emojis120.png
Emojis121.png
Emojis122.png
Emojis123.png
Emojis124.png
Emojis125.png
112 113 114 115 116 117 118 119 120 121 122 123 124 125
Emojis126.png
Emojis127.png
Emojis128.png
Emojis129.png
Emojis130.png
Emojis131.png
Emojis132.png
Emojis133.png
Emojis134.png
Emojis135.png
Emojis136.png
Emojis137.png
Emojis138.png
Emojis139.png
126 127 128 129 130 131 132 133 134 135 136 137 138 139
Emojis140.png
Emojis141.png
Emojis142.png
Emojis143.png
Emojis144.png
Emojis145.png
Emojis146.png
Emojis147.png
Emojis148.png
Emojis149.png
Emojis150.png
Emojis151.png
Emojis152.png
Emojis153.png
140 141 142 143 144 145 146 147 148 149 150 151 152 153
Emojis154.png
Emojis155.png
Emojis156.png
Emojis157.png
Emojis158.png
Emojis159.png
Emojis160.png
Emojis161.png
Emojis162.png
Emojis163.png
Emojis164.png
Emojis165.png
Emojis166.png
Emojis167.png
154 155 156 157 158 159 160 161 162 163 164 165 166 167
Emojis168.png
Emojis169.png
Emojis170.png
Emojis171.png
Emojis172.png
Emojis173.png
Emojis174.png
Emojis175.png
Emojis176.png
Emojis177.png
Emojis178.png
Emojis179.png
Emojis180.png
Emojis181.png
168 169 170 171 172 173 174 175 176 177 178 179 180 181
Emojis182.png
Emojis183.png
Emojis184.png
Emojis185.png
Emojis186.png
Emojis187.png
Emojis188.png
Emojis189.png
Emojis190.png
Emojis191.png
Emojis192.png
Emojis193.png
Emojis194.png
Emojis195.png
182 183 184 185 186 187 188 189 190 191 192 193 194 195

References

  1. See StardewValley.Network::Server in the game code.

History

  • 1.3: Introduced.
  • 1.4: Added ability to choose shared or separate money and Four Corners Farm Map. Daily luck is now averaged. Quest difficulty is now based on the highest-skilled player.
  • 1.5: Split-Screen added with up to four players.