By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.
OK, Don't show this again
BedcoreProtect is a fast, efficient, data logging and anti-griefing tool for PocketMine servers. Rollback and restore any amount of damage.
...and much more!!
...and the list is still expanding!
In case of MySQL as storage, the minimum required version must be >= 5.6.4
You can access the following commands by using /bedcoreprotect, /bcp, /core or /co.
Running this command without arguments and with the configuration option enable-ui-menu: true
, it will display a graphic interface to simplify the plugin usage.
The command permission is bcp.command.bedcoreprotect (default: operator).
Command | Description | Permission | Permission default |
---|---|---|---|
/bcp help | Display a list of commands | bcp.subcommand.help | Operator |
/bcp lookup | Lookup block data | bcp.subcommand.lookup | Operator |
/bcp purge | Delete old block data | bcp.subcommand.purge | Operator |
/bcp reload | Reload the configuration file | bcp.subcommand.reload | Operator |
/bcp inspect | Toggle the inspector | bcp.subcommand.inspect | Operator |
/bcp restore | Restore block data | bcp.subcommand.restore | Operator |
/bcp rollback | Rollback block data | bcp.subcommand.rollback | Operator |
/bcp show | View the plugin status | bcp.subcommand.show | Operator |
/bcp status | View the plugin status | bcp.subcommand.status | Operator |
Command | Description | Permission | Permission default |
---|---|---|---|
/bcp near | Performs a lookup with radius 5 | bcp.subcommand.near | Operator |
/bcp undo | Revert a rollback/restore via the opposite action | bcp.subcommand.undo | Operator |
Detailed commands information are listed below.
Display a list of commands available in-game.
Perform a lookup returning a page with all blocks data fetched. If multiple pages are returned, see the command /bcp show to switch pages.
Alias: /bcp l <parameters>
Parameter | Mandatory |
---|---|
time | YES |
world | YES (only console) |
radius | NO |
users | NO |
actions | NO |
include | NO |
exclude | NO |
Purge old block data. Useful for freeing up space on your HDD if you don't need the older data.
Parameter | Mandatory |
---|---|
time | YES |
world | NO |
For example, /bcp purge t=30d
will delete all data older than one month, and only keep the last 30 days of data.
You can also optionally specify a world where delete the data.
For example, /bcp purge t=30d w=faction_world
will delete all data older than one month in the Faction world, without deleting data in any other worlds.
You can also add #optimize
to the end of the command (e.g. /bcp purge t=30d #optimize
) will also optimize your tables and reclaim disk space.
Reloads the configuration file.
Enable the inspector. Type the command again to disable it.
Alias: /bcp i
Perform a restore. Restoring can be used to undo rollbacks or to restore player actions.
Alias: /bcp rs <parameters>
Parameter | Mandatory |
---|---|
time | YES |
world | YES (only console) |
radius | YES |
users | NO |
actions | NO |
include | NO |
exclude | NO |
Perform a rollback. Rollbacks can be used to revert player actions.
Alias: /bcp rb <parameters>
Parameter | Mandatory |
---|---|
time | YES |
world | YES (only console) |
radius | YES |
users | NO |
actions | NO |
include | NO |
exclude | NO |
Allow switching page when multiple pages are returned from the /bcp lookup command.
To change the number of lines displayed on a page, use the command /bcp show <page>:<lines>
.
Alias: /bcp s
For example,
/bcp s 2:10
will return 10 lines of data, starting from the second page.
Displays the plugin status and version information.
Parameter | Aliases | Description |
---|---|---|
users | user, u | Specify the user(s). |
time | t | Specify the amount of time. |
radius | r | Specify a radius area. |
world | w | Specify the world. |
actions | action, a | Restrict to a certain actions. |
include | i | Include specific blocks. |
exclude | e | Exclude specific blocks. |
Detailed commands parameters information are listed below.
You can specify a single or multiple users or entities.
Examples:
u=Notch
u=Notch,shoghicp
u=matcracker,#Zombie
You can specify weeks, days, hours, minutes, and seconds.
Examples:
t=4w5d2h7m20s
t=5d2h
t=1y
A numeric radius targets within that many blocks of your player location.
Examples:
r=20
(target within 20 blocks of your location)
r=#global
(target the entire world)
You can specify a single world.
Examples:
w=faction
w="my world"
(if your world name has whitespaces use double quotes)
Restrict the command to a specific action.
Action | Description |
---|---|
block | Placed/Broken blocks |
+block | Placed blocks |
-block | Broken blocks |
click | Player interactions |
container | Items taken from or put in chests |
+container | Items put in chests |
-container | Items taken from chests |
kill | Mobs killed |
session | Player join/left the server |
+session | Player join the server |
-session | Player left the server |
chat | Player write in chat |
command | Player executes a command |
For example, if you want to only rollback blocks placed, you would use
a=+block
Can be used to specify a blocks/items.
Examples:
i=stone
(only includes stone)
w=stone,oak_wood,bedrock
(specify multiple blocks)
You can find a list of blocks at https://minecraft.gamepedia.com/Bedrock_Edition_data_values.
Can be used to exclude a blocks/items.
Examples:
e=tnt
(only excludes TNT)
This update is recommended because it contains many improvements and bug fixes.
NOTE: The update is backward compatible with the previous versions.
/bcp near
command now uses a radius of 5 blocks. The radius is not customizable anymore.This version of plugin only supports PocketMine-MP API 5.0.0. The update is recommended in order to use it with the new PocketMine version. Also, the update does not contain any new features, it's just a compatibility update (with improvements certainly).
NOTE: The update is backward compatible with the previous versions.
This version of plugin only supports PocketMine-MP API 4.0.0. The update is recommended in order to use it with the new PocketMine version. Also, the update does not contain any new features, it's just a compatibility update (with improvements certainly).
NOTE: The update is backward compatible with the previous versions.
/bcp purge
command with the world parameter.r=#global
. With this option you can rollback an entire world.world
. With this option you can choose which world you want to interact with. Example: /bcp rollback t=15d r=#global w=Faction
./bcp purge t=30d w=world
)/bcp purge t=30d #optimize
enable-ui-menu
in the configuration file. If enabled, you can run "/bcp" to show the plugin UI/bcp menu
command.Fatal error: Allowed memory size of N bytes exhausted
when fetching a lot of data.If you have NOT previously updated the plugin from an older version to v0.7.0, ignore the following message.
To resolve the v0.7.0 crash, before starting the server with v0.7.1, rename the database backup file in the data folder of the plugin as shown in the following example: logs.db.0.6.2.bak to logs.db.
Once this is done you can start the server.
First official release.
Reply to review by :
You can leave one review per plugin release, and delete or update your review at any time