Ore Discovery Broadcast
⛏️ Broadcasts a message to the server whenever a player finds an ore vein.
介绍
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 blacklist file.
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.
Ore Blacklist
There is a blacklist.txt file available in the folder ./config/orediscoverybroadcast/. Here you can specify which ores shouldn’t be broadcasted when found, by adding an exclamation mark (!) in front of the line. Quartz is excluded by default:
Broadcast message colour config
Inside ./config/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):

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!
常见问题
Ore Discovery Broadcast 支持哪些 Minecraft 版本?
Ore Discovery Broadcast 支持 Minecraft Java 版 1.19.2–26.3,共 24 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Ore Discovery Broadcast 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Serilum 的其他作品
查看全部 →Collective
🎓 Collective 是 Serilum 所有模组共用的前置库,包含通用代码。
Starter Kit
📦 为加入世界的新玩家提供可配置的初始装备、物品、药水效果、Curios 和 Trinkets 饰品槽位和/或命令。兼容 FTB Team Islands。
Villager Names
为所有村民实体添加默认名称或自定义名称,让世界更加生动。
Double Doors
🚪 多个相同的双开门、活板门和栅栏门可以同时打开。

评论
登录后评论和评分