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.
I have problem with the accented characters in the chat query. Its show question mark. How can i fix that?
I have managed to fix my problems with the login screen not working !
It was more trial and error but I did get it working !.
For anyone interested, I looked at this thread (it's to an external site)
http://forums.vpslink.com/centos/6581-how-check-sessions-enabled-apache-server-php.html
Or google
'how to check if sessions are enabled'
@Gural
You're using an old version of the interface. The new version should be up shortly.
@a1mbot
I have submitted the file, but the Bukkit admins still need to approve it before it appears in the list. The file should be up in 24 hours.
Failed MySQL query: Table 'Coredata.co_blocks' doesn't exist
in my msql databank exits co_block, co_sign ... not co_blocks
What its wrong?
@lexplay
Nice work! Can you give link with the new release? The coreprotect web interface is very urgent for me!
The interface has (finally) been updated to work with CoreProtect 2. The file still needs approval, so it should be up within 24 hours.
For everybody who has tried the old interface with the new CoreProtect 2, the error message came from the fact that CoreProtect's database structure has been completely revamped. This is the cause of the missing tables - the old interface was trying to find tables that no longer existed under CoreProtect 2.
In any case, there should no longer be a problem with that.
Many people in the comments (including @yaitsbilly @yaitsbilly @aleksander64) section have complained about the following error code:
Error querying MySQL. Attempted query: SELECT * FROM blocks WHERE (time BETWEEN 1363473124 AND 1364077924) AND (action IN (1)) AND (user LIKE '%[user[%') LIMIT 3000 Table '[databasename].blocks' doesn't exist
Or something close to that. WHY HAS NOBODY HELPED THOSE POOR PEOPLE!
I am now having the same problem, and not to be patronizing but i think its because i don't have any tables setup in my database. SO WHY HAVEN'T YOU TOLD US TO MAKE A TABLE?
Another annoying thing is the fact that we can't submit support tickets, this plugin is badly run. Get it sorted out @lexplay
Umcookies: I have exactly the same problem!
Will you update it for 1.5?
Hello all, I'm suffering from what seems to be a pretty uncommon problem.
I have placed the Coreprotect UI files in a web accessible directory, made sure PHP and mysql is installed (haven't got around to mysqli yet) but when I try and log in using either the guest or admin accounts, all it does is reload the page. Obviously there are plenty of people using the current version so I'm stumped as to why it isnt working for me.
What I have done so far.
1. Made sure MySQL and PHP are installed and working.
2. Double checked that PHP writes sessions to a writeable and readable directory.
3. If I remove the check session part of the index page it doesn't simply refresh the page, thus leading me to believe there is a problem with my sessions being or not being created.
4. Confirmed with firebug that the webpage does infact create a cookie.
Could anyone please give me a hint as to what is wrong ?
Getting this error.
Error querying MySQL.
Attempted query: SELECT * FROM co_blocks WHERE (time BETWEEN 1362543436 AND 1363148236) AND (action IN (1)) LIMIT 3000
Table 'survival.co_blocks' doesn't exist
@gmalone
We use BeastNode as well, I know I'm limited to two specific ports and only two. We're still on GameCP, I don't know if anything was improved with the recent move.
I use a Beastnode Minecraft server, and have installed CoreProtect Web Interface. But, I cannot get the program to run from a browser using variations of "<server IP>/plugins/index.php" I've asked Beastnode for assistance and got a vague response.
I'm wondering if http: service is actually on w/ the Beastnode service.
Anyone have any thoughts or suggestions?
Thanks.
Ok, temporarily I added a new check box called user which links users to users ID, most things seem to work fine, be sure to tweak your config, if your using essentials I recommend you remove playername from tppos in config.php.
Be sure to backup all your original files, before overwriting to these.
Link Removed: http://www.mediafire.com/?vn24nsxq9zf1vdw
@Spartha123
show me your files i will have a look :)
Since there was no update, I edited it my self and got most things working on coreprotect 2.0, but im having one issue that if anyone good with phpmysql can help would be great.
With the new co_user table containing the names all other tables will show the user ID instead of linking to user table for names, how would I go about linking them with the current coding setup?
@aleksander64
i get the same error
Error querying MySQL.
Attempted query: SELECT * FROM co_blocks WHERE (time BETWEEN 1362065487 AND 1362670287) AND (action IN (1,0,2)) LIMIT 3000
Table 'minecraftrp_co.co_blocks' doesn't exist
Hey i keep running into this problem everything is connected but when i try to pull up rests this problem occurs
please help me out. thanks guys
Error querying MySQL. Attempted query: SELECT * FROM co_blocks WHERE (time BETWEEN 1361654186 AND 1362258986) AND (action IN (1)) Table 'coreprotect.co_blocks' doesn't exist
will there be an update to work with coreprotect 2.0?
Will this work on commercial servers like Beastnode?