Setup DM Module on Server
Overview
The DM module must be set up on all Diarkis servers you intend to use (HTTP, UDP, TCP).
The setup can be easily completed by exposing built-in commands to the client.
Setup
To expose built-in commands to the client, you can easily set up using the diarkisexec package.
Add to the server's main function as shown below. The example below is a sample setup for a UDP server. The setup function of diarkisexec must be executed before calling diarkisexec.StartDiarkis()
.
For details, please refer to the API reference for diarkisexec.
Since you can easily launch servers using a server template, it is recommended to start with this. Diarkis Server Template
Last updated