coreprotect mysql_CoreProtect

本插件wiki内容分别发布在不同网站,故以下分标题由本条目贡献者自拟,内容来自官方。

综述

本节内容英文原文来自插件bukkit首页。英文原文版权所有归插件编写者,翻译完成后将自行删除英文部分。

特性简介

快速高效的数据日志记录.

快速回档 - 回档/恢复时没有延迟.

多线程以确保服务器执行操作时没有延迟.

无需配置配置文件.将插件放入服务器就可以运行.

基于SQLite的数据储存.

支持MySQL数据库.

简单的命令使用.

可以执行回档及恢复功能.随时撤销回档命令.

使用(方块记录查询)操作简单.

高效的搜索式查询工具.

页面形式的日志记录查询.

自动升级检测.

支持多世界.

支持在配置文件中自由开启/关闭任何一个记录类型.

回档某个人的方块操作,或是全图恢复一定区域内的所有方块.

支持回档/恢复时略过指定类型的方块.

限定回档/恢复的特定方块类型.

记录基本的玩家操作.(例如当玩家打开一扇门时,记录操作)

液体追踪.记录放置水源/岩浆源的玩家.

树木追踪.记录树苗的放置者.

限定回档/恢复操作所作用的半径范围.

支持水桶/岩浆桶的权限系统.

支持查询从另一个方块掉落下来的方块记录.

如果玩家破坏了放置有木牌的方块,回档时支持恢复方块与其上的木牌.

支持删除旧有记录数据.

安全的默认参数.

支持同时对多个玩家进行回档/恢复操作.

每个世界拥有独立的配置文件.

自定义执行翻页、回档、恢复时的动作.

执行操作时支持跳过多个玩家或方块.

预览回档/恢复操作.

使用WorldEdit的选择系统.

轻度利用API.

Works with Tekkit servers

还有更多特性.

日志事件

记录被玩家破坏的方块.

记录被玩家放置的方块.

记录自然的方块破坏事件. (例如:木牌放置在一个泥土方块,泥土方块被破坏后,木牌会自然弹出变为掉落的物品形式.)

记录桶的使用.

记录液体的流动.

记录树木的生长.

记录蘑菇的生长.

记录藤蔓的生长.

记录爆炸事件.(包括TNT,苦力怕, 恶魂等)

记录打火石和火焰弹的使用.

记录被火点燃的方块.

记录在火中烧掉的方块.

记录实体对方块的变动.(末影人/末影龙)

记录方块的移动行为. (掉落沙/沙砾)

记录树叶的掉落行为.

记录玩家的动作.

记录地狱门的生成.

记录被活塞移动的方块.

记录被玩家收割的小麦.

记录雪傀儡生成的雪.

记录容器中物品的变更.(容器包括箱子,熔炉,发射器等.)

记录画与展示框的变更. (支持回档命令.)

记录被玩家杀死的实体.

(动物/怪物)

记录玩家发送的聊天信息与使用过的命令.

记录玩家的登录、登出行为.

记录WorldEdit插件所造成的地形变更.

记录范围仍在不停的拓展...

使用说明

Once you have the inspector enabled ("/core inspect", or just "/co i"), you can do the following:

Left-click a block to see who placed that block.

Right-click a block to see what adjacent block was removed.

Right-click (place) a block in a location to see what block was removed at that location.

Right-click (place) a block in another block to see who placed it. (ex: place dirt in water to see who placed the water)

Right-click on a door,button,lever,chest,etc, to see who last used it.

一些反馈

"使用回档命令既简单又快速."

"自从Bukkit开发以来,我就一直在运行服务器,所以我用过几乎所有的记录插件.CoreProtect是其中最好的,同时也是最快速的."

"Go with CoreProtect. It's fast, updated frequently, and logs WorldEdit."

"Overall it felt more natural, simpler, and much faster to use CoreProtect than Prism, which just doesn't compare."

"CoreProtect brings complex logging and rollbacks, whilst at the same time keeping a low profile."

编写者注:以上内容主观性较强,固只翻译部分,与插件使用无关紧要。

命令

1

你可以通过输入 "/coreprotect", "/core", 或是 "/co"来调用指令.

命令概览:

/co help - 显示命令列表

/co inspect - 开启查询模式

/co rollback - 回滚方块数据

/co restore - 恢复方块数据

/co lookup - 方块记录翻页

/co purge - 删除旧有数据

/co reload - 重载配置文件

/co version - 查看当前插件版本信息

Shortcut Commands:

