跳到正文

DisNotifier

作者:Antonio225

A mod that helps Minecraft server admins sending Discord messages when the Minecraft server is online.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。
Table of Content
  1. Italiano
  2. 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).

常见问题

DisNotifier 支持哪些 Minecraft 版本?

DisNotifier 支持 Minecraft Java 版 1.7.10,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

DisNotifier 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Antonio225 的其他作品

查看全部 →