How To Set Up Diarkis Field On The Server

We explain how to set up Diarkis Field on the server so that the clients may call on the built-in Diarkis Field commands.

How to  Set Up Diarkis Field

Diarkis Field can only be set up on TCP, UDP, and WS servers.

Setting up Diarkis Room on the server is very simple. You simply need to expose built-in commands.

How To Expose Built-in Commands

To expose the built-in Diarksi Field built-in commands, you must add the following lines of code to your main function of the server BEFORE invoking diarkis.Start().

// Required package
// github.com/Diarkis/diarkis/field

field.ExposeCommands()