Survival Friend - 你唯一需要的插件!
为 Spigot、Paper 和 Folia 提供可配置的生存特性,增强你的 SMP 体验。
功能一览(所有功能均可单独禁用/启用)
- 阻止苦力怕对方块或玩家造成伤害
- 防止玩家或生物踩踏农作物
- 通过
/ec 和 /wb 打开末影箱或工作台
- 通过
/compass 进行导航
- 防止在传送门农场中因距离过远而消失
- 发送带有可配置冷却时间的
/tpa 请求
- 坐在其他玩家的头上并堆叠多个玩家
- 自定义末影龙的生命值
- 广播不死图腾的使用提示
- 要求玩家接受你的服务器规则
- 分别切换将混凝土粉末转化为混凝土或染色玻璃的功能
- 扩展活跃信标的范围
- 在 Folia 上恢复重力方块复制
- 在 Folia 上恢复持久的末影珍珠静止室
- 查看活跃的 Paper 漏洞利用设置
- 通过
/menusf 切换功能 —— 管理员可以更改设置,而其他玩家只有只读访问权限
- 使用
/menusf reload 在不重启服务器的情况下重新加载设置
安装说明
- 从 Modrinth 下载最新版本。
- 将
.jar 文件放入服务器的 plugins 文件夹并启动服务器。
- 以管理员身份打开
/menusf 来启用或禁用功能。
- 编辑
plugins/SurvivalFriend/config.yml 以调整额外设置,如信标范围、龙生命值、传送冷却时间和服务器规则。通过服务器控制台或拥有 survivalfriend.reload 权限的玩家执行 /menusf reload 应用更改。管理员默认拥有此权限。如果 YAML 格式无效,之前的设置将保持生效。
详细功能列表
-
苦力怕保护:选择是否允许苦力怕破坏方块或伤害玩家。两种保护可以独立切换。
-
农作物踩踏:防止玩家、生物或两者通过踩踏或跳跃破坏农田上的农作物。
-
TPA:玩家可以使用 /tpa <player> 发送传送请求,并通过 /tpa <player> accept 或点击聊天按钮接受请求。默认冷却时间为 60 分钟,可通过 tpa.cooldown-seconds 配置。设置为 0 可禁用冷却时间。请求默认在 120 秒后过期,可通过 tpa.request-timeout-seconds 配置。重新加载会将新的超时时间应用于未来的请求并调整当前的冷却时间。待处理的请求保留其原始过期时间。
-
玩家坐下:右键点击其他玩家可以坐在他们的头上,即使他们已经在坐着。潜行即可离开。坐下功能仅限对其他玩家使用。管理员可以通过 /menusf 中的“玩家头部”项目启用它,或在配置文件中设置 player-sitting.enable 为 true。该功能默认禁用。关闭它会移除当前正在坐着的玩家。
-
传送门农场:防止选定的生物在进入传送门后因远离玩家而消失。默认列表包括守卫者、铁傀儡、苦力怕、凋灵骷髅和僵尸猪灵。通过 spf.mobs 自定义列表。此功能已在 Paper 和 Folia 上与多名玩家一起测试。农场仍需区块 ticking;此功能不会保持区块加载。
-
更难的龙:通过 hd.health 配置末影龙的最大生命值。启用后,新生成或复活的龙将获得配置的生命值。现有的龙不受影响。原版基础生命值为 200 HP (100 颗心)。
-
不死图腾通知:每当玩家通过使用不死图腾存活时,广播一条死亡风格的消息。支持双手,消息涵盖环境伤害、投射物射手、TNT 引爆器和其他伤害来源。
-
末影箱和工作台:使用 /ec 打开末影箱或使用 /wb 打开合成台。每个命令都可以对所有人可用、限制为管理员或禁用。
-
指南针:使用 /compass <player> 追踪同一世界中的另一名玩家,或使用 /compass <x> <z> 指向坐标。支持相对坐标和 /compass reset。
-
服务器规则:玩家可以通过 /rules 阅读并接受你的规则。启用后,玩家必须在移动或传送之前接受每条规则。规则和接受状态都会保存。重新加载更改后的规则需要玩家再次接受。如果规则文本保持不变,玩家会保留他们的接受状态和进度。此功能默认禁用。
-
熔炉混凝土:将混凝土粉末倒入装有水的炼药锅中,无需消耗水即可将整个堆叠转换为匹配的混凝土。支持所有 16 种颜色。此功能默认启用,可以通过 /menusf 中的“炼药锅”物品切换。
-
烤箱玻璃:在普通熔炉中烧制混凝土粉末以获得匹配的染色玻璃,每次一块粉末,使用常规燃料和烹饪时间。支持所有 16 种颜色。此功能默认启用,可以通过 /menusf 中的“熔炉”物品独立切换。
-
信标范围扩展器:扩展已加载区块中活跃信标的影响范围。将 beacon-range-extender.range 设置为 50–1,000 格(默认 100)。方形区域水平延伸并向信标下方延伸,向上延伸至世界天花板。信标使用其选定的效果和效果等级。此功能默认禁用,可以通过 /menusf 中的“信标”物品切换。
-
重力复制 —— 仅限 Folia:在末地传送门处恢复重力方块复制,包括侧向进入并分解为物品的情况。在 /menusf 中切换沙子物品。临时副本在完成传送后会保留预期的运动轨迹,被阻止的传送会被清理。此功能默认禁用。
-
Pearl Stasis — 仅限 Folia:使用持久的珍珠占位符还原末影珍珠停滞室。支持向上的气泡柱和蜂蜜块停滞室。已保存的停滞室在玩家断开连接或服务器重启后依然保留。启用时,停滞室会保持一个可配置范围的区块处于加载状态,因此非常适合与单人重力复制装置配合使用。禁用该功能将释放其区块加载票。通过 /menusf 中的末影之眼进行切换。此功能默认关闭。
-
Paper 漏洞状态:/menusf 中的比较器会显示当前 Paper 设置下关于活塞复制、无头活塞、永久破坏方块漏洞以及不安全的末地传送门传送的状态。适用于 Paper 和 Folia。点击可刷新显示;如需更改设置,请修改 config/paper-global.yml 并重启服务器以生效。
Survival Friend - The only plugin you'll need!
Enhance your SMP with configurable survival features for Spigot, Paper and Folia.
Features at a glance (everything can individually be disabled/enabled)
- Prevent creeper damage to blocks and/or players
- Prevent crop trampling by players and/or mobs
- Open an ender chest or workbench with
/ec and /wb
- Navigate with
/compass
- Prevent distance-based despawning in portal farms
- Send
/tpa requests with a configurable cooldown
- Sit on other players' heads and stack multiple players
- Customize the Ender Dragon's health
- Broadcast Totem of Undying pops
- Require players to accept your server rules
- Turn concrete powder into concrete or stained glass with separate toggles
- Extend the range of active beacons
- Restore gravity block duplication on Folia
- Restore persistent Ender pearl stasis chambers on Folia
- View active Paper exploit settings
- Toggle features through
/menusf — operators can change settings, while other players have read-only access
- Reload settings without restarting the server using
/menusf reload
Setup instructions
- Download the latest release from Modrinth.
- Put the
.jar file into your server's plugins folder and start the server.
- Open
/menusf as an operator to enable or disable features.
- Edit
plugins/SurvivalFriend/config.yml for additional settings, such as beacon range, dragon health, teleport cooldowns and server rules. Apply your changes with /menusf reload from the server console or as a player with survivalfriend.reload. Operators have this permission by default. If the YAML is invalid, the previous settings stay active.
Detailed features list
-
Creeper Protection: Choose whether creepers can destroy blocks or damage players. Both protections can be toggled independently.
-
Crop Trampling: Prevent players, mobs or both from destroying crops by stepping or jumping on farmland.
-
TPA: Players can send teleport requests using /tpa <player> and accept them through /tpa <player> accept or a clickable chat button. The default cooldown is 60 minutes, configurable through tpa.cooldown-seconds. Set it to 0 to disable the cooldown. Requests expire after 120 seconds by default, configurable through tpa.request-timeout-seconds. Reloading applies the new timeout to future requests and adjusts active cooldowns. Pending requests keep their original expiry.
-
Player Sitting lets you right-click another player to sit on their head, even if they are already sitting. Sneak to dismount. Sitting is limited to other players. Operators can enable it with the Player Head in /menusf or set player-sitting.enable to true in the config. It is disabled by default. Turning it off dismounts active riders.
-
Portal Farms: Prevent selected mobs from despawning because they are far away from a player after entering a portal. The default list includes Guardians, Iron Golems, Creepers, Wither Skeletons and Zombified Piglins. Customize it through spf.mobs. This feature has been tested on Paper and Folia with multiple players. Farms still require ticking chunks; this feature does not keep chunks loaded.
-
Harder Dragon: Configure the Ender Dragon's maximum health through hd.health. While enabled, newly spawned or respawned dragons receive the configured health. Existing dragons are unaffected. Vanilla base health is 200 HP (100 hearts).
-
Totem Pop Notifications: Broadcast a death-style message whenever a player survives by using a Totem of Undying. Both hands are supported, with messages for environmental damage, projectile shooters, TNT igniters and other damage sources.
-
Ender Chest and Workbench: Open an ender chest with /ec or a crafting table with /wb. Each command can be available to everyone, restricted to operators or disabled.
-
Compass: Use /compass <player> to track another player in the same world, or /compass <x> <z> to point towards coordinates. Relative coordinates and /compass reset are supported.
-
Server Rules: Players can read and accept your rules through /rules. When enabled, players must accept every rule before they can move or teleport. Rules and acceptance are saved. Reloading changed rules requires players to accept them again. If the rule text stays the same, players keep their acceptance and progress. This feature is disabled by default.
-
Cauldron Concrete lets you drop concrete powder into a water cauldron to convert the entire stack into matching concrete without consuming water. All 16 colors are supported. This feature is enabled by default and can be toggled through the Cauldron item in /menusf.
-
Oven Glass lets you smelt concrete powder in a normal furnace to obtain matching stained glass, one block per powder, using normal fuel and cooking time. All 16 colors are supported. This feature is enabled by default and can be toggled independently through the Furnace item in /menusf.
-
Beacon Range Extender extends the effects of active beacons in loaded chunks. Set beacon-range-extender.range to 50–1,000 blocks (default 100). The square area extends that far horizontally and below the beacon, and up to the world ceiling above it. The beacon uses its selected effects and effect levels. This feature is disabled by default and can be toggled through the Beacon item in /menusf.
-
Gravity Duplication — Folia Only: Restore gravity block duplication at End portals, including sideways entries that break into items. Toggle the Sand item in /menusf. Temporary copies retain their intended motion after completing the portal transfer, and blocked transfers are cleaned up. This feature is disabled by default.
-
Pearl Stasis — Folia Only: Restore Ender pearl stasis chambers using persistent pearl placeholders. Supports upward bubble columns and honey chambers. Saved chambers survive player disconnects and server restarts. While enabled, chambers keep a configurable area of chunks ticking, making them useful alongside solo gravity duplication setups. Disabling the feature releases its chunk tickets. Toggle the Eye of Ender in /menusf. This feature is disabled by default.
-
Paper Exploit Status: The Comparator in /menusf displays the active Paper settings for piston duplication, headless pistons, permanent block-breaking exploits and unsafe End portal teleportation. Available on Paper and Folia. Clicking refreshes the display; change the settings in config/paper-global.yml and restart to apply them.
评论 0
登录后参与评分
还没有评论,来抢沙发吧