? PiglinSMP
将猪人交易转化为完整的自定义战利品与武器系统。
⚡ 简介
PiglinSMP 添加了独特的自定义武器,只能通过猪人交易获取。
每把武器都包含专为 SMP 和 PvP 玩法设计的特殊能力、效果和战斗机制。
所有内容均可通过 config.yml 进行完全配置,无需重新编译插件。
✨ 特性
- ? 自定义猪人交易奖励
- ⚔ 7 种独特的自定义武器
- ? 可配置的掉落率
- ? 特殊的战斗能力
- ? 完全可自定义的配置
- ⚡ 轻量且优化良好
- ? 无需依赖项
- ? 支持热重载
? 兼容性
- ✅ Minecraft 1.21 → 1.21.x
- ✅ Spigot / Paper
- ✅ SMP & PvP 服务器
- ✅ 无依赖项
⚔ 自定义武器
? Nether Unstable Bow
随机投射物效果:
爆炸、火焰、缓慢或普通箭矢。
稀有度: 普通 — 1.5%
☠ Poison Blade
根据连续命中次数施加最高 III 级的叠加中毒效果。
稀有度: 常见 — 1.7%
? Thief Dagger
命中时从敌人背包中窃取随机物品。
稀有度: 普通 — 1.2%
⏳ Sword of Time
减缓敌人速度,并可暂时将其完全冻结。
稀有度: 稀有 — 0.7%
? Berserker Sword
积累怒气层数以增加速度和伤害,但会面临虚弱效果的风险。
稀有度: 稀有 — 0.8%
? Piglin Judgment Sword
根据目标背包内黄金的数量造成额外伤害。
最大加成: +15 伤害
稀有度: 极稀有 — 0.1%
? Trickster Staff
触发随机效果,如隐形、中毒、漂浮、失明等。
稀有度: 常见 — 1.8%
? CustomModelData 支持
PiglinSMP 内置了 CustomModelData 值,
允许资源包制作者轻松为每种武器添加自定义纹理和模型。
您可以直接在资源包的 JSON 覆盖文件中将这些 ID 用作键。
nether_unstable_bow → 586
poison_blade → 587
thief_dagger → 588
time_sword → 589
berserker_sword → 590
piglin_judgment_sword → 591
trickster_staff → 592
覆盖示例:
{
"predicate": {
"custom_model_data": 586
},
"model": "item/nether_unstable_bow"
}
这使得在保持插件兼容性的同时创建完全自定义的武器纹理变得非常容易。
? 管理员命令
/pw give <weaponId> [player]
→ 给予自定义武器
/pw list
→ 列出所有武器及其掉落率
/pw reload
→ 即时重载 config.yml
权限: piglinsmp.admin
⚙ 配置
display-name → 自定义物品名称
description → 武器描述文本
rarity → 显示的稀有度
drop-rate → 掉落几率
effects.*
→ 持续时间
→ 等级(Amplifiers)
→ 几率
→ 冷却时间
? 性能
PiglinSMP 旨在即使在较大的 SMP 服务器上也能保持轻量和高优化。
- ⚡ 极小的性能影响
- ? 整洁且优化的代码
- ? 完全可配置
- ? 无外部依赖
所有自定义武器仅能通过猪人交易获取。
? PiglinSMP
Transform Piglin Bartering into a complete custom loot and weapon system.
⚡ About
PiglinSMP adds unique custom weapons obtainable exclusively through Piglin Bartering.
Each weapon includes special abilities, effects, and combat mechanics designed for SMP and PvP gameplay.
Everything is fully configurable through config.yml without recompiling the plugin.
✨ Features
- ? Custom Piglin Bartering rewards
- ⚔ 7 unique custom weapons
- ? Configurable drop rates
- ? Special combat abilities
- ? Fully customizable configuration
- ⚡ Lightweight and optimized
- ? No dependencies required
- ? Hot reload support
? Compatibility
- ✅ Minecraft 1.21 → 1.21.x
- ✅ Spigot / Paper
- ✅ SMP & PvP servers
- ✅ No dependencies
⚔ Custom Weapons
? Nether Unstable Bow
Random projectile effects:
Explosion, Fire, Slowness, or Normal Arrows.
Rarity: Uncommon — 1.5%
☠ Poison Blade
Applies stacking poison effects up to level III depending on consecutive hits.
Rarity: Common — 1.7%
? Thief Dagger
Steals random items from the enemy inventory on hit.
Rarity: Uncommon — 1.2%
⏳ Sword of Time
Slows enemies and can completely freeze them temporarily.
Rarity: Rare — 0.7%
? Berserker Sword
Build rage stacks for increased speed and damage while risking weakness effects.
Rarity: Rare — 0.8%
? Piglin Judgment Sword
Deals bonus damage depending on the amount of gold inside the target inventory.
Maximum Bonus: +15 Damage
Rarity: Ultra Rare — 0.1%
? Trickster Staff
Triggers random effects such as invisibility, poison, levitation, blindness, and more.
Rarity: Common — 1.8%
? CustomModelData Support
PiglinSMP includes built-in CustomModelData values,
allowing resource pack creators to easily add custom textures and models for every weapon.
You can directly use these IDs inside your resource pack JSON overrides.
nether_unstable_bow → 586
poison_blade → 587
thief_dagger → 588
time_sword → 589
berserker_sword → 590
piglin_judgment_sword → 591
trickster_staff → 592
Example override:
{
"predicate": {
"custom_model_data": 586
},
"model": "item/nether_unstable_bow"
}
This makes it easy to create fully custom weapon textures while keeping compatibility with the plugin.
? Admin Commands
/pw give <weaponId> [player]
→ Give a custom weapon
/pw list
→ List all weapons and drop rates
/pw reload
→ Reload config.yml instantly
Permission: piglinsmp.admin
⚙ Configuration
display-name → Custom item name
description → Weapon lore
rarity → Displayed rarity
drop-rate → Drop chance
effects.*
→ Durations
→ Amplifiers
→ Chances
→ Cooldowns
? Performance
PiglinSMP is designed to stay lightweight and optimized even on larger SMP servers.
- ⚡ Minimal performance impact
- ? Clean and optimized code
- ? Fully configurable
- ? No external dependencies
All custom weapons are obtainable exclusively through Piglin Bartering.
Made with ❤️ by Zyumie (aka Yuyu)
评论 0
登录后参与评分
还没有评论,来抢沙发吧