Permission Skills 为你的服务器添加了 61 种技能,极大地增强了角色扮演体验。所有技能都可以通过常规的权限插件分配给玩家,并且可以根据你的喜好进行自定义。你可以将技能添加到一组玩家或单个玩家身上,以创建独特的公会、种族和阵营,甚至可以为捐赠者添加特殊加成。
如果你喜欢这个插件,那么试试 Guilds
技能
所有技能都需要加上 ".active" 后缀才能启用,例如 "pss.invisible.active"。此外,大多数技能都可以通过各种扩展参数进行自定义,例如 "pss.maxhealth.active" 和 "pss.maxhealth.health.10",这将把玩家的最大生命值限制为仅 5 颗心(10 x 半颗心)。
点击此处查看默认权限节点的完整列表。
| 技能 | 技能权限节点 | 扩展参数 |
| 和平守卫者 (Peacekeeper) | pss.peacekeeper | .active .cooldown |
| 最大玩家生命值 (Max Player Health) | pss.maxhealth | .active .cooldown .health |
| 除非被挑衅否则生物不锁定目标 (Mobs Don't Target Unless Provoked) | pss.mobtarget | .active .cooldown |
| 恢复生命值 (Recover Health) | pss.recoverhealth | .active .cooldown |
| 经验值倍数 (XP Multiplier) | pss.xpmultiplier | .active .cooldown .multiplier |
| 死亡时恢复物品 (Recover Items On Death) | pss.recoveritems | .active .cooldown |
| 死亡时爆炸 (Explode On Death) | pss.explodedeath | .active .cooldown .power |
| 死亡时恢复经验值 (Recover Exp On Death) | pss.recoverexp | .active .cooldown |
| 隐身 (Invisibility) | pss.invisible | .active .cooldown |
| 看见隐形玩家 (See Invisible Players) | pss.seeinvisible | .active .cooldown |
| 飞行 (Flight) | pss.flight | .active .cooldown .power |
| 高跳 (High Jump) | pss.highjump | .active .cooldown .power |
| 水下呼吸 (Breath Underwater) | pss.oxygen | .active .cooldown .power |
| 加速行走 (Speed Walk) | pss.speed | .active .cooldown .power |
| 水上行走 (Skip Across Water) | pss.swimmer | .active .cooldown |
| 阳光伤害 (Damage From Sunlight) | pss.sunlight | .active .cooldown .damage |
| 月光伤害 (Damage From Moonlight) | pss.moonlight | .active .cooldown .damage |
| 高度伤害 (Damage From Altitude) | pss.altitude | .active .cooldown .damage .min .max |
| 暴风雨伤害 (Damage From Storm) | pss.storm | .active .cooldown .damage |
| 地形伤害 (Damage From Land) | pss.landdamage | .active .cooldown .damage |
| 水体伤害 (Damage From Water) | pss.waterdamage | .active .cooldown .damage |
| 爆炸箭 (Explosive Arrow) | pss.explosivearrow | .active .cooldown .power |
| 弓箭命中时生成僵尸 (Zombie Spawn On Arrow Hit) | pss.zombiearrow | .active .cooldown |
| 弓箭命中时召唤闪电 (Lightning Strike On Arrow Hit) | pss.lightningarrow | .active .cooldown |
| 命中后传送到箭矢位置 (Teleport To Arrow Location On Hit) | pss.tparrow | .active .cooldown |
| 火箭 (Fire Arrow) | pss.firearrow | .active .cooldown .ticks |
| 直线箭 (Straight Arrow) | pss.straightarrow | .active .cooldown .power |
| 交互时击退实体 (Knock Entity Back On Interact) | pss.knockback | .active .cooldown .power |
| 毒箭 (Poison Arrow) | pss.poisonarrow | .active .cooldown .power .ticks |
| 失明箭 (Blindness Arrow) | pss.blindnessarrow | .active .cooldown .power .ticks |
| 混乱箭 (Confusion Arrow) | pss.confusionarrow | .active .cooldown .power .ticks |
| 生物箭 (Mob Arrow) | pss.mobarrow | .active .cooldown |
| 火焰剑刃 (Fire Blade) | pss.fireblade | .active .cooldown .ticks |
| 火焰拳 (Fire Punch) | pss.firepunch | .active .cooldown .ticks |
| 剧毒剑刃 (Poison Blade) | pss.poisonblade | .active .cooldown .power .ticks |
| 伤害反射 (Reflect Damage) | pss.reflect | .active .cooldown .damage |
| 来自投射物的攻击伤害加成 (Attack Damage From Projectiles) | pss.attackprojectile | .active .cooldown .multiplier |
| 来自近战武器的攻击伤害加成 (Attack Damage From Melee) | pss.attackmelee | .active .cooldown .multiplier |
| 接触仙人掌时的防御伤害减免 (Defence Damage From Cactus Contact) | pss.defensecontact | .active .cooldown .multiplier |
| 来自实体/玩家近战的保护伤害 | pss.defenseentity_attack | .active .cooldown .multiplier |
| 来自投射物的保护伤害 | pss.defenseprojectile | .active .cooldown .multiplier |
| 来自窒息的保护伤害 | pss.defensesuffocation | .active .cooldown .multiplier |
| 来自坠落的保护伤害 | pss.defensefall | .active .cooldown .multiplier |
| 来自直接火焰的保护伤害 | pss.defensefire | .active .cooldown .multiplier |
| 来自火焰刻点的保护伤害 | pss.defensefire_tick | .active .cooldown .multiplier |
| 来自岩浆熔化的保护伤害 | pss.defensemelting | .active .cooldown .multiplier |
| 来自直接接触岩浆的保护伤害 | pss.defenselava | .active .cooldown .multiplier |
| 来自溺水的保护伤害 | pss.defensedrowning | .active .cooldown .multiplier |
| 来自方块爆炸的保护伤害 | pss.defenseblock_explosion | .active .cooldown .multiplier |
| 来自苦力怕爆炸的保护伤害 | pss.defenseentity_explosion | .active .cooldown .multiplier |
| 来自基岩下方坠落的保护伤害 | pss.defensevoid | .active .cooldown .multiplier |
| 来自闪电的保护伤害 | pss.defenselightning | .active .cooldown .multiplier |
| 来自自杀指令的保护伤害 | pss.defensesuicide | .active .cooldown .multiplier |
| 来自饥饿的保护伤害 | pss.defensestarvation | .active .cooldown .multiplier |
| 来自中毒刻点的保护伤害 | pss.defensepoison | .active .cooldown .multiplier |
| 来自魔法的保护伤害 | pss.defensemagic | .active .cooldown .multiplier |
| 来自凋灵的保护伤害 | pss.defensewither | .active .cooldown .multiplier |
| 来自掉落方块的保护伤害 | pss.defensefalling_block | .active .cooldown .multiplier |
| 来自自定义伤害的保护伤害 | pss.defensecustom | .active .cooldown .multiplier |
默认扩展值
扩展值是附加在技能权限上的可自定义节点,例如 pss.firearrow.ticks.200。config.yml 文件包含了插件需要检查的所有值,但你可以手动修改这些值并使用 /pss reload 命令重新加载。如果 config.yml 中的列表里没有指定值,则使用默认值:
| 扩展名 | 默认值 | 限制范围 |
| .active | false | true 或 false |
| .power | 1 | 介于 1 到 20 之间 |
| .health | 20 | 介于 1 到 20 之间 |
| .damage | 1 | 介于 1 到 20 之间 |
| .multiplier | 100 | 介于 0 到 1000 之间 (其中 0 表示无伤害,1000 表示 10 倍伤害) |
| .ticks | 100 | 介于 1 到 10000 之间 |
| .cooldown | 0L | 无限制(0 = 无冷却时间,60 = 60 秒) |
| .min | 0 | 介于 0 到 255 之间 |
| .max | 255 | 介于 0 到 255 之间 |
世界与生物群系
所有技能都需要玩家在活跃的世界和生物群系中才能生效(类似于 Guilds 插件)。通过使用活跃的世界和生物群系,你可以将插件限制在仅一个世界中运行,让某些种族的能力仅在一个世界中有效,甚至创建一个只能生活在沙漠中的公会。
pss.world.all = 所有世界
pss.biome.all = 所有生物群系
示例:
| 权限 | 结果 |
pss.world.world pss.sunlight.damage.1 pss.moonlight.damage.1 | 如果玩家不在名为 "world" 的世界中,他们将每隔几秒受到半颗心的伤害。 |
pss.world.all pss.biome.desert pss.attackmelee.active pss.attackmelee.multiplier.200 | 玩家在任何沙漠生物群系中将造成双倍伤害。 |
pss.world.all pss.biome.all pss.moonlight.active pss.sunlight.active pss.moonlight.damage.1 pss.sunlight.damage.1 | 除非玩家待在地下,否则将会受到伤害。 |
权限扩展值
为了让权限类技能知道要搜索哪些权限扩展值,插件会使用保存在 config.yml 中的值。这些值可以更改,允许服务器管理员自定义插件。点击此处查看默认的 config.yml。
如果你只需要 pss.maxhealth.health 只有两个值 18 和 16,那么你可以删除其余的值,从而优化插件并根据你的特定需求进行定制。pss.maxhealth.health.18 和 pss.maxhealth.health.16。插件只需检查这些权限,从而加快处理速度。
HealthValues:
- 16
- 18
CoolDownValues:
- 0 // 无冷却时间
- 60 // 60秒冷却时间
命令
| 命令 | 描述 | 权限 |
| /pss reload | 重新加载插件 | pss.reload |
| /pss list | 列出所有可用权限,包括所有扩展 | pss.list |
| /pss exempt <player> | 阻止该玩家使用插件技能,无论其拥有何种权限。对于拥有 "*" 权限的玩家非常有用。 | pss.exempt |
| /pss search <string> | 搜索权限列表 | pss.search |
Permission Skills adds 61 skills to your server which greatly enhances the role playing experience. All skills can be allocated to players through a regular permissions plugin and can be customised to your hearts content. You can add the skills to a group of players or individual players to create unique guilds, races and factions or even add perks to players who donate.
Like this plugin then try Guilds
Skills
All skills require the ".active" extension to enable them, for example "pss.invisible.active". On top of this most skills are customisable with various extensions, for example "pss.maxhealth.active" & "pss.maxhealth.health.10" which would activate the maximum health a player can have to only 5 hearts (10 x half heart).
Click here for the full list of default permission nodes.
| Skill | Skill Permission | Extensions |
| Peacekeeper | pss.peacekeeper | .active .cooldown |
| Max Player Health | pss.maxhealth | .active .cooldown .health |
| Mobs Don't Target Unless Provoked | pss.mobtarget | .active .cooldown |
| Recover Health | pss.recoverhealth | .active .cooldown |
| XP Multiplier | pss.xpmultiplier | .active .cooldown .multiplier |
| Recover Items On Death | pss.recoveritems | .active .cooldown |
| Explode On Death | pss.explodedeath | .active .cooldown .power |
| Recover Exp On Death | pss.recoverexp | .active .cooldown |
| Invisibility | pss.invisible | .active .cooldown |
| See Invisible Players | pss.seeinvisible | .active .cooldown |
| Flight | pss.flight | .active .cooldown .power |
| High Jump | pss.highjump | .active .cooldown .power |
| Breath Underwater | pss.oxygen | .active .cooldown .power |
| Speed Walk | pss.speed | .active .cooldown .power |
| Skip Across Water | pss.swimmer | .active .cooldown |
| Damage From Sunlight | pss.sunlight | .active .cooldown .damage |
| Damage From Moonlight | pss.moonlight | .active .cooldown .damage |
| Damage From Altitude | pss.altitude | .active .cooldown .damage .min .max |
| Damage From Storm | pss.storm | .active .cooldown .damage |
| Damage From Land | pss.landdamage | .active .cooldown .damage |
| Damage From Water | pss.waterdamage | .active .cooldown .damage |
| Explosive Arrow | pss.explosivearrow | .active .cooldown .power |
| Zombie Spawn On Arrow Hit | pss.zombiearrow | .active .cooldown |
| Lightning Strike On Arrow Hit | pss.lightningarrow | .active .cooldown |
| Teleport To Arrow Location On Hit | pss.tparrow | .active .cooldown |
| Fire Arrow | pss.firearrow | .active .cooldown .ticks |
| Straight Arrow | pss.straightarrow | .active .cooldown .power |
| Knock Entity Back On Interact | pss.knockback | .active .cooldown .power |
| Poison Arrow | pss.poisonarrow | .active .cooldown .power .ticks |
| Blindness Arrow | pss.blindnessarrow | .active .cooldown .power .ticks |
| Confusion Arrow | pss.confusionarrow | .active .cooldown .power .ticks |
| Mob Arrow | pss.mobarrow | .active .cooldown |
| Fire Blade | pss.fireblade | .active .cooldown .ticks |
| Fire Punch | pss.firepunch | .active .cooldown .ticks |
| Poison Blade | pss.poisonblade | .active .cooldown .power .ticks |
| Reflect Damage | pss.reflect | .active .cooldown .damage |
| Attack Damage From Projectiles | pss.attackprojectile | .active .cooldown .multiplier |
| Attack Damage From Melee | pss.attackmelee | .active .cooldown .multiplier |
| Defence Damage From Cactus Contact | pss.defensecontact | .active .cooldown .multiplier |
| Defence Damage From Entity / Player Melee | pss.defenseentity_attack | .active .cooldown .multiplier |
| Defence Damage From Projectile | pss.defenseprojectile | .active .cooldown .multiplier |
| Defence Damage From Suffocation | pss.defensesuffocation | .active .cooldown .multiplier |
| Defence Damage From Falling | pss.defensefall | .active .cooldown .multiplier |
| Defence Damage From Direct Fire | pss.defensefire | .active .cooldown .multiplier |
| Defence Damage From Fire Ticks | pss.defensefire_tick | .active .cooldown .multiplier |
| Defence Damage From Lava Melting | pss.defensemelting | .active .cooldown .multiplier |
| Defence Damage From Direct Lava | pss.defenselava | .active .cooldown .multiplier |
| Defence Damage From Drowning | pss.defensedrowning | .active .cooldown .multiplier |
| Defence Damage From Block Explosion | pss.defenseblock_explosion | .active .cooldown .multiplier |
| Defence Damage From Creeper Explosion | pss.defenseentity_explosion | .active .cooldown .multiplier |
| Defence Damage From Falling Below Bedrock | pss.defensevoid | .active .cooldown .multiplier |
| Defence Damage From Lightning | pss.defenselightning | .active .cooldown .multiplier |
| Defence Damage From Suicide Command | pss.defensesuicide | .active .cooldown .multiplier |
| Defence Damage From Starving | pss.defensestarvation | .active .cooldown .multiplier |
| Defence Damage From Poison Ticks | pss.defensepoison | .active .cooldown .multiplier |
| Defence Damage From Magic | pss.defensemagic | .active .cooldown .multiplier |
| Defence Damage From Wither | pss.defensewither | .active .cooldown .multiplier |
| Defence Damage From Falling Blocks | pss.defensefalling_block | .active .cooldown .multiplier |
| Defence Damage From Custom Damage | pss.defensecustom | .active .cooldown .multiplier |
Default Extensions
Extensions are the customable nodes attached to skill permissions, for example pss.firearrow.ticks.200. The config.yml file contains all the values for the plugin to check but you can change these manually and use the /pss reload command. If there are no values in the list in config.yml a default value is used:
| Extension | Default Value | Limits |
| .active | false | true or false |
| .power | 1 | Between 1 & 20 |
| .health | 20 | Between 1 & 20 |
| .damage | 1 | Between 1 & 20 |
| .multiplier | 100 | Between 0 & 1000 (where 0 is no damage and 1000 is x10 damage) |
| .ticks | 100 | Between 1 & 10000 |
| .cooldown | 0L | None (0 = no cooldown, 60 = 60 seconds) |
| .min | 0 | Between 0 & 255 |
| .max | 255 | Between 0 & 255 |
Worlds & Biomes
All skills require the player to be in an active world and biome (similar to the Guilds plugin) to work. Using active worlds and biomes you can restrict the plugin to just one world, have races where there abilities only work in one world or even create a guild that can only live in the desert.
pss.world.all = all worlds
pss.biome.all = all biomes
Examples:
| Permissions | Result |
pss.world.world pss.sunlight.damage.1 pss.moonlight.damage.1 | Player will receive half a heart damage ever coulpe seconds if not in the world "world" |
pss.world.all pss.biome.desert pss.attackmelee.active pss.attackmelee.multiplier.200 | Player will deal double damage while in any desert biome. |
pss.world.all pss.biome.all pss.moonlight.active pss.sunlight.active pss.moonlight.damage.1 pss.sunlight.damage.1 | Player will receive damage unless they stay underground. |
Permission Extension Values
For Permission Skills to know what permission extension values to search a player for the plugin uses values saved in the config,yml. These can be changed allowing the server owner to customise the plugin. Click here for the default config.yml.
If you only require pss.maxhealth.health to only have two values 18 and 16 then you can remove the rest allowing the plugin to be optimised and customised to your specific needs. pss.maxhealth.health.18 & pss.maxhealth.health.16. The plugin will only need to check for these permissions speeding up the process.
HealthValues:
- 16
- 18
CoolDownValues:
- 0 // No cooldown
- 60 // 60 second cooldown
Commands
| Command | Description | Permission |
| /pss reload | Reload plugin | pss.reload |
| /pss list | List all available permissions including all extensions | pss.list |
| /pss exempt <player> | Stop this player from being able to use the plugin skills regardless of permissions. Useful for players with "*" permission. | pss.exempt |
| /pss search <string> | Search permissions list | pss.search |
评论 0
登录后参与评分
还没有评论,来抢沙发吧