Terminal Bell Module

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

Previous topic - Next topic
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.


Place into your server's "modules" folder and put "<module src="<I>module_folder_name/module_file_name</I>" />" 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.
    <module src="modules/mod_bell" />

JavaScript Example:
if(chatMessage.indexOf("!admin") != -1) {

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