

Ore Discovery Broadcast 是一款专为服务器环境设计的模组,但同样可用于单人游戏或局域网世界。每当玩家挖掘矿石时,系统会广播一条消息。同一类矿石的消息之间可配置延迟时间。消息的格式和颜色均可自定义。还可以通过配置文件中的游戏内矿石选择器,指定哪些矿石需要广播,哪些不需要。
这有助于增强玩家间的互动,让大家了解彼此在做什么以及发现了哪些矿石。该模组也可作为反透视作弊(xray-prevention)的有效手段,因为当玩家以不自然的方式频繁发现钻石时,这种行为非常明显。默认情况下,此功能仅在专用服务器上启用。若要在其他环境中使用,可将配置文件中的 'onlyRunOnDedicatedServers' 设置为 false。玩家放置的矿石方块不会触发广播。





所有可用的配置选项:
Show Spoiler
onlyRunOnDedicatedServers 默认值 true
模组是否仅在专用服务器上运行。启用后,在单人世界时不会发送。
ignorePlacedOreBlocks 默认值 true
是否忽略玩家放置的矿石方块以进行广播。
tickDelayBetweenSameOreBroastcasts 默认值 600,最小值 0,最大值 72000
在发送另一次广播之前,发现相同矿石之间需要经历的刻数。当挖掘相同的方块时会重置。20 刻 = 1 秒
messageFormat 默认值 "%player% has found %ore%!"
广播消息的格式。%player% = 玩家名称,%ore% = 矿石名称
lowercaseOreName 默认值 true
是否以小写字母显示矿石名称。
addOreCountToMessage 默认值 false
广播消息是否应包含矿脉的大小。将包含在 %ore% 中。
hideDeepslateFromName 默认值 true
如果存在“deepslate”(深板岩),是否将其从矿石名称中隐藏。
ignoreCreativePlayers 默认值 true
如果启用,当玩家处于创造模式时,不会宣布发现矿石。
ignoreFakePlayers 默认值 true
如果启用,当由模拟假玩家破坏时,不会宣布发现矿石。
oreBlockBlacklist 默认值 "*quartz*"
永不广播的矿石 ID 列表,以逗号分隔。使用 * 作为通配符。
Broadcast message colour config
在 ./config/serilum/orediscoverybroadcast/. 内部还有一个名为 colourmap.txt 的文件。在这里你可以为特定矿石指定颜色。包含默认值。
其他模组的矿石也会显示,默认颜色为蓝色 (9)。
也可以通过游戏内的 Mods -> Ore Discovery Broadcast -> Config,在 'Extra Config Files' 选项卡中编辑颜色:


这里可以看到向服务器广播的消息。挖掘多个相同的矿石只显示一条消息。挖掘不同的矿石会显示多条:
Show Spoiler

另一个挖掘多个煤炭矿石的例子:
Show Spoiler

此处配置中的消息格式已更改。内容和颜色均可自定义:
显示剧透

可以为每种矿石设置不同的颜色:
显示剧透

以下是一个启用了 addOreCountToMessage 配置选项的示例。广播消息中将包含矿脉中包含的矿石数量:
Show Spoiler


只要下载源仍托管在 CurseForge 或 Modrinth 生态内,您可以自由将此模组用于任何整合包。
Serilum.com 提供了所有可用模组的概览及更多信息。
如有问题、想法、建议或其他反馈,请访问 GitHub 仓库。谢谢!


Ore Discovery Broadcast is a mod made specifically for server environments, but can still be used in singleplayer or LAN worlds. Whenever a player mines an ore, a message is broadcasted. With a configurable delay in between messages from the same ore. The format and colour of the message can be changed. It's also possible to choose which ores should be broadcasted, and which shouldn't, via the config with an in-game ore picker.
Allows for more interaction between players, seeing what others are doing and which ores they find. The mod is also a viable solution as xray-prevention. As it's very noticable when a player keeps finding diamonds in an unnatural way. By default, the functionality is only enabled in dedicated servers. Can be changed by setting 'onlyRunOnDedicatedServers' in the config to false. Placed ore blocks by players will not be broadcasted.





All available config options:
Show Spoiler
onlyRunOnDedicatedServers default true
If the mod should only run on dedicated servers. When enabled it's not sent when in a singleplayer world.
ignorePlacedOreBlocks default true
If ore blocks placed by players should be ignored for broadcasts.
tickDelayBetweenSameOreBroastcasts default 600, min 0, max 72000
How many ticks in between ore discoveries before another broadcast is sent. Resets when the same block is mined. 20 ticks = 1 second
messageFormat default "%player% has found %ore%!"
The format of the broadcasted message. %player% = player name, %ore% = ore name
lowercaseOreName default true
Whether the ore name should be displayed in lowercase characters.
addOreCountToMessage default false
If the broadcasted message should contain how big the ore vein is. Will be included in %ore%.
hideDeepslateFromName default true
Whether the ore name should have 'deepslate' hidden if it exists.
ignoreCreativePlayers default true
If enabled, ore discoveries won't be announced when a player is in creative mode.
ignoreFakePlayers default true
If enabled, ore discoveries won't be announced when it is broken by a simulated fake player.
oreBlockBlacklist default "*quartz*"
A comma separated list of ore ids that are never broadcast. Use * as a wildcard.
Broadcast message colour config
Inside ./config/serilum/orediscoverybroadcast/. there is also a file called colourmap.txt. Here you can specify what colour should be set for specific ores. Contains default values.
Ores from other mods will also be shown, with the default colour blue (9).
The colours can also be edited in-game via Mods -> Ore Discovery Broadcast -> Config, in the 'Extra Config Files' tab:


Here you can see the message being broadcast to the server. Mining multiple of the same ores only shows one message. Mining different ores shows multiple:
Show Spoiler

Another example with mining multiple coal ore:
Show Spoiler

Here the message format has been changed in the config. The content and colour is configurable:
Show Spoiler

A different colour can be set for each ore:
Show Spoiler

Here's an example with the 'addOreCountToMessage' config option enabled. The broadcasted message will contain how many ores are included in the vein:
Show Spoiler


You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
评论 0
登录后参与评分
还没有评论,来抢沙发吧