HeightStews
HeightStews 将可疑炖汤转化为高度药水。吃下一碗,你的角色就会真正变大或变小——在完全原版的客户端上即可实现。
功能
- 三种炖汤。变大、变小和重置——每种都是带有特定名称的可疑炖汤。
- 微小而刻意的步骤。默认情况下,每碗炖汤使高度变化
0.05,因此变高或变矮是一个渐进的过程,而非仅靠一口就能完成。
- 安全限制。开箱即用的高度范围被限制在
0.5 到 1.5 之间,因此没有人会变成无法命中的微小身影或被卡在天花板里。
- 一口重置。重置炖汤能让你立即恢复至正常身高。
- 持久化。高度按玩家 UUID 存储,并在加入服务器和重生后重新应用——死亡不会撤销你的进度,重启服务器亦然。
- 完全可配置。步长、限制、默认身高、物品本身、三种炖汤的名称以及所有消息均位于
config.yml 中。
- 兼容原版物品。这些炖汤是带有内部标签的普通可疑炖汤,因此它们可以堆叠、掉落,并通过箱子漏斗与其他物品一样流通——非常适合作为战利品、任务奖励、商店商品或宝箱奖励。
命令
| 命令 |
描述 |
/heightstew + |
给予一碗使你的身高增加一步的炖汤 |
/heightstew - |
给予一碗使你的身高减少一步的炖汤 |
/heightstew = |
给予一碗将你的身高重置回默认值的炖汤 |
别名:/hs、/height、/stew。Tab 补全会提示 +、- 和 =。
该命令仅限操作员使用——它是你发放或分发炖汤的方式。玩家无需使用任何命令:他们只需吃掉分发给他们的炖汤即可。
权限
| 权限 |
默认设置 |
描述 |
op |
仅限操作员 |
运行 /heightstew 并获得炖汤所需的权限 |
食用炖汤不需要任何权限,因此一旦分发出去,所有玩家都可以使用这些物品。
配置
height:
step: 0.05
default: 1.0
# 限制在原版缩放属性范围内:0.0625-16.0
min: 0.5
max: 1.5
stew:
material: SUSPICIOUS_STEW
names:
plus: "&a神秘炖汤 +"
minus: "&c神秘炖汤 -"
reset: "&e神秘炖汤 ="
messages:
only-players: "只有玩家才能使用此命令!"
usage: "&c用法: /heightstew <+/-/=>"
wrong-argument: "&c无效参数!请使用 +, - 或 ="
received: "&a你获得了一碗神秘炖汤!"
# %height% - 新高度,保留两位小数
height-changed: "&b你的身高已改变: %height%"
# ACTION_BAR, CHAT 或 NONE
height-changed-type: ACTION_BAR
颜色支持 & 和 §。任何玩家能吃的 material 均可工作,因此炖汤可以是饼干、苹果或金胡萝卜。文件中缺失的值将回退到上述默认值,更改将在服务器重启后生效。
玩家高度单独存储在 plugins/HeightStews/data.yml 中,以 UUID 为键。
服务器创意点子
- 在商店出售这些炖汤,让玩家组建“高大建筑队”和“迷你跑酷队”。
- 将缩小炖汤放入地牢战利品中,使一个方块高的爬行通道变成真正的通路。
- 给每位新玩家一碗重置炖汤作为安全网。
- 将高度用作软角色扮演(RP)特性:种族、职业、年龄等。
HeightStews
HeightStews turns suspicious stew into a height potion. Eat one and your character
literally grows or shrinks - on a completely vanilla client.
Features
- Three kinds of stew. Grow, shrink, and reset - each one a named suspicious stew.
- Small, deliberate steps. Every stew changes height by
0.05 by default, so growing
tall or getting tiny is a progression, not a single sip.
- Safe limits. Height is clamped between
0.5 and 1.5 out of the box, so nobody ends
up as an unhittable speck or stuck in the ceiling.
- One-sip reset. The reset stew puts you straight back to normal height.
- Persistent. Heights are stored per player UUID and re-applied on join and after
respawn - dying does not undo your progress, and neither does a restart.
- Fully configurable. Step size, limits, default height, the item itself, all three stew
names and every message live in
config.yml.
- Vanilla-friendly items. The stews are ordinary suspicious stews with an internal tag,
so they stack, drop, and travel through chests and hoppers like any other item - perfect
as loot, quest, shop or crate rewards.
Commands
| Command |
Description |
/heightstew + |
Gives a stew that increases your height by one step |
/heightstew - |
Gives a stew that decreases your height by one step |
/heightstew = |
Gives a stew that resets your height back to default |
Aliases: /hs, /height, /stew. Tab completion suggests +, - and =.
The command is operator-only - it is how you hand out or distribute the stews. Players never
need a command: they just eat what they are given.
Permissions
| Permission |
Default |
Description |
op |
Operators only |
Required to run /heightstew and obtain the stews |
Eating a stew requires no permission, so the items work for everyone once distributed.
Configuration
height:
step: 0.05
default: 1.0
# Clamped to the vanilla scale attribute range: 0.0625-16.0
min: 0.5
max: 1.5
stew:
material: SUSPICIOUS_STEW
names:
plus: "&aMysterious Stew +"
minus: "&cMysterious Stew -"
reset: "&eMysterious Stew ="
messages:
only-players: "Only players can use this command!"
usage: "&cUsage: /heightstew <+/-/=>"
wrong-argument: "&cInvalid argument! Use +, - or ="
received: "&aYou received a mysterious stew!"
# %height% - new height, 2 decimals
height-changed: "&bYour height changed: %height%"
# ACTION_BAR, CHAT or NONE
height-changed-type: ACTION_BAR
Colors work with both & and §. Any material that a player can eat will work, so the
stews can be cookies, apples or golden carrots instead. Values missing from your file fall
back to the defaults above, and changes are applied on server restart.
Player heights are stored separately in plugins/HeightStews/data.yml, keyed by UUID.
Ideas for your server
- Sell the stews in a shop and let players build a "tall build crew" and a "tiny parkour
crew".
- Put shrink stews in dungeon loot so a one-block-high crawlspace becomes a real passage.
- Hand a reset stew to every new player as a safety net.
- Use height as a soft-RP feature: races, classes, ages.
评论 0
登录后参与评分
还没有评论,来抢沙发吧