Coreprotect is an advanced block/action logging plugin that stores information such as blocks breaking, chat, logins and much more into a database. In case of griefing or problems this information can be used and sometimes even rolled back to a previous state.
Main commands
Parameters
The following parameters can be used for the
Examples
Rolls back q220's every logged action for 1 hour.
This shows you a preview of what the server would become if q220's actions would be logged back for 1 hour.
Rolls back q220's logged actions that happened in the last 1 hour and 45 minutes.
Rolls back q220's broken blocks (a:-block) for the last three days.
This will show all diamond (b:56) mined (a:-block) for the last hour (t:1h).
This shows all logins (a:login) for everyone (no u: specified) for the last day (t:1d)
Main commands
Command | Description |
/co help | Displays some help. |
/co inspect | Enables inspection mode. Type again to disable. |
/co rollback <params> | Will start a rollback based on the parameters. |
/co restore <params> | Will restore a rollback, based on parameters. |
/co purge <params> | Will purge data defined by the parameter. Purged data is not recoverable. |
/co reload | Reloads the plugin and configuration file. |
/co version | Displays what version the plugin is. |
/co near | Does a standard 5 block radius lookup. |
/co undo | Undos a rollback or restore. |
Parameters
The following parameters can be used for the
/co rollback
and /co restore
commands. We call a roll back or a restoration an 'alteration' of data.Parameter | Description | Details |
u:<user> | Defines a user | |
t:<time> | Sets an amount of time. | You can specify in weeks, days, hours, minutes and seconds by using:
|
r:<radius> | Sets a radius with you as the origin. | This command will only affect these blocks around you.
|
a:<action> | Select what action to alter. | Accepts the following as actions:
|
b:<blockname> | Select what type of blocks should be altered. | Multiple items can be specified by using a comma. |
e:<exclude> | Exclused certain blocks from being altered. | Multiple items can be specified by using a comma. |
#<hashtag> | Performs additional actions. |
|
Examples
/co rollback u:q220 t:1h
Rolls back q220's every logged action for 1 hour.
/co rollback u:q220 t:1h #preview
This shows you a preview of what the server would become if q220's actions would be logged back for 1 hour.
/co rollback u:q220 t:1h,45m
Rolls back q220's logged actions that happened in the last 1 hour and 45 minutes.
/co rollback u:q220 a:-block t:3d
Rolls back q220's broken blocks (a:-block) for the last three days.
/co lookup b:56 t:1h a:-block
This will show all diamond (b:56) mined (a:-block) for the last hour (t:1h).
/co lookup a:login t:1d
This shows all logins (a:login) for everyone (no u: specified) for the last day (t:1d)