Set Up Session Module on Server
Last updated
Was this helpful?
Last updated
Was this helpful?
The Session module can be set up on both TCP and UDP servers.
To expose built-in commands to the client, you can use the diarkisexec
package for setup.
Add the following to your server's main function. Below is an example of setting up on a UDP server. The setup
function from diarkisexec
must be executed before calling diarkisexec.StartDiarkis()
.
For more details, please refer to the .
Since you can easily start a server using the server template, it is recommended to use this first. Refer to Diarkis Server Template.