• 因近日遭受攻击,百科现已限制新用户的编辑权限,一段时间后成为自动确认用户方可编辑。

EliteMobs/DiscordSRV广播

From Minecraft插件百科
Revision as of 13:17, 14 July 2020 by Qsefthuopq (talk | contribs) (创建页面,内容为“EliteMobs uses DiscordSRV to enable the broadcast of level 3 priority messages. You can read about the Announcement Priority System here. In essence, this means tha…”)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EliteMobs uses DiscordSRV to enable the broadcast of level 3 priority messages. You can read about the Announcement Priority System here.

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.

测试

You can use the command /em discord [message] to see if your configuration is working. If your message shows up, you're done!