This is a collection of examples to help with learning how to develop custom Rust plugins.
Currently developed and tested on:
- Visual Studio 2019
- uMod v2.0.4374 or later (12/6/2019)
- Install the Rust dedicated server for local development
- Download and extract the uMod files into any directory.
- Copy the extracted uMod files into your server installation directory. Use the uMod installation guide for reference.
-
git clone
this repo. - Additionally copy the extracted uMod files into your repo's
lib
directory. The path should look likelib/RustDedicated_Data/Managed
. - Copy the
resources/start.bat
batch script into your server installation so it's next toRustDedicated.exe
- Open the solution file in Visual Studio.
- Right click on the SurvivalRoyale project, select properties, and edit the output path in the post-build copy event so your source files are copied into your server plugins directory.
- Build the project.