/ModernUOScripts

Primary LanguageC#GNU General Public License v3.0GPL-3.0

Scripts

A repository of scripts for ModernUO

Getting Started

  1. Clone this repository
  2. Run git submodule update --init

Creating a drop-in script

  1. Make a copy of the Scripts\Template folder and name it the name of your feature.
  2. Rename Template.csproj in your new folder to the same name as the folder.
  3. Open Visual Studio or Rider and add an existing project. Choose the new csproj file you just renamed.
  4. Start building the code!

Submitting your drop-in

  1. Fork this repository.
  2. Create your drop-in script on a branch.
  3. Push the branch and changes to your fork.
  4. Make sure you update the MODIFICATIONS file.
    • Join our Discord and ask for help if you are unsure.
  5. 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: