CoreProtect

From Project Eden
Jump to navigation Jump to search

CoreProtect is the fast, efficient, data logging and anti-griefing tool that we use on Project Eden.

Commands

The commands can be accessed using either /coreprotect, /core, or /co.

  • /co inspect or /co i - This command activates the inspection tool.

When this is enabled you can left-click a block to bring up it's history, revealing what happened and when. It could look something like this: 36.12/d ago - Pandanakinz placed stripped_spruce_log. Typing the command again disables inspection.

  • /co rollback or /co rb <params> - This command is used to rollback block data.
  • /co restore or /co rs <params> - This command is used to restore block data. It can be used to undo rollbacks.
  • /co lookup or /co l <params> - This command provides a more advanced lookup for block data. It can be used as /co lookup a:kill t:2d r:200. This would provide a list of everything that has been killed in a 200 block radius within the past 2 days.

You can type /co l <page> to view a specific page or click on the arrow in chat.

  • /co near This command performs a lookup with a radius of 5.
  • /co undo This command is used to revert your latest rollback.

Parameters

  • u:<user> - This is used to specify which users actions to rollback. For example, u:Pugabyte
  • t:<when it happened> - This is used to specify the amount of time to rollback. For example, if someone killed a villager 2 days ago you would type t:2d
  • r:<radius> - This is used to specify how far you want the rollback to apply.

With this you can specify a number r:10, a world r:#survival, a global rollback r:#global, or a Worldedit selection r:#worldedit or r:#we. By default, if no radius is specified, a radius of 10 will be applied.

  • a:<action> - This is used to specify which action you want to rollback.

Here's a list of all the actions:

a:block (blocks placed/broken)
a:+block (blocks placed)
a:-block (blocks broken)
a:click (player interactions)
a:container (items taken from or put in chests)
a:+container (items put in chests)
a:-container (items taken from chests)
a:inventory (items dropped or picked up by players)
a:+inventory (items picked up by players)
a:-inventory (items dropped by players)
a:item (items dropped, picked up, taken from, or put in chests)
a:+item (items picked up or put in chests)
a:-item (items dropped or taken from chests)
a:kill (mobs/animals killed)
a:sign (messages written on signs)
  • b:<blocks> - This is used to specify which block type to rollback. For example, b:stone_bricks. This would limit the rollback to stone bricks.
  • e:<exclude> - This is used to specify which block to exclude in a rollback. For example, e:grass_block. This would exclude the placement or removal of grass blocks from being reversed.
  • #<hashtag> - Adding a hashtag to the end of your command allows you to perform additional actions.

Here's a list of available hashtags:

#preview (Preview a rollback/restore)
#count (Return the number of rows found in a lookup query)
#verbose (Display additional information during a rollback/restore)
#silent (Display minimal information during a rollback/restore)