- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
LifeStealZ
跳转到导航
跳转到搜索
LifeStealZ
外文名 | LifeStealZ |
作者 | KartoffelChipss |
插件类型 | Spigot / CraftBukkit |
最新版本 | 1.0.6 |
兼容服务端 | Bukkit Paper Purpur Spigot |
源地址 | https://modrinth.com/plugin/lifestealz |
一个lifesteal SMP插件,提供所有你需要的功能。
简介
LifeStealZ是一个Lifesteal SMP插件,允许你从其他玩家那里偷取生命值当你杀死他们。如果一个玩家没有更多的生命值,他就被淘汰。你可以制作额外的生命值或复活水晶。有了这个水晶,你可以复活被淘汰的队友。
LifeStealZ提供了大量的管理工具,是高度可定制的。您可以更改每条消息,并更改有关自定义项的所有内容。
功能
- ✅ 偷取生命值
- ✅ 提取生命值
- ✅ 自定义生命值物品
- ✅ 自定义合成配方
- ✅ 使用物品复活
- ✅ 设置最大和初始生命值
- ✅ 可选生命值减少
- ✅ 禁用不死图腾
- ✅ 禁用水晶PVP
- ✅ 游戏内预览配方
- ✅ PlaceholderAPI支持
- ✅ 管理员命令
权限
- lifestealz.admin.reload - 允许重载插件
- lifestealz.admin.setlife - 允许设置玩家生命值
- lifestealz.admin.giveitem - 允许给玩家自定义物品
- lifestealz.admin.eliminate - 允许使用 /eliminate 淘汰玩家
- lifestealz.admin.revive - 允许使用 /revive 复活玩家
- lifestealz.bypassrevivelimit - 允许玩家绕过复活限制
- lifestealz.withdraw - 允许玩家提取生命值 (默认可用)
- lifestealz.revive - 允许玩家使用水晶复活他人 (默认可用)
- lifestealz.viewrecipes - 允许玩家查看自定义合成表 (默认可用)
- lifestealz.help - 允许玩家访问帮助菜单 (默认可用)
配置
此配置对应插件版本为 1.0.6
# _ _ __ _____ _ _ ______
# | | (_)/ _| / ____| | | | |___ /
# | | _| |_ ___ | (___ | |_ ___ __ _| | / /
# | | | | _/ _ \ \___ \| __/ _ \/ _` | | / /
# | |____| | || __/ ____) | || __/ (_| | | / /__
# |______|_|_| \___| |_____/ \__\___|\__,_|_| /_____|
# 插件生效的世界列表
worlds:
- "world"
- "world_nether"
- "world_the_end"
# 玩家首次加入时的生命值
startHearts: 10
# 玩家最大可持有的生命值
maxHearts: 20
# 这个选项将在执行管理命令时强制使用上限值,如/lifestealz hearts <add, set> <player> <amount>
enforceMaxHeartsOnAdminCommands: false
# 如果击败玩家者已经有了最大数量的生命值,则将掉落的生命值转换为掉落物
dropHeartsIfMax: true
# 玩家死于怪物、摔落和岩浆等伤害时失去生命值
looseHeartsToNature: true
# 被其他玩家击败时失去生命值
looseHeartsToPlayer: true
# 玩家被淘汰时发送公告(失去所有生命值时)
announceElimination: true
# 允许玩家制作生命值
allowHeartCrafting: true
# 允许玩家在只有1生命值时继续提取
allowDyingFromWithdraw: true
# 是否在使用生命值时播放图腾特效
playTotemEffect: false
# 玩家最大复活次数,-1为无限
maxRevives: -1
# 允许制作复活水晶
allowReviveCrafting: true
# 禁用图腾
preventTotems: false
# 禁用水晶PVP
preventCrystalPVP: false
# 使用自定义命令淘汰玩家而不是直接封禁
disablePlayerBanOnElimination: false
# 淘汰后复活时持有的生命值
respawnHP: 10
# 此命令会在玩家被淘汰时执行
# 使用 &player& 插入玩家名称
# 示例: tempban &player& banreason 1d
eliminationCommand: say &player& got eliminated
# 配置自定义物品
items:
heart:
# 物品显示名称
name: "&cHeart"
# 物品信息
lore:
- "&7Rightclick to use"
# - "This would be a second line"
# - "And this possibly a third line"
# 物品材质,见 [https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html HelpChat]
material: "NETHER_STAR"
# 附魔
enchanted: false
# 特殊值
customModelData: 100
recipe:
# 每个道具都代表工作台中的一个槽位
# 一行中的第一件物品是工作台中最左边的物品
# 如果你想要一个槽是空的,使用'AIR'
rowOne:
- "GOLD_BLOCK"
- "GOLD_BLOCK"
- "GOLD_BLOCK"
rowTwo:
- "OBSIDIAN"
- "NETHER_STAR"
- "OBSIDIAN"
rowThree:
- "DIAMOND_BLOCK"
- "DIAMOND_BLOCK"
- "DIAMOND_BLOCK"
revive:
name: "&dRevive Crystal"
lore:
- "&7Rightclick to use"
material: "AMETHYST_SHARD"
enchanted: true
customModelData: 101
recipe:
rowOne:
- "AMETHYST_SHARD"
- "NETHERITE_BLOCK"
- "AMETHYST_SHARD"
rowTwo:
- "OBSIDIAN"
- "BEACON"
- "OBSIDIAN"
rowThree:
- "AMETHYST_SHARD"
- "NETHERITE_BLOCK"
- "AMETHYST_SHARD"
#可在此处修改所有消息
messages:
prefix: "&8[&cLifeStealZ&8]"
usageError: "&cUsage: %usage%"
noPermissionError: "&cYou don't have permission to use this!"
noPlayerData: "&cThis player has not played on this server yet!"
eliminateSuccess: "&7You successfully eliminated &c%player%&7!"
reviveSuccess: "&7You successfully revived &c%player%!"
reviveMaxReached: "&cThis player has already been revived %amount% times!"
onlyReviveElimPlayers: "&cYou can only revive eliminated players!"
eliminatedJoin: "&cYou don't have any hearts left!"
eliminationAnnouncement: "&c%player% &7has been eliminated by &c%killer%&7!"
eliminateionAnnouncementNature: "&c%player% &7has been eliminated!"
setHeartsConfirm: "&7Successfully set &c%player%&7's hearts to &c%amount%"
getHearts: "&c%player% &7currently has &c%amount% &7hearts!"
reloadMsg: "&7Successfully reloaded the plugin!"
versionMsg: "&7You are using version %version%"
noWithdraw: "&cYou would be eliminated, if you withdraw a heart!"
withdrawConfirmmsg: "&8&oUse /withdrawheart confirm if you really want to withdraw a heart"
maxHeartLimitReached: "&cYou already reached the limit of %limit% hearts!"
closeBtn: "&cClose"
reviveTitle: "&8Revive a player"
revivePlayerDesc: "&7Click to revive this player"
PAPI占位符
如果您在服务器上使用 PlaceholderAPI ,则可以使用以下占位符
- %lifestealz_hearts% - 玩家持有的生命值数量
- %lifestealz_maxhearts% - 最大生命值数量
- %lifestealz_revived% - 玩家复活次数
- %lifestealz_craftedhearts% - 玩家制作生命值的次数
- %lifestealz_craftedrevives% - 玩家制作复活水晶的次数
支持
如果你需要帮助设置插件,或者发现一个bug,你可以加入作者的 Discord (见 Modrinth ) 或直接给留言(Kartoffelchips#0445)。