Setting Up the Room Module on the Server
Overview
The Room module can be set up on both TCP and UDP servers.
Setup
To expose built-in commands to the client, you can set up using the diarkisexec
package.
Add the following to your server's main function. Below is a sample setup for a UDP server. Note that the diarkisexec
setup function must be executed before calling diarkisexec.StartDiarkis()
.
For more details, please refer to the Diarkisexec API Reference.
It's recommended to use the server template for an easy server setup. You can start with it by referring to Diarkis Server Template.
最終更新