Terminal Bell Module

Started by Vortrex, May 18, 2022, 10:23:42 PM

Previous topic - Next topic

Vortrex

This is a simple terminal bell module for those who want to use it for their server. Most of the functions have been lightly tested, but if you run into any issues please report them on the GitHub issues page for the repository.

Download:
https://github.com/VortrexFTW/mod_bell/releases

Instructions:
Place into your server's "modules" folder and put "<module src="module_folder_name/module_file_name" />" into the modules section of your server XML. Be sure to include the folder your modules are stored in (it's relative to the main server directory) and do not include a file extension.
<modules>
    <module src="modules/mod_bell" />
</modules

JavaScript Example:
if(chatMessage.indexOf("!admin") != -1) {
module.bell.ring();
}

Available Functions:
bool = module.bell.ring(void);

JessicaDaniels