? UnderRated CoreX (URCX)
终极后端管理员与服务器性能套件
UnderRatedCoreX 不仅仅是一个 "ClearLag" 的克隆版。它是一个复杂的后端服务器管理套件,旨在充当一名 24/7 在线的管理员。它主动监控服务器健康状况,防止崩溃,缓解卡顿机器(Lag Machines),并优化资源——同时秉持“安全模式”理念,确保你的服务器永不宕机。
? 主要功能
?️ 高级崩溃处理器与安全模式
URCX 以稳定性为核心设计理念。每个主要功能(红石监控器、实体堆叠器等)都受到我们安全模式逻辑的保护。如果某个特定功能遇到错误或导致挂起,URCX 将:
- 仅自动禁用该功能。
- 在
/plugins/UnderRatedCoreX/dumps/ 目录下生成详细的崩溃转储文件。
- 通知所有管理员,以便在不导致整个服务器崩溃的情况下解决问题。
⚡ 卡顿缓解与优化
- 红石监控器: 积极追踪高频红石脉冲。如果检测到“卡顿机器”,URCX 会自动破坏电路(移除一根红石线)并通知管理员具体的坐标位置。
- TPS 守护者: 持续监控服务器的每秒刻数(TPS)。如果 TPS 显著下降,它将触发对问题区块中实体和掉落物品的紧急清理。
- 实体堆叠器: 通过将相同的生物合并为具有“堆叠计数”的单个实体来减少实体开销,从而显著降低 AI 处理带来的卡顿。
- 区块卸载器: 定期识别并卸载空闲区块,这些区块浪费了 RAM 却没有玩家或关键实体存在。
? 自动化清理
- 定时物品清理: 一个智能的地面物品清除器,在清除卡顿物品之前,向全服提供 60 秒、30 秒和 10 秒的倒计时。
- 内存监控器: 监控 Java 堆内存使用情况,如果服务器接近内存限制,则记录警告信息。
⌨️ 命令与用法
插件的主要命令是 /urcx(别名 /ur)。所有命令均配备智能 Tab 补全系统,便于使用。
命令 描述:
- /urcx reload: 重新加载 config.yml 并重启内部调度器。
- /urcx config.yml: 实时查看器:直接在聊天窗口显示当前 config.yml 文件的内容。
- /urcx instantchunkunload: 立即强制执行一次空闲区块卸载扫描,以释放 RAM。
- /urcx instantlagunload: 紧急按钮:即时清除红石回路、物品密度和空闲区块。
- /urcx admin <add/remove> <user>: 手动管理 URCX 管理员列表(LuckPerms 的备用方案)。
- /urcx clearlag time set <mins>: 更改自动物品清理计时器的间隔时间。
- /urcx clearlag time info: 显示下次物品清理的状态和剩余时间。
- /urcx chunkunload time set <mins>: 更改自动区块卸载计时器的间隔时间。
- /urcx chunkunload time info: 显示区块卸载器的状态(仅管理员可见)。
? 权限与安全
URCX 与 LuckPerms 深度集成,但包含内置的备用系统。
underratedcorex.alerts
允许用户使用命令并接收卡顿/安全模式警报。
- 手动管理员: 如果你不想使用权限节点,可以使用 /urcx admin add <name> 授予用户完全访问权限。
- 操作员(OP)备用: 服务器 OP 默认拥有所有功能的访问权限。
要求: 必须安装 LuckPerms 才能使插件初始化其高级权限检查。
? 目录与日志:
- /logs/: URCX 维护着一个每日日志记录器(DailyLogger)。每次优化、红石破坏和清理操作都会在此处记录带时间戳的信息,保持控制台整洁。
- /dumps/: 如果某个功能失败,堆栈跟踪信息和服务器状态将保存于此,用于调试。
⚙️ 操作方法
安装: 将 jar 文件放入你的 plugins 文件夹。确保已安装 LuckPerms。
配置: 打开 config.yml 设置你所需的内存阈值和初始清理间隔。
监控: 使用 /urcx clearlag time info 查看计时器的运行状态。
管理: 使用 /urcx admin add <name> 或通过 LuckPerms 将受信任的工作人员添加到警报列表中。
BUG 相关查询:
如有任何 Bug 相关问题,请加入提供的 Discord 服务器。
? UnderRated CoreX (URCX)
The Ultimate Backend Moderator & Server Performance Suite
UnderRatedCoreX is not just another "ClearLag" clone. It is a sophisticated, backend server management suite designed to act like a 24/7 moderator. It proactively monitors server health, prevents crashes, mitigates lag machines, and optimizes resources—all while maintaining a "Safe Mode" philosophy to ensure your server never stays down.
? Key Features
?️ Advanced Crash Handler & Safe Mode
URCX is built with stability in mind. Every major feature (Redstone Monitor, Mob Stacker, etc.) is protected by our Safe Mode logic. If a specific feature encounters an error or causes a hang, URCX will:
- Automatically disable only that feature.
- Generate a detailed Crash Dump in /plugins/UnderRatedCoreX/dumps/.
- Alert all admins so the issue can be resolved without crashing the entire server.
⚡ Lag Mitigation & Optimization
- Redstone Monitor: Actively tracks high-frequency redstone pulses. If a "Lag Machine" is detected, URCX automatically breaks the circuit (removes a redstone wire) and alerts admins of the exact coordinates.
- TPS Guardian: Constantly watches your server's ticks-per-second. If TPS drops significantly, it triggers an emergency sweep of entities and dropped items in problematic chunks.
- Mob Stacker: Reduces entity overhead by merging identical mobs into single entities with a "stack count," significantly reducing AI processing lag.
- Chunk Unloader: Periodically identifies and unloads idle chunks that are wasting RAM but have no players or essential entities in them.
? Automated Cleanups
- Scheduled Item Cleanup: A smart ground-item remover that provides a 60-second, 30-second, and 10-second countdown to the entire server before clearing laggy items.
- Memory Monitor: Watches your Java Heap usage and logs warnings if the server is approaching its memory limit.
⌨️ Commands & Usage
The main command for the plugin is /urcx (with the alias /ur). All commands feature a smart Tab Completion system for ease of use.
Command Description:
- /urcx reload: Reloads the config.yml and restarts internal schedulers.
- /urcx config.yml: Live Viewer: Displays the current contents of the config.yml file directly in chat.
- /urcx instantchunkunload: Immediately forces an idle chunk unload sweep to free up RAM.
- /urcx instantlagunload: Emergency Button: Instantly clears redstone loops, item densities, and idle chunks.
- /urcx admin <add/remove> <user>: Manually manages the URCX admin list (fallback for LuckPerms).
- /urcx clearlag time set <mins>: Changes the interval for the automatic item cleanup timer.
- /urcx clearlag time info: Shows status and time remaining for the next item cleanup.
- /urcx chunkunload time set <mins>: Changes the interval for the automatic chunk unloading timer.
- /urcx chunkunload time info: Shows status of the chunk unloader (Visible only to Admins).
? Permissions & Security
URCX integrates deeply with LuckPerms but includes a built-in fallback system.
- LuckPerms Integration: The node
underratedcorex.alerts
allows users to use commands and receive lag/safe-mode alerts.
- Manual Admins: If you don't want to use permissions, you can use /urcx admin add <name> to grant a user full access.
- Operator Fallback: Server OPs are granted access to everything by default.
Requirement: LuckPerms must be installed for the plugin to initialize its advanced permission checks.
? Directories & Logs:
- /logs/: URCX maintains a DailyLogger. Every optimization, redstone break, and cleanup is logged here with timestamps, keeping your console clean.
- /dumps/: If a feature fails, the stack trace and server state are saved here for debugging.
⚙️ How to Operate
Install: Drop the jar into your plugins folder. Ensure LuckPerms is installed.
Configure: Open config.yml to set your desired memory thresholds and initial cleanup intervals.
Monitor: Use /urcx clearlag time info to see how the timers are running.
Administer: Add your trusted staff to the alerts using /urcx admin add <name> or via LuckPerms.
BUG-RELATED QUERIES:
For any bug related queries please join the discord server provided.
评论 0
登录后参与评分
还没有评论,来抢沙发吧