Modding:Network API: Difference between revisions

From Vintage Story Wiki
(→‎ProtoContracts: Add link to Modding:Serialization_Formats)
(Add a link to https://github.com/bluelightning32/vs-protocol)
Line 15: Line 15:
<!--T:5-->
<!--T:5-->
We will create a server command that will send out a message to all clients, and if a client receives this, it will send a response back to the server; upon receiving this response, the server will display it along with the responding client's player name.
We will create a server command that will send out a message to all clients, and if a client receives this, it will send a response back to the server; upon receiving this response, the server will display it along with the responding client's player name.
If something goes wrong, Wireshark with the [https://github.com/bluelightning32/vs-protocol vs-protocol] dissector is a helpful debug tool.


== Preparation == <!--T:6-->
== Preparation == <!--T:6-->