⚠️ 兼容性说明: 本插件专为 Minecraft 1.21.5 Purpur 构建。已在 Purpur 1.21.5 和 Spigot 1.21.1 上经过测试。旨在兼容 1.21.x 版本的 Spigot/Purpur/Paper/Bukkit 环境。
如果您想报告错误或建议新插件,请加入我的 Discord 服务器。
?️ SmpMechanics
为您的生存多人服务器打造的终极实用解决方案!
SmpMechanics 是一款一体化插件,旨在增强 SMP(生存多人游戏)体验,同时保留原版游戏的质感。它将必要的管理工具、社交互动和沉浸式生存机制整合到一个高度优化的包中。从自定义昼夜循环到互动家具和智能睡眠系统——这里应有尽有!
✨ 主要特性
- ? 高级睡眠系统: 再也不用瞬间跳过夜晚了!“时间扭曲”机制会在玩家睡觉时平滑地加速时间流逝。
- 增益效果: 在床里睡觉的玩家会获得药水奖励。
- 减益效果: 在夜间四处游荡的玩家会受到惩罚。
- 中立状态: 坐在椅子或台阶上的玩家是安全的——他们会跳过夜晚,但不会获得增益或减益效果。
- ⏳ 自定义昼夜循环: 掌控时间!可以独立于原版游戏规则设置白天或黑夜的持续时间。
- ? 社交互动: 右键点击任意 台阶 (Stair) 或 半砖 (Slab) 即可立即坐下。使用
/sittoggle 切换是否允许其他人在你身上坐下。
- ? 舒适的营火: 在火旁放松是有回报的。站在点燃的营火附近的玩家会随时间被动恢复生命值。
- ⚔️ 智能清理怪物: 独特的
/kill monsters 命令可移除敌对生物以减少卡顿,但保护命名实体、宠物以及位于船或矿车内的生物。
- ?️ 检查器与日志记录: 内置 SQLite 日志记录器追踪方块放置、破坏和箱子交互。使用检查器工具查看历史记录。
- ?️ 管理与核心工具: 包含游戏模式切换器 (
/gm)、治疗/喂食 (/heal, /feed)、物品栏编辑 (/eqf) 和飞行 (/fly)。
- ? 多语言支持: 完整支持 英语 和 波兰语(可通过命令切换)。
⚙️ 配置与模块
该插件采用模块化设计。您可以在 config.yml 或通过命令启用或禁用特定功能:
- 模块: 随时切换
sleep(睡眠)、social(社交)、logger(日志)或 utility(实用工具)系统。
- 时间控制: 使用
/smp set 精确设定白天和黑夜各持续多少秒。
- 奖励与惩罚: 完全可自定义睡觉或保持清醒时的药水效果。
? 命令与权限
主命令: /smp
| 命令 |
描述 |
权限 |
默认值 |
| --- 玩家 --- |
|
|
|
/sit |
坐在你脚下的方块上。 |
smpmechanics.sit |
✅ 所有人 |
/sittoggle |
切换是否允许其他人在你身上坐下。 |
smpmechanics.sit |
✅ 所有人 |
/tpa <player> |
发送传送请求。 |
smpmechanics.tpa |
✅ 所有人 |
/tpaccept |
接受传送请求。 |
smpmechanics.tpa |
✅ 所有人 |
/hat |
将手中的物品作为帽子佩戴。 |
smpmechanics.hat |
✅ 所有人 |
/autopickup |
切换掉落物自动拾取。 |
smpmechanics.autopickup |
✅ 所有人 |
/ping |
检查您与服务器的延迟。 |
smpmechanics.ping |
✅ 所有人 |
| --- 管理员 --- |
|
|
|
/smp <args> |
管理模块、语言和時間设置。 |
smpmechanics.admin |
❌ OP |
/gm <mode> |
切换游戏模式 (0, 1, 2, 3)。 |
smpmechanics.gamemode |
❌ OP |
/heal [player] |
治疗自己或他人。 |
smpmechanics.heal |
❌ OP |
/feed [player] |
喂食自己或他人。 |
smpmechanics.feed |
❌ OP |
/fly |
切换飞行模式。 |
smpmechanics.fly |
❌ OP |
/god |
切换无敌状态(上帝模式)。 |
smpmechanics.god |
❌ OP |
/eq <player> |
查看 玩家物品栏。 |
smpmechanics.invsee |
❌ OP |
/eqf <player> |
编辑 玩家物品栏。 |
smpmechanics.invsee.edit |
❌ OP |
/setspawn |
设置世界出生点。 |
smpmechanics.admin |
❌ OP |
/kill monsters |
智能移除敌对生物。 |
smpmechanics.kill |
❌ OP |
/inspektor |
获取用于查看日志的检查器工具。 |
smpmechanics.inspektor |
❌ OP |
通配符权限(完整管理员): smpmechanics.*
? 安装
- 下载
.jar 文件。
- 将其放入服务器的
/plugins/ 文件夹中(适用于 Spigot/Paper/Purpur 1.21.x)。
- 重启服务器。
- 完成!
config.yml 和 database.db 将自动生成。
⚠️ Compatibility Note: This plugin is built for Minecraft 1.21.5 Purpur. It has been tested on Purpur 1.21.5 and Spigot 1.21.1. Designed to work on 1.21.x Spigot/Purpur/Paper/Bukkit environments.
If you want to report a bug or suggest a new plugin, join my Discord server.
?️ SmpMechanics
The ultimate utility solution for your Survival Multiplayer server!
SmpMechanics is an all-in-one plugin designed to enhance the SMP experience without breaking the vanilla feel. It combines essential administrative tools, social interactions, and immersive survival mechanics into a single, highly optimized package. From custom day/night cycles to interactive furniture and smart sleep systems—it’s all here!
✨ Key Features
- ? Advanced Sleep System: No more skipping the night instantly! The "Time Warp" mechanic smoothly accelerates time when players sleep.
- Buffs: Players sleeping in beds receive potion rewards.
- Debuffs: Players wandering around at night receive penalties.
- Neutral: Players sitting on chairs/stairs are safe—they skip the night but get no buffs or debuffs.
- ⏳ Custom Day/Night Cycle: Take control of time! Set the day or night duration independent of vanilla game rules.
- ? Social Interactions: Right-click any Stair or Slab to sit down instantly. Toggle whether others can sit on you with
/sittoggle.
- ? Cozy Campfires: Relaxing by the fire pays off. Players standing near a lit Campfire will passively regenerate health over time.
- ⚔️ Smart Mob Clear: The unique
/kill monsters command removes hostile mobs to reduce lag but protects named entities, pets, and mobs inside boats or minecarts.
- ?️ Inspector & Logging: Built-in SQLite logger tracks block placement, breaking, and chest interactions. Use the Inspector Tool to check history.
- ?️ Admin & Vital Tools: Includes Gamemode switchers (
/gm), Heal/Feed (/heal, /feed), Inventory editing (/eqf), and Flight (/fly).
- ? Multi-Language: Full support for English and Polish (switchable via command).
⚙️ Configuration & Modules
The plugin is modular. You can enable or disable specific features in config.yml or via commands:
- Modules: Toggle
sleep, social, logger, or utility systems on the fly.
- Time Control: Define exactly how many seconds a Day and Night should last using
/smp set.
- Rewards & Penalties: Fully customizable potion effects for sleeping or staying awake.
? Commands and Permissions
Main command: /smp
| Command |
Description |
Permission |
Default |
| --- PLAYER --- |
|
|
|
/sit |
Sit on the block beneath you. |
smpmechanics.sit |
✅ Everyone |
/sittoggle |
Toggle if players can sit on you. |
smpmechanics.sit |
✅ Everyone |
/tpa <player> |
Send a teleport request. |
smpmechanics.tpa |
✅ Everyone |
/tpaccept |
Accept a teleport request. |
smpmechanics.tpa |
✅ Everyone |
/hat |
Wear the item in your hand as a hat. |
smpmechanics.hat |
✅ Everyone |
/autopickup |
Toggle auto-pickup for drops. |
smpmechanics.autopickup |
✅ Everyone |
/ping |
Check your latency to the server. |
smpmechanics.ping |
✅ Everyone |
| --- ADMIN --- |
|
|
|
/smp <args> |
Manage modules, language, and time settings. |
smpmechanics.admin |
❌ OP |
/gm <mode> |
Switch gamemode (0, 1, 2, 3). |
smpmechanics.gamemode |
❌ OP |
/heal [player] |
Heal yourself or someone else. |
smpmechanics.heal |
❌ OP |
/feed [player] |
Feed yourself or someone else. |
smpmechanics.feed |
❌ OP |
/fly |
Toggle flight mode. |
smpmechanics.fly |
❌ OP |
/god |
Toggle invincibility (God Mode). |
smpmechanics.god |
❌ OP |
/eq <player> |
View a player's inventory. |
smpmechanics.invsee |
❌ OP |
/eqf <player> |
Edit a player's inventory. |
smpmechanics.invsee.edit |
❌ OP |
/setspawn |
Set world spawn point. |
smpmechanics.admin |
❌ OP |
/kill monsters |
Smartly remove hostile mobs. |
smpmechanics.kill |
❌ OP |
/inspektor |
Get the Inspector Tool for logs. |
smpmechanics.inspektor |
❌ OP |
Wildcard Permission (Full Admin): smpmechanics.*
? Installation
- Download the
.jar file.
- Place it in the
/plugins/ folder of your server (Spigot/Paper/Purpur 1.21.x).
- Restart the server.
- Done! The
config.yml and database.db will generate automatically.
评论 0
登录后参与评分
还没有评论,来抢沙发吧