Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_dlHTATzg.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
ChainmailSieve - 墨喵 Minecraft 资源
ChainmailSieve 图标

ChainmailSieve

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.1.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/chainmailsieve
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: paper purpur

标签: equipment game-mechanics

资源介绍
YouTube视频封面

ChainmailSieve

ChainmailSieve is a lightweight Paper plugin that gives chainmail helmets a special survival mechanic.

When a player wearing a chainmail helmet is hit on the head by a falling block of sand, red sand, or gravel, the block breaks instantly instead of placing normally. The block drops as an item, the helmet loses durability, and a small impact effect is played using in-game particles and block break sounds.

No client-side mod is required.

Features

  • Breaks falling SAND, RED_SAND, and GRAVEL on contact with a chainmail helmet
  • Drops the broken block as an item instead of placing it in the world
  • Damages the helmet using normal Minecraft durability behavior
  • Plays falling_dust particles and the matching block break sound
  • Supports permission-based control through standard Bukkit permission nodes
  • Works with permission managers such as LuckPerms without requiring a direct dependency

How It Works

If a falling supported block collides with the helmet area of a player wearing a chainmail helmet:

  1. The falling block is removed before it can place normally
  2. The corresponding block item is dropped
  3. The helmet loses durability
  4. Visual and sound effects are played at the impact point

Configuration

The plugin creates a config.yml file automatically on first startup.

Default config:

enabled: true

debug:
  enabled: false

durability-cost: 1

supported-materials:
  - SAND
  - RED_SAND
  - GRAVEL

permissions:
  use: chainmailsieve.use
  bypass: chainmailsieve.bypass
  admin: chainmailsieve.admin

effects:
  particles:
    enabled: true
    count: 18
    offset: 0.18
    extra: 0.0
  sound:
    enabled: true
    volume: 1.0
    pitch: 1.0

messages:
  reloaded: "&aChainmailSieve config reloaded."
  no-permission: "&cYou do not have permission to use this command."
  usage: "&eUsage: /chainmailsieve reload"

Config Options

  • enabled: Enables or disables the entire mechanic
  • debug.enabled: Enables debug logging for troubleshooting
  • durability-cost: How much durability is consumed per impact
  • supported-materials: List of falling block types that can be broken by the helmet
  • permissions.*: Permission nodes used by the plugin
  • effects.particles.*: Controls the falling_dust impact effect
  • effects.sound.*: Controls the block break sound effect
  • messages.*: Messages used by the reload command

Commands

  • /chainmailsieve reload
  • Alias: /cms reload

Reloads the plugin configuration without restarting the server.

Permissions

  • chainmailsieve.use
    Allows the mechanic for a player. Default: true
  • chainmailsieve.bypass
    Prevents the mechanic from affecting a player. Default: false
  • chainmailsieve.admin
    Allows use of the reload command. Default: op

LuckPerms

ChainmailSieve uses normal Bukkit permission nodes, so it works with LuckPerms out of the box.

Example:

/lp user Steve permission set chainmailsieve.use true
/lp user Steve permission set chainmailsieve.bypass false

Compatibility

  • Minecraft: 1.21.11
  • Server software: Paper
  • Likely compatible with modern Paper forks such as Purpur and Pufferfish, but officially developed and tested for Paper
  • Not designed for Spigot, CraftBukkit, or Folia
  • Java: 21+

Installation

  1. Download the plugin jar
  2. Put it into your server's plugins folder
  3. Start or restart the server
  4. Edit plugins/ChainmailSieve/config.yml if needed
  5. Use /chainmailsieve reload after changing the config

Notes

  • The mechanic only works when the player is actually wearing a chainmail helmet
  • Players with the bypass permission are ignored by the mechanic
  • If you are using a permission plugin, make sure chainmailsieve.bypass is not granted by mistake
下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Haze PBR

价格:0 墨喵币
下载量:0

查看详情
Cobblemon: ASAS - Trainer's Influence

价格:0 墨喵币
下载量:0

查看详情
Custom Durability (NBT)

价格:0 墨喵币
下载量:0

查看详情
Tycoon's Moon

价格:0 墨喵币
下载量:0

查看详情