AdminTerminal
AdminTerminal 是一个(极度危险)基于 bukkit api 的 Minecraft 服务器插件,允许拥有特权的玩家通过游戏内命令直接访问服务器操作系统 Shell 并执行系统命令。
警告
本插件仅应在特定场景下使用(例如 SSH 访问不可用时),用于服务器维护。误用可能导致严重的安全风险。请极度谨慎地使用!
在不必要时请禁用此插件。用户需自行承担与其使用相关的所有风险。开发者不对因插件误用造成的任何损害承担责任。
功能概览
- 直接执行系统命令:通过
/at execute 执行 OS shell 命令
- 工作目录导航:使用
/at cd 更改当前工作目录
- 进程管理:通过
/at killall 终止所有由插件创建的进程
- 系统信息:通过
/at platform 查看服务器 OS 详情
- 警报系统:切换命令执行警报,以通知管理员
- 权限控制:限制插件使用权限,仅限拥有特定权限的玩家
配置
插件首次启动时会生成 config.yml。可配置选项如下:
- use_alarm:启用/禁用命令执行警报
- force_english:强制命令执行时使用英语区域设置
- remove_ansi_escape_sequences:从命令输出中移除 ANSI 转义码
命令列表
主命令:/at
| 命令 |
描述 |
/at help |
显示插件帮助 |
/at platform |
显示服务器 OS 信息 |
/at cd <directory> |
更改工作目录 |
/at execute <cmd> |
执行系统命令(请谨慎使用!) |
/at killall |
终止所有由插件创建的进程 |
/at alarm |
切换命令执行警报 |
/at reload |
重新加载插件配置 |
/at license |
查看插件许可信息 |
权限
| 权限 |
描述 |
at.use |
允许访问 /at 命令 |
at.alarm |
接收命令执行警报 |
重要说明
- 本插件存在重大安全风险。仅授予受信任的用户权限。保持警报开启并定期监控日志。
- 执行前请仔细检查命令。定期备份服务器。
- 始终使用权限管理插件(例如 LuckPerms),而不是向所有管理员开放系统命令访问权限。
闭源声明与致歉
问题报告
欢迎提出建议和错误报告!
许可证
AdminTerminal
AdminTerminal is a (highly dangerous) bukkit api-based Minecraft server plugin that allows privileged players to directly access the server OS Shell and execute system commands through in-game commands.
WARNING
This plugin should only be used in specific scenarios (e.g., when SSH access is unavailable) for server maintenance. Misuse may lead to severe security risks. Use with extreme caution!
Disable this plugin when not needed. Users assume all risks associated with its use. The developer bears no responsibility for any damages caused by plugin misuse.
Feature Overview
- Direct System Command Execution: Execute OS shell commands via
/at execute
- Working Directory Navigation: Change current working directory with
/at cd
- Process Management: Terminate all plugin-created processes via
/at killall
- System Information: View server OS details via
/at platform
- Alert System: Toggle command execution alerts for administrator notifications
- Permission Control: Restrict plugin usage to players with specific permissions
Configuration
The plugin generates config.yml on first launch. Configurable options:
- use_alarm: Enable/disable command execution alerts
- force_english: Force English locale for command execution
- remove_ansi_escape_sequences: Remove ANSI escape codes from command output
Commands List
Main Command: /at
| Command |
Description |
/at help |
Show plugin help |
/at platform |
Display server OS information |
/at cd <directory> |
Change working directory |
/at execute <cmd> |
Execute system command (Use with caution!) |
/at killall |
Terminate all plugin-created processes |
/at alarm |
Toggle command execution alerts |
/at reload |
Reload plugin configuration |
/at license |
View plugin license information |
Permissions
| Permission |
Description |
at.use |
Allow access to /at commands |
at.alarm |
Receive command execution alerts |
Important Notes
- This plugin poses significant security risks. Only grant permissions to trusted users. Keep alerts enabled and regularly monitor logs.
- Double-check commands before execution. Maintain regular server backups.
- Always use permission management plugins (e.g., LuckPerms) rather than granting system command access to all administrators.
Usage Examples
View OS Information
/at platform
Example output:
[AT] Server OS: Linux (x86_64) - 5.15.0-83-generic
Change Directory
/at cd /home/minecraft
Example output:
[AT] Working directory changed to: /home/minecraft
Execute System Command
/at execute ls -l
Example output:
[AT OUT] drwxr-xr-x 2 minecraft minecraft 4096 Oct 1 12:34 plugins
[AT OUT] drwxr-xr-x 2 minecraft minecraft 4096 Oct 1 12:34 worlds
Terminate Processes
/at execute ping baidu.com
# ...output omitted
/at killall
Example output:
[AT] Terminated all plugin-created processes (Total: 1)
Closed-Source Notice & Apology
-
We understand many users wish to review and modify the source code. Due to security and maintenance considerations, AdminTerminal remains closed-source. We sincerely apologize for not being able to provide source code access. We value community feedback and may reconsider this decision in the future.
-
Official Declaration: This plugin contains no malicious code. All features are strictly designed for controlled system command execution purposes.
Issue Reporting
Welcome suggestions and bug reports!
License
评论 0
登录后参与评分
还没有评论,来抢沙发吧