? DecayingWool - 限时羊毛衰减系统
为 BedWars 增添动态玩法!羊毛通过三个阶段逐渐消失,并提供完整的 GUI 自定义功能。
? 描述
DecayingWool 是一款轻量且经过优化的 Minecraft 1.8.8 插件,添加了渐进式羊毛衰减系统。非常适合 BedWars、Sky Wars 以及其他注重动态建造机制的 PvP 模式。
✨ 为什么这很有用?
- ? 增加策略性 — 玩家不能只是搭一座桥就置之不理
- ⚡ 加快游戏节奏 — 减少“龟缩”战术
- ? 提高动态感 — 持续的移动和紧张感
- ? 平衡游戏 — 防御工事需要持续维护
? 工作原理
三阶段衰减系统
当玩家放置羊毛时,它会在消失前经历三个阶段:
┌─────────────────────────────────────┐
│ Phase 1: 队伍颜色 (5 秒) │
│ ? 橙色羊毛 │
├─────────────────────────────────────┤
│ Phase 2: 灰色羊毛 (5 秒) │
│ ⬜ 警告:即将消失 │
├─────────────────────────────────────┤
│ Phase 3: 黑色羊毛 (3 秒) │
│ ⬛ 最终警告 │
├─────────────────────────────────────┤
│ 消失(动画 + 音效) │
│ ? 方块被完全移除 │
└─────────────────────────────────────┘
总持续时间:13 秒(可自定义!)
? 视觉效果
- 粒子效果:每次阶段变化时显示(烟雾、火花等)
- 音效:颜色变化和消失时播放
- 破碎动画:最终衰减时触发
- 所有设置均可配置!
? 主要特性
⚙️ 完全可自定义的阶段
- ⏱️ 为每个阶段设置 任意时长(1–60 秒)
- ? 调整 视觉效果(粒子、音效)
- ? 选择系统在 哪些世界 中生效
- ? 全部通过 精美的 GUI 菜单 完成 — 无需编辑文件!
?️ 直观的 GUI 控制
主菜单 (/decay):
- ? 启用/禁用系统
- ⚙️ 编辑阶段时长
- ? 世界白名单/黑名单管理
- ? 粒子与音效配置
- ? 实时统计信息
- ? 所有设置自动保存
⏱️ 通过 GUI 编辑阶段
轻松的时间控制:
- 左键点击 — +1 秒
- 右键点击 — -1 秒
- Shift + 左键点击 — +5 秒
- Shift + 右键点击 — -5 秒
- 中键点击 — 重置为默认值
更改 自动保存 并立即生效!
? 世界管理
两种运行模式:
白名单:
- 插件 仅 在选定的世界中工作
- 专为专用的 BedWars 竞技场设计
黑名单:
- 插件在列出的世界 之外 的所有地方工作
- 非常适合主要的和平世界
简单切换:
- 所有服务器世界在一个 GUI 中显示
- 点击添加/移除
- 一键切换模式
? 实时统计信息
- ? 活跃方块 — 当前正在衰减的羊毛
- ✅ 总处理量 — 有多少方块通过了系统
- ❌ 已移除方块 — 总共消失的数量
- ? 按世界分类 的明细
- ⚡ 性能影响 — TPS 负载
? 效果自定义
粒子:
- 类型选择(烟雾、火花、火焰等)
- 粒子数量
- 启用/禁用
音效:
- 阶段变化时
- 消失时
- 可调节音量和音调
- 可在 GUI 中预览
? 示例用例
BedWars 服务器
快节奏设置:
- Phase 1: 3 秒
- Phase 2: 3 秒
- Phase 3: 2 秒
总计:8 秒
Sky Wars 竞技场
中等节奏:
- Phase 1: 5 秒
- Phase 2: 5 秒
- Phase 3: 3 秒
总计:13 秒
慢速模式
新手友好:
- Phase 1: 10 秒
- Phase 2: 10 秒
- Phase 3: 5 秒
总计:25 秒
? 安装
- 下载 插件 JAR 文件
- 放置 到
plugins/ 文件夹中
- 重启 服务器或运行
/reload
- 完成! 通过
/decay 进行配置
要求
- ☕ Java: 8
- ? Minecraft: 1.8.x
- ? 平台: Spigot / Paper / Bukkit
- ? 内存占用: ~2–5 MB(非常轻量!)
? 命令与权限
命令
| 命令 |
描述 |
别名 |
/decay |
打开主设置菜单 |
/dw, /dwool |
/decay menu |
打开主菜单 |
- |
/decay reload |
重新加载配置 |
- |
/decay toggle |
启用/禁用系统 |
- |
/decay stats |
打开统计信息菜单 |
- |
/decay cleanup |
清除所有衰减中的方块 |
- |
权限
decayingwool.* # 所有权限
└─ decayingwool.admin # 对命令和 GUI 的完全访问权限
└─ decayingwool.bypass # 玩家的羊毛 **不会** 衰减*
⚠️ 注意:
bypass 仅对 非 OP 玩家有效。OP 玩家始终遵循衰减规则。
⚙️ 配置
config.yml
插件会自动生成配置文件,但 建议使用 GUI 编辑!
# 主要设置
plugin:
enabled: true
debug: false
# 衰减设置
decay:
enabled: true
phase1-duration: 5
phase2-duration: 5
phase3-duration: 3
world-mode: "whitelist"
enabled-worlds:
- world_bedwars
- bw_arena1
effects:
particles:
enabled: true
type: "SMOKE_NORMAL"
amount: 5
sound:
enabled: true
phase-change: "BLOCK_WOOL_BREAK"
disappear: "BLOCK_WOOL_BREAK"
volume: 0.5
pitch: 1.0
drops:
drop-items: false
drop-on-break: true
# 性能
performance:
max-blocks-per-tick: 50
cleanup-interval: 200
async-processing: true
? 面向服务器的特性
⚡ 性能优化
- 异步处理 — 无 TPS 下降
- 每秒方块上限 — 防止卡顿
- 自动清理 不活跃的方块
- 低内存使用(2–5 MB)
- 线程安全 操作
? 安全性
? 兼容性
已测试兼容:
- BedWars1058
- BedWarsProxy
- Multiverse-Core
- WorldGuard
- GriefPrevention
- EssentialsX
? 技术细节
架构
DecayingWool
├── Managers
│ ├── DecayManager
│ ├── GUIManager
│ ├── WorldManager
│ └── ConfigManager
├── GUI Menus
│ ├── MainMenu
│ ├── PhaseSettingsMenu
│ ├── WorldManagement
│ ├── EffectsMenu
│ └── StatisticsMenu
├── Listeners
│ ├── BlockPlace
│ ├── BlockBreak
│ ├── InventoryClick
│ └── ChunkListener
└── Models
└── DecayingBlock
数据处理
- ConcurrentHashMap 用于安全的异步访问
- 定期清理
- 区块卸载处理
? 使用技巧
管理员指南
- 从默认设置开始(5/5/3)
- 在竞技场中进行测试
- 收集玩家反馈
- 根据服务器风格进行调整
- 使用统计菜单
玩家须知
- ? 彩色羊毛 — 刚刚放置
- ⬜ 灰色羊毛 — 即将腐烂
- ⬛ 黑色羊毛 — 最后警告
- ? 消失 — 请放置更多
推荐设置
快节奏(单人): 2 / 2 / 1(5秒)
标准(2–4人): 5 / 5 / 3(13秒)
慢速模式: 10 / 10 / 5(25秒)
? 已知限制
- 仅适用于 羊毛(1.8.8 版本中的
Material.WOOL)
- 可通过
affected-wool 添加更多方块
- 服务器重启时计时器会重置(正常行为)
? DecayingWool - Timed Wool Decay System
Add dynamic gameplay to BedWars! Wool gradually disappears through 3 phases with full GUI customization.
? Description
DecayingWool is a lightweight and optimized plugin for Minecraft 1.8.8 that adds a gradual wool decay system. Perfect for BedWars, Sky Wars, and other PvP modes where dynamic building mechanics matter.
✨ Why is this useful?
- ? Adds strategy — players can’t just build a bridge and forget about it
- ⚡ Speeds up gameplay — fewer “turtle” tactics
- ? Increases dynamics — constant movement and tension
- ? Balances the game — defenses require continuous maintenance
? How it works
3-Phase Decay System
When a player places wool, it goes through 3 phases before disappearing:
┌─────────────────────────────────────┐
│ Phase 1: Team color (5 sec) │
│ ? Orange wool │
├─────────────────────────────────────┤
│ Phase 2: Gray wool (5 sec) │
│ ⬜ Warning: almost decayed │
├─────────────────────────────────────┤
│ Phase 3: Black wool (3 sec) │
│ ⬛ Final warning │
├─────────────────────────────────────┤
│ Disappearance (animation + sound) │
│ ? Block is fully removed │
└─────────────────────────────────────┘
Total duration: 13 seconds (customizable!)
? Visual Effects
- Particles on each phase change (smoke, sparks, etc.)
- Sounds on color change and disappearance
- Break animation on final decay
- Everything is configurable!
? Key Features
⚙️ Fully Customizable Phases
- ⏱️ Set any duration for each phase (1–60 seconds)
- ? Adjust visual effects (particles, sounds)
- ? Choose which worlds the system works in
- ? All via a beautiful GUI menu — no files required!
?️ Intuitive GUI Controls
Main Menu (/decay):
- ? Enable/Disable the system
- ⚙️ Edit phase durations
- ? World whitelist/blacklist management
- ? Particles & sounds configuration
- ? Real-time statistics
- ? Auto-save for all settings
⏱️ Phase Editing via GUI
Easy time control:
- Left click — +1 second
- Right click — -1 second
- Shift + Left click — +5 seconds
- Shift + Right click — -5 seconds
- Middle click — reset to default
Changes auto-save and apply immediately!
? World Management
Two operation modes:
Whitelist:
- Plugin works only in selected worlds
- Ideal for dedicated BedWars arenas
Blacklist:
- Plugin works everywhere except listed worlds
- Perfect for main peaceful worlds
Simple toggling:
- All server worlds displayed in one GUI
- Click to add/remove
- Mode switches in one click
? Real-Time Statistics
- ? Active blocks — currently decaying wool
- ✅ Total processed — how many blocks passed through the system
- ❌ Removed blocks — total disappeared
- ? Per-world breakdown
- ⚡ Performance impact — TPS load
? Effects Customization
Particles:
- Type selection (smoke, sparks, flame, etc.)
- Particle amount
- Enable/disable
Sounds:
- On phase change
- On disappearance
- Adjustable volume & pitch
- Preview in GUI
? Example Use Cases
BedWars server
Fast-paced settings:
- Phase 1: 3 seconds
- Phase 2: 3 seconds
- Phase 3: 2 seconds
Total: 8 seconds
Sky Wars arena
Medium-paced:
- Phase 1: 5 seconds
- Phase 2: 5 seconds
- Phase 3: 3 seconds
Total: 13 seconds
Slow mode
Beginner-friendly:
- Phase 1: 10 seconds
- Phase 2: 10 seconds
- Phase 3: 5 seconds
Total: 25 seconds
? Installation
- Download the plugin JAR
- Place it into the
plugins/ folder
- Restart the server or run
/reload
- Done! Configure via
/decay
Requirements
- ☕ Java: 8
- ? Minecraft: 1.8.x
- ? Platform: Spigot / Paper / Bukkit
- ? RAM usage: ~2–5 MB (very lightweight!)
? Commands & Permissions
Commands
| Command |
Description |
Aliases |
/decay |
Open main settings menu |
/dw, /dwool |
/decay menu |
Open main menu |
- |
/decay reload |
Reload configuration |
- |
/decay toggle |
Enable/disable system |
- |
/decay stats |
Open statistics menu |
- |
/decay cleanup |
Clear all decaying blocks |
- |
Permissions
decayingwool.* # All permissions
└─ decayingwool.admin # Full access to commands & GUI
└─ decayingwool.bypass # Player’s wool does NOT decay*
⚠️ Note:
bypass only works for non-OP players. OP players always follow decay rules.
⚙️ Configuration
config.yml
The plugin auto-generates config files, but GUI editing is recommended!
# Main settings
plugin:
enabled: true
debug: false
# Decay settings
decay:
enabled: true
phase1-duration: 5
phase2-duration: 5
phase3-duration: 3
world-mode: "whitelist"
enabled-worlds:
- world_bedwars
- bw_arena1
effects:
particles:
enabled: true
type: "SMOKE_NORMAL"
amount: 5
sound:
enabled: true
phase-change: "BLOCK_WOOL_BREAK"
disappear: "BLOCK_WOOL_BREAK"
volume: 0.5
pitch: 1.0
drops:
drop-items: false
drop-on-break: true
# Performance
performance:
max-blocks-per-tick: 50
cleanup-interval: 200
async-processing: true
? Server-Oriented Features
⚡ Performance Optimizations
- Asynchronous processing — no TPS drops
- Blocks-per-tick cap — prevents lag
- Auto cleanup of inactive blocks
- Low memory usage (2–5 MB)
- Thread-safe operations
? Safety
- Permission checks
- Config validation
- No duplication exploits
- Compatible with other plugins
? Compatibility
Tested with:
- BedWars1058
- BedWarsProxy
- Multiverse-Core
- WorldGuard
- GriefPrevention
- EssentialsX
? Technical Details
Architecture
DecayingWool
├── Managers
│ ├── DecayManager
│ ├── GUIManager
│ ├── WorldManager
│ └── ConfigManager
├── GUI Menus
│ ├── MainMenu
│ ├── PhaseSettingsMenu
│ ├── WorldManagement
│ ├── EffectsMenu
│ └── StatisticsMenu
├── Listeners
│ ├── BlockPlace
│ ├── BlockBreak
│ ├── InventoryClick
│ └── ChunkListener
└── Models
└── DecayingBlock
Data Handling
- ConcurrentHashMap for safe async access
- Periodic cleanup
- Chunk unload handling
? Usage Tips
For admins
- Start with default settings (5/5/3)
- Test on an arena
- Get player feedback
- Adjust for your server style
- Use statistics menu
For players
- ? Colored wool — just placed
- ⬜ Gray wool — decaying soon
- ⬛ Black wool — final warning
- ? Gone — place more
Recommended settings
Fast-paced (solo): 2 / 2 / 1 (5 sec)
Standard (2–4 players): 5 / 5 / 3 (13 sec)
Slow mode: 10 / 10 / 5 (25 sec)
? Known limitations
- Only works with wool (
Material.WOOL in 1.8.8)
- More blocks can be added via
affected-wool
- Timers reset on server restart (normal behavior)
评论 0
登录后参与评分
还没有评论,来抢沙发吧