CoreProtect Web Interface
CoreProtect 2 Web Interface
March 25: Beta released for CoreProtect 2
- Finally updated! The update took such a long time because I have been busy with other projects.
- The interface has been rewritten, so remove all files from the previous version before installing.
About
Web interface for Intellii's CoreProtect plugin.
Search through your CoreProtect history with an easy-to-use interface.
Screenshot
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
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.
Dont go.
Yes, nice GUI. Works fine whit CorePoretct 2.10.0 for MC 1.7.10 on my Thermos Modserver. Many Thanks for this.
Hmm... this can be work with the flatfile, the flatfile is just sqlite DB.
challenge accepted....
LOL... this works with the flatfile.... nice! :D
But is not up to date.
As the lexplay has passed away I though I'd make a new core protect interface: http://forums.bukkit.org/threads/coreprotect-web-interface.274767/
@niels1189
seeing as the original author cannot continue the project, the project is in a state of despair, so i'd say go for it (might be better off re-writing it at this point btw, due to the 1.8 update)
@elle2play
I'm sorry for your loss, even though it's a tad late, do you think it's possible for me to take over this project? I'm knowledgable in MySQL, PHP, CSS & HTML.
@js440
Sorry thank you for your offer. He passed away in August. I don't want you to think badly of him for not responding.
Hi. I was Lexplay's fiance. He passed away. I'm sorry he won't be able to answer any of your questions or further update this.
I actually have no idea how to set this up.I have no knowledge of SQL's etc. However I do have webhosting with cPanel etc. I believe I had set it up correctly however, with the
use-mysql: true
line in the config.yml, if it is set to true should it stop adding data to the database.db in the same directory as the server? or does it send to both the mysql database as well as the local database.db file?
I think that is the first step to solving my issues.
Secondly I also received this error message on the web interface after logging into it:
Warning: mysqli::mysqli(): (HY000/1129): Host 's1018252.vds.nameservers.com.au' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' in /home/xykdrbwh/public_html/mc/lib/main.php on line 20 MySQLi failed to connect: Error 1129: Host 's1018252.vds.nameservers.com.au' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' Make sure the MySQL settings are correct in config.php
Would i have to contact my host to perform the flush?
@consolesvn
Hey, I add the same problem, now it's solved. I just change my database credentials into the PLUGIN's folder on your server and set "Use MYSQL" to true (default is false). Be sure that your database credentials in the WEB INTERFACE are the same in your PLUGIN CONFIG.
Normally it works.
Works great ! Very useful, I love it, thanks :D
EDIT : Hum, I have 9 world in my server. And when I'm on the CI web interface, there is no scrollbar to up down the worldlist and I cannot see all worlds. Can you fix it please ? :/
Does this still work with the newest versions of CoreProtect?
@shadvalentine
is nobody else having the problem with this not bring up the latest searches?
when I search and do not add the exact time it will show items from a few days earler .. I think this may be due to the date format being 1-9-14 and 1-14-14 so it sorts the 1-9-14 last being 9 "looks" like a bigger number then the "1" in 14
if the date format could be changed to 01-09-14 and 01-14-14 then it will sort in the correct order
Hey, i would really need some help. I installed web interface but when i log in i get this error:
MySQL Error Error message: Table 'cukec_craftwars.co_world' doesn't exist Attempted query: SELECT id, world FROM co_world
Can anyone tell me where i got wrong? Thanks!
How can I disable the worlds from showing in the CoreProtect Web Interface?
PLEASE add Unicode encoding support. Reading something like is: za?�?? g??l? ja?? is horrible...
I tried to change charset in index.php to utf-8 -> Problem not solved
I tried to change file encoding to utf-8 and utf-8 without BOM -> Problem not solved
I tried to change db message column method to utf8_polish_ci -> Problem not solved
Ive not been able to actually set the time in the interface.. only the date? is this a problem on my end?
I am having a problem with this .. If I do not specify a time it will show things from weeks ago instead of the latest items
I Have Done My Web Server But Idk How To Extract It To The Web Server I Am Using Hostinger As My Web Server Please Help :)
This is my config.php
but i get this error
MySQLi failed to connect:
Error 2002: Connection timed out
Make sure the MySQL settings are correct in config.php
Everything is used correct.
ip, password
i thought maybe the ' ' causes this.
Can this be possible?
Edit:
If i take the '' away
i get the same as justineo14