FogTools 插件
FogTools 的服务端插件。使用它向服务器上的玩家发送自定义雾气、渐变和极光,并按生物群系设置自动雾气与极光。
玩家需要安装 FogTools 模组才能看到雾气和极光。 未安装该模组的玩家仍可正常加入并游玩。
1.5.1 更新内容
- 生物群系极光:玩家进入生物群系时会自动获得极光,离开时逐渐消失
- 一个生物群体现可拥有雾气、极光或两者兼具
/fogtoolsplugin aurora clear 若玩家处于拥有极光的生物群系中,将恢复该生物群系的极光
/fogtoolsplugin biome list 现显示雾气和极光信息
- FogTools 模组现已支持 Fabric、Forge 和 NeoForge
功能特性
- 可向所有玩家(
@a)或指定玩家发送雾气效果
- 支持纯色雾气、带自定义旋转的渐变、动画颜色以及半透明的
NONE 颜色
- 通过一条命令即可粘贴在 FogTools 编辑器中创建的雾气效果
- 为任意玩家提供天空中的极光效果
- 生物群系雾气和极光:玩家进入生物群系时自动生效,离开时逐渐消失
- 兼容自定义和数据包生物群系。只需输入准确的生物群系 ID,即使标签补全中未显示也可正常使用
- 雾气和极光之间平滑过渡
- 兼容 Minecraft 1.20.1 - 26.2
权限
| 权限 |
描述 |
默认值 |
fogtools.admin |
使用所有 /fogtoolsplugin 命令 |
OP |
命令
目标参数可以是玩家名称、@a、@p、@r 或 @s。淡入淡出时间以刻(ticks)为单位(20 刻 = 1 秒)。
雾气
| 命令 |
描述 |
/fogtoolsplugin set <target> <radius> <density> <color> <sky> <opacity> <fadeIn> <fadeOut> |
单色雾气 |
/fogtoolsplugin gradient set <target> <rotation> <radius> <density> <top> <center> <bottom> <sky> <opacity> <fadeIn> <fadeOut> |
三色渐变雾气 |
/fogtoolsplugin paste <target> <fog> |
应用从 FogTools 编辑器复制的雾气 |
/fogtoolsplugin clear <target> |
平滑移除雾气效果 |
极光
| 命令 |
描述 |
/fogtoolsplugin aurora set <target> <colors> [height] [intensity] [speed] [fadeIn] [fadeOut] |
创建极光。颜色参数之后的所有选项均为可选。 |
/fogtoolsplugin aurora paste <target> <aurora> |
应用来自文本格式的极光效果 |
/fogtoolsplugin aurora clear <target> |
移除极光效果(若存在生物群系极光则会自动恢复) |
生物群系雾气和极光
| 命令 |
描述 |
/fogtoolsplugin biome set <biome> <radius> <density> <color> <sky> <opacity> <fadeIn> <fadeOut> |
为生物群系设置单色雾效 |
/fogtoolsplugin biome gradient <biome> <rotation> <radius> <density> <top> <center> <bottom> <sky> <opacity> <fadeIn> <fadeOut> |
为生物群系设置渐变雾效 |
/fogtoolsplugin biome paste <biome> <fog> |
粘贴雾效到指定生物群系 |
/fogtoolsplugin biome clear <biome> |
移除指定生物群系的雾效 |
/fogtoolsplugin biome aurora set <biome> <colors> [height] [intensity] [speed] [fadeIn] [fadeOut] |
为生物群系设置极光效果。颜色参数之后的所有参数均为可选。 |
/fogtoolsplugin biome aurora paste <biome> <aurora> |
粘贴极光效果到指定生物群系 |
/fogtoolsplugin biome aurora clear <biome> |
移除指定生物群系的极光效果 |
/fogtoolsplugin biome list |
列出所有设置了雾效或极光效果的生物群系 |
生物群系的雾效和极光效果保存在 plugins/FogToolsPlugin/biome-fogs.yml 文件中。生物群系标识符可以写作 plains、minecraft:plains 或自定义 ID,例如 terralith:moonlight_grove。
参数
| 参数 |
值 |
radius |
雾开始出现的距离 |
density |
0 到 1 |
color |
颜色名称(如 RED、GOLD、AQUA 等)、HEX 格式(如 FF5500)、带透明度的 HEX 格式(如 80FF5500),或 NONE |
sky |
true 表示同时为天空着色,false 表示仅为雾着色 |
opacity |
0 到 1 |
| rotation | radial(从上到下)、lineal(从左到右)或 custom<角度>(例如 custom45) |
| colors (aurora) | 使用 + 连接且无空格,例如 GREEN+AQUA+PURPLE |
| height (aurora) | 0 到 80 |
| intensity (aurora) | 0 到 1 |
| speed (aurora) | 0 到 10 |
示例
/fogtoolsplugin set @a 100 1 GOLD true 0.6 40 40
/fogtoolsplugin gradient set Steve radial 100 1 GOLD ORANGE BLACK false 1 50 50
/fogtoolsplugin gradient set @a custom45 150 0.8 PINK NONE BLUE true 1 40 40
/fogtoolsplugin paste @a {(radius:200,density:0.8,rotation:radial,colors:[RED@0,NONE@0.5,BLUE@1],sky:false,opacity:1,fadein:40,fadeout:40)}
/fogtoolsplugin aurora set @a GREEN+AQUA+PURPLE
/fogtoolsplugin biome gradient minecraft:dark_forest radial 80 1 BLACK PURPLE BLACK true 0.8 60 60
/fogtoolsplugin 生物群系设置 terralith:moonlight_grove 120 0.7 AQUA true 0.5 40 40
/fogtoolsplugin biome aurora set minecraft:snowy_plains GREEN+AQUA+PURPLE
/fogtoolsplugin biome aurora set terralith:moonlight_grove PINK+PURPLE+BLUE 30 0.8 1 60 60
提示
- 在 FogTools 编辑器中创建你的雾气(在游戏中按 G),复制后使用
/fogtoolsplugin paste 命令应用。
- Minecraft 聊天窗口仅允许输入 256 个字符。对于较长的雾气配置,请从服务器控制台或命令方块中运行该命令。
- 极光在夜间最容易看到。
兼容性
- Paper 1.20.1 - 26.2
- 客户端需要安装 FogTools 模组(支持 Fabric、Forge 或 NeoForge)
FogTools Plugin
Server plugin for FogTools. Use it to send custom fogs, gradients and auroras to players on your server, and to set automatic fogs and auroras per biome.
Players need the FogTools mod installed to see the fogs and auroras. Players without the mod can still join and play normally.
What's new in 1.5.1
- Biome auroras: players get an aurora automatically when they enter a biome, and it fades out when they leave
- A biome can now have a fog, an aurora or both
/fogtoolsplugin aurora clear brings back the biome aurora if the player is in a biome that has one
/fogtoolsplugin biome list now shows fogs and auroras
- The FogTools mod is now available for Fabric, Forge and NeoForge
Features
- Send fogs to every player (
@a) or to specific players
- Solid fogs, gradients with custom rotation, animated colors and translucent
NONE color
- Paste fogs created in the FogTools editor with a single command
- Auroras in the sky for any player
- Biome fogs and auroras: players get them automatically when they enter a biome, and they fade out when they leave
- Works with custom and datapack biomes. Just type the exact biome id, even if it does not show up in tab completion.
- Smooth transitions between fogs and auroras
- Compatible with Minecraft 1.20.1 - 26.2
Permissions
| Permission |
Description |
Default |
fogtools.admin |
Use all /fogtoolsplugin commands |
OP |
Commands
Targets can be a player name, @a, @p, @r or @s. Fade times are in ticks (20 ticks = 1 second).
Fog
| Command |
Description |
/fogtoolsplugin set <target> <radius> <density> <color> <sky> <opacity> <fadeIn> <fadeOut> |
Single-color fog |
/fogtoolsplugin gradient set <target> <rotation> <radius> <density> <top> <center> <bottom> <sky> <opacity> <fadeIn> <fadeOut> |
3-color gradient fog |
/fogtoolsplugin paste <target> <fog> |
Applies a fog copied from the FogTools editor |
/fogtoolsplugin clear <target> |
Removes the fog with a smooth fade |
Auroras
| Command |
Description |
/fogtoolsplugin aurora set <target> <colors> [height] [intensity] [speed] [fadeIn] [fadeOut] |
Creates an aurora. Everything after the colors is optional. |
/fogtoolsplugin aurora paste <target> <aurora> |
Applies an aurora from text |
/fogtoolsplugin aurora clear <target> |
Removes the aurora (the biome aurora comes back if there is one) |
Biome fogs and auroras
| Command |
Description |
/fogtoolsplugin biome set <biome> <radius> <density> <color> <sky> <opacity> <fadeIn> <fadeOut> |
Single-color fog for a biome |
/fogtoolsplugin biome gradient <biome> <rotation> <radius> <density> <top> <center> <bottom> <sky> <opacity> <fadeIn> <fadeOut> |
Gradient fog for a biome |
/fogtoolsplugin biome paste <biome> <fog> |
Pasted fog for a biome |
/fogtoolsplugin biome clear <biome> |
Removes a biome's fog |
/fogtoolsplugin biome aurora set <biome> <colors> [height] [intensity] [speed] [fadeIn] [fadeOut] |
Aurora for a biome. Everything after the colors is optional. |
/fogtoolsplugin biome aurora paste <biome> <aurora> |
Pasted aurora for a biome |
/fogtoolsplugin biome aurora clear <biome> |
Removes a biome's aurora |
/fogtoolsplugin biome list |
Lists every biome with a fog or an aurora |
Biome fogs and auroras are saved in plugins/FogToolsPlugin/biome-fogs.yml. Biomes can be written as plains, minecraft:plains or a custom id like terralith:moonlight_grove.
Arguments
| Argument |
Values |
radius |
How far the fog starts |
density |
0 to 1 |
color |
A color name (RED, GOLD, AQUA...), a HEX like FF5500, a HEX with alpha like 80FF5500, or NONE |
sky |
true to also color the sky, false for the fog only |
opacity |
0 to 1 |
rotation |
radial (top to bottom), lineal (left to right) or custom<degrees> (for example custom45) |
colors (aurora) |
Joined with + and no spaces, for example GREEN+AQUA+PURPLE |
height (aurora) |
0 to 80 |
intensity (aurora) |
0 to 1 |
speed (aurora) |
0 to 10 |
Examples
/fogtoolsplugin set @a 100 1 GOLD true 0.6 40 40
/fogtoolsplugin gradient set Steve radial 100 1 GOLD ORANGE BLACK false 1 50 50
/fogtoolsplugin gradient set @a custom45 150 0.8 PINK NONE BLUE true 1 40 40
/fogtoolsplugin paste @a {(radius:200,density:0.8,rotation:radial,colors:[RED@0,NONE@0.5,BLUE@1],sky:false,opacity:1,fadein:40,fadeout:40)}
/fogtoolsplugin aurora set @a GREEN+AQUA+PURPLE
/fogtoolsplugin biome gradient minecraft:dark_forest radial 80 1 BLACK PURPLE BLACK true 0.8 60 60
/fogtoolsplugin biome set terralith:moonlight_grove 120 0.7 AQUA true 0.5 40 40
/fogtoolsplugin biome aurora set minecraft:snowy_plains GREEN+AQUA+PURPLE
/fogtoolsplugin biome aurora set terralith:moonlight_grove PINK+PURPLE+BLUE 30 0.8 1 60 60
Tips
- Create your fog in the FogTools editor (press G in game), copy it and use it with
/fogtoolsplugin paste.
- Minecraft chat only allows 256 characters. For long fogs, run the command from the server console or a command block.
- Auroras are easiest to see at night.
Compatibility
- Paper 1.20.1 - 26.2
- Requires the FogTools mod on the client (Fabric, Forge or NeoForge)
评论 0
登录后参与评分
还没有评论,来抢沙发吧