CoreProtect 2 Web Interface
演示
查看界面实际效果:
在线演示
密码:guest
功能特性
- 支持 MySQL。
- 按操作搜索:方块放置、方块破坏、告示牌放置(含告示牌文本)、交互、箱子使用(包含方块名称及存储/取出的数量)、聊天、命令、登录/登出。
- 按玩家名称、世界、时间、坐标、方块 ID/名称和日期搜索。
- 对结果进行排序和筛选。
- 生成 /tp 命令以便粘贴到 Minecraft 中(可配置)。
- 自动获取服务器上的世界列表。
运行要求
Web 界面需要以下环境:
- MySQL 数据库 - 不支持纯文件存储。
- 支持 PHP 的虚拟主机。
- PHP 需启用 MySQLi 扩展。如果未启用,将无法获得任何结果或会报错。
- PHP 需启用 Sessions,否则登录功能将无法正常工作。如需检查 Sessions 是否已启用,请参阅此处)
下载
在此处下载链接。
安装步骤
- 将文件解压至 Web 服务器上可访问的目录。
- 编辑 config-RENAME-ME.php(文件中包含说明)。完成后将其重命名为 config.php。
- 在浏览器中访问 index.php 即可开始搜索。
配置 - config-rename-me.php
首先,将 config-rename-me.php 重命名为 config.php。
在 config.php 中需要配置的重要设置包括:
- 'interfacePass' => 'admin',
这是登录 Web 界面的密码。
- 'host' => 'localhost',
- 'port' => 3306,
- 'user' => 'root',
- 'pass' => '',
- 'database' => 'minecraft',
- 'tablePrefix' => 'co_',
MySQL 信息 - 应与你的 CoreProtect 的 config.yml 中的设置相同。
配置 - themes.json
你可以在 themes.json 中编辑主题。只需将十六进制颜色代码更改为你想要的任何颜色即可。确保在每个十六进制代码前包含 # 符号。
配置 - /js/main.js
在 main.js 的顶部,你可以编辑点击结果时弹出的命令。
配置 - blocks.txt
我会在每次发布更新时更新方块列表,因此你通常无需编辑此文件。
如果你有自定义方块,可以将它们添加到 blocks.txt 中。请遵循其他条目的格式(id#,name),并确保没有空行或首尾空格。
评论、问题与反馈
发表评论或提交工单,我会尽快回复你。
CoreProtect 2 Web Interface
Demo
See the interface in action:
Live Demo
Password: guest
Features
- Supports MySQL.
- Search by actions: block place, block break, sign place (sign text), interact, chest use (includes block names and amount stored/taken), chat, command, login/logout.
- Search by player name, world, time, coordinates, block id/name and date.
- Sort and filter results.
- Generates /tp commands to paste into Minecraft (configurable).
- Automatically fetches the list of worlds on the server.
Requirements
The web interface requires:
- MySQL database - flat files are not supported.
- PHP-enabled web host.
- MySQLi for PHP. If you don't have this, you will not receive any results or get an error.
- Sessions enabled for PHP, or else the login function will not work. To check if you have sessions enabled, see here)
Download
Download link here.
Installation
- Extract contents to a web-accessible directory on your web server.
- Edit config-RENAME-ME.php (instructions are included in the file). Rename to config.php when you are done.
- Browse (with your web browser) to index.php to start searching.
Configuration - config-rename-me.php
First, rename config-rename-me.php to config.php.
Important settings to configure in config.php are:
- 'interfacePass' => 'admin',
This is the password to log into the web interface.
- 'host' => 'localhost',
- 'port' => 3306,
- 'user' => 'root',
- 'pass' => '',
- 'database' => 'minecraft',
- 'tablePrefix' => 'co_',
MySQL info - should be the same as in your CoreProtect's config.yml.
Configuration - themes.json
You can edit themes in themes.json. Simply change the hex codes to any color you want. Make sure you include the # before each hex code.
Configuration - /js/main.js
At the top of main.js, you can edit the command that pops up when you click on a result.
Configuration - blocks.txt
I will update the blocks list for each release, so you generally don't need to edit it.
If you have custom blocks, you can add them to blocks.txt. Follow the format of the other entries (id#,name), and make sure there are no empty lines or leading/trailing spaces.
Comments, Questions, Complaints
Post a comment or submit a ticket, I'll try to get back to you as soon as I can.
评论 0
登录后参与评分
还没有评论,来抢沙发吧