mSurvival
适用于你 Minecraft 生存服务器的轻量、模块化且不可或缺的核心插件。
? 概览
mSurvival 是为现代生存服务器(1.21.11)打造的终极轻量核心。它以性能为导向,将所有必要的生存功能整合到一个单一的模块化插件中。
厌倦了为家园、出生点、RTP 和实用命令安装多个插件?mSurvival 用一个整洁、优化且完全可翻译的系统取代了它们,在减少杂乱的同时保持你的服务器快速高效。
✨ 功能
-
? 家园 GUI 系统:通过直观的菜单管理家园。
- 左键点击进行传送
- 右键点击删除
- 可配置的最大家园数量
-
? 出生点系统:使用 /setspawn 设置全局出生点,并通过 /spawn 瞬间传送玩家。
-
? 异步 RTP:安全的随机传送,会在传送前找到有效位置(无卡顿)。
-
? 游戏模式命令:快捷命令(/gmc, /gms, /gma, /gmsp),支持指定玩家目标。
-
? 返回系统:在使用 /back 后,传送到上次传送或死亡前的位置。
-
?️ 垃圾桶 GUI:54 格的库存,用于安全地删除不需要的物品(/trash)。
-
⚙️ 模块化系统:直接从配置文件中启用或禁用每个功能。
-
? 完全可翻译:所有消息均可在 messages.yml 中编辑。
-
? 颜色支持:支持经典代码(&)和 HEX 颜色码(&#RRGGBB)。
-
? 轻量与优化:专为现代 Paper 服务器构建,零性能损耗。
? 安装
- 下载
mSurvival.jar 文件并将其放入服务器的 plugins 文件夹中。
- 重启服务器。
- 在
config.yml 中配置设置。
- 在
messages.yml 中自定义消息。
⚙️ config.yml
主配置文件处理所有技术设置和模块开关:
点击查看默认 config.yml
# mSurvival - 配置文件
# 此文件仅包含技术设置。
modules:
gamemode: true
spawn: true
home: true
back: true
rtp: true
trash: true
spawn:
world: world
x: 0.5
y: 64.0
z: 0.5
yaw: 0.0
pitch: 0.0
home:
max-homes: 3
rtp:
radius: 5000
min-radius: 100
max-attempts: 20
? messages.yml
此文件包含所有插件消息并支持完整的颜色自定义:
点击查看默认 messages.yml
# mSurvival - 消息文件
# 支持 & 颜色代码和 &#RRGGBB HEX 颜色码。
prefix: "&8[&b&lmSurvival&8] "
no-permission: "&c你没有权限执行此操作。"
player-only: "&c此命令只能由玩家使用。"
player-not-found: "&c未找到玩家 '&e{player}&c' 或该玩家不在线。"
module-disabled: "&c此模块当前已禁用。"
# --- 游戏模式 ---
gamemode:
set-self: "&a你的游戏模式已设置为 &e{mode}&a。"
set-other: "&a已将 &e{player}&a 的游戏模式设置为 &e{mode}&a。"
set-other-notify: "&a你的游戏模式被 &e{sender}&a 设置为 &e{mode} &a。"
invalid: "&c无效的游戏模式。请使用:0/creative, 1/survival, 2/adventure, 3/spectator。"
# --- 出生点 ---
spawn:
set: "&a出生点位置已设置!"
teleported: "&a你已被传送至出生点。"
not-set: "&c出生点位置未设置。请管理员使用 /setspawn。"
# --- 家园 ---
home:
set: "&a家园 '&e{home}&a' 已设置!"
deleted: "&a家园 '&e{home}&a' 已删除。"
teleported: "&a已传送至家园 '&e{home}&a'。"
max-reached: "&c已达到最大家园数量 (&e{max}&c)。"
gui:
title: "&8&l你的家园"
item-name: "&b{home}"
item-lore:
- "&7左键点击以 &a传送"
- "&7右键点击以 &c删除"
# --- 其他 ---
rtp:
searching: "&e正在寻找安全位置..."
teleported: "&a已传送到随机位置!"
back:
teleported: "&a已返回到之前的位置。"
trash:
title: "&8&l垃圾桶"
mSurvival
A lightweight, modular, and essential core for your Minecraft Survival server.
? Overview
mSurvival is the definitive lightweight core designed for modern Survival servers (1.21.11). Built with performance in mind, it consolidates all the essential survival features into a single, modular plugin.
Tired of installing multiple plugins for homes, spawn, RTP, and utility commands? mSurvival replaces them all with a clean, optimized, and fully translatable system, reducing clutter while keeping your server fast and efficient.
✨ Features
-
? Home GUI System: Manage homes through an intuitive menu.
- Left-click to teleport
- Right-click to delete
- Configurable max homes
-
? Spawn System: Set a global spawn with /setspawn and teleport players instantly with /spawn.
-
? Async RTP: Safe random teleport that finds a valid location before teleporting (no lag spikes).
-
? Gamemode Commands: Quick commands (/gmc, /gms, /gma, /gmsp) with player targeting support.
-
? Back System: Return to your last location after teleport or death using /back.
-
?️ Trash GUI: 54-slot inventory to safely delete unwanted items (/trash).
-
⚙️ Modular System: Enable or disable every feature directly from the config.
-
? Fully Translatable: All messages are editable in messages.yml.
-
? Color Support: Supports both classic (&) and HEX colors (&#RRGGBB).
-
? Lightweight & Optimized: Built for modern Paper servers with zero performance impact.
? Installation
- Download the
mSurvival.jar file and place it into your server's plugins folder.
- Restart your server.
- Configure settings in
config.yml.
- Customize messages in
messages.yml.
⚙️ config.yml
The main configuration file handles all technical settings and module toggles:
Click to view default config.yml
# mSurvival - Configuration File
# This file contains ONLY technical settings.
modules:
gamemode: true
spawn: true
home: true
back: true
rtp: true
trash: true
spawn:
world: world
x: 0.5
y: 64.0
z: 0.5
yaw: 0.0
pitch: 0.0
home:
max-homes: 3
rtp:
radius: 5000
min-radius: 100
max-attempts: 20
? messages.yml
This file contains all plugin messages and supports full color customization:
Click to view default messages.yml
# mSurvival - Messages File
# Supports & color codes and &#RRGGBB hex colors.
prefix: "&8[&b&lmSurvival&8] "
no-permission: "&cYou don't have permission to do that."
player-only: "&cThis command can only be used by players."
player-not-found: "&cPlayer '&e{player}&c' not found or not online."
module-disabled: "&cThis module is currently disabled."
# --- Gamemode ---
gamemode:
set-self: "&aYour gamemode has been set to &e{mode}&a."
set-other: "&aSet &e{player}&a's gamemode to &e{mode}&a."
set-other-notify: "&aYour gamemode was set to &e{mode} &aby &e{sender}&a."
invalid: "&cInvalid gamemode. Use: 0/creative, 1/survival, 2/adventure, 3/spectator."
# --- Spawn ---
spawn:
set: "&aSpawn location has been set!"
teleported: "&aYou have been teleported to spawn."
not-set: "&cSpawn location is not set. Ask an admin to use /setspawn."
# --- Home ---
home:
set: "&aHome '&e{home}&a' has been set!"
deleted: "&aHome '&e{home}&a' has been deleted."
teleported: "&aTeleported to home '&e{home}&a'."
max-reached: "&cMaximum number of homes reached (&e{max}&c)."
gui:
title: "&8&lYour Homes"
item-name: "&b{home}"
item-lore:
- "&7Left-click to &aTeleport"
- "&7Right-click to &cDelete"
# --- Other ---
rtp:
searching: "&eSearching for a safe location..."
teleported: "&aTeleported to a random location!"
back:
teleported: "&aReturned to your previous location."
trash:
title: "&8&lTrash"
Developed with ❤️ by sonoMiky
评论 0
登录后参与评分
还没有评论,来抢沙发吧