Scripts
A repository of scripts for ModernUO
Getting Started
- Clone this repository
- Run
git submodule update --init
Creating a drop-in script
- Make a copy of the
Scripts\Template
folder and name it the name of your feature. - Rename
Template.csproj
in your new folder to the same name as the folder. - Open
Visual Studio
orRider
and add an existing project. Choose the new csproj file you just renamed. - Start building the code!
Submitting your drop-in
- Fork this repository.
- Create your drop-in script on a branch.
- Push the branch and changes to your fork.
- Make sure you update the MODIFICATIONS file.
- Join our Discord and ask for help if you are unsure.
- Submit a Pull Request
Tracking changes (GPL compliance)
If your drop-in makes modifications to a ServUO
or ModernUO
file or another project that requires tracking changes
then you will need to create a MODIFICATIONS
file. See the modifications file in the Template
project as an example.
This uses the following format:
<path to file> <git repo>/<commit>/<path to original file>
You can find the hash of the file in Github by clicking the partial hash next to the History
button:
You can find the path to the file by clicking the clipboard button for that file on the same page: