此插件允许玩家查看是谁放置或销毁了某个方块。
使用方法:只需在安装此插件后放置的任意方块上右键点击,即可查看操作者。此功能可以限制为仅在用户手持特定物品时右键点击才生效(默认设置是仅当用户手中持有木棍时才有效)。默认情况下,玩家可以查看该方块最近 3 次移除/放置操作记录,这可以在配置文件中禁用。
目前,此插件使用 SQLite 或 MySQL 来存储数据。为此使用了 alta189 提供的库。
此插件的配置文件 (WhoPlacedIt/WhoPlacedIt.properties) 将在首次启动时自动创建,默认数据库设置为 SQLite,启用历史记录,并限制为仅木棍生效。如果你想自己创建属性文件,可以手动完成,也可以使用这个小脚本:http:hikinggrass.de/whoplacedit/index.php
功能特性:
- 追踪玩家何时放置方块以及该方块何时被移除
- 自 0.4 版本起追踪火灾情况
- 自 0.5 版本起追踪你放置/删除的方块类型
- 支持权限系统(已在 PermissionsBukkit 上测试),whoplacedit.magicstick 是唯一可用于启用/禁用“魔法木棍”功能的权限
- 你可以配置在右键点击方块时希望看到的方块更改次数。数量可以通过配置文件中的 historyEntries 选项进行设置
This plugin enables players to see who placed a block or deleted it.
Usage: Just right click on any block that was placed after this plugin was installed to see who did it. This can be restricted to certain items the user has to hold in his hands at the time of the right click (default setting is that it only works when a stick is held in the users hands). Per default a player can see the last 3 remove/place actions for that block, this can be disabled in the config.
Currently this plugin uses sqlite or mysql to store its data. The Library provided by alta189 is used for this purpose
The config file for this plugin (WhoPlacedIt/WhoPlacedIt.properties) will be created automatically at first start with sqlite as default database setting, enabled history and restricted to sticks. If you want create your own properties file you can either do this by hand, or with this little script: http:hikinggrass.de/whoplacedit/index.php
Features:
- Tracks when a player places a block and when this block is removed later
- Tracks fire since version 0.4
- Tracks what kind of block you placed/deleted since version 0.5
- Has permissions support (tested with permissionsBukkit), whoplacedit.magicstick is the only permission that can be used to enable/disable the "magic stick"
- You can configure how many block changes you want to see when you right click on a block. The amount can be set via the historyEntries option in the config file
评论 0
登录后参与评分
还没有评论,来抢沙发吧