ActionParticles 是一款轻量级且高度可定制的 Minecraft 服务器插件,可为各种玩家操作添加视觉粒子效果。
功能:
- 在玩家加入、退出、死亡和传送时生成粒子
- 通过配置文件完全自定义配置
- 支持每个事件使用多种粒子类型
- 可配置粒子生成前的延迟时间
- 从配置的列表中随机选择粒子
- 异步粒子生成以提升性能
- 基于权限的事件绕过系统
- 无需重启服务器即可重新加载配置
- 提供测试命令以预览任何事件的粒子效果
命令:
/actionparticles reload 或 /aparticles reload - 重新加载配置
/actionparticles test <event> 或 /aparticles test <event> - 测试特定事件的粒子
/actionparticles help 或 /aparticles help - 显示帮助菜单
事件:
join - 当玩家加入服务器时触发
quit - 当玩家离开服务器时触发
death - 当玩家死亡时触发
teleport - 当玩家传送时触发
权限:
actionparticles.use - 允许使用命令
actionparticles.reload - 允许重新加载配置
actionparticles.test - 允许测试粒子
actionparticles.bypass - 绕过所有粒子效果
actionparticles.bypass.join - 绕过加入粒子
actionparticles.bypass.quit - 绕过退出粒子
actionparticles.bypass.death - 绕过死亡粒子
actionparticles.bypass.teleport - 绕过传送粒子
配置:
每个事件(加入、退出、死亡、传送)均可独立配置:
enabled - 启用/禁用此事件的粒子生成
delay - 生成粒子前的延迟(以刻为单位)(-1 表示即时)
particles - 粒子类型列表,可自定义数量、速度、偏移量和位置
示例 config.yml
```yaml
particles:
on-join:
enabled: true
delay: -1 # 延迟(以刻为单位)(-1 表示即时)
particles:
- type: "FIREWORKS_SPARK"
count: 100
speed: 0.1
offset:
x: 0.1
y: 0.5
z: 0.1
position:
x: 0.0
y: 1.0
z: 0.0
on-quit:
enabled: true
delay: -1
particles:
- type: "ASH"
count: 150
speed: 1.0
offset:
x: 0.1
y: 0.5
z: 0.1
position:
x: 0.0
y: 1.0
z: 0.0
- type: "SMOKE"
count: 100
speed: 0.1
offset:
x: 0.2
y: 0.6
z: 0.2
position:
x: 0.0
y: 1.2
z: 0.0
on-death:
enabled: true
delay: -1
particles:
- type: "SMOKE"
count: 150
speed: 0.1
offset:
x: 0.1
y: 0.5
z: 0.1
position:
x: 0.0
y: 1.0
z: 0.0
on-teleport:
enabled: true
delay: -1
particles:
- type: "ENCHANT"
count: 100
speed: 0.5
offset:
x: 0.1
y: 0.5
z: 0.1
position:
x: 0.0
y: 1.0
z: 0.0
- type: "PORTAL"
count: 200
speed: 0.3
offset:
x: 0.1
y: 0.5
z: 0.1
position:
x: 0.0
y: 1.0
z: 0.0
</details>
## 有插件更新的想法吗?
* 加入我们的 [Discord](https://discord.gg/ZpXerhFQjS)!
ActionParticles is a lightweight and highly customizable plugin for Minecraft servers that adds visual particle effects for various player actions.
Features:
- Spawns particles on player join, quit, death, and teleport
- Fully configurable via configuration file
- Support for multiple particle types per event
- Configurable delay before particle spawn
- Random particle selection from configured list
- Asynchronous particle spawning for better performance
- Permission-based bypass system for each event
- Reload configuration without server restart
- Test command to preview particles for any event
Commands:
/actionparticles reload or /aparticles reload - Reload configuration
/actionparticles test <event> or /aparticles test <event> - Test particles for a specific event
/actionparticles help or /aparticles help - Show help menu
Events:
join - Triggers when player joins the server
quit - Triggers when player leaves the server
death - Triggers when player dies
teleport - Triggers when player teleports
Permissions:
actionparticles.use - Allows using commands
actionparticles.reload - Allows reloading configuration
actionparticles.test - Allows testing particles
actionparticles.bypass - Bypass all particle effects
actionparticles.bypass.join - Bypass join particles
actionparticles.bypass.quit - Bypass quit particles
actionparticles.bypass.death - Bypass death particles
actionparticles.bypass.teleport - Bypass teleport particles
Configuration:
Each event (join, quit, death, teleport) can be independently configured with:
enabled - Enable/disable particle spawning for this event
delay - Delay in ticks before spawning (-1 for instant)
particles - List of particle types with customizable count, speed, offset, and position
Example config.yml
```yaml
particles:
on-join:
enabled: true
delay: -1 # Delay in ticks (-1 for instant)
particles:
- type: "FIREWORKS_SPARK"
count: 100
speed: 0.1
offset:
x: 0.1
y: 0.5
z: 0.1
position:
x: 0.0
y: 1.0
z: 0.0
on-quit:
enabled: true
delay: -1
particles:
- type: "ASH"
count: 150
speed: 1.0
offset:
x: 0.1
y: 0.5
z: 0.1
position:
x: 0.0
y: 1.0
z: 0.0
- type: "SMOKE"
count: 100
speed: 0.1
offset:
x: 0.2
y: 0.6
z: 0.2
position:
x: 0.0
y: 1.2
z: 0.0
on-death:
enabled: true
delay: -1
particles:
- type: "SMOKE"
count: 150
speed: 0.1
offset:
x: 0.1
y: 0.5
z: 0.1
position:
x: 0.0
y: 1.0
z: 0.0
on-teleport:
enabled: true
delay: -1
particles:
- type: "ENCHANT"
count: 100
speed: 0.5
offset:
x: 0.1
y: 0.5
z: 0.1
position:
x: 0.0
y: 1.0
z: 0.0
- type: "PORTAL"
count: 200
speed: 0.3
offset:
x: 0.1
y: 0.5
z: 0.1
position:
x: 0.0
y: 1.0
z: 0.0
</details>
## Have an idea for plugin update?
* Join our [Discord](https://discord.gg/ZpXerhFQjS)!
评论 0
登录后参与评分
还没有评论,来抢沙发吧