Difference between revisions of "Modding"

From Isleward Wiki
Jump to navigation Jump to search
(added disambiguation)
(code samples section)
Line 1: Line 1:
 
= Modding =
 
= Modding =
 
''Modding may refer to multiple things in [[Isleward]]. See [[Modding (disambiguation)]] for more information.''
 
''Modding may refer to multiple things in [[Isleward]]. See [[Modding (disambiguation)]] for more information.''
 +
 +
{{wip}}
  
 
Isleward allows for server-side mods by dropping a "modpack" into the server source.
 
Isleward allows for server-side mods by dropping a "modpack" into the server source.
Line 27: Line 29:
 
* onBeforeGetZone
 
* onBeforeGetZone
  
{{wip}}
+
== Code Samples ==
 +
Below are some code samples for common things to do in mods.
 +
 
 +
<!-- i'm going to finish this later -->
 +
<!-- === Give a player an item ===
 +
<pre></pre> -->

Revision as of 15:20, 13 December 2017

Modding

Modding may refer to multiple things in Isleward. See Modding (disambiguation) for more information.

WIP: This article is a work in progress, meaning that it is being worked on but is unfinished. You can help by editing it.

Isleward allows for server-side mods by dropping a "modpack" into the server source.

Using Mods

You can use a modpack by dropping it into the "mods" folder of the server source code.

Events

A list of events available:

  • onAfterGetLayerObjects
  • onBeforeBuildLayerTile
  • onBeforeGetAnimations
  • onBeforeGetClasses
  • onBeforeGetDialogue
  • onBeforeGetEventList
  • onBeforeGetFactions
  • onBeforeGetHerbConfig
  • onBeforeGetItemTypes
  • onBeforeGetMtxList
  • onBeforeGetQuests
  • onBeforeGetResourceList
  • onBeforeGetSkins
  • onBeforeGetSpellsConfig
  • onBeforeGetSpellsInfo
  • onBeforeGetSpellTemplate
  • onBeforeGetZone

Code Samples

Below are some code samples for common things to do in mods.