Table of Content
Italiano
Italiano
Questa mod serve a informare gli utenti di Discord che il vostro server Minecraft è online (oppure offline)!
Come funziona
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.
Configurazione
Il file di configurazione è diviso in 5 categorie:
- general
- onstarting
- onstart
- onshutting
- onshut
La general tuttavia, è l'unica diversa.
General
username
- Tipo: Stringa
- Descrizione: Il nome del webhook.
avatarUrl
- Tipo: Stringa
- Descrizione: L'immagine del webhook.
webhook
- Tipo: Stringa
- Descrizione: Il link col token del webhook (non diffondete il link altrimenti altri prenderanno il controllo del vostro webhook).
editSended
- Tipo: Booleano
- Descrizione: Se acceso, quando invierà un messaggio modificherà il messaggio nel messageID invece di inviarne uno nuovo.
messageID
- Tipo: Stringa
- Descrizione: L'ID del messaggio che sarà modificato.
onstarting, onstart, onshutting, onshut
enabled
- Tipo: Booleano
- Descrizione: Se acceso, invierà il messaggio quando lo stato è attivato.
messageJSON
- Tipo: Stringa
- Descrizione: Il messaggio in JSON (potete costruirlo da discohook).
pingEnabled
- Tipo: Booleano
- Descrizione: Se acceso, invierà un altro messaggio che sarà cancellato. Utile per pingare un ruolo.
pingMessageJSON
- Tipo: Stringa
- Descrizione: Il messaggio in JSON che verrà cancellato.
pingMessageTime
- Tipo: Numero
- Descrizione: Il tempo in millisecondi (1000 = un secondo).
English
English
This mod helps you to inform the Discord users that your Minecraft server is online (or offline)!
How does it work
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.
Configuration
The configuration file is divided in 5 categories:
- general
- onstarting
- onstart
- onshutting
- onshut
The general anyways, is the only one different.
General
username
- Type: String
- Description: The name of the webhook.
avatarUrl
- Type: String
- Description: The avatar of the webhook.
webhook
- 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).
editSended
- Type: Boolean
- Descripion: If on, when the message will be sent, it will edit the messageID instead of sending a new one.
messageID
- Type: String
- Description: The ID of the message that will be edited.
onstarting, onstart, onshutting, onshut
enabled
- Type: Boolean
- Description: If on, a message will be sent when the state is active.
messageJSON
- Type: String
- Description: The message in JSON (you can build it on discohook).
pingEnabled
- Type: Boolean
- Description: If on, a message will be sent that will then be deleted. Useful for pinging a role.
pingMessageJSON
- Type: String
- Description: The message in JSON that will be deleted.
pingMessageTime
- Type: Number
- Description: The time in milliseconds (1000 = 1 second).
External resources
Featured versions
See allProject members
Antonio225
Owner