DSPlugMan — 终极 PlugMan 插件
?? Русская версия (Russian Version)
? 通过 Discord 远程管理 Minecraft 服务器,并完全集成 PlugMan
⚠️ 重要要求
DSPlugMan 是 PlugManX 的附加组件。
为了使大多数插件管理功能正常工作,服务器上必须安装 PlugMan 或其现代分支版本 PlugManX。
? 主要功能
?️ 交互式管理(图形界面)
- 选择菜单 –
/plugins 命令显示一个带有下拉选择器的交互列表。
- 控制按钮 – 为每个选定的插件提供快速操作:
Enable(启用)、Disable(禁用)、Reload(重载)、Delete(删除)。
- 实时更新 –
? Refresh(刷新)按钮可立即更新列表,无需重新输入命令。
? 远程控制台与管理
- 命令执行 –
/console 命令允许你直接从 Discord 向服务器控制台发送任何命令。
- 状态监控 –
/status 显示内存使用情况、玩家数量、运行时间和服务器软件版本。
- 配置管理 – 使用
/config 随时查看和调整插件设置,无需重新打开文件。
? 智能插件上传
- URL 上传 –
/upload_plugin 从链接下载 JAR 文件并通过 PlugMan 自动激活它。
- 拖放上传 – 将
.jar 文件拖放到配置的 Discord 频道中,机器人会自动在服务器上安装它。
- 自动重载 – 如果现有插件文件被替换,插件将自动重载。
? 安全性与日志记录
- 角色与用户权限 – 机器人权限可以通过 Discord 用户 ID 和角色 ID 进行限制。
- 管理员白名单 – 使用
/add_admin 和 /remove_admin 快速管理访问权限。
- 日志频道 – 所有敏感操作(插件删除、控制台使用、上传)都可以镜像到单独的日志频道以供审计。
? 命令列表
插件管理
/plugins — 显示所有插件列表及控制按钮。
/reload_plugin <name> — 重载特定插件。
/enable <name> — 启用插件。
/disable <name> — 禁用插件。
/delete_plugin <name> — 从服务器中完全移除插件(包括文件)。
/upload_plugin <url> [filename] — 从直接 URL 上传插件。
系统命令
/status — 显示服务器状态(RAM、在线玩家、运行时间)。
/console <command> — 以控制台身份执行命令。
/reload — 重载所有服务器插件 (/reload)。
管理
/config [property] [value] — 在运行时查看和更改 DSPlugMan 配置。
/add_admin <user> — 将用户添加到机器人的管理员列表。
/remove_admin <user> — 从管理员列表中移除用户。
? 要求
- 游戏: Paper/Spigot 1.21.4
- Java: 21
- 依赖项: PlugManX(推荐)
- Discord: 在 Discord Developer Portal 创建的机器人,并已启用
Message Content Intent(消息内容意图)。
?️ 安装
- 构建项目:
./gradlew shadowJar(JAR 文件将位于 build/libs/ 中)。
- 将插件 JAR 放入服务器的
plugins/ 文件夹中。
- 启动服务器以生成
config.yml。
- 打开配置文件并设置:
token – 你的 Discord 机器人令牌。
guild-id – 你的 Discord 服务器 ID。
channel-id – 用于管理的文本频道 ID。
admin-users – (可选) 具有访问权限的 Discord 用户 ID 列表。
management-role-id – (可选) 授予命令访问权限的角色 ID。
- 重载插件或重启服务器。
? 语言配置
你可以在 config.yml 中更改机器人的语言。支持的语言:en(英语)、ru(俄语)。
language: "en"
? 已知问题
- 插件删除: 在某些环境中,由于文件锁定或 PlugManX 的限制,删除插件可能会失败(JAR 文件仍保留在磁盘上或处于使用中)。未来更新计划提供更可靠的删除流程。
? 链接
- 个人主页 / 社交账号:
- Kasper Studios Discord:
- 捐赠 / 支持:
DSPlugMan — 你的 Minecraft 服务器,始终触手可及。 ?✨
DSPlugMan — The Ultimate PlugMan Addon
?? Русская версия (Russian Version)
? Remote Minecraft server management via Discord with full PlugMan integration
⚠️ Important Requirement
DSPlugMan is an addon for PlugManX.
For most plugin management features to work, PlugMan or its modern fork PlugManX MUST be installed on the server.
? Key Features
?️ Interactive Management (GUI)
- Selection menu – the
/plugins command displays an interactive list with a dropdown selector.
- Control buttons – quick actions for each selected plugin:
Enable, Disable, Reload, Delete.
- Live update – the
? Refresh button instantly updates the list without re‑typing the command.
? Remote Console & Management
- Command execution – the
/console command lets you send any command to the server console directly from Discord.
- Status monitoring –
/status shows memory usage, player count, uptime and server software version.
- Configuration management – view and adjust plugin settings with
/config on the fly without reopening files.
? Smart Plugin Upload
- URL upload –
/upload_plugin downloads a JAR from a link and activates it via PlugMan automatically.
- Drag‑and‑drop – drop a
.jar file into the configured Discord channel and the bot will install it on the server.
- Auto‑reload – if an existing plugin file is replaced, the plugin is automatically reloaded.
? Security & Logging
- Role & user access – bot permissions can be restricted by both Discord User ID and Role ID.
- Admin whitelist –
/add_admin and /remove_admin for quick access management.
- Log channel – all sensitive actions (plugin deletion, console use, uploads) can be mirrored to a separate log channel for audit.
? Command List
Plugin Management
/plugins — display a list of all plugins with control buttons.
/reload_plugin <name> — reload a specific plugin.
/enable <name> — enable a plugin.
/disable <name> — disable a plugin.
/delete_plugin <name> — completely remove a plugin from the server (including the file).
/upload_plugin <url> [filename] — upload a plugin from a direct URL.
System Commands
/status — show server status (RAM, online players, uptime).
/console <command> — execute a command as console.
/reload — reload all server plugins (/reload).
Administration
/config [property] [value] — view and change DSPlugMan configuration at runtime.
/add_admin <user> — add a user to the bot’s admin list.
/remove_admin <user> — remove a user from the admin list.
? Requirements
- Game: Paper/Spigot 1.21.4
- Java: 21
- Dependencies: PlugManX (recommended)
- Discord: a bot created in the Discord Developer Portal with
Message Content Intent enabled.
?️ Installation
- Build the project:
./gradlew shadowJar (the JAR will be in build/libs/).
- Put the plugin JAR into your server’s
plugins/ folder.
- Start the server to generate
config.yml.
- Open the config and set:
token – your Discord bot token.
guild-id – your Discord server ID.
channel-id – the ID of the text channel used for management.
admin-users – (optional) list of Discord User IDs with access.
management-role-id – (optional) role ID that grants access to commands.
- Reload the plugin or restart the server.
? Language Configuration
You can change the bot's language in config.yml. Supported languages: en (English), ru (Russian).
language: "en"
? Known Issues
- Plugin deletion: in some environments deleting a plugin may fail due to file locks or PlugManX limitations (the JAR remains on disk or in use). A more reliable deletion flow is planned for a future update.
? Links
- Bio / Socials:
- Kasper Studios Discord:
- Donate / Support:
DSPlugMan — your Minecraft server, always at your fingertips. ?✨
评论 0
登录后参与评分
还没有评论,来抢沙发吧