本帖最后由 酷车手BB弹 于 2019-3-12 21:09 编辑
Inspector
授权证明:
Downloads
GitHub Repository
Commands
Permissions复制代码use - 使用权
toggle - 切换权
rollback - 回档权
Regions
MySQL Support
这款插件支持MYSQL
打开配置文件,找到数据库MYSQL的字样进行设置,将其改为true即可,默认为false,即不启用
如果不启用,插件将会自动使用SQLite
配置文件:
Usage
You can view the below video to get a better understanding of how Inspector works.
你可以看下面的视频来知道他是怎么用的
Support Me
汉化图片:
坛内汉化下载:
重制版:
来自群组: PluginsCDTribe
本插件已弃坑,推荐你使用更强大的查询系统 Prism
Inspector
This plugin features rollback and the logging of all player blockinteractions.
这款插件可以记录和回滚所有玩家对方块的交互(CoreProtect 用过吧?功能几乎是一样的)授权证明:
You can head over to the GitHub releases page to grab the latest releaseof Inspector here.
你可以在GitHub的发布页查看Inspector的最新版,点击此处If you'd like to check out Inspector's GitHub repo, you can do so here.
如果你想看看Inspector的GitHub再购协议,可以点击这/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.
回档,可让指定玩家所交互过的方块进行回档到指定时间(日期格式:月:日:年)他会列出那一天的报告,然后用鼠标点击即可
- inspector.use
- inspector.toggle
- inspector.rollback
toggle - 切换权
rollback - 回档权
你可以在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
打开配置文件,找到数据库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.
You can view the below video to get a better understanding of how Inspector works.
你可以看下面的视频来知道他是怎么用的
If you'd like to support me, you can do so here.All donations are greatly appreciated!
如果你支持我,你可以点击这里。我非常感激所有的捐款!
来自群组: PluginsCDTribe
能不能不指定玩家 回档?
CoreProtect不能用看到这个激动了一下,然后发现是海绵端orz
帮你顶一下好了.
帮你顶一下好了.
1.7.10不能用么。。
2894935463 发表于 2017-1-11 18:50
1.7.10不能用么。。
看清楚点。。这是sponge插件。
有1.7.10的吗?
buzaiaile 发表于 2017-1-11 20:52
有1.7.10的吗?
请看清楚。。这是sponge插件,并非bukkit
请问对那个/co i 有啥优点、那个可以记录指令 。
BenLi豪 发表于 2017-1-12 12:50
请问对那个/co i 有啥优点、那个可以记录指令 。
sponge插件= =
怎么没有17.10的
这和co ii配一起行吗
Queen_fang 发表于 2017-1-14 12:30
这和co ii配一起行吗
这个是sponge插件哟
我希望能查询箱子里面物品的修改
/inspector | /insp | /insp - Main commandof plugin, it will return the version installed.
插件的主命令,它将返回已安装的版本(??这个有点不太懂)
”it will return the version installed“的意思是“它将返回你当前插件的版本号”
0 0 ... 这个东西对硬盘操作太过于频繁怎么办。。。。 SSD上没问题, 用在机械硬盘上就有 Can't keep up! Did the system time change, or is the server overloaded? Running 3713ms behind, skipping 74 tick(s)
gfgvhuf 发表于 2017-3-12 19:02
0 0 ... 这个东西对硬盘操作太过于频繁怎么办。。。。 SSD上没问题, 用在机械硬盘上就有 Can't keep up! ...
这个也没办法了。。。只能用SSD了
有spigot的吗
没看懂怎么还原 只能还原互动过的方块?TNT炸了就只能还原放置TNT的那一个方块???
不得不吐槽下 回档就卡 不管多大2X2卡的人要死要活??
用mysql储存,服务器里查询就只显示没信息的方块,有信息的方块都不显示了。咋弄?
854312113 发表于 2017-9-2 22:10
用mysql储存,服务器里查询就只显示没信息的方块,有信息的方块都不显示了。咋弄? ...
启动时有没有报错?
- [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
- Query is : CREATE TABLE IF NOT EXISTS PLAYERS(ID INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, UUID TEXT NOT NULL, NAME TEXT NOT NULL)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.mariadb.jdbc.internal.util.ExceptionMapper.get(ExceptionMapper.java:134)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.mariadb.jdbc.internal.util.ExceptionMapper.getException(ExceptionMapper.java:101)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.mariadb.jdbc.internal.util.ExceptionMapper.throwAndLogException(ExceptionMapper.java:77)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.mariadb.jdbc.MariaDbStatement.executeQueryEpilog(MariaDbStatement.java:224)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:258)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.mariadb.jdbc.MariaDbStatement.executeUpdate(MariaDbStatement.java:387)
- [14:47:55] [Server thread/INFO]: [STDERR]: at com.zaxxer.hikari.pool.ProxyStatement.executeUpdate(ProxyStatement.java:120)
- [14:47:55] [Server thread/INFO]: [STDERR]: at com.zaxxer.hikari.pool.HikariProxyStatement.executeUpdate(HikariProxyStatement.java)
- [14:47:55] [Server thread/INFO]: [STDERR]: at io.github.hsyyid.inspector.utilities.DatabaseManager.isPlayerInDatabase(DatabaseManager.java:130)
- [14:47:55] [Server thread/INFO]: [STDERR]: at io.github.hsyyid.inspector.listeners.PlayerJoinListener.onPlayerJoin(PlayerJoinListener.java:12)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.spongepowered.common.event.listener.JoinListener_PlayerJoinListener_onPlayerJoin132.handle(Unknown Source)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:314)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:296)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:341)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:329)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:192)
- [14:47:55] [Server thread/INFO]: [STDERR]: at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:1611)
- [14:47:55] [Server thread/INFO]: [STDERR]: at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:262)
- [14:47:55] [Server thread/INFO]: [STDERR]: at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:73)
- [14:47:55] [Server thread/INFO]: [STDERR]: at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:211)
- [14:47:55] [Server thread/INFO]: [STDERR]: at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287)
- [14:47:55] [Server thread/INFO]: [STDERR]: at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)
- [14:47:55] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:743)
- [14:47:55] [Server thread/INFO]: [STDERR]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:384)
- [14:47:55] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:624)
- [14:47:55] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
- [14:47:55] [Server thread/INFO]: [STDERR]: at java.lang.Thread.run(Unknown Source)
- [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
- Query is : CREATE TABLE IF NOT EXISTS PLAYERS(ID INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, UUID TEXT NOT NULL, NAME TEXT NOT NULL)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1114)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:137)
- [14:47:55] [Server thread/INFO]: [STDERR]: at org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:249)
- [14:47:55] [Server thread/INFO]: [STDERR]: ... 23 more
使用mysql 有人进服务器的时候就这样报错,虽然报错涉及到 lp 的class ,但是我感觉是inspector 的锅 ,因为去掉 inspector 正常,这个貌似只是sql 语句 错误而已,其他信息
- forge-1.11.2-13.20.1.2393-universal.jar
- spongeforge-1.11.2-2393-6.1.0-BETA-2606.jar
werwers 发表于 2017-9-16 15:18
使用mysql 有人进服务器的时候就这样报错,虽然报错涉及到 lp 的class ,但是我感觉是inspector 的锅 , ...
是的。这插件的mysql貌似有问题。
酷车手BB弹 发表于 2017-9-2 22:28
启动时有没有报错?
没有 数据储存正常 登录数据库看了能显示所有方块信息 就是游戏里面查询就什么都不显示
PermissionDog 发表于 2017-9-23 15:11
没有 数据储存正常 登录数据库看了能显示所有方块信息 就是游戏里面查询就什么都不显示 ...
mysql功能有问题- -
酷车手BB弹 发表于 2017-9-23 15:13
mysql功能有问题- -
没问题吧?...我一堆东西都存mysql都没事
插件问题就比较尴尬了
有个问题,查询的时间是英国时间 不是中国时间啊
这插件支持1.12.2吗?什么时候才支持?
开启查询员状态之后,怎么查询?
1.11.2安装上去可以用 但是有点报错
加油 加油 加油
本帖最后由 Tollainmear 于 2018-3-1 21:18 编辑
在这里记录一下Inspector-UnofficialThread的拓展功能
新增指令 - 权限(0.6.6)复制代码注意事项:
原始项目的完整代码在:https://github.com/hsyyid/Inspector

