HTTPConsole - 通过 HTTP 发送控制台指令
现已易主,并重新焕发生机! 原作者:BlueJeansAndRain:原帖:HTTPConsole - 过时帖子
下载
请勿使用 v2.2.0,请使用 2.2.1 版本
源代码及问题/功能请求
功能特性
- 可通过 HTTP 执行任何你可以在控制台中执行的命令。
- 通过配置文件更改监听 IP 地址、端口和日志级别。
- 获取所执行命令的输出结果。注意:这仅适用于部分命令,特别是非“线程化”的命令。
- 支持 GET 和 POST(URL 或 JSON 编码)请求。
- 客户端 IP 地址白名单/黑名单。
- 主机名过滤。
使用方法
不建议使用客户端脚本(如 JavaScript),因为任何操作都可能被轻易执行。请坚持使用服务端脚本(即让 JavaScript 查询 PHP 脚本)。
向 发起请求(假设你使用的是默认端口且服务器运行在本地主机上)。如果你是在本地运行服务器,只需打开浏览器并输入 即可保存整个世界!
故障排除
- 将 “port: 8765” 配置选项更改为其他数字。有效值范围为 1024 - 65565
- 确保你的防火墙允许访问该端口。
请将所有问题或功能请求发布到 GitHub!
HTTPConsole - Issue Console Commands Over HTTP
Now under new management, And has been revived! Originally by BlueJeansAndRain: Original thread: HTTPConsole - Outdated Thread
Download
Do not use v2.2.0 use 2.2.1 instead
HTTPConsole Latest Stable Build
Source Code and Issues/Feature Requests
Features
- Issue any command over HTTP that you can issue on the console.
- Change the listener IP address, port, and log-level through the config file.
- Get back the output of the issued command. NOTE: This only works for some commands, specifically commands that are not "threaded".
- Accepts GET and POST (url or json encoded) requests.
- Client IP address whitelist/blacklist.
- Host name filtering.
Usage
Client side scripts such as javascript are not recommended since any action could easily be performed. Please stick to using server side scripts, (i.e. make javascript query a php script)
Make requests to (assuming you're using the default port and the server is running on localhost). If you're running your server locally, just open up your browser and type and SAVE THE WORLD!
TroubleShooting
- Change the "port: 8765" configuration option to a different number. Valid values are 1024 - 65565
- Make sure your firewall is allowing access to the port.
Please post all issues or feature requests on GitHub!
下载 HTTPConsole
下载 HTTPConsole
下载 HTTPConsole
下载 HTTPConsole
下载 HTTPConsole
下载 HTTPConsole
V2.4.0
- 兼容 1.5
- 移除了对 CraftBukkit 的依赖(大致上)
- 修复了命令输出并改进了命令执行功能
V2.3.0
- 可能是最后一次更新
- 修复了 Content-Type 头信息
- 再次更新了颜色代码的正则表达式
- 兼容 1.4.6 开发版
V2.2.1
- 修复了 plugin.yml 的问题
V2.2.0
- 添加了 Maven 项目文件,并修复了移除颜色代码的正则表达式——由 Torsten Walluhn 贡献
- 适配 Bukkit 1.2.5-R0.1 - (忽略 bukkit 的开发版本号)
V2.1.0
- 修复了输出中显示颜色代码的问题
V2.0.0
- 从旧代码更新而来
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
评论 0
登录后参与评分
还没有评论,来抢沙发吧