Module

{ "IsEnabled": true, "Name": "UnturnedExampleMod", "Version": "2.1.0.3", "Assemblies": [ { "Path": "/UnturnedExampleModule.dll", "Role": "Both_Required" }, { "Path": "/UnturnedExampleModuleCommands.dll", "Role": "Server" } ], "Dependencies": [ { "Name": "Core", "Version": "3.0.0.0" }, { "Name": "OtherMod", "Version": "2.5.0.0" } ] }

All module files go in the Unturned/Modules directory. For security reasons they are not allowed on the Steam Workshop, but they are fairly straightforward to install.To get started you can create a folder to house your module. Inside of this you will have any number of *.module files which show in the Workshop/Modules window or when using the "Modules" command.Below is an example of a .module file, in this case saved as Example.module, and here are the explanations of what each variable does:IsEnabled gets set by the game from the modules menu, or you can alter it manually for example to temporarily disable a module on the server.Name is the linked identifier for this module. Other modules will use this name for their dependencies, so do not change it. You can change the display name in the localization files.Version represents main.major.minor.patch. It is displayed and used for dependencies and checking installed modules when joining a server.Assemblies are a list of the .dll files which make up the actual code of your module. Path is relative to the folder the .module file is in. Role can be set to Client, Server, Both_Optional and Both_Required. Client assemblies aren't loaded on the dedicated server and vice versa. Both_Optional is for cases where a client can safely join the server even if they don't have the module, maybe showing error messages when interacting with missing features. Both_Required is for total conversions where missing the assembly breaks everything, so clients are rejected from the server.Dependencies are a list of modules that must be loaded before this one. The load order is automatically calculated. If a module with that name and at least that version aren't available this module isn't loaded.Additionally alongside your .module file(s) you can include localization .dat with a "Name" and "Description" key and an "Icon.png" shown in the menu.