Changes

Jump to navigation Jump to search
m
Text replacement - "''e.g.,''[^\s]" to "''e.g.,'' "
Line 91: Line 91:     
==Message sending==
 
==Message sending==
You can send messages using [[Modding:Modder Guide/APIs/Multiplayer|the multiplayer API]], with a destination ranging from very narrow (''e.g.,'' one mod on one connected computer) to very broad (all mods on all computers). Messages can also be sent to the current computer, ''e.g.,''to communicate between two mods. This can be used for a variety of integrations.
+
You can send messages using [[Modding:Modder Guide/APIs/Multiplayer|the multiplayer API]], with a destination ranging from very narrow (''e.g.,'' one mod on one connected computer) to very broad (all mods on all computers). Messages can also be sent to the current computer, ''e.g.,'' o communicate between two mods. This can be used for a variety of integrations.
    
For example:
 
For example:
 
* Request something from a host mod. (Tractor Mod uses this to summon a tractor to the current player in multiplayer, even if the tractor isn't in a location synced to that player.)
 
* Request something from a host mod. (Tractor Mod uses this to summon a tractor to the current player in multiplayer, even if the tractor isn't in a location synced to that player.)
 
* Notify another mod about something. (Chests Anywhere uses this to notify Automate when a chest's automation options are edited.)
 
* Notify another mod about something. (Chests Anywhere uses this to notify Automate when a chest's automation options are edited.)
105,667

edits

Navigation menu