_DIM_
本帖最后由 酷车手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!
如果你支持我,你可以点击这里。我非常感激所有的捐款!



汉化图片:


坛内汉化下载:


重制版:

来自群组: PluginsCDTribe

Tale丿神话
能不能不指定玩家 回档?

_DIM_
ok1120137764 发表于 2017-1-10 08:54
能不能不指定玩家 回档?

不指定玩家回档?貌似没有
那还不如直接备份地图- -

坎诺&knight
CoreProtect不能用看到这个激动了一下,然后发现是海绵端orz
帮你顶一下好了.

2894935463
1.7.10不能用么。。

_DIM_
2894935463 发表于 2017-1-11 18:50
1.7.10不能用么。。

看清楚点。。这是sponge插件。

buzaiaile
有1.7.10的吗?

_DIM_

请看清楚。。这是sponge插件,并非bukkit

BenLi豪
请问对那个/co i  有啥优点、那个可以记录指令 。

_DIM_
BenLi豪 发表于 2017-1-12 12:50
请问对那个/co i  有啥优点、那个可以记录指令 。

sponge插件= =

1284641389
怎么没有17.10的

Queen_fang
这和co ii配一起行吗

_DIM_
Queen_fang 发表于 2017-1-14 12:30
这和co ii配一起行吗

这个是sponge插件哟

化丶冰
我希望能查询箱子里面物品的修改

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

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

gfgvhuf
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_
gfgvhuf 发表于 2017-3-12 19:02
0 0 ...  这个东西对硬盘操作太过于频繁怎么办。。。。 SSD上没问题, 用在机械硬盘上就有 Can't keep up!  ...

这个也没办法了。。。只能用SSD了

Smile_Sun
有spigot的吗

jinloveme
没看懂怎么还原 只能还原互动过的方块?TNT炸了就只能还原放置TNT的那一个方块???

jinloveme
不得不吐槽下 回档就卡 不管多大2X2卡的人要死要活??

854312113
用mysql储存,服务器里查询就只显示没信息的方块,有信息的方块都不显示了。咋弄?

_DIM_
854312113 发表于 2017-9-2 22:10
用mysql储存,服务器里查询就只显示没信息的方块,有信息的方块都不显示了。咋弄? ...

启动时有没有报错?

werwers
  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_
werwers 发表于 2017-9-16 15:18
使用mysql 有人进服务器的时候就这样报错,虽然报错涉及到  lp  的class ,但是我感觉是inspector 的锅 , ...

是的。这插件的mysql貌似有问题。

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

自己建 players 表后 貌似可以正常使用,虽然还会一直报错

PermissionDog
酷车手BB弹 发表于 2017-9-2 22:28
启动时有没有报错?

没有 数据储存正常 登录数据库看了能显示所有方块信息 就是游戏里面查询就什么都不显示

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

mysql功能有问题- -

PermissionDog

没问题吧?...我一堆东西都存mysql都没事

PermissionDog
插件问题就比较尴尬了

sy07130
有个问题,查询的时间是英国时间  不是中国时间啊

ewwee
这插件支持1.12.2吗?什么时候才支持?

uuu2011
开启查询员状态之后,怎么查询?

Not103
1.11.2安装上去可以用 但是有点报错

染唇大大
加油 加油 加油

Tollainmear
本帖最后由 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
重置版貌似没有汉化,管理员放置的方块是不是默认是查不到的呢?自己放了个mod的箱子,表示查询不到,什么都没显示。

_DIM_
ewwee 发表于 2017-12-16 21:04
这插件支持1.12.2吗?什么时候才支持?

已支持,查看重制版

-Marvin-
看到支持1.12就拿走了

ewwee
酷车手BB弹 发表于 2018-3-1 16:31
已支持,查看重制版

不行啊,sponge的API版本是7.1,用不了,而且我还找不到类似的插件

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

我怎么就用的了= =

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

请看我回帖中所提供的重置版,问题报告可以在这里回复我 我会尽快修复

Simir
感谢重制 开心sponge福音

yongliu
不错的插件支持

q306288316
请问,用的mysql,一登录游戏就报错,数据库没表,其他插件连数据库都没问题。




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

对了老板,我用的是重置版的那个0.6.7,我跟了下源码,获取密码把强转换成toString不报错了,然后sql建表自增时候,换成auto_creament,有表了,否则我这里语法错误。结果查询时候还是有错,我就不跟了,我是1.12.2.

辉夜
看到一堆人问有没有1.7.10的
鼻涕都快笑出来了

辉夜
重制版的For-API7没有汉化吗?

314887776
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
谢谢楼主搬运

GreyElaina
插件的主命令,它将返回已安装的版本(??这个有点不太懂)

这里应该说的是插件的版本信息

下一页 最后一页