Yet Another MOTD script for TES3MP.
This should be considered a sample project structure for a script that allows user-configuration with DataManager, as well as event hooks.
Place this repo into your
Add the following to
... -- DataManager needs to before YAM, like this DataManager = require("custom/DataManager/main") require("custom/tes3mp-yam/main")
DataManager loads before this mod as seen above.
Optionally configure YAM by editing the
CoreScripts/data/custom/__config_YAM.json file (see below).
String. Text to show for the confirmation button. Default:
Boolean. Whether or not to only print the MOTD in the chat box. Default:
String. The MOTD to print. Default:
#008000This is the default MOTD for YAM!\n\nYou should change it.#FFFFFF
Boolean. Whether or not to also print the MOTD in the chat box. Default: