目录
- 意大利语
- 英语
意大利语
意大利语
此模组用于向 Discord 用户通知您的 Minecraft 服务器已上线(或离线)!
工作原理
正如大家所知,您可以通过位于 config 文件夹中的配置文件 DisNotifier.cfg 完全自定义此模组。当服务器在线或离线时,还可以对某个角色进行幽灵 ping(毕竟直接 @everyone 并不酷)。
配置
配置文件分为 5 个类别:
- general
- onstarting
- onstart
- onshutting
- onshut
不过,general 是唯一的特殊类别。
通用设置
username
avatarUrl
webhook
- 类型:字符串
- 描述:包含 Webhook Token 的链接(请勿泄露此链接,否则其他人可能会接管您的 Webhook)。
editSended
- 类型:布尔值
- 描述:如果开启,发送消息时将修改 messageID 指定的消息,而不是发送新消息。
messageID
onstarting, onstart, onshutting, onshut
enabled
- 类型:布尔值
- 描述:如果开启,当状态激活时将发送消息。
messageJSON
pingEnabled
- 类型:布尔值
- 描述:如果开启,将发送一条随后会被删除的消息。这对于 ping 某个角色很有用。
pingMessageJSON
- 类型:字符串
- 描述:将被删除的 JSON 格式消息。
pingMessageTime
- 类型:数字
- 描述:时间毫秒数(1000 = 1 秒)。
英语
英语
此模组可帮助您通知 Discord 用户您的 Minecraft 服务器已上线(或离线)!
工作原理
众所周知,您可以通过位于 config 文件夹中的配置文件 DisNotifier.cfg 完全自定义此模组。当服务器在线或离线时,还可以对某个角色进行幽灵 ping(毕竟直接 @everyone 并不酷)。
配置
配置文件分为 5 个类别:
- general
- onstarting
- onstart
- onshutting
- onshut
不过,general 是唯一的特殊类别。
通用设置
username
avatarUrl
webhook
- 类型:字符串
- 描述:包含 Webhook Token 的链接(请勿泄露此链接,否则其他人可能会接管您的 Webhook)。
editSended
- 类型:布尔值
- 描述:如果开启,发送消息时将修改 messageID 指定的消息,而不是发送新消息。
messageID
onstarting, onstart, onshutting, onshut
enabled
- 类型:布尔值
- 描述:如果开启,当状态激活时将发送消息。
messageJSON
pingEnabled
- 类型:布尔值
- 描述:如果开启,将发送一条随后会被删除的消息。这对于 ping 某个角色很有用。
pingMessageJSON
- 类型:字符串
- 描述:将被删除的 JSON 格式消息。
pingMessageTime
- 类型:数字
- 描述:时间毫秒数(1000 = 1 秒)。
Table of Content
- Italiano
- English
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).
评论 0
登录后参与评分
还没有评论,来抢沙发吧