Minecraft(我的世界)中文论坛

标题: [安全|管理]Inspector —— 检查员★查询方块&回档 【汉化|重制】[1.8-1.12]

作者: _DIM_    时间: 2017-1-10 01:33
标题: [安全|管理]Inspector —— 检查员★查询方块&回档 【汉化|重制】[1.8-1.12]
本帖最后由 酷车手BB弹 于 2019-3-12 21:09 编辑
本插件已弃坑,推荐你使用更强大的查询系统 Prism

Inspector
This plugin features rollback and the logging of all player blockinteractions.
这款插件可以记录和回滚所有玩家对方块的交互CoreProtect 用过吧?功能几乎是一样的)
授权证明:


Downloads
You can head over to the GitHub releases page to grab the latest releaseof Inspector here.
你可以在GitHub的发布页查看Inspector的最新版,点击此处

GitHub Repository
If you'd like to check out Inspector's GitHub repo, you can do so here.
如果你想看看Inspector的GitHub再购协议,可以点击

Commands
/inspector | /insp | /insp - Main commandof plugin, it will return the version installed.
插件的主命令,它将返回已安装的版本(??这个有点不太懂)

/inspector toggle - Toggles the viewer ofInspector. Every block you interact with will display all info Inspector has onit when toggled on.
检查员/玩家之间的切换,切换后可以查询每个方块与玩家进行过的互动(和/co i一样)

/inspector rollback <玩家>[<时间>] - Returns a list of all the changes that occurred if you specify the time (in mm:dd:yyyyformat), it will only list transactions from that day.
Then, when you find thelast transaction you want to undo, you press it.
回档,可让指定玩家所交互过的方块进行回档到指定时间(日期格式:月:日:年)他会列出那一天的报告,然后用鼠标点击即可

Permissions
  1. inspector.use
  2. inspector.toggle
  3. inspector.rollback
复制代码
use - 使用权
toggle - 切换权
rollback - 回档权

Regions
你可以在config文件里随时更改区域选取工具,默认工具是钻石锄头
使用方法和创世神一样,左键&右键
You can select a region by using the tool specified in your config. You can change this tool at anytime by editing your config. The default tool is a diamond hoe. Using your tool, simply left click to select the primary position, and right click to select the secondary position.

MySQL Support
这款插件支持MYSQL
打开配置文件,找到数据库MYSQL的字样进行设置,将其改为true即可,默认为false,即不启用
如果不启用,插件将会自动使用SQLite
To use MySQL, open the configuration file for Inspector. Go to the database section and update all the fields under MySQL to your settings. Be sure to set enabled to true, as it is set to false as default. If you choose not to use MySQL, the plugin will use SQLite.

配置文件:


Usage
You can view the below video to get a better understanding of how Inspector works.
你可以看下面的视频来知道他是怎么用的


Support Me
If you'd like to support me, you can do so here.All donations are greatly appreciated!
如果你支持我,你可以点击这里。我非常感激所有的捐款!



汉化图片:


坛内汉化下载:


重制版:

[groupid=1330]PluginsCDTribe[/groupid]

Inspector-0.6.5.jar

35.83 KB, 阅读权限: 50, 下载次数: 150


作者: Tale丿神话    时间: 2017-1-10 08:54
能不能不指定玩家 回档?
作者: _DIM_    时间: 2017-1-10 11:12
ok1120137764 发表于 2017-1-10 08:54
能不能不指定玩家 回档?

不指定玩家回档?貌似没有
那还不如直接备份地图- -
作者: 坎诺&knight    时间: 2017-1-10 12:46
CoreProtect不能用看到这个激动了一下,然后发现是海绵端orz
帮你顶一下好了.
作者: 2894935463    时间: 2017-1-11 18:50
1.7.10不能用么。。
作者: _DIM_    时间: 2017-1-11 20:37
2894935463 发表于 2017-1-11 18:50
1.7.10不能用么。。

看清楚点。。这是sponge插件。
作者: buzaiaile    时间: 2017-1-11 20:52
有1.7.10的吗?
作者: _DIM_    时间: 2017-1-11 20:57
buzaiaile 发表于 2017-1-11 20:52
有1.7.10的吗?