/co near - Performs a lookup with a radius of 5

/co undo - Revert a rollback/restore via the opposite action

Detailed command information is listed below.

| /co help

Display a list of commands in-game.

| /co inspect

Enable the inspector. Type the command again to disable it. You can also use just "/co i".

| /co rollback u: t:r: a: b: e:

Nearly all of the parameters are optional. Shortcut: "/co rb".

Quote:

u: - Specify a user to rollback.

Example: u:Notch

Quote:

t:- Specify the amount of time to rollback

You can specify weeks,days,hours,minutes, and seconds.

Example: t:2w,5d,7h,2m,10s

You can pick and choose time amounts.

Example: t:5d2h

You can also use decimals

Example: t:2.50h (2 and a half hours)

Quote:

r: - Specify a radius.

You can use this to only rollback blocks near you.

You can specify a number (e.g. r:5), a world (e.g. r:#world_the_end), a global rollback (r:#global), or a WorldEdit selection (r:#worldedit or r:#we)

For example, the following would only rollback damage within 10 blocks of where you are standing: r:10

Quote:

a: - Restrict the lookup to a certain action

For example, if you wanted to only rollback blocks placed, you would use a:+block

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, etc.)

a:+container

(items put in chests, etc.)

a:-container

(items taken from chests, etc.)

a:kill (mobs/animals killed)

a:chat

(messages sent in chat)

a:command

(commands used)

a:session

(player logins/logouts)

a:+session

(player logins)

a:-session

(player logouts)

Quote:

b: - Restrict the rollback to certain block types.

For example, if you wanted to only rollback stone, you would use b:1

You can specify multiple items, such as b:1,5,7

You can find a list of block type IDs at

http://www.minecraftwiki.net/wiki/Data_values

Quote:

e: - Exclude certain block types from the rollback.

For example, if you don't want TNT to come back during a rollback, you would type e:46

Quote:

- Add a hashtag to the end of your command to perform additional actions.

For example, to perform a rollback preview, you would use #preview

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)

2

| /co restore u: t:r: a: b: e:

Same parameters as /rollback. Shortcut: "/co rs".

Restoring can be used to undo rollbacks.

| /co lookup u: t:r: a: b: e:

Same parameters as /rollback. Shortcut: "/co l".

Lookups can be used to search through block data.

| /co purge t:Purge old block data. Useful for freeing up space on your HDD if you don't need the older data.

For example, "/co purge t:30d" will delete all data older than one month, and only keep the last 30 days of data.

If used in-game, only data older than 30 days can be purged. If used from the console, only data older than 24 hours can be purged.

Example Rollback Commands:

>>By default, if no radius is specified, a radius of 10 will be applied, restricting the rollback to within 10 blocks of you. Use "r:#global" to do a global rollback.

Rollback Notch 1 hour (with default radius of 10):

/co rollback u:Notch t:1h

PREVIEW rolling back Notch 1 hour (with default radius of 10):

/co rollback u:Notch t:1h #preview

Rollback Notch 23 hours and 17 minutes (with default radius of 10):

/co rollback u:Notch t:23h17m

Rollback ONLY stone placed/broken by Notch within the last hour (with default radius of 10):

/co rollback u:Notch t:1h b:1

Rollback ONLY stone BROKEN by Notch within the last hour (with default radius of 10):

/co rollback u:Notch t:1h b:1 a:-block

Rollback EVERYTHING Notch did in the last hour EXCEPT for stone he placed/broken:

/co rollback u:Notch t:1h r:#global e:1

Rollback griefing Notch did in the last hour that is within 20 blocks of you:

/co rollback u:Notch t:1h r:20

Rollback griefing Notch did in the last hour ONLY in the Nether:

/co rollback u:Notch t:1h r:#nether

Rollback everything done in the last 15 minutes by

anyone within 30 blocks of you:

/co rollback t:15m r:30

Rollback everything done in the last 15 minutes in a WorldEdit selection:

/co rollback t:15m r:#worldedit

Example Lookup Commands:

>>Lookup commands are generally the same as rollback commands. The primary difference is that a default radius is not applied to lookups, meaning all lookup commands do a global search by default.

Lookup all diamond ore mined in the last hour:

/co lookup b:56 t:1h a:-block

Lookup all chat messages sent by Notch in the last 30 minutes:

/co lookup u:Notch t:30m a:chat

Lookup all logins ever done by Notch:

/co lookup u:Notch a:login

权限

指导与资源

API Documentation

IRC

其它

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值