须知
ParticleGrenades 需要 ParticleProjectileApi:可选依赖
WorldGuard 用于区域保护标志(Flags)支持的标志:
- block-break
- damage-animals
- pvp
- potion-splash
简介
Particle Grenades 是一款旨在允许服务器制作自定义手榴弹的插件。这些手榴弹爆炸时会生成自定义粒子效果,并对实体施加各种效果。该插件通过配置文件实现了高度可定制性,几乎可以设置关于手榴弹的所有属性。一旦玩家制作了自定义粒子手榴弹,只要拥有正确的权限节点,只需在潜行状态下丢弃即可发射。这将使手榴弹朝向玩家注视的方向飞出,并在计时器结束后爆炸。配置文件中还可以包含多种具有不同效果的手榴弹,从而提供丰富多样且令人兴奋的游戏选项。
功能特性
- 支持多种手榴弹
- 不同的粒子效果(部分粒子支持着色)!
(0.3.4 版本新增了手榴弹拥有多个粒子的能力) - 爆炸音效自定义
- 每种手榴弹都需要特定的权限节点
particlegrenade.use.<node>(请参阅下方的配置说明获取帮助) - 多重效果支持
- 彩色烟雾轨迹
- 给予命令
(需要相应权限节点) - 手榴弹爆炸时会推挤实体
- 自定义合成配方
- 手榴弹拥有自定义显示名称和描述文本(Lore)
- 显示名称和描述文本支持颜色代码
- 可选且高度可定制的方块破坏效果
- 合成的手榴弹可以作为自定义 TNT 方块放置!(自 0.3.4+ 起)
- 手榴弹可以与发射器配合使用!(自 0.3.4+ 起)
- 高度可配置
- 支持 WorldGuard!
指令
- /pgreload
重新加载 config.yml 以应用更改并动态更新配方
需要权限 particlegrenades.reload - /pglist
列出该玩家可以使用指令给予的手榴弹列表
需要权限 particlegrenades.list - /pggive <grenade> [amount]
允许拥有适当权限的玩家将指定数量的手榴弹给予自己
需要权限 particlegrenades.give.<internal name>
(内部名称可在配置文件中找到) - /pgspawn <grenade> <x> <y> <z>
在指定的坐标生成选定的手榴弹
配置
default.yml
name: '&4&lGrenade'
description:
- '&6A throwable explosive'
- '&6Warning: &cContains Explosives!'
distance: 1.5
behavior:
# Ticks before the grenade explodes
fuse: 100
# Should the grenade explode when a player/mob gets to close?
proximity: false
# If so how close do they need to be?
radius: 2.0
# Should it explode upon hitting something?
impact: false
cooldown: 60
sound: entity.generic.explode:10.0:0.5
effects:
- weakness:1:60
- slowness:1:60
particles:
# Explosion particles
explosion:
# List of materials affected by the explosion
# A question mark '?' can be used as a wildcard
# Using 'RED?' will include 'REDSTONE' but not 'POWERED_RAILS'
# Using '?RED' will not include 'REDSTONE' or 'POWERED_RAILS'
# Using '?RED?' will include everything with 'RED' in its name
# Using '?' will include all blocks
# Other available placeholders include:
# 'burnable' (Includes all blocks that can burn away
# 'flammable' (Includes all blocks that can catch fire)
# 'logs', 'leaves' , 'planks' (Are self-explanatory as they include every type they describe)
# a hyphen ('-') can be used to negate a certain block/placeholder such as '-logs' will not include any logs
# Adding %<#> to the end of a query can add a chance for that material to be affected such as 'stone%10' will add
# a 10 percent chance for stone to be affected
blocks:
# When a particle hits a block...
on_hit:
# Break it naturally IE item drops if applicable
break:
- leaves
- ?stone?
- diorite
- andesite
- granite
- dirt
- grass_block
- logs
# Converts from one set of blocks to another at random
# '?,-logs:air%10' will convert all blocks except logs to air with a 10 percent chance of becoming air
convert:
- grass_block:dirt
- dirt:gravel
- gravel:sand
- sand:air%50
# Destroy it by completely removing it
destroy:
- ?glass%90
# Throw the block
throw:
- sand
# When a particle passes through a block...
on_penetrate:
# Break it naturally IE item drops if applicable
break:
- leaves
- ?grass
# Convert randomly to one of the following blocks
convert: []
# Destroy it by completely removing it
destroy:
- ?glass?
# Do nothing but still go through the block (Can still be thrown)
ignore:
- water
# Number of actual projectiles generated (Higher numbers requires more server resources)
# (Going higher than 10000 can potentially cause severe server lag)
fragments: 512
# How much damage a particle deals to an entity (1.0 = half heart, can be 0)
damage: 1.0
# Velocity of the explosion particles (In meters per second, 1 block = 3 meters)
velocity: 2048.0
# Time the particle has to exist (seconds) before disappearing
lifespan: 0.5
# Force multiplier of the explosion (Knockback effect upon hitting an entity)
force: 1.0
# Size of the hitbox for particles
hitbox: 0.2
# Explosion particle type
# Can use percentages
particles:
- lava%50
- flame
# Explosion color as a hexadecimal value (If applicable to any particles)
color:
from: 7f7f00
to: 7f7f7f
# Smoke trail particles
smoke:
# Is smoke enabled?
enabled: true
# Smoke color
color: 7f7f7f
recipe:
# Amount of grenades the recipe gives
amount: 1
# Ingredients needed, the first ingredient listed will be 'a' the second 'b', third 'c', and so on (Max of nine ingredients)
# the first item on the list is represented be the letter a, b for second and so forth. An empty space can be the letter after the last item
# To specify a specific character to represent the ingredient use <char>:<ingredient> such as 'a:dirt' where 'a' will represent 'dirt' in the grid
ingredients:
- a:iron_ingot
- b:gunpowder
# Crafting grid using above ingredients letters (Each line may contain up to three different letters and there may only be one to three lines)
grid:
- ' a '
- 'aba'
- ' a '
ParticleGrenades in Action
Affiliates
Thinking about getting a dedicated server? Try Kinetic hosting!
Save 15% on your first month by using code 'UberDiscount' at checkout!
Click the image or link below to get started now!
你是这个资源的作者?登录后可认领此资源。
相似资源
使床在所有维度中爆炸的模组
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
为 Armor Poser 模组添加兼容性
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
一个高度兼容、功能完善且稳定的 TPA 模组
AbAcc AbAcc 是一款适用于 Minecraft 服务器的管理插件,可简化玩家作弊检测与举报管理工作。工作人员可以发起并管理对可疑玩家的检查流程,并在检查完成后将其释放。
评论 0
登录后参与评分
还没有评论,来抢沙发吧