? Lounge
随时随地坐下、躺下或爬行。专为 Paper 和 Folia 打造,零依赖。
右键点击台阶即可坐下。输入 /lay 并使用自己的皮肤躺下。穿过 1 格高的缝隙。
骑着朋友到处跑。它开箱即用,从 1.20 到 26.x 版本均适用,无需 ProtocolLib,也无需额外配置。
✨ 功能特性
? 椅子
- 空手右键点击台阶、半砖或地毯即可坐下。
- 你会自动背对靠背,并且是坐在台阶的上方,而不是嵌入其中。
- 开箱即支持所有台阶、半砖和地毯。它读取 Minecraft 自身的方块标签(block tags),因此未来更新中的新木材类型无需插件更新即可生效。
- 倒置的台阶、顶部的半砖以及没有头顶空间的方块会被跳过,以确保视觉效果正常。
- 一把椅子只允许一名玩家。破坏椅子时,坐在上面的玩家会站起来。
- 建造不受影响:手持方块或潜行时不会触发坐下动作。
? /sit
站在原地坐下。再次运行该命令或潜行即可站起。
? /lay
在地面上躺下。Lounge 会生成一个带有你的皮肤、护甲和手中物品的睡眠人偶,而你的真实身体则隐藏起来。
不发送数据包,不使用 NPC 库,列表页中也不会出现假玩家。(需要 Minecraft 1.21.9+ 版本,即引入人偶功能的版本。)
? /crawl
以游泳姿态在陆地上爬行,从而穿过1 格高的缝隙。其他人会看到你在爬行,且你的碰撞箱也会真正缩小。
可选双击潜行键来开始爬行。单次潜行即可站起。
? 玩家堆叠
右键点击玩家即可坐在其头上。最多可以堆叠 3 层(可在配置中调整)。
位于底部的玩家潜行可以将所有人掀翻,而 /lounge toggle 命令可阻止他人坐在你身上。此选择保存在玩家数据中,因此不需要数据库。
? 干净且安全
- 当你站起时,会被放回站立时的位置,这样就不会有人卡在台阶里。
- 座位是不可见的标记实体,永远不会保存到磁盘。即使崩溃或执行
/stop,也不会留下盔甲架。
- 尊重保护插件:如果 WorldGuard、GriefPrevention、Lands 等插件拒绝点击,你将无法坐下。
- 在坐着时退出、死亡、传送或切换世界,系统会自动清理所有状态。
⌨️ 命令
| 命令 |
描述 |
权限节点 |
/sit |
原地坐下(再次使用以站起) |
lounge.sit |
/lay |
躺下(再次使用以站起) |
lounge.lay |
/crawl |
开始或停止爬行 |
lounge.crawl |
/lounge toggle |
允许或禁止他人坐在你身上 |
lounge.toggle |
/lounge stand <player|*> |
使玩家站起 |
lounge.admin |
/lounge reload |
重载配置和消息 |
lounge.admin |
右键点击椅子需要 lounge.chair 权限,坐在玩家头上需要 lounge.stack 权限。所有玩家权限默认均为开启。
lounge.notify (op) 用于向管理员通知更新信息。
⚙️ 配置
所有功能均可单独关闭:椅子、/sit、/lay、/crawl 和堆叠,每个功能都有各自的选项。你也可以在指定的世界中完全禁用 Lounge。
通过一行代码添加自定义椅子,支持按名称或标签指定:
chairs:
blocks:
'#stairs': 0.5
'#slabs': 0.5
'#wool_carpets': 0.0625
hay_block: 1.0 # 自定义方块
所有消息均使用 MiniMessage 格式(支持渐变、悬停提示、点击事件)。内置英文和波兰文语言包,你也可以添加自己的 lang/<name>.yml。
? 开发者接口
- 事件:
PlayerSitEvent(可取消)、PlayerStandEvent、PlayerCrawlEvent(可取消)、PlayerStackEvent(可取消)
- API:
LoungeAPI.isSeated(player)、getSeatType、sit、lay、stand、startCrawling、stopCrawling、allowsStacking
- PlaceholderAPI:
%lounge_pose%(站立 / 坐下 / 躺下 / 爬行 / 骑行)、%lounge_sitting%、%lounge_laying%、%lounge_crawling%、%lounge_stacking%
✅ 兼容性
|
|
| 服务器端 |
Paper, Folia, Purpur 及其他 Paper 分支 |
| 版本 |
1.20 → 26.x (/lay 需 1.21.9+) |
| Java |
17+ |
| 依赖 |
无(PlaceholderAPI 为可选依赖) |
已在 Paper 1.20.6、1.21.4、1.21.11、26.1.2 和 Folia 1.20.6 上使用真实客户端和机器人进行测试,并确认能在 Paper 和 Folia 26.3 上干净启动。
每个座位都运行在其所属玩家的区域调度器上,因此完全兼容 Folia,而不仅仅是“能加载”。
? Lounge
Sit, lay and crawl anywhere. Built for Paper and Folia, with zero dependencies.
Right-click a stair to sit on it. Type /lay and lie down with your own skin. Crawl through 1-block gaps.
Ride your friends around. It just works, from 1.20 up to 26.x, with no ProtocolLib and no setup.
✨ Features
? Chairs
- Right-click stairs, slabs or carpets with an empty hand to sit down.
- You face away from the backrest automatically and sit on the step, not inside it.
- Works with every stair, slab and carpet out of the box, read from Minecraft's own block tags, so new wood types from future updates work without a plugin update.
- Upside-down stairs, top slabs and blocks with no headroom are skipped, so nothing looks wrong.
- One player per chair. Break the chair and whoever sits on it stands up.
- Building still works: holding a block or sneaking never makes you sit.
? /sit
Sit down right where you stand. Run it again or sneak to get up.
? /lay
Lie down on the ground. Lounge spawns a sleeping mannequin with your skin, armor and held items while your real body stays hidden.
No packets, no NPC library, no fake players in the tab list. (Needs Minecraft 1.21.9+, the version that added mannequins.)
? /crawl
Crawl on land in the swimming pose to get through 1-block gaps. Everyone sees you crawl and your hitbox really shrinks.
Optional double-sneak to crawl. Sneak once to stand up.
? Player stacking
Right-click a player to sit on their head. Make a tower of up to 3 (configurable).
The player at the bottom sneaks to throw everyone off, and /lounge toggle stops others from sitting on you at all. The choice is saved on the player, so there's no database.
? Clean and safe
- When you get up, you're put back where you were standing, so nobody gets stuck in stairs.
- Seats are invisible marker entities that are never saved to disk. A crash or
/stop never leaves armor stands behind.
- Protection plugins are respected: if WorldGuard, GriefPrevention, Lands and the like deny the click, you don't sit.
- Quit, die, teleport or change worlds while sitting, and everything is cleaned up.
⌨️ Commands
| Command |
Description |
Permission |
/sit |
Sit where you stand (again to get up) |
lounge.sit |
/lay |
Lie down (again to get up) |
lounge.lay |
/crawl |
Start or stop crawling |
lounge.crawl |
/lounge toggle |
Allow or block others sitting on you |
lounge.toggle |
/lounge stand <player|*> |
Make players stand up |
lounge.admin |
/lounge reload |
Reload config and messages |
lounge.admin |
Right-clicking chairs needs lounge.chair, and sitting on players needs lounge.stack. Every player permission is on by default.
lounge.notify (op) tells admins about updates.
⚙️ Configuration
Everything can be switched off: chairs, /sit, /lay, /crawl and stacking, each with its own options. You can also turn Lounge off in chosen worlds.
Add your own chairs in one line, by name or by tag:
chairs:
blocks:
'#stairs': 0.5
'#slabs': 0.5
'#wool_carpets': 0.0625
hay_block: 1.0 # your own
All messages use MiniMessage (gradients, hover, click). English and Polish come included, and you can add your own lang/<name>.yml.
? For developers
- Events:
PlayerSitEvent (cancellable), PlayerStandEvent, PlayerCrawlEvent (cancellable), PlayerStackEvent (cancellable)
- API:
LoungeAPI.isSeated(player), getSeatType, sit, lay, stand, startCrawling, stopCrawling, allowsStacking
- PlaceholderAPI:
%lounge_pose% (standing / sitting / laying / crawling / riding), %lounge_sitting%, %lounge_laying%, %lounge_crawling%, %lounge_stacking%
✅ Compatibility
|
|
| Servers |
Paper, Folia, Purpur and other Paper forks |
| Versions |
1.20 → 26.x (/lay from 1.21.9) |
| Java |
17+ |
| Dependencies |
None (PlaceholderAPI optional) |
Tested with a real client and bots on Paper 1.20.6, 1.21.4, 1.21.11, 26.1.2 and Folia 1.20.6, and checked to start cleanly on Paper and Folia 26.3.
Every seat runs on its player's own region scheduler, so it is fully Folia-safe, not just "it loads".
Made by Invv · Check out my other plugins: Tpa · Antixray · SetSpawn · Nametags
Found a bug or have an idea? Leave a comment, I read all of them. ?
评论 0
登录后参与评分
还没有评论,来抢沙发吧