index.js 529 B

123456789101112131415
  1. "use strict";
  2. module.exports.NetworkMod = function (mod) {
  3. try {
  4. mod.require["tera-guide-core"].load(mod, {
  5. languages: ["en", "ru"], // supported languages
  6. colors: { gui: {}, general: {} }, // color settings
  7. command: ["guide"], // module command
  8. chat_name: "Guide", // set chat author name for notices
  9. });
  10. } catch (e) {
  11. 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");
  12. throw e;
  13. }
  14. };