数据包
本数据包添加了广受欢迎的 Infuse SMP 中的特性。我的朋友们要求在我们的 Aternos 服务器上添加 Infuse 功能,但当时没有支持 Aternos 的插件能提供此功能。本数据包不仅实现了该功能,而且作为数据包,它无需 Aternos 的支持即可使用,可以在 Aternos 服务器上免费且轻松地运行。如果你想了解如何在 Aternos 服务器上安装数据包,请点击这里。
Infuse SMP 是如何运作的?
想了解关于 Infuse SMP 的更多信息。(阅读此处)
在游戏开始时,所有玩家均没有任何效果。当一名玩家击杀另一名玩家时,如果击杀者自身没有任何效果或仅有正面效果,则会获得一个正面效果;如果击杀者已有负面效果,则该负面效果会被移除。被击杀的玩家如果拥有正面效果,则会失去其中一个;如果被击杀者没有任何效果或已拥有负面效果,则会额外获得一个负面效果。反之,如果一名玩家被他人击杀,若其自身没有任何效果或仅有负面效果,则会获得一个负面效果。而击杀者如果自身没有任何效果或仅有正面效果,则会获得一个正面效果;若其已有负面效果,则这些负面效果会被移除。
• 正面效果
• 力量
• 速度
• 急迫
• 防火
• 生命提升
• 海豚的恩惠
• 幸运
• 水下呼吸
• 负面效果
• 饥饿
• 霉运
• 发光
• 缓降
• 跳跃提升
• 挖掘疲劳
• 缓慢
• 虚弱
• 复活器
复活器允许玩家将已死亡的队友复活。使用方法:合成复活器(配方见下文),在主手持有它时右键点击。为了确保复活正确的玩家,请确保只有目标玩家在线,且没有其他已死亡玩家存在。满足上述条件后,复活器将恢复该玩家的生命,并保留其所有负面效果。如果有多名已死亡玩家在线,复活器将随机选择其中一人进行复活。
增幅剂
服用增幅剂会暂时放大你的正面效果,使其增强持续 1 分 30 秒。提示:在战斗中战略性地使用以获得最大优势!
配方
InfusePotionRecipe

ReviverRecipe

EnhancerRecipe

配置选项:
/trigger toggleEffectParticles set {value}
: 切换是否显示玩家获得的效果粒子。值 (1) 表示显示粒子,(0) 表示不显示粒子,默认为 0。
/trigger toggleNaturalDeath set {value}
: 切换是否允许自然死亡。如果允许,因怪物攻击或自然原因死亡时会失去效果;如果不允许,仅在被玩家击杀时失去效果。值 (1) 表示允许自然死亡,(0) 表示禁用自然死亡,默认为 0。
/trigger toggleWithdrawBelowZero set {value}
: 切换是否允许在效果为零或为负数时撤回效果。如果允许,即使有负面效果也可以撤回;如果不允许,则至少需要一个正面效果才能撤回。值 (1) 表示允许低于零的撤回,(0) 表示禁用低于零的撤回,默认为 0。
信息:若要更改配置,你必须处于创造模式。
命令及其他操作。
要撤回一个效果,请使用命令:
/trigger infusewithdraw
若要重启整个数据包,请使用命令:/function infuse:config/restart (注意:仅在数据包出现错误或无法正常运行时使用此命令,因为这会重置所有内容)
要重置所有玩家的效果,请使用命令:/function infuse:config/restarteffect
要给特定玩家赋予效果,请使用:
/execute as {player_name} run scoreboard players set @s infuseeffect {amount_of_effect}
要复活一名已死亡的玩家,(警告:仅在该玩家已死亡时使用),/execute as {dead_player_name} run scoreboard players set @s infuseeffect -7
注意:你获得的正面和负面效果并非随机,而是按照上述列表的顺序依次获得。
Datapack
This datapack adds features of the popular Infuse SMP. My friends asked me to add Infuse to our aternos server but there were no Aternos-supported plugins that added this feature this datapack does not only add that feature, but this datapack also doesn't need support from aternos because it is a datapack and can be used on aternos servers for free and easy. If you want to install data packs in the aternos server but don't know how, Click here.
How does Infuse SMP work?
If you want to learn about Infuse SMP. (Read This)
At the start of the game, all players begin with no effects. When a player kills another, they gain a positive effect if they have no effects or only positive ones; if they have a negative effect, it is removed. The player who was killed will lose a positive effect if they have one, or, if they have no effects or already have a negative effect, they will gain an additional negative effect. Conversely, if a player is killed by someone else, they receive a negative effect if they have no effects or only negative ones. The killer will then gain a positive effect if they have no effects or positive ones, or lose any negative effect they may have.
• Positive Effects
• Strength
• Speed
• Haste
• Fire Resistance
• Health Boost
• Dolphin's Grace
• Luck
• Water Breathing
• Negative Effects
• Hunger
• Bad Luck
• Glowing
• Slow Falling
• Jump Boost
• Mining Fatigue
• Slowness
• Weakness
• Reviver
The Reviver allows players to bring a dead teammate back to life. To use it, craft the Reviver (recipe below) and right-click while holding it in your main hand. To ensure the correct player is revived, make sure only the intended player is online, with no other dead players present. When these conditions are met, the Reviver will restore the player with all their negative effects intact. If multiple dead players are online, the Reviver will randomly select one to revive.
Enhancer
Consuming the enhancer temporarily amplifies your positive effects, boosting them for 1 minute and 30 seconds. Tip: Use this strategically during fights for maximum advantage!
Recipes
InfusePotionRecipe

ReviverRecipe

EnhancerRecipe

Config options:
/trigger toggleEffectParticles set {value}
: Toggles if you want to show the particles of the effects the players get. Value (1) for showing particle, (0) for not showing particle, 0 is by default.
/trigger toggleNaturalDeath set {value}
: Toggles if you want to allow natural death, if it is allowed then you lose effect if you die to a mob or by nature, if it is not allowed you only lose effect to player kill. Value (1) for allowing Natural Death, (0) for disabling Natural death, 0 is by default.
/trigger toggleWithdrawBelowZero set {value}
: Toggles if you want to allow withdraw of effects if you have zero effects or negative effects, if it is allowed you can withdraw even if you have negative effects, if it is not allowed you can only withdraw if you have atleast one postive effect. Value (1) for allowing Withdraw below Zero, (0) for disabling Withdraw below Zero, 0 is by default.
Info: If you want to change the config you have to be in creative mode.
Commands and others.
To withdraw an effect, do the command,
/trigger infusewithdraw
To restart the entire datapack, do the command, /function infuse:config/restart (NOTE: USE THIS ONLY WHEN THE DATAPACK IS BUGGED OR NOT WORKING PROPERLY AS THIS RESTARTS EVERYTHING)
To reset all player effects, do the command, /function infuse:config/restarteffect
To give a specific player an effect,
/execute as {player_name} run scoreboard players set @s infuseeffect {amount_of_effect}
To revive a dead player, (WARNING: USE THIS ONLY WHEN THE PLAYER IS DEAD), /execute as {dead_player_name} run scoreboard players set @s infuseeffect -7
Note: The effects you get both positive and negative are not random you get them in the order of the list above.
评论 0
登录后参与评分
还没有评论,来抢沙发吧