Skip to content

Feature mod initial

username-removed-1104575 requested to merge feature-mod-initial into staging

You can now create stand-alone mods for Isleward.

A mod should be contained in a single folder which is then added to the server/mods folder.

At minimum, a mod should have an index.js file with an init function for it to work.

Mods have access to this.folderName (to reference images the client needs to use). Also, this.relativeFolderName can be used when referencing extra scripts the mod uses (so you can require them).

Lastly, the index.js file has access to this.events for hooking into certain events in Isleward.

See the Necromancer Class Mod for an example of how to build a mod: https://gitlab.com/Isleward/ModNecromancer

Merge request reports