• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“EliteMobs/DiscordSRV广播”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
 
(没有差异)

2020年7月14日 (二) 13:25的最新版本

EliteMobs使用DiscordSRV来广播优先度为3级的消息。 你可以在这里查看公告优先度系统。

In essence, this means that some very special Custom Bosses are able to send messages on Discord in a way that looks like this:

Emd1.png

The intention is to create a dedicated EliteMobs announcement room that players can take a look at to see if there's any interesting World Bosses currently alive that they can go kill and show off that they did in the kill leaderboard.

安装

安装DiscordSRV

DiscordSRV is a different plugin not developed by me. You can find their extensive setup guide here. If you have a hard time setting it up, their support room is here. I am not able to provide support for this plugin, so please refer to them for this part of the installation.

设置EliteMobs和DiscordSRV配置

Once you've correctly configured DiscordSRV (and you have to test to see if it's really working before you move to this step), the EliteMobs configuration only has 1 step.

Go to the DiscordSRV.yml configuration file on the EliteMobs configuration folder and you will find a configuration option called announcementRoomName.

There are three values you can use for this message. I recommend #1.

  1. [Recommended] The name of the room as you configured it on the DiscordSRV configuration file. It does not matter what you called the room, only that you use the correct name. Here's an example of the room I configured to be dedicated to EliteMobs events:  In my case, the option should read announcementRoomName: "";

Emd2.png

  1. The ID of the room as you configured it on the DiscordSRV configuration file. Here's an example of the room. Please note that each room is unique. I am only showing pictures as an example, do not try to copy the ID numbers. It will not work. Your setup should have a unique set of numbers based on your discord room id.

Emd3.png

  1. [Bad] The name of your room as it appears on discord. This is not guaranteed to work correctly due to a number of factors. Keep in mind that your discord room must be set up on DiscordSRV's config files - just because you can put the name of the room in this configuration file does not mean you can skip configuring it on DiscordSRV.

测试

你可以使用 /em discord [message] 来查看你的配置是否有效。如果显示消息则有效。