dc_set_nickname

dc_set_nickname(user,server,name,reason?)#

Blocking function

This function is blocking, meaning it can freeze the game. Use it in a task to avoid freezing your game.

Sets the nickname of the user on the server. If provided, reason will be shown in the audit log of your server.

Throws an exception on failure