请看清楚。。这是sponge插件,并非bukkit
作者: BenLi豪    时间: 2017-1-12 12:50
请问对那个/co i  有啥优点、那个可以记录指令 。
作者: _DIM_    时间: 2017-1-12 13:23
BenLi豪 发表于 2017-1-12 12:50
请问对那个/co i  有啥优点、那个可以记录指令 。

sponge插件= =
作者: 1284641389    时间: 2017-1-14 11:47
怎么没有17.10的
作者: Queen_fang    时间: 2017-1-14 12:30
这和co ii配一起行吗
作者: _DIM_    时间: 2017-1-14 19:40
Queen_fang 发表于 2017-1-14 12:30
这和co ii配一起行吗

这个是sponge插件哟
作者: 化丶冰    时间: 2017-2-19 00:49
我希望能查询箱子里面物品的修改
作者: Lne    时间: 2017-3-10 18:04
/inspector | /insp | /insp - Main commandof plugin, it will return the version installed.
插件的主命令,它将返回已安装的版本(??这个有点不太懂)

”it will return the version installed“的意思是“它将返回你当前插件的版本号”

作者: gfgvhuf    时间: 2017-3-12 19:02
0 0 ...  这个东西对硬盘操作太过于频繁怎么办。。。。 SSD上没问题, 用在机械硬盘上就有 Can't keep up! Did the system time change, or is the server overloaded? Running 3713ms behind, skipping 74 tick(s)
作者: _DIM_    时间: 2017-3-12 19:19
gfgvhuf 发表于 2017-3-12 19:02
0 0 ...  这个东西对硬盘操作太过于频繁怎么办。。。。 SSD上没问题, 用在机械硬盘上就有 Can't keep up!  ...

这个也没办法了。。。只能用SSD了
作者: Smile_Sun    时间: 2017-5-15 18:42
有spigot的吗
作者: jinloveme    时间: 2017-7-28 09:44
没看懂怎么还原 只能还原互动过的方块?TNT炸了就只能还原放置TNT的那一个方块???
作者: jinloveme    时间: 2017-7-28 14:05
不得不吐槽下 回档就卡 不管多大2X2卡的人要死要活??
作者: 854312113    时间: 2017-9-2 22:10
用mysql储存,服务器里查询就只显示没信息的方块,有信息的方块都不显示了。咋弄?
作者: _DIM_    时间: 2017-9-2 22:28
854312113 发表于 2017-9-2 22:10
用mysql储存,服务器里查询就只显示没信息的方块,有信息的方块都不显示了。咋弄? ...

启动时有没有报错?
作者: werwers    时间: 2017-9-16 15:18
  1. [14:47:55] [Server thread/INFO]: [STDERR]: java.sql.SQLSyntaxErrorException: (conn:364) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AUTOINCREMENT NOT NULL, UUID          TEXT       NOT NULL, NAME          TEXT   ' at line 1
  2. Query is : CREATE TABLE IF NOT EXISTS PLAYERS(ID INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, UUID          TEXT       NOT NULL, NAME          TEXT       NOT NULL)
  3. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.mariadb.jdbc.internal.util.ExceptionMapper.get(ExceptionMapper.java:134)
  4. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.mariadb.jdbc.internal.util.ExceptionMapper.getException(ExceptionMapper.java:101)
  5. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.mariadb.jdbc.internal.util.ExceptionMapper.throwAndLogException(ExceptionMapper.java:77)
  6. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.mariadb.jdbc.MariaDbStatement.executeQueryEpilog(MariaDbStatement.java:224)
  7. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:258)
  8. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.mariadb.jdbc.MariaDbStatement.executeUpdate(MariaDbStatement.java:387)
  9. [14:47:55] [Server thread/INFO]: [STDERR]:      at com.zaxxer.hikari.pool.ProxyStatement.executeUpdate(ProxyStatement.java:120)
  10. [14:47:55] [Server thread/INFO]: [STDERR]:      at com.zaxxer.hikari.pool.HikariProxyStatement.executeUpdate(HikariProxyStatement.java)
  11. [14:47:55] [Server thread/INFO]: [STDERR]:      at io.github.hsyyid.inspector.utilities.DatabaseManager.isPlayerInDatabase(DatabaseManager.java:130)
  12. [14:47:55] [Server thread/INFO]: [STDERR]:      at io.github.hsyyid.inspector.listeners.PlayerJoinListener.onPlayerJoin(PlayerJoinListener.java:12)
  13. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.spongepowered.common.event.listener.JoinListener_PlayerJoinListener_onPlayerJoin132.handle(Unknown Source)
  14. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)
  15. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:314)
  16. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:296)
  17. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:341)
  18. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:329)
  19. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:192)
  20. [14:47:55] [Server thread/INFO]: [STDERR]:      at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:1611)
  21. [14:47:55] [Server thread/INFO]: [STDERR]:      at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:262)
  22. [14:47:55] [Server thread/INFO]: [STDERR]:      at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:73)
  23. [14:47:55] [Server thread/INFO]: [STDERR]:      at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:211)
  24. [14:47:55] [Server thread/INFO]: [STDERR]:      at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287)
  25. [14:47:55] [Server thread/INFO]: [STDERR]:      at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)
  26. [14:47:55] [Server thread/INFO]: [STDERR]:      at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:743)
  27. [14:47:55] [Server thread/INFO]: [STDERR]:      at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:384)
  28. [14:47:55] [Server thread/INFO]: [STDERR]:      at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:624)
  29. [14:47:55] [Server thread/INFO]: [STDERR]:      at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
  30. [14:47:55] [Server thread/INFO]: [STDERR]:      at java.lang.Thread.run(Unknown Source)
  31. [14:47:55] [Server thread/INFO]: [STDERR]: Caused by: org.mariadb.jdbc.internal.util.dao.QueryException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AUTOINCREMENT NOT NULL, UUID          TEXT       NOT NULL, NAME          TEXT   ' at line 1
  32. Query is : CREATE TABLE IF NOT EXISTS PLAYERS(ID INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, UUID          TEXT       NOT NULL, NAME          TEXT       NOT NULL)
  33. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1114)
  34. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:137)
  35. [14:47:55] [Server thread/INFO]: [STDERR]:      at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:249)
  36. [14:47:55] [Server thread/INFO]: [STDERR]:      ... 23 more
复制代码

使用mysql 有人进服务器的时候就这样报错,虽然报错涉及到  lp  的class ,但是我感觉是inspector 的锅 ,因为去掉 inspector 正常,这个貌似只是sql 语句 错误而已,其他信息
  1. forge-1.11.2-13.20.1.2393-universal.jar
  2. spongeforge-1.11.2-2393-6.1.0-BETA-2606.jar
复制代码


作者: _DIM_    时间: 2017-9-16 15:55
werwers 发表于 2017-9-16 15:18
使用mysql 有人进服务器的时候就这样报错,虽然报错涉及到  lp  的class ,但是我感觉是inspector 的锅 , ...

是的。这插件的mysql貌似有问题。
作者: werwers    时间: 2017-9-16 16:32
酷车手BB弹 发表于 2017-9-16 15:55
是的。这插件的mysql貌似有问题。

自己建 players 表后 貌似可以正常使用,虽然还会一直报错
作者: PermissionDog    时间: 2017-9-23 15:11
酷车手BB弹 发表于 2017-9-2 22:28
启动时有没有报错?

没有 数据储存正常 登录数据库看了能显示所有方块信息 就是游戏里面查询就什么都不显示
作者: _DIM_    时间: 2017-9-23 15:13
PermissionDog 发表于 2017-9-23 15:11
没有 数据储存正常 登录数据库看了能显示所有方块信息 就是游戏里面查询就什么都不显示 ...

mysql功能有问题- -
作者: PermissionDog    时间: 2017-9-23 17:25
酷车手BB弹 发表于 2017-9-23 15:13
mysql功能有问题- -

没问题吧?...我一堆东西都存mysql都没事
作者: PermissionDog    时间: 2017-9-23 23:34
插件问题就比较尴尬了
作者: sy07130    时间: 2017-12-10 23:33
有个问题,查询的时间是英国时间  不是中国时间啊
作者: ewwee    时间: 2017-12-16 21:04
这插件支持1.12.2吗?什么时候才支持?
作者: uuu2011    时间: 2018-2-8 23:39
开启查询员状态之后,怎么查询?
作者: Not103    时间: 2018-2-9 13:01
1.11.2安装上去可以用 但是有点报错
作者: 染唇大大    时间: 2018-2-9 14:45
加油 加油 加油
作者: Tollainmear    时间: 2018-2-25 18:13
本帖最后由 Tollainmear 于 2018-3-1 21:18 编辑

在这里记录一下Inspector-UnofficialThread的拓展功能
    新增指令 - 权限(0.6.6)
  1. /insp purge - "inspector.purge"
  2. /insp reload - "inspector.reload"
复制代码
注意事项:
      此版本的完整源代码公布在:https://github.com/Tollainmear/Inspector
     原始项目的完整代码在:https://github.com/hsyyid/Inspector



下载

更新日志







作者: chunlu5415    时间: 2018-3-1 14:05
重置版貌似没有汉化,管理员放置的方块是不是默认是查不到的呢?自己放了个mod的箱子,表示查询不到,什么都没显示。
作者: _DIM_    时间: 2018-3-1 16:31
ewwee 发表于 2017-12-16 21:04
这插件支持1.12.2吗?什么时候才支持?

已支持,查看重制版
作者: -Marvin-    时间: 2018-3-1 17:24
看到支持1.12就拿走了
作者: ewwee    时间: 2018-3-11 00:53
酷车手BB弹 发表于 2018-3-1 16:31
已支持,查看重制版

不行啊,sponge的API版本是7.1,用不了,而且我还找不到类似的插件
作者: _DIM_    时间: 2018-3-11 01:02
ewwee 发表于 2018-3-11 00:53
不行啊,sponge的API版本是7.1,用不了,而且我还找不到类似的插件

我怎么就用的了= =
作者: Tollainmear    时间: 2018-3-17 20:18
ewwee 发表于 2018-3-11 00:53
不行啊,sponge的API版本是7.1,用不了,而且我还找不到类似的插件

请看我回帖中所提供的重置版,问题报告可以在这里回复我 我会尽快修复
作者: Simir    时间: 2018-3-29 15:25
感谢重制 开心sponge福音
作者: yongliu    时间: 2018-3-29 19:57
不错的插件支持
作者: q306288316    时间: 2018-4-3 13:01
请问,用的mysql,一登录游戏就报错,数据库没表,其他插件连数据库都没问题。




作者: q306288316    时间: 2018-4-3 14:28
q306288316 发表于 2018-4-3 13:01
请问,用的mysql,一登录游戏就报错,数据库没表,其他插件连数据库都没问题。

对了老板,我用的是重置版的那个0.6.7,我跟了下源码,获取密码把强转换成toString不报错了,然后sql建表自增时候,换成auto_creament,有表了,否则我这里语法错误。结果查询时候还是有错,我就不跟了,我是1.12.2.
作者: 辉夜    时间: 2018-4-7 18:09
看到一堆人问有没有1.7.10的
鼻涕都快笑出来了
作者: 辉夜    时间: 2018-4-8 13:07
重制版的For-API7没有汉化吗?
作者: 314887776    时间: 2018-7-9 23:21
io.github.hsyyid.inspector.utilities下的DatabaseManager.java 109行,改成这样,登陆就不报错了,原因是PRIMARY KEY已经包括NOT NULL,(这个仅仅是mysql和mariadb数据库,其他数据库不太懂)

  1.                         stmt.executeUpdate("CREATE TABLE IF NOT EXISTS PLAYERS(ID INTEGER PRIMARY KEY AUTO_INCREMENT, UUID TEXT NOT NULL, NAME TEXT NOT NULL)");
复制代码

作者: zhan_long_yan    时间: 2018-7-10 11:14
谢谢楼主搬运
作者: GreyElaina    时间: 2018-7-10 11:29
插件的主命令,它将返回已安装的版本(??这个有点不太懂)

这里应该说的是插件的版本信息
作者: a65w46a    时间: 2018-7-11 12:58
能不能不指定玩家 回档?
作者: 314887776    时间: 2018-7-13 19:40
a65w46a 发表于 2018-7-11 12:58
**** 作者被禁止或删除 内容自动屏蔽 ****

你是 要整个服务器回档吗?
作者: 21504010    时间: 2018-7-14 15:34
能查询箱子使用记录吗

作者: 314887776    时间: 2018-7-14 16:19
本帖最后由 314887776 于 2018-7-30 13:19 编辑

更新可以记录容器信息,开启toggle后右键方块查看
修复一个错误,增加对tnt 等的记录

