DisNotifier
A mod that helps Minecraft server admins sending Discord messages when the Minecraft server is online.
DisNotifier
Table of Content
<ol><li><a href="#italiano">Italiano</a></li><ul><li><a href="#come-funziona">Come funziona</a></li><li><a href="#configurazione">Configurazione</a><ul><li><a href="#general-it">General</a></li><li><a href="#others-it">onstarting, onstart, onshutting, onshut</a></li></ul></li></ul></li><li><a href="#english">English</a><ul><li><a href="#how-does-it-work">How does it work</a></li><li><a href="#configuration">Configuration</a><ul><li><a href="#general">General</a></li><li><a href="#others">onstarting, onstart, onshutting, onshut</a></li></ul></li></ul></li></ol>
***
Italiano
<h1 id="italiano">Italiano</h1>
Questa mod serve a informare gli utenti di Discord che il vostro server Minecraft è online (oppure offline)! <h2 id="come-funziona">Come funziona</h2>
Questa mod è completamente personalizzabile attraverso il file config `DisNotifier.cfg` che troverete nella cartella `config` come molti sapranno. È anche possibile eseguire un ghost ping su un ruolo (perché non è bellissimo mettere @everyone) quando il server è attivo o no. <h2 id="configurazione">Configurazione</h2>
Il file di configurazione è diviso in 5 categorie: * general * onstarting * onstart * onshutting * onshut
La general tuttavia, è l'unica diversa. <h3 id="general-it">General</h3>
Stringa * Tipo: Stringa * Descrizione: Il nome del webhook.
Stringa * Tipo: Stringa * Descrizione: L'immagine del webhook.
Stringa * Tipo: Stringa * Descrizione: Il link col token del webhook (non diffondete il link altrimenti altri prenderanno il controllo del vostro webhook).
messageID * Tipo: messageID * Descrizione: Se acceso, quando invierà un messaggio modificherà il messaggio nel messageID invece di inviarne uno nuovo.
Stringa * Tipo: Stringa * Descrizione: L'ID del messaggio che sarà modificato. <h3 id="others-it">onstarting, onstart, onshutting, onshut</h3>
Booleano * Tipo: Booleano * Descrizione: Se acceso, invierà il messaggio quando lo stato è attivato.
Stringa * Tipo: Stringa * Descrizione: Il messaggio in JSON (potete costruirlo da Stringa).
Booleano * Tipo: Booleano * Descrizione: Se acceso, invierà un altro messaggio che sarà cancellato. Utile per pingare un ruolo.
Stringa * Tipo: Stringa * Descrizione: Il messaggio in JSON che verrà cancellato.
Numero * Tipo: Numero * Descrizione: Il tempo in millisecondi (1000 = un secondo).
English
<h1 id="english">English</h1>
This mod helps you to inform the Discord users that your Minecraft server is online (or offline)! <h2 id="how-does-it-work">How does it work</h2>
This mod is completaly customizzable throught the `DisNotifier.cfg` config file that you'll in the `config` folder as many knows. It's possible to make a ghost ping on a role (because it's not cool to ping @everyone) when the server is on or not. <h2 id="configuration">Configuration</h2>
The configuration file is divided in 5 categories: * general * onstarting * onstart * onshutting * onshut
The general anyways, is the only one different. <h3 id="general">General</h3>
String * Type: String * Description: The name of the webhook.
String * Type: String * Description: The avatar of the webhook.
String * Type: String * Description: The link with the token of the webhook (do not share this link or other people may take the control over your webhook).
messageID * Type: messageID * Descripion: If on, when the message will be sent, it will edit the messageID instead of sending a new one.
String * Type: String * Description: The ID of the message that will be edited. <h3 id="others">onstarting, onstart, onshutting, onshut</h3>
Boolean * Type: Boolean * Description: If on, a message will be sent when the state is active.
String * Type: String * Description: The message in JSON (you can build it on String).
Boolean * Type: Boolean * Description: If on, a message will be sent that will then be deleted. Useful for pinging a role.
String * Type: String * Description: The message in JSON that will be deleted.
Number * Type: Number * Description: The time in milliseconds (1000 = 1 second).