? 什么是 FlexGrow?
FlexGrow 是一个轻量级、可配置的 Paper/Spigot 1.21+ 插件,它将潜行变成一种有趣且实用的种植树木和作物的方式。
玩家只需在树苗和农田附近蹲下(“twerk”),植物就会像施加骨粉一样逐渐推进生长阶段。
此外,FlexGrow 还添加了一个小型的生活质量(QoL)功能:对某些地面方块使用骨粉可以将其瞬间转化为草地或其他配置好的方块,并伴有正确的音效、粒子效果和骨粉消耗。
作者:YanFLEX
✨ 核心特性
-
基于潜行的植物生长
玩家在可配置的半径内潜行时,会促进附近树苗和作物的生长。
-
每个方块的独立生长几率
每种方块类型(树苗、作物等)都在配置文件中定义了各自的生长几率。
-
树木与作物的独立效果
树木生长和作物生长拥有不同的音效、粒子、音量和音调。
-
按世界控制
可以轻松地在特定世界(例如出生点、大厅)禁用插件的效果。
-
骨粉转化地面
用骨粉右键点击选定的地面方块,会将其转化为草地或其他你定义的方块,支持可配置的音效/粒子效果以及真实的骨粉消耗。
-
基于权限的半径
半径根据 flexgrow.radius.X 等权限进行扩展,设有硬性上限以保护性能。
-
实时重载配置
/flexgrow reload 可在不重启服务器的情况下应用配置更改。
⚙️ 配置概览
所有设置都位于 config.yml 中。亮点如下:
-
全局行为
-
radius – 玩家周围的基准半径(内部有硬性上限)。
-
cooldown-seconds – 玩家两次触发“twerk”之间的冷却时间。
-
disabled-worlds – 完全禁用 FlexGrow 的世界列表。
-
生长目标与几率
-
视觉与音频反馈
-
针对以下内容的独立声音和粒子设置:
-
作物(Ageable 方块)– crop-sound, crop-particle, crop-volume, crop-pitch
-
树木/树苗/繁殖体 – tree-sound, tree-particle, tree-volume, tree-pitch
-
地面骨粉(bonemeal-ground)
-
enabled – 开启或关闭此功能。
-
mappings: – FROM_BLOCK: TO_BLOCK 的映射表(例如 DIRT: GRASS_BLOCK)。
-
sound, volume, pitch – 转化发生时的音频。
-
particle, particle-count, particle-offset, particle-speed – 转化方块的视觉效果。
插件在正常使用期间不会刷屏聊天信息;所有反馈仅通过视觉和音频呈现,除非你自行配置消息。
? 游戏机制详情
? 权限与命令
命令
- /flexgrow reload
重新加载配置并应用所有更改。
权限
-
flexgrow.reload
-
允许使用 /flexgrow reload。
-
默认值:op。
-
flexgrow.radius.X
当未授予任何半径权限时,FlexGrow 使用 config.yml 中的基准 radius。
? 安装
-
下载 FlexGrow JAR 文件。
-
将其放入服务器的 plugins 文件夹中。
-
启动服务器以生成默认配置。
-
根据需要调整 config.yml(方块、几率、效果、骨粉映射)。
-
运行 /flexgrow reload 或重启服务器以应用更改。
FlexGrow 旨在保持性能友好,并安全地用于生存服务器,具备硬性限制和可配置的冷却时间以防止滥用和卡顿。
? What is FlexGrow?
FlexGrow is a lightweight, configurable plugin for Paper/Spigot 1.21+ that turns sneaking into a fun and useful way to grow trees and crops.
Players simply crouch (“twerk”) near saplings and farmland, and plants will gradually advance their growth stages as if bone meal were being applied.
On top of that, FlexGrow adds a small quality‑of‑life feature: using bone meal on certain ground blocks can instantly turn them into grass or other configured blocks, with proper sounds, particles, and bone meal consumption.
Author: YanFLEX
✨ Core Features
-
Sneak‑based plant growth
Players grow nearby saplings and crops by sneaking within a configurable radius.
-
Per‑block growth chances
Each block type (sapling, crop, etc.) has its own growth chance defined in the config.
-
Separate effects for trees & crops
Different sounds, particles, volume, and pitch for tree growth and crop growth.
-
Per‑world control
Easily disable the plugin’s effects in specific worlds (e.g. spawn, lobby).
-
Bone meal ground upgrades
Right‑clicking selected ground blocks with bone meal converts them into grass or other blocks you define, with configurable sound/particle effects and real bone meal usage.
-
Permission‑based radius
Radius scales with permissions like flexgrow.radius.X, with a hard cap to protect performance.
-
Live config reload
/flexgrow reload applies configuration changes without restarting the server.
⚙️ Configuration Overview
All settings live in config.yml. Highlights:
The plugin never spams chat messages during normal usage; all feedback is visual and audio only, unless you configure messages yourself.
? Gameplay Details
-
Sneak near plants
When a player begins sneaking, FlexGrow scans nearby blocks within the effective radius. For each configured block type, it rolls a chance and, on success, triggers growth.
-
Smooth growth
-
Crops and other Ageable blocks grow one stage at a time, giving a smooth, vanilla‑friendly feeling.
-
Saplings and special tree blocks are handled via the game’s own bone meal logic, allowing them to progress and eventually generate full trees in a natural way.
-
Effects per block type
-
When crops grow, the plugin uses the crop sound/particle set.
-
When trees/saplings grow, it uses the tree sound/particle set.
-
Particles appear both at the player and at each block that actually grew.
-
Bone meal on ground
-
Right‑clicking a configured ground block with bone meal turns it into the target block from mappings.
-
Bone meal is consumed (except in creative mode).
-
A configurable sound and particle burst play at the converted block.
? Permissions & Commands
Commands
- /flexgrow reload
Reloads the configuration and applies all changes.
Permissions
-
flexgrow.reload
-
flexgrow.radius.X
-
Increases the twerk effect radius for a player up to X.
-
The plugin takes the highest X the player has, but never exceeds the internal hard limit (16 blocks).
When no radius permissions are granted, FlexGrow uses the base radius from config.yml.
? Installation
-
Download the FlexGrow JAR.
-
Drop it into your server’s plugins folder.
-
Start the server to generate the default configuration.
-
Adjust config.yml to your liking (blocks, chances, effects, bone meal mappings).
-
Run /flexgrow reload or restart the server to apply changes.
FlexGrow is designed to be performance‑friendly and safe to use on survival servers, with hard limits and configurable cooldowns to prevent abuse and lag.
评论 0
登录后参与评分
还没有评论,来抢沙发吧