# Server Side Modding ## Mod Installation Place mods as individual directories inside `src/mods`. Each mod folder must contain a `manifest.xml` file at its top directory level. For example: `src/mods/MyFirstMod/manifest.xml` ## `manifest.xml` syntax The root node in `manifest.xml` is ``. It can include the following child nodes: * `` - item database manipulation * `` - store database manipulation (not implemented yet) * ... ### Item Database Manipulation `` may contain `` child nodes. Each of them defines one item modification. The modification type can be specified by the `action` attribute. The supported values are: * `add` - add new item * default if the `action` attribute is not present * `remove` - remove item * `replace` - replace item definition for an existed item ID `` may contain the following subnodes: * `` - item ID * if not used, the item ID will be retrieved from the item definition within `` * `` - specifies the store ID to which the item will be added * can be used multiple times * if not used, the item will not be added to any store * `` - item definition (syntax like the `` node in [src/Resources/items.xml](../Resources/items.xml)) * can be omitted in the `remove` action #### Example * remove the Toothless ticket item (item ID `8034`) * add a Night Furry Egg item (item ID `99999`) and add it to store (store ID `92`, for store description see comment in [src/Resources/store.xml](../Resources/store.xml)) * The item ID for new items should be unique to prevent mod collisions. The recommended format is: `prefix * 100000 + private_id`, where: * `prefix` must be grater than 0 to avoid collision with the original game and official SoDOff items * `prefix` is a unique mod author prefix * `private_id` ranges from 0 to 99999 and is available for unrestricted use by the author * for instance, if `prefix = 789` and `private_id = 123`, the item ID would be `78900123` ``` 8034 92 RS_DATA/DragonEgg.unity3d/PfEggDevilishDervish PetTypeID 17 99999 456 Dragons Dragon Egg 99999 550 Strike Class Eggs 99999 0 250 0 Tame the cunning and mischievous Night Furry in your stables RS_DATA/DragonEgg.unity3d/IcoEggDevilishDervish -1 99999 Night Furry Egg false false false 10 -1 0 0 ```