在这里记录一下Inspector-UnofficialThread的拓展功能
新增指令 - 权限(0.6.6)
- /insp purge - "inspector.purge"
- /insp reload - "inspector.reload"
- 增加了/insp reload ——用于重载conf文件(仅作用于conf文件下的世界分流器模块、blockWhiteList模块和Auto_Purge模块)
- 在配置文件中加入了配置分流器以上为默认的结构(根据您服务器的世界自动计算键值对);值得注意的是,默认情况下,自动生成的世界是关闭记录的,考虑到某些频繁更换的资源/采集世界和某些玩家不会涉及方块变更的小游戏世界,请在配置文件中将你想记录的世界设置为true,然后执行/insp reload指令进行重载即可复制代码
- worlds {
- DIM-1=false
- DIM1=false
- world=true
- }
- worlds {
- 增加了自定义过滤器,现在您可以在配置文件的“blockWhiteList”块内自定义您认为可以不用存储记录的方块ID(仅作用于非官方版0.6.6),以下为默认结构注意:请将完整的方块ID填写在此处!如果您添加的方块根据损耗值有不同方块类型的区分,请填写带损耗值的ID,例如:您想希望过滤普通石头但不希望过滤掉安山岩,请将普通石头的ID+损耗值——“minecraft:stone:0”填写在此处,否则插件会将同ID不同损耗值的安山岩、花岗岩、闪长岩等石头统统过滤!复制代码
- blockWhiteList=[
- "minecraft:bedrock"
- ]
- blockWhiteList=[
- 增加了手动清理过期数据的功能,现在您可以通过/insp purge [小时数]指令手动清理陈旧信息(注:此操作不可逆),值得注意的是,如果您的数据量过于庞大,可能会在清理的过程中造成较为明显的卡顿,目前暂无解决办法,您也可以通过下面功能清理过期数据。
- 增加了自动清理过期数据的功能,现在您可以通过设置配置文件的"auto_Purge" 部分实现自动清理功能,示例如下值得注意的是,只有在服务器正常关闭的情况下(例如/stop)才会执行自动清理功能,在服务器关闭前清理将会有效减少服务器玩家的体感卡顿效果(废话啊,这个阶段都没有人在线了!)复制代码
- "auto_Purge" {
- # 如果开启,Inspector将会在服务器关闭之前自动清理过期数据(默认值:true)
- Enable=true
- # 以小时为单位的时间阈值,Inspector将会在服务器关闭前自动清理此阈值之前的数据(默认值:72)
- timeThreshold=72
- }
- "auto_Purge" {
- 如果您使用的是Inspector非官方发布的(此)0.6.6版本,可能不会很好的作用于之前版本生成的数据库,过期信息将无法正常清理,请根据情况手动清理旧版数据文件。
- 最后,此插件的所有版权归HassanS6000所有,本插件的分流构建版本同原插件作者无关,如果涉及到侵权或者被原作者声明禁止,此插件将在此情况下删除,本插件引发的所有问题同原作者无关,如果意见请在此帖后面回复。
原始项目的完整代码在:https://github.com/hsyyid/Inspector

下载
更新日志
重置版貌似没有汉化,管理员放置的方块是不是默认是查不到的呢?自己放了个mod的箱子,表示查询不到,什么都没显示。
ewwee 发表于 2017-12-16 21:04
这插件支持1.12.2吗?什么时候才支持?
已支持,查看重制版
看到支持1.12就拿走了
酷车手BB弹 发表于 2018-3-1 16:31
已支持,查看重制版
不行啊,sponge的API版本是7.1,用不了,而且我还找不到类似的插件
ewwee 发表于 2018-3-11 00:53
不行啊,sponge的API版本是7.1,用不了,而且我还找不到类似的插件
我怎么就用的了= =
ewwee 发表于 2018-3-11 00:53
不行啊,sponge的API版本是7.1,用不了,而且我还找不到类似的插件
请看我回帖中所提供的重置版,问题报告可以在这里回复我 我会尽快修复
感谢重制 开心sponge福音
不错的插件支持
请问,用的mysql,一登录游戏就报错,数据库没表,其他插件连数据库都没问题。
q306288316 发表于 2018-4-3 13:01
请问,用的mysql,一登录游戏就报错,数据库没表,其他插件连数据库都没问题。
对了老板,我用的是重置版的那个0.6.7,我跟了下源码,获取密码把强转换成toString不报错了,然后sql建表自增时候,换成auto_creament,有表了,否则我这里语法错误。结果查询时候还是有错,我就不跟了,我是1.12.2.
看到一堆人问有没有1.7.10的
鼻涕都快笑出来了
鼻涕都快笑出来了
重制版的For-API7没有汉化吗?
io.github.hsyyid.inspector.utilities下的DatabaseManager.java 109行,改成这样,登陆就不报错了,原因是PRIMARY KEY已经包括NOT NULL,(这个仅仅是mysql和mariadb数据库,其他数据库不太懂)
复制代码
- stmt.executeUpdate("CREATE TABLE IF NOT EXISTS PLAYERS(ID INTEGER PRIMARY KEY AUTO_INCREMENT, UUID TEXT NOT NULL, NAME TEXT NOT NULL)");
谢谢楼主搬运
插件的主命令,它将返回已安装的版本(??这个有点不太懂)
这里应该说的是插件的版本信息
