Multiplayer
The Multiplayer plugin turns your adventure into a game for several players, with no servers: one creates a room and the others join. It serves two very different purposes with the same plugin:
- Cooperative: two or more people solve a point & click adventure together (one opens the door while the other pulls the lever).
- Social: a place where people meet and walk around the map: a plaza, a tavern, “the gang’s spot”. There is chat, reactions and map pings, and everyone can interact with the scenery.
Since not everyone needs it, it is off by default: each project installs it separately. The reference has every setting, block and technical detail.
Turning it on
- Open the Plugins section (side menu, Project group).
- Pick Multiplayer and flip the On switch.
- Choose how it is played and, if you like, adjust the players and what people can do in the room (chat, reactions, pings…).
Once on, the game menus (main and pause) get a new Play with friends button (you can change its text under In the menus), and the logic gains the Multiplayer category (pink).
The plugin page

- How is it played?: three cards that set at once the settings that go together. Adventure together (2 to 4 friends solve the adventure together: one group game, a waiting room and they change scene together), Plaza (meet, wander around and chat, up to 16: each one has their own game, players join directly and each one goes to the scene they want) and Party (a big screen plays and the phones are the controllers). If you change one of those settings, the page says Custom; choose a card to go back to its values.
- On the left, the sections in plain words: Players (with the roles if each player has a different character), The game, Moving and talking (scene changes and conversations), What belongs to the group and to each player (in cooperative: the shared backpack, “The journal belongs to everyone” and, folded, For experts), Communication, In the menus, Interface (which room screens are yours in UI PRO and the Multiplayer kit) and Connection (the last three folded).
- On the right (fixed on a wide screen): the preview of what the players will see, with your game’s style (its accent color, its font and the interface skin) and sample players, in three tabs: Entry, Waiting room and In the game. Below, Test with several players, the warnings with their one-click fix and the guide.
How people connect (and why no server is needed)
Whoever creates the room gets a five-letter code (for example AXEND). The others type it under Play with friends → Join and go into their game. In a game published on the web, the room panel also has Copy link, Share… on phones and a QR code of the link: whoever opens the link (it ends in #verb-room=…) already has the code filled in. In the editor’s Play and in the desktop game, you invite with the code.
Inside, players connect directly to each other (WebRTC, the technology behind browser video calls). To find each other they use Trystero, which uses a public decentralized network (by default Nostr; also BitTorrent or MQTT) only for “who is in this room?”: no account and no server of yours is needed, and what players send each other does not go through that network.
The computer of whoever creates the room acts as the hub: the others connect to it and it relays what each one does to the rest. So:
- VERB runs no servers: no rooms, no relaying, no accounts. Whatever the network needs, you choose it (and pay for it, if it costs anything): see The network.
- If the host disappears once the game has started (closes the tab, reloads or drops), the room carries on: another player takes it over (see If the host leaves). If they use Leave the room, or in the waiting room, it closes.
- The more players, the harder the host’s computer works (8 or fewer is comfortable; the maximum is 16).
- Everyone needs the same game (the published one, or the same
.verbprojfile): a room is only found by people playing the same game. If the game version (Settings → version) differs, you can still play, but a notice is shown. - An internet connection is needed to find each other (except with the “Only tabs” network, for testing).
To test on your own
On the plugin page, Test with 2 players (or 3, or 4): see Test with several players. You can also open the game in two tabs of the same browser: in one, Create room; in the other, Join with the code.
Test with several players
In Plugins → Multiplayer, the Test with 2 / 3 / 4 players buttons open Test as the host of a test room and a small window for each extra player, which joins by itself (“Player 2”, “Player 3”…, each with its color). Everything goes through this browser’s network: no internet needed and no need to change the plugin’s network.
- It tests what you have in the editor, including what you have not saved yet.
- The test windows only play: they do not open the project, so the main window stays editable (it does not switch to “read only”).
- Closing Test closes the test windows; if you restart it, they join the new room.
- If the browser blocks a window, or you close it, Test’s bar shows Open player 2’s window (and the “2 of 3 in” counter goes down). If you reload a test window, it joins again by itself.
- Games you save from a test window’s menu use the same slots as Test.
- It works the same with a game that starts in a 3D scene: each window builds its own world.
The network
In the plugin page you choose the network players find each other through (the game chooses it, so everyone uses the same):
| Network | Notes |
|---|---|
| Nostr (default) | Public Nostr protocol relays. Fast and hard to block. |
| BitTorrent | Uses public WebTorrent trackers. |
| MQTT | Uses public MQTT brokers. |
| Only tabs | No internet: only tabs of the same browser (testing). |
They are free third-party services: if one fails or is blocked on your network or in your country, try another. By default, Two networks at once also opens and looks for the room on another public network (Nostr and BitTorrent cover each other; MQTT leans on Nostr) and the first one that connects wins: if one goes down, the other keeps going. Each game lives in its own space of the public network, so two different games never even see each other.
Everything about the network is in the Connection section of the plugin page, with what each option costs. VERB hosts nothing: whatever you set up, you choose and you pay for.
| Option | What it is | What it costs you (approximate) |
|---|---|---|
| Public networks (the default) | The public relays of the chosen network, no TURN. | €0. Sometimes a relay goes down, and roughly one pair in five does not connect without a TURN. |
| My signaling | Your own Nostr relays or MQTT broker (wss://…, in Own relays). | €0 with the free plan of an MQTT broker (HiveMQ Cloud, EMQX Serverless); about €4–6 a month for your own relay on a small server. |
| My TURN | Your TURN server, which relays whoever cannot connect directly (Add a TURN: turn:/turns: addresses, username and password). | €0 within your provider’s free plan (Cloudflare Realtime TURN gives about 1,000 GB a month; Metered, about 0.5 GB); about €4–6 a month for your own coturn. |
An adventure uses about 11 MB per hour and player, and only the traffic of whoever cannot connect directly goes through the TURN: 1,000 GB is enough for tens of thousands of hours of play.
Approximate prices (2026): check them with each provider. Some: Cloudflare Realtime TURN, Metered, HiveMQ Cloud (MQTT broker) and coturn (a TURN to run on your own server). VERB has no deal with any of them.
The TURN credentials ship inside the game
Anyone who has the game can read them. Use a TURN with a usage limit and keep an eye on its usage at your provider. If your credentials expire (some providers hand them out that way), the TURN stops working until you export or publish the game again with new ones. An incomplete TURN (without username or password, or with an address that does not start with turn:/turns:) is not used: the page marks it.
While they wait for someone, players keep prepared connections that also reserve room on the TURN (twice as many with Two networks at once): if your TURN limits requests, leave it some headroom.
Test the connection (in the same section) checks from your browser whether the relays answer, whether the STUN gives your public address and whether each TURN relays.
STUN servers
To connect over the internet, browsers ask a STUN server “what is my address?”. By default one from Google is used. That server does not see what you send (it only helps discover addresses). In the plugin you can change it or leave it empty (then only players on the same local network can connect). Connected players do get to know each other’s network address: that is inherent to a direct connection.
If two people are on very restricted networks (some corporate or mobile networks) they may not be able to connect directly: that is what a TURN is for (see The network), which the game’s author sets up if they want.
What players see
The room interface comes ready-made and looks like your game: it uses its font and its accent color. It is in English and Spanish, following the player’s language, and works with the mouse, the keyboard (Tab, Enter, Esc) or a finger.
Play with friends

At the top, your name and color (remembered for next time). If something fails while connecting, the notice says what to do and, folded under Details, carries the technical part for whoever helps you. Below, two cards: Create a room and Join, where you type the code (pasting the whole link works too). Colors are never repeated within a room: if someone already has yours, the host gives you a free one.
The waiting room

If the room is created from the main menu and the game has a waiting room (the default in cooperative), players gather before starting:
- On the left, the code in big letters, Copy code (and, in a game published on the web, Copy link, Share… on phones and a QR code so whoever is next to you joins by pointing their camera) and a chat.
- On the right, the seats: portrait, name, color, connection quality and Ready. Free seats say “Free seat: invite someone”.
- If each player has a different character, it is picked from the portraits (the ones someone else already took are greyed out).
- Guests press I’m ready. The host sees how many are in Start (2/2 ready); the button turns on once there is the minimum number of players. The host can also Lock the room (nobody new gets in) and Kick (with confirmation). Leaving the waiting room also asks for confirmation, and Esc asks “Leave the room?”.
- Start takes everyone into the game at the same time.
Without a waiting room (setting off, or when you invite from the pause menu of a game in progress), the game starts when the room is created and the others drop straight in, in the host’s scene, next to them.
In the game

| What | Where and how |
|---|---|
| Player strip | Top left: each player’s portrait with the ring of their color. Under the name, “in the menu”, the scene name if they are in another one, or “reconnecting…”. |
| Chat | Bottom left. Enter opens the field to type and Esc closes it. Messages fade out on their own and also appear in a bubble over whoever speaks. |
| Reactions and quick phrases | The face button, next to the chat: the emoji floats over your character and everyone sees it. |
| Pings | Alt + click on the scene, the pin button and a click or, with a finger, holding it on an empty spot: a ring of your color marks the spot for everyone. If you point at something, it says so: “Leo: Look at the bell!”. |
| “Room” button | Top right (it says how many you are, “Room 2/4”). It opens the room panel: the code to invite, the players (with Go to, Mute and, for the host, Kick), Pause for everyone and Lock the room (host) and Leave the room (asks for confirmation). |
| Names | Over each character, with their color. They are laid out so they never overlap. |
| Teammates | They are pointed at like any other character, with their name: looking at one says who they are (“That’s Leo.”) and talking to one opens the chat with their name already typed (“Leo, ”). With an item in hand, clicking them gives it (“Give the key to Leo”): the item (the whole stack, if there are several) leaves your inventory and enters theirs, and they see “Ana gave you the key”. If they cannot take it (they got disconnected or left), the item comes back to your inventory. Each player carries their own inventory; if in What belongs to the group and to each player the inventory is everyone’s, there is nothing to give. If they stand in front of something in the game, they are the one pointed at. Your labels step aside while your character speaks, so they do not cover the line. |
| Out of view | If a teammate is off screen, an arrow of their color at the edge shows where they are (in flat scenes). |
| Sounds | Soft ones, when someone joins, leaves, writes, pings or says they are ready. They follow the sound effects volume and can be turned off in the plugin. |
Each player appears in a circle around the host, so they do not pile up at the entrance.
Pausing in a room
In a room, opening the menu does not stop the others: the world goes on and your character just stands still (the others see “in the menu” in the strip). If you really need to stop, the host presses Pause for everyone in the room panel: the game stops on every computer until they press Keep playing.
If you drop or reload the page
If a guest reloads the page (F5) or loses the connection, they go back to their seat on their own for a minute, with their character, their spot and their items: the host keeps the seat for them. Meanwhile, the others see “reconnecting…”. Simply closing the tab also keeps the seat for that time; Leave the room frees it.
If the host disappears once the game has started (closes the tab, reloads or drops), the room carries on without them: the player who has been in it longest takes it over, with the same code and their game as it is, and gets “the room is yours now”. The others go back to their seat on their own (their name, color, character and what they carry) without doing anything, and whoever left can come back with the code and their name: they get their name, color and character back, now as a guest, but not their items or their place (they start next to the host). Everyone picks the same player without talking to each other, so no server is needed. Before taking over, the chosen one looks for the host for about 24 seconds (in case the drop was theirs), and never takes over without a connection. If the room was locked to newcomers, it stays locked. If in the end there are two hosts with the same code (the one who left comes back with their room open, or it was taken by mistake), they see each other within a few seconds and one gives way: the one with fewer players (with the same, the one who took it). They and their players go back to the other room on their own, as after a drop. What runs on its own (background routines, like a timer) also moves to whoever keeps the room.
Whatever was halfway through at that moment is lost: a vote, the turn, gathering at an exit, a group conversation, Pause for everyone and any change the host had not confirmed yet.
If the host closes it on purpose (Leave the room), or nobody is left to take it over, the others get The room has closed, with two ways out: Carry on without a room or Create a room with this game (the game goes on as it is and the others join with the new code). In the waiting room, the room closes if the host leaves.
Continue another day
In a cooperative game, the host’s game keeps the room’s seats: each guest’s name, color, character and record (their scene, position, items, per player variables…). When the host saves and, another day, loads that game, in Play with friends the card to create the room says Continue with Ana and Leo: when it is created, each one joins with the same name and gets their seat back as they left it. If someone else joins, they take a free seat as usual; the seats of whoever does not come stay saved for next time.
The seat goes by name: whoever joins with that name gets it (if another “Leo” arrives first, the real one joins as “Leo 2”). It is meant for playing with friends: the door is the room code. If someone sneaks in, the host sees them in the player strip and can kick them.
Whoever joins a game already in progress (if you allow it under Players) receives the whole world as it is: doors, objects, group variables, countdowns…
Cooperative or social
Cooperative
It is a shared adventure. Each player plays on their own computer and touches the scenery normally (their scripts run there), but changes to the game state are shared:
| Shared | Example |
|---|---|
| Variables | “door_open” becomes true for everyone. |
| Scene objects | One player turns on the light: everyone sees the bulb on. |
| Hotspots on/off | A hotspot is disabled for everyone. |
| Journal objectives (The journal belongs to everyone) | An objective is completed for everyone. If you turn it off, each player keeps their own journal. |
Scripting data (game.data) | A shared counter. |
| Inventory (optional, off by default) | Everyone has the same items. |
What belongs to the group and what belongs to each player
The world belongs to the group: what one player changes (a door, a scene object, an objective) changes for everyone. But each player has their own things:
- Their inventory: each one carries their own items (if you prefer a shared backpack, turn on A shared backpack in What belongs to the group and to each player). An item one player picks up from the scene disappears for everyone.
- Their “per player” variables: in Logic → Variables, choose a variable and, under When playing with friends, set Per player. Each one starts with the initial value and changes it only for themselves: their score, whether they already talked to someone, how many hints they asked for… The other variables belong to the group.
- Their character, their position, what they visited, their music and their camera.
If they reload the page or their connection drops, they get all that back when they return to their seat (see If the connection drops). Characters that walk around, guards and countdowns are run by the host so that everyone sees them the same (reference).
Gathering at the exits
In cooperative, scene changes gather (the default): whoever crosses an exit waits at it (“Waiting for Leo · 1/2”). The others see “Ana wants to go to The tavern — Go now · Wait!”:
- when everyone has crossed that same exit, they change scene together (through the door of whoever started);
- Go now takes everyone right away, wherever they are;
- Wait! (to whoever is waiting, Cancel) cancels it for everyone, and whoever was waiting stays where they were.
Nobody waits for someone who got disconnected. A scene change made by a script or a cutscene only moves whoever runs it, unless the Take everyone to… block.
Group conversations
In Moving and talking, Conversations:
- Watch and suggest (the default in cooperative): when someone talks to a character, those in their scene see “Ana is talking to the barkeeper” at the top and the last line, each one in their own language. When the answers come up, they see them and can suggest one; the speaker sees “Leo suggests: “No, thanks””. The speaker chooses.
- Vote the answers: the answers are voted on by those in the scene, like a vote (30 seconds); on a tie the speaker’s wins.
- Each their own (the default in social): nobody sees the others’ conversations.
If another vote is already running (or the vote does not get to open), the speaker chooses as usual. The marks in the lines are read on each computer: [player] is the name of whoever watches.
Votes and turns
- Votes: the block Start a vote ‹name›: ‹question› with the options ‹options› (2 to 6, one per line) shows everyone the question with one button per option, its votes and the seconds left (30). Each player votes (and can change the vote); it ends when everyone has voted or time runs out, and the most voted option wins (on a tie, the starter’s choice if it is among the tied ones). Then When the vote ‹name› ends, save the option in ‹variable› runs on everyone, with the number of the winner (1, 2…; 0 if nobody voted), which is the same in every language: each player sees the question and options in their own. One vote at a time.
- Turns: Pass the turn (to the next one in the room’s order) and Give the turn to ‹player› (by name; whoever has it, the host or, if nobody has it, anyone can give it); if it is my turn and When my turn starts. Until someone gives the turn it is nobody’s; if whoever has it leaves or gets disconnected, it goes to the next one.
In Moving and talking you can also choose together (if someone goes through a door, everyone follows at once) or free (each goes where they want and only sees whoever is in their scene).
What is NOT mirrored
Dialogues, cinematics, narration and speech are not copied between players: each sees their own. So design puzzles around shared variables (“both buttons pressed”) and messages (see below) rather than relying on everyone seeing the same thing at once.
Social
A presence room: players see each other move, talk, react and point, but nothing in the game is synchronized (each has their own) and by default scene changes are free and there is no waiting room. Perfect for a plaza with several scenes (the plaza, the tavern, the shop) that each person strolls through, or for a chat with scenery.
Party
For a living room or a classroom: a big screen plays the adventure (the computer of whoever creates the room, connected to the TV or the projector) and the others join with their phone as a controller. They scan the waiting room QR, enter their name and color, and their phone does not load the game: it only shows the controller.
From the phone, depending on what the author picks in What the phones do (after choosing the Party card):
- Vote: conversation answers are always voted among the phones, and so are logic votes (Start a vote). The big screen shows the question and the votes, but does not vote; on a tie or with no votes, as usual. When it ends, each phone says what won.
- Move a cursor: the phone has a touch area that moves a cursor of its color (with its name) over the big screen; a tap is a click there, like the mouse: in the scene and in the interface too (the verbs, the inventory, the answers of a conversation). In a 3D scene too. If there is a turn (Give the turn to…), only the phone that has it clicks; the others move their cursor and their phone says it is not their turn.
- Or both (the default). With Only move a cursor, answers are chosen with a click (a cursor or the mouse) and logic votes are decided by the big screen.
The big screen can still be played with its mouse. Phones do not appear as a character in the scene, do not count for gathering or we are all here, have no inventory, and the turn only goes round them. If a phone reloads, it goes back to its controller on its own; with Leave the room, back to the menu. If the big screen leaves, the phones try to get back for a minute (in case it was just a drop) and, if they cannot, the room closes: a phone cannot carry on the game. Phones cannot press the room controls or the big screen menus (leave, kick someone, pause, save), nor UI PRO buttons with a room or game command (Net.…, Game.…); verbs, the inventory and answers, they can. Up to 8 phones fit by default (on the page, Maximum phones, not counting the big screen); it can go up to 16, and the page warns that the big screen will work hard.
Players
In the Players section of the plugin page:
| Setting | What it does |
|---|---|
| Minimum to start | In the waiting room, Start does not turn on until there are this many players (default 1). |
| Maximum players | From 2 to 16 (default 4). |
| Characters | By default everyone uses the protagonist (names and colors tell them apart). With A different one for each player, each player controls a different playable character (chosen in Settings → General → several protagonists) and picks it in the waiting room; if there are more players than characters, the extra ones use the protagonist. Below, the Roles list shows the protagonist first and the others in the order they are handed out, which you change with ↑ and ↓. |
| Waiting room before starting | On by default in cooperative. Without it, the game starts when the room is created. |
| Players can join a game in progress | On by default. If off, once the game has started only those who already had a seat can come back. |
What only one role sees
With a different character for each player, a hotspot or object can belong to only one role: Ana sees the footprints in the mud and Leo sees the code written on the wall, and they have to tell each other. In the Scene editor, in the hotspot's or object's panel, the Who sees it group lists the playable characters: tick the ones who see it. With nobody ticked, everyone sees it (as always).
- What is not for your character cannot be seen or touched: it does not show on hover or with the key that reveals hotspots, and a script that shows it leaves it visible for whoever does see it.
- What using it changes in the world (a variable, a state, a door that opens) is shared as usual.
- Without a room the current protagonist counts: in a single player game with several protagonists, switching character changes what is seen.
- It works the same in 3D scenes.
- If the object blocks the way (it has an obstacle), it blocks it for everyone even if they cannot see it: the world is the same for everyone, and if some could walk through and others could not, each would see the others in impossible places. For a clue that is not in the way, give it no obstacle.
- If someone pings something your character does not see, the ping arrives without naming it.
- Deleting a character takes it out of these lists; what was only theirs becomes visible to everyone (the delete warning says so).
- If you tick no playable character (or delete the one that was ticked), nobody will see it: Diagnostics warns about it and its fix lets everyone see it.
Communication
| Setting | What it brings |
|---|---|
| Chat | Free typing, Quick phrases only (nobody types: only the phrases you choose can be said; safer when strangers play together) or No chat. With “Free typing” you can also add the quick phrases next to the chat. |
| Emojis | Reaction picker (you change the emojis in the plugin, up to 12). |
| Names over characters | A label with each player’s name and color. |
| Player list | Who is there, in which scene and the quality of their connection. |
| Map pings | Alt + click (or the button) marks a spot for everyone, and says what is there. |
| Go to a player | From the list, go to the scene and spot where another player is. |
| Room notices | The “Leo joined” and “Leo left” lines in the chat, and the logic’s “Announce to everyone”. |
| Room sounds | The soft sounds of the room. |
Under In the menus you decide whether the Play with friends button shows up and its text (empty: “Play with friends”, in the player’s language; in a room it says “Room (2/4)”).
In 3D scenes
Multiplayer works the same in a 3D scene (3D Scenes plugin): each player sees the others inside the world, at their own height (if one goes up to the upper floor, the other sees them up there), with the ring of their color and their name over the head. Pings carry the height of the pointed spot. Edge arrows for teammates out of view only show up, for now, in flat scenes.
With UI PRO
If you build your interface with UI PRO, the room is also data and commands, like the rest of the game: you can put the room code in a text, the player list in a List or a “Create room” button in your own menu. They are in the UI PRO reference, all starting with Net.:
- The room:
Net.Status(no room, connecting, waiting room, playing, reconnecting or error),Net.StatusText,Net.Error,Net.InRoom,Net.IsHost,Net.Room.Code,Net.Room.Link,Net.Room.QR(an image),Net.Room.Locked,Net.Count,Net.Min,Net.MaxandNet.CanStart. - Gathering:
Net.Gather.Active,Net.Gather.Text(“Ana wants to go to The tavern” or “Waiting for Leo · 1/2”),Net.Gather.CountandNet.Gather.Mine(whether you are the one waiting), with the commandsNet.Go(Go now) andNet.Wait(Wait!). - Conversations:
Net.Talk.Active,Net.Talk.Who,Net.Talk.With,Net.Talk.LineandNet.Talk.Options(Index,Text,Mine), withNet.Propose {index}. - Votes and turns:
Net.Vote.Active,Net.Vote.Question,Net.Vote.Options(Index,Text,Votes,Mine) andNet.Vote.TimeLeft, with the commandNet.Vote {index};Net.Turn.MineandNet.Turn.Name, withNet.PassTurn. - You:
Net.Me.Name,Net.Me.Color,Net.Me.CharacterandNet.Me.Ready. - Lists:
Net.Players(name, color, portrait, character, scene and whether it is yours, whether they are the host or you, whether they are ready, disconnected or in the menu, whether you muted them and their signal),Net.CharactersandNet.Colors(to choose from),Net.Chat,Net.EmotesandNet.Phrases; andNet.Unread, the messages from the others since your last one.Talkingwill come with voice chat. - Commands:
Net.Create,Net.Join(a text box with “On confirm” passes it the code),Net.Leave,Net.Start,Net.Ready,Net.SetName,Net.SetColor,Net.PickCharacter,Net.Say,Net.Emote,Net.Phrase,Net.MarkRead(sets unread to zero),Net.PingMode,Net.Mute,Net.Follow,Net.CopyLink,Net.CopyCodeandNet.Share; and, for the host only,Net.Kick,Net.LockandNet.PauseAll. Whatever makes no sense at that moment (starting when you are not the host, kicking yourself) does nothing.
It hides by itself: with the Multiplayer plugin off, anything bound to a Net.* data path or running a Net.* command does not show in the game, even if it stays in the view. Whatever goes with it and is not bound (a loose “Code:” label), bind it yourself to Net.Available. The view check and Diagnostics warn about it.
Your own room screens
With UI PRO you can also make the room screens your way. They are three slots that show up with the Multiplayer plugin on, in a row of their own in the screen map (With friends):
| Slot | What it replaces |
|---|---|
| Play with friends | The joining screen: your name and color, Create a room (Net.Create) and Join with a code (Net.Join). Game.Back and Esc go back to the menu it came from. |
| Waiting room | The room before starting: the code, the link and the QR code to invite, the players, each one’s character, the chat, I’m ready (Net.Ready) and Start (Net.Start, host only). Net.Leave leaves the room (and so does Game.Back; Esc does not, so one Esc too many kicks nobody out). During the game it works as the room panel: “Play with friends” opens it and Game.Back goes back to playing. |
| Multiplayer layer | What goes over the game while playing in a room, instead of the built-in bar: the players, the chat, reactions, pings, the code, leaving the room and the reconnecting notice. |
With no view in a slot, the game draws its built-in one. Without the built-in bar, “the room” opens in your Waiting room (if you have none, a notice shows the code). If your in-game interface (HUD) already shows Net.* data, the built-in bar does not show either, even without a layer. An invite link and Continue with… (a saved game with its room) still open the built-in joining screen. These slots take no views per device.
The Multiplayer kit brings the three screens ready-made, bound to the Net.* data and commands. Install it from the UI PRO kit gallery, with the Install the Multiplayer kit button in the Interface section of this page (which says which of the three are yours and which are built-in) or with the agent (install_uipro_kit {kit: "multiplayer"}). It does not change your in-game interface or the menus, and whatever was in those slots is kept as an (Anterior) copy. For the chat, the text box has Clear on confirm: after pressing Enter it is left empty.
Logic blocks
Multiplayer category (and one event and two conditions in their usual categories). They only appear with the plugin on.
| Block | Type | What it does |
|---|---|---|
| When a player joins the room | event | Runs on the computers of those who were already there. |
| When a player leaves the room | event | Same, when someone goes. |
| When the message … arrives | event | Runs on every player when someone sends that message. |
| Send everyone the message … | action | Sends a message to everyone (including the sender). With … with the data ‹data› it also carries a short value (a text, a number or [var:name]). |
| Announce to everyone: … | action | Shows a notice to everyone. |
| if I am the host of the room | condition | True for the host (and when playing without a room). |
| if there are at least N players in the room | condition | To wait until there are enough people. |
| if I am playing with friends | condition | If there is a room. So a game that can also be played alone does something different in company. |
| When we are all in this scene | event | Once each time everyone arrives (whoever got disconnected does not count). It runs on every player’s computer: whatever must happen only once, after “if I am the host”. |
| Wait until we are all in this scene | action | Only that script waits; the others keep playing. |
| if we are all in this scene | condition | Without a room, yes. |
| Take everyone to ‹scene› by ‹entrance› | action | For when the story needs it: the others go right away, and so does whoever runs it. |
| Start a vote ‹name›: ‹question› with the options ‹options› | action | See votes. |
| When the vote ‹name› ends, save the option in ‹variable› | event | On everyone, with the number of the winner (0 if nobody voted). |
| Pass the turn / Give the turn to ‹player› | action | To the next one, or to whoever is named. |
| if it is my turn | condition | Without a room, yes. |
| When my turn starts | event | On whoever gets the turn. |
The three events can end in …, save … in ‹variable› (optional): the variable where, before the script runs, the name of whoever joins or leaves is saved, or the data that came with the message. So “When a player joins the room, save their name in who” → “Announce to everyone: [var:who] is here!”. If a message arrives without data, the variable stays as it was.
In any text (lines, notices, narration), [player] (or [jugador]) is the name of whoever plays on that computer (without a room, the protagonist’s): “Well done, [player]!”. (In the editor’s previews the mark shows as is; it is replaced while playing.)
A message name is a short word or phrase you choose, for example open hatch. It is how one player “triggers” something on everyone’s computer.
Example: the two-button door
=== Press the red button (Room) [background]
On using the red button:
Set the red button to the state on with the sound (no sound).
Set the variable red_pressed to true.
Run the script Check the buttons.
Wait 4 seconds.
If not door_open holds:
Set the red button to the state off with the sound (no sound).
Set the variable red_pressed to false.
=== Check the buttons (Room)
When this script is called:
If red_pressed and blue_pressed and not door_open holds:
Set the variable door_open to true.
Set the door to the state open with the sound (no sound).
Set the exit active.
Announce to everyone: “The door has opened!”.The buttons, the variables and the door belong to the game's world: what one player changes, everyone sees, with no messages. Each button releases on its own after 4 seconds, so they have to be pressed at the same time, one by each player (in the background, whoever presses can keep walking while it waits). When it opens, the exit waits until you all get there (Gather). A message is only needed for what is not part of the world, like a sound or a one-off animation. It is the Two-button door tutorial.
Careful: what runs once per player
“On entering the scene” and “On game start” scripts run on each player’s computer. If one of them gives an item or adds to a variable, it will happen as many times as there are players. Protect what must happen only once with “if I am the host of the room”. (Those that run in the background, like a timer or a character’s patrol, already run only on the host.) If what it does belongs to each player (for example, resetting their score), use a per player variable: then it is fine for it to run on every computer. Careful: whoever joins a game already in progress does not run “On game start”; put the value a per player variable starts with as its initial value.
Diagnostics warnings
With the plugin on, Diagnostics (and the top of the plugin page, with a one-click fix) warns about what does not behave in a room as it does in single player:
| Warning | What happens | Fix |
|---|---|---|
| An “on game start” or “on entering the scene” script (or one it calls) adds to, toggles or recalculates from its own value a group variable | It runs once per player and changes it as many times as there are players. | Only on the host: puts “if I am the host of the room” after the event, so the whole script then only runs on the host (Ctrl+Z undoes it). Or make the variable per player. |
| A routine that repeats very fast changes a group variable | It is sent to everyone several times per second. | Make it per player, or wait longer between loops. |
| A routine that starts on its own changes a per player variable or gives an item | Routines only run on the host: only the host’s changes. | Do it from a player action (or the shared inventory). |
| Each player has a different character and there are fewer playable characters than the minimum players | The waiting room will not be able to start. | Lower the minimum or add playable characters. |
| A hotspot or object with Who sees it only for characters that are not playable (or no longer exist) | Nobody will see it (this warning shows with the plugin off too). | Let everyone see it, or tick a playable character. |
Deleting a per player variable also warns about it. And with the plugin off, Diagnostics warns about the UI PRO views that use Net.* (they will not show in the game).
With the Scripting plugin
If you also have Scripting, the code gets a game.net object (also game.net.list: who is there, with their color, character, scene and whether they are the host or you; and game.net.send("message", data)) (see the reference): game.net.players, game.net.isHost, game.net.send("message"), game.net.announce("text")…
Safety and privacy
- Nothing that arrives from other players is interpreted as code or HTML: names and messages are cleaned, trimmed and shown as text. Other players cannot run code on your computer.
- They can only change things that exist in your project (variables, objects and hotspots by their id) and with values of the right type.
- There is a per-player limit of messages per second, and huge messages are dropped.
- The host can kick and lock the room to new players; each player can mute another (they will not see their chat, reactions or pings). With the chat on Quick phrases only, nobody can type whatever they want.
- There is no cheat protection: you play with friends. A player who tampers with their browser could alter the shared state.
- Whoever connects learns the others’ network address (that is how a direct connection works). Use it with people you trust.
Who sees what
VERB sees nothing: there is no VERB server in between, no accounts, no record of who plays. What goes through other places:
| Who | What they see | What they do not see |
|---|---|---|
| The network relays (the public Nostr, BitTorrent or MQTT ones, or the game author's) | The network address of whoever looks for or opens a room and an identifier of the room (made from the code and the game's fingerprint), only while players find each other. | Names, chat or anything of the game: that goes directly between players. |
| The STUN server (by default, a public one from Google) | The network address of whoever asks it. | Nothing of the game. |
| The author's TURN, if they set one up | The network address of whoever cannot connect directly and the traffic it relays, encrypted (it cannot read it). | The content of the game. |
| The other players in the room | Your network address, your name, your colour, what you write in the chat and what you do in the game. | Anything that is not part of the game. |
The connection between players is WebRTC, which is always encrypted. If you are the game's author and set up your own relays or TURN, you are the one who sees those addresses: tell your players on your game's page.
- Saved games are local to each player; the host’s also keeps the room’s seats (to continue another day).
With the AI agent
With the AI Agent (MCP) plugin, the agent can see the plugin exists, turn it on and configure it (list_plugins, set_plugin with settings: players, waiting room, chat, sounds, button text…) and read the guide (get_multiplayer_guide) before setting up a room or writing network scripts. With play_game {players: 2} it opens Test with 2 players.
If it will not connect
| Message or symptom | What to try |
|---|---|
| “We could not find the room” | Check the code (five letters) and that the host still has the room open. If a network (Nostr…) fails in your country or on your network, change the network in the plugin (BitTorrent, MQTT). Everyone uses the one the game chooses. |
| “Could not connect” after finding the room | Try without a VPN; both should have a STUN server in the plugin. On very restricted networks a TURN is needed: the game’s author sets it up in Connection (see The network) and Test the connection tells whether it relays. |
| You only connect inside the same house | That is normal without STUN. Add one in the plugin page. |
| “The room is full” / “The room is locked” | The host can raise the maximum in the plugin or press Unlock the room in their panel. |
| “The game has already started and this room does not let people join halfway” | The game has Players can join a game in progress turned off. You have to join from the waiting room. |
| A player does not see the others | You only see whoever is in your scene. Use Go to in the room panel. |
| In “Only tabs” the room is not found | Both tabs must be in the same browser and the same site. |
| “Your game is not the same as the host’s” | All players need the same game: the published one, or the same .verbproj file imported in each browser. Two copies created separately (for example, the same tutorial created twice) have different ids and cannot be played together. You do not need to publish. |
| Something happens twice | It is a script that runs once per player; protect it with “if I am the host”. |
Related tutorials
On the editor's home screen, Tutorials (all of them have the plugin turned on):
- Plaza with chat: A plaza with three places (the plaza, the tavern and the shop) to stroll through with several players, with chat, emojis and pings. Tested with two tabs of the same browser.
- Two-button door (cooperative): Two buttons that release on their own after 4 seconds and two players must press together: what one changes everyone sees with no messages, an announcement to everyone and an exit that gathers them.
- Duo (cooperative): Two roles that see different clues (Who sees it): Ana gives a fuse to Leo, they decide the code together in the panel conversation and meet at the exit.
- Duo 3D (cooperative): The same Duo in a 3D scene: each role's clues are pieces of the world and both players see each other at their height.