Servers and multiplayer
What Body Language does on servers with and without it, what players without the mod see, and what the server does.
Who sees what
| Server has Body Language | Server doesn’t | |
|---|---|---|
| You have it | You and everyone nearby with the mod see your emotes. Hugs, high-fives and dancing in step work. | Only you see your emotes. |
| You don’t | You can join; you just don’t see emotes. | Nothing changes. |
Players who walk up while you’re in the middle of an emote see it too: it starts for them partway through, right where you are.
Installing on a server
Put the same Body Language jar in the server’s mods folder and restart. There’s nothing to set up: no server
settings, no commands to run and no permissions.
Players don’t need the mod to join, so it’s safe to add to a server where only some players use it.
Mixing versions
Body Language 1.1 and 1.0 work together in both directions: a 1.1 server with 1.0 players, or a 1.0 server with 1.1 players. Everything from 1.0 works for everyone. What needs 1.1 on the server is showing other players a dance you joined in step (on a 1.0 server you’re in step on your own screen, and start from the beginning on theirs), and new emotes only show for players who have 1.1 themselves. Update the server and everyone’s game when you can.
What the server does
The server only passes emotes on to nearby players. It doesn’t need the emote files, so emotes added by a resource pack work on any server with the mod, as long as the players watching have the same pack.
To stop anyone flooding everyone else, the server passes on at most four emotes every two seconds from each player and ignores the rest. It also handles hug and high-five requests and lines the two players up, and when someone joins a dance in step it tells everyone else how far in they started.
For server mods
Other mods on the server can react when a player starts or stops an emote. See For mod developers.