index.js 478 B

1234567891011121314
  1. "use strict";
  2. module.exports.NetworkMod = function (mod) {
  3. try {
  4. mod.require["tera-guide-core"].load(mod, {
  5. colors: { gui: {}, general: {} }, // color settings
  6. command: ["guide"], // module command
  7. chat_name: "Guide", // set chat author name for notices
  8. });
  9. } catch (e) {
  10. mod.error("Warning!\nDepended module \"tera-guide-core\" needed for TERA-Guide is not installed!\nPlease download and install: https://github.com/hsdn/tera-guide-core\n");
  11. throw e;
  12. }
  13. };