不兼容之前配置文件
不兼容之前数据库(sqlite 兼容如果用的是mysql,可自行更改insp_player uuid列的长度)
数据库默认使用h2
增加对放置TNT的玩家的记录
添加信息文件,没汉化
权限
  1. inspector.use       使用 /inspector,/ins,/insp命令的权限
  2. inspector.toggle    查找数据的权限,开启后点击方块可查找  命令 /ins toggle  
  3. inspector.rollback  回档权限,命令  /ins rollback 时间 选项 选项
  4.                           选项   可以为    r:3    #恢复半径为3,不设置就选择选区
  5.                                            u:aaa  #可选,根据玩家aaa恢复
  6. inspector.region.use   选区使用权限,默认使用钻石镐
  7. inspector.purge      删除数据库数据,命令  /ins purge  时间    #时间格式同上
  8. inspector.reload     重新读取配置文件,命令  /ins reload
复制代码
我重置的插件已开帖子
http://www.mcbbs.net/forum.php?m ... sortid%26sortid%3D7



作者: 314887776    时间: 2018-7-14 16:25
314887776 发表于 2018-7-14 16:19
我自己修改了一下,mysql可以用,大量提升性能(个人感觉= =)
sqlite不可用,rollback 命令改为  
半径r和 ...

sqlite 不支持主要是 出现奇奇怪怪的问题 ,我还弄不懂
作者: aazxxbb    时间: 2018-7-19 20:29
出现inspectator was not enable in this world 如何处理?
作者: EPG    时间: 2018-7-20 11:52
21504010 发表于 2018-7-14 15:34
能查询箱子使用记录吗

Inspector不能查交互,查询箱子可以用AdamantineShield
作者: a65w46a    时间: 2018-7-20 12:54
能检查mod物品的使用记录吗
作者: 314887776    时间: 2018-7-26 12:41
aazxxbb 发表于 2018-7-19 20:29
出现inspectator was not enable in this world 如何处理?

插件在这个世界没有开启,在配置文件可以开启
作者: aazxxbb    时间: 2018-7-29 11:31
314887776 发表于 2018-7-26 12:41
插件在这个世界没有开启,在配置文件可以开启

谢谢,我去配置文件看看
作者: dark-deep    时间: 2018-9-1 00:56
这个不能查看输入过的指令吗?
作者: fyc12365    时间: 2019-2-26 17:54
本帖最后由 fyc12365 于 2019-2-26 18:17 编辑
Tollainmear 发表于 2018-2-25 18:13
在这里记录一下Inspector-UnofficialThread的拓展功能
    新增指令 - 权限(0.6.6)注意事项:

能不能关闭所有容器的记录?
只是容器内的物品,箱子等方块的放置还是要记录的。
配置文件里好像没有这项设置
我好像没注意这东西不能记录容器.....
当我啥也没说(回复删不掉....)

作者: DJ_manito    时间: 2019-3-12 21:04
希望可以加入查询玩家最近输入的指令以及聊天信息的功能,且支持控制台查询
因为腐竹有时候出现一些纠纷或者问题看看指令就完事的,登游戏很麻烦
作者: _DIM_    时间: 2019-3-12 21:06
娄敬 发表于 2019-3-12 21:04
希望可以加入查询玩家最近输入的指令以及聊天信息的功能,且支持控制台查询
因为腐竹有时候出现一些纠纷或者 ...

http://www.mcbbs.net/thread-837192-1-1.html 了解一下
作者: DJ_manito    时间: 2019-3-12 21:28
酷车手BB弹 发表于 2019-3-12 21:06
http://www.mcbbs.net/thread-837192-1-1.html 了解一下

ok,谢谢dalao因为刚刚搞从1.7.10的KC转到1.12.2的sponge基础都搞定了,就是各种各样从bukkit插件来的习惯还没解决
作者: cp666    时间: 2019-4-5 21:23
会出现连接泄露
作者: _DIM_    时间: 2019-4-5 21:35
cp666 发表于 2019-4-5 21:23
会出现连接泄露

请改用prism
作者: wei_han1    时间: 2019-8-17 00:06
1.12.2的怎么搞

作者: 凉菀彡    时间: 2020-3-31 17:28
插件很好,喜欢,刚好用得上