跳到正文

SacredCows

作者:voidfemme

SacredCows is a configurable Minecraft Fabric mod that punishes players for harming cows with customizable consequences and keeps detailed statistics of cow-related offenses.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

SacredCows

Logo of minecraft cow with halo

A configurable Fabric mod that gives cattle divine status as stewards of the
earth. Punishes cow-assaulters and gives cow-friends special buffs!

Features

  • (NEW!) Teleport to your favorite cow by naming the cow, and milking her! Drinking the milk will bring you back to your bovine companion’s side.
  • Configurable punishments: (instant) death, damage, or lightning-only
  • Custom death messages with player name placeholders
  • Cosmetic lightning effects (won’t harm cows)
  • Scoreboard tracking for cow assaults and kills
  • Projectile protection (arrows, snowballs, etc.)
  • OP-level bypass for admins

Installation

  1. Install a Fabric server with Fabric API.
  2. Drop the JAR into your mods/ folder.
  3. Restart the server.
  4. Optionally edit config/sacredcows.properties to customize behavior.

Commands

| Command | Description | Permission |
| ————————————————————- | —————————————————- | ———- |
| /sacredcows | Show help | Everyone |
| /sacredcows help | Show help | Everyone |
| /sacredcows enabled <true\|false> | Enable or disable the mod | Operator |
| /sacredcows bypass <true\|false> | Toggle admin bypass | Operator |
| /sacredcows debug <true\|false> | Toggle debug logging | Operator |
| /sacredcows lightning_effect <true\|false> | Toggle lightning visual | Operator |
| /sacredcows punishment_type <death\|damage\|lightning_only> | Set punishment type | Operator |
| /sacredcows print_config | Show current config with unsaved changes highlighted | Everyone |
| /sacredcows save_config | Write current settings to file | Operator |
| /sacredcows reload_config | Reload settings from file | Operator |
| /sacredcows stats player <name> | Show stats for a player | Everyone |
| /sacredcows stats global | Show server-wide totals | Everyone |

Admin commands require OP level 2 by default (configurable).

Configuration

The mod creates config/sacredcows.properties on first run. Key settings:

settings.enabled=true
settings.punishment-type=death        # death, damage, or lightning_only
settings.damage-amount=10.0
settings.lightning-effect=true
settings.custom-death-messages=true
settings.allow-bypass=true
settings.bypass-op-level=2
settings.admin-op-level=2

scoreboard.enabled=true
scoreboard.track-assaults=true
scoreboard.track-kills=true

# Custom death messages — edit manually, %player% is replaced with the player's name
death-messages.0=%player% was moo-rdered for their bovine crimes
death-messages.1=%player% faced divine bovine retribution

Use /sacredcows save_config to persist changes made via commands. Changes take effect immediately without saving.

Compatibility

  • Minecraft: 26.1
  • Fabric Loader: 0.18.6
  • Java: 25

License

No formal license. Use it however you want.

常见问题

SacredCows 支持哪些 Minecraft 版本?

SacredCows 支持 Minecraft Java 版 1.21.7–26.3,共 10 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

SacredCows 怎么安装?

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

评论

登录后评论和评分