/CoreProtect-Lookup-Web-Interface

A flexible lookup web interface for CoreProtect 2

Primary LanguagePHPMIT LicenseMIT

A flexible lookup web interface for CoreProtect 2.

Imgur

Version: v1.0.0-pre2

Changelog | Contributing

This is a feature-packed web application that gives you the power to look up anything CoreProtect is capable of logging in the most efficient way. CoreProtect, a Minecraft plugin, is developed by Intellii.

This web app is capable of looking up logged data as if doing it from the game. Some filters are ported to this plugin, such as:

  • Lookup by action
  • Lookup by username
  • Lookup by block name
  • Lookup by time

In addition, this plugin makes it possible to:

  • Lookup data by coordinates and world
  • View more than four results per page
  • Filter out rolled back data
  • View what was written on the signs (TBD)
  • Search by keywords

Setup

Prerequisites

  • A web server with PHP 5.6 or above
    • Required extensions: PDO, PDO-SQLITE or PDO-MYSQL
  • A CoreProtect database used by CoreProtect 2.12 or above.
    • If using SQLite in real-time, the web server must be on the same machine as the Minecraft server.

Download

  • Option 1: git clone
    • This option makes it easier to update the web app.
    • Run the following command in somewhere on the web server.
git clone https://github.com/chuushi/CoreProtect-Lookup-Web-Interface.git

Configuration

Edit all the necessary configuration from config.php. All fields are documented in the configuration file.

Updating

If you used the option 1 to download the web app, you can run:

git stash
git pull
git stash pop
  • git stash stashes uncommitted changes
  • git pull downloads and updates the repository with the latest changes
  • git stash pop applies the stashed changes into the repository.

If you see this message after running git stash pop:

CONFLICT (content): Merge conflict in config.php

then you must edit the file manually (look for <<<<<<<, =======, and >>>>>>>) then run:

git add config.php

If you used the option 2, then you must re-download the .zip file and manually migrate the config.php file over.

Plugin Links

~Chuu