Set Up DM Module on Server
Last updated
Was this helpful?
Last updated
Was this helpful?
The DM module must be set up on all Diarkis servers used, including HTTP, UDP, and TCP.
Setup is easily completed by exposing built-in commands to the client.
To expose built-in commands to the client, you can easily set it up by using the diarkisexec
package.
Add the following code to the main function of your server. Below is a sample setup for a UDP server. The setup
function of diarkisexec
must be executed before calling diarkisexec.StartDiarkis()
.
For more details, please refer to the .
Since you can easily set up a server using a server template, we recommend you start by using this. Refer to Diarkis Server Template.