- 积分
- 1276
- 帖子
- 主题
- 精华
贡献- 份
爱心- 心
- 钻石
- 颗
- 人气
- 点
- 下界之星
- 枚
- 最后登录
- 1970-1-1
- 注册时间
- 2016-4-16
来自:湖北 | 本帖最后由 Gu_Xin_JunX 于 2021-7-16 16:38 编辑
授权搬运
赞助作者,鼓励作者长期更新![]()
Insight //您的一举一动,都在我眼中// 介绍-Introduction |
Insights是一款可以限制[区块/世界]内[方块/实体/Tile]的数量的插件,并且还拥有同步/异步扫描区块/世界的功能,您无需担心Insights扫描时占用大量内存,除了自动扫描外的其他扫描,皆是异步扫描。可以精准的查询到区块/半径/世界内的方块和实体以及Tile数量。 您担心玩家制作大量红石机器卡服?大型南瓜机?没问题,这个插件可以一键解决! 您担心玩家制作刷怪塔生成大量生物实体卡服?没问题!这个插件也可以一键解决!
|
|
特性-Features |
- 异步扫描(如果需要,也可以进行同步)
- 可自定义配置每个区块内Tiles的数量限制(区块体积:16X16X256)
- 可自定义配置每个区块内的"自定义组"的限制数量(如可以设置一个区块内,"红石类"方块放置最大上限为50个)
- 可自定义配置每个区块内的任意指定方块的放置最大限制数量(如可以设置一个区块内,干草块最多只能放置16个)
- 可使用(也可以不使用)WorldEdit 在一块区域进行自定义扫描
- 可在您所在区块中/某世界中/任意半径中,进行扫描查找方块/实体/Tile
- 可以设置在进入区块时自动扫描该区块
- 您可以使用异步API一次扫描数百万的方块(且内存占用少)
- 可自动更新检测和下载最新版插件(默认情况下禁用自动下载)
- Bossbar和Actionbar的实时显示
- 根据白名单/黑名单,限制WorldGuard区域中的方块
|
|
插件功能-Plugin Work |
1. 限制每个区块内指定实体/方块以及Tile的上限 2.搜索区块/世界/指定范围内的指定方块/实体以及Tile数量 3.可设置对不同权限组拥有不同限制(可用于契合VIP机制,例如普通玩家每个区块只能放置64个Tile,您可以设置VIP用户可以放置128个甚至更多) 4.可进行同步扫描,实时显示您所在区块内指定方块的数量 |
|
指令-Command |
Tips: []内的值是可以选择的(自定义);<>内的值是必须的填写的 /insights
- help - 显示插件帮助索引
- block - 显示出您十字准星所对准的方块的名称
- entity - 显示出您十字准星所对准的实体的名称
- hooks - 查询挂钩插件列表
- addons - 查询Insights的组件列表
- reload - 重新加载插件
/check - 洞察之眼将在您当前所位于的区块中进行扫描,并将该区块中的实体和Tiles数量在聊天框中反馈给您
/checkworlds - 扫描并查找您整个服务器中的Tile以及实体数量
/autoscan (同步扫描)- limit <限制方块名> - 当进入区块时,根据您设置的<限制方块名>(如红石类物品)进行同步自动扫描
- entries <block|entity> - 当进入一个区块时,根据您设置的<方块名/实体名>进行实时同步扫描,支持多个参数!
- disable - 关闭自动扫描
/scan
- custom <block|entity> [...] - 扫描并查找您当前所在的区块中的自定义内容[方块名|实体名],支持多个参数!
- entity - 扫描并查找您当前所在区块内的实体
- tile - 扫描并查找您当前所在区块内的Tile
/scanradius <区块半径>
- custom <block|entity> [...] - 对半径内的区域进行一次自定义查找扫描一定半径内的区块,查找半径范围内的指定的方块/实体数量,支持多个参数!
- entity - 扫描一定半径内的所有实体数量
- tile - 扫描一定半径内的所有tile数量
/scanworld <世界名>
- custom <block|entity> [...] - 扫描世界中已加载的区块,以查找指定的方块/实体,支持多个参数!
- entity - 扫描并查找世界中已加载区块中的所有实体
- tile - 扫描并查找世界中已加载的区块中所有的Tile
/selection
- start - 启用选择模式,左/右键单击以选择区域
- deselect - 删除当前的选择
- scan custom <block|entity> [...] - 在您选择的区块内进行自定义扫描以查找方块/实体,支持多个参数!
- scan entity - 扫描您所选择的区域以查找其中所有的实体数量
- scan tile - 扫描您所选择的区域以查找其中所有的Tiles数量
- stop - 关闭选择模式
/cancelscan -取消当前正在进行的扫描。
/togglecheck - 在bossbar中显示实时状态(若您的版本是1.9以下,将会在actionbar中显示) |
|
权限节点-Permissions |
可可爱爱的权限节点 · insights.* - 授予所有的权限· insights.check.realtime - 授予使用实时信息操作栏(actionbar)的权限 · insights.notification.update - 授予在发布新版本的Insights时得到通知的权限! · insights.regions.bypass.<block> - 授予绕过白名单/黑名单的区域和方块的权限 /insights · insights.block - 授予使用/insights block 的权限 · insights.hooks - 授予使用/insights hooks 的权限 · insights.reload - 授予重新加载插件配置的权限(/insighs reload) /check · insights.check - 授予使用/check 的权限 /checkworlds · insights.checkworlds - 授予使用/checkworlds 的权限 /autoscan · insights.autoscan.limit - 授予使用/autoscan limit <限制方块名> 的权限 · insights.autoscan.<block|entity> - 授予使用/autoscan <block/entity>(自动扫描查找方块/实体)的权限 /scan · insights.scan.* - 授予所有与扫描(scan)有关的权限 · insights.scan.entity - 授予使用/scan entity 的权限(扫描区块内实体) · insights.scan.tile - 授予使用/scan tile的权限(扫描区块内Tiles) · insights.scan.custom.<block/entity/'ALL'> - 授予使用/scan custom block/entity的权限(在区块中扫描方块/实体)
/scanradius · insights.scanradius.* - 授予所有与半径扫描(scanradius)有关的权限 · insights.scanradius.entity - 授予使用/scanradius <半径范围> entity 的权限(扫描查找半径内实体) · insights.scanradius.tile - 授予使用/scanradius <半径范围> tile 的权限(扫描查找半径内Tile) · insights.scanradius.custom.<block/entity> - 授予使用/scanradius <半径范围> custom [方块名/实体名] 的权限(在半径内扫描查找指定方块/实体) /scanworld · insights.scanworld.* - 授予所有与世界扫描(scanworld)有关的权限 · insights.scanworld.entity - 授予使用/scanworld <世界名> entity的权限(扫描查找世界内所有实体) · insights.scanworld.tile - 授予使用/scanworld <世界名> tile的权限(扫描查找世界内所有的Tiles) · insights.scanworld.custom.<block/entity> - 授予使用/scanworld <世界名> custom [实体名] /[方块名]的权限(自定义扫描世界内的指定方块/实体) /selection · insights.selection.create - 授予使用/selection create/stop 的权限(进入/退出选择模式) · insights.selection.entity - 授予使用/selection scan entity 的权限(扫描您所选择区域中的实体) · insights.selection.tile - 授予使用/selection scan tile 的权限(扫描您所选择的区域中的Tile) · insights.selection.custom.<block/entity> - 授予使用/selection scan custom [实体名/方块名] 的权限(在您选择的区块内进行自定义扫描,查找指定的方块/实体) /cancelscan - 没有权限节点
/togglecheck · insights.togglecheck[size=14.6667px] - 授予使用/togglecheck 的权限(请注意:为此,用户还需要权限Insights.check.realtime)
|
|
|
汉化翻译&配置文件 |
配置文件-config.yml
- #汉化:Rainsry
- general:
- # The update section of Insights!
- # 洞察之眼(Insights)的更新章节!
- updates:
- # Disable this is you don't want any notifications about updates
- # of Insights. Insights will check the GitHub repo for updates.
- # Permission to receive updates: insights.notification.update
- # 如果你不希望收到任何有关更新的通知,请禁用此功能
- # 洞察之眼(Insight)将会检测Github库以获取更新
- # 接受更新的权限节点:insights.notification.update
- check: true
- # Choose whether you want Insights to automatically install updates!
- # Not recommended for production servers, always carefully test before updating!
- # 选择洞察之眼(Insights)是否要自动安装更新
- # 并不建议用于生产环境(建议只在测试服务器使用此选项),
- # 请务必在更新之前进行仔细测试!以防止出现意外!
- download: false
- # If you really want to ensure you're always on the latest version of Insights
- # without touching anything, you can enable this setting below. This will
- # enable Insights to download and restart the plugin on startup of the server.
- # 如果您确实想要在无需进行任何操作的情况下,始终保持使用最新版本的洞察之眼(Insights),
- # 则可以在下方启用此设置
- # 启用设置后,将使洞察之眼(Insight)在服务器启动时下载并重新启动插件
- download_startup: false
- # Disable the paper suggestion in the console (pls update to paper tho, it really has many benefits over spigot)
- # 用于是否禁用控制台中的 paper suggestion (建议更新到paper端,因为它确实比spigot好很多)
- suggest_paper: true
- # This section is used to configure the tile finder!
- # Insights needs a single location to fetch tiles, you can change this location
- # if this location messes things up with other plugins.
- # Insights will restore this location after use to its old material again.
- # 此章节用于配置Tile查找器
- # Insights需要使用一个位置确认哪些方块是tile,如果影响到了其他插件的正常运行,你可以修改这个位置
- # 插件会尝试使用全部方块替换一遍,以确定哪些方块是tile,这可能需要点时间,在确认完成后,这个方块将会被还原到原来的状态
- tilefinder_location:
- world: world
- x: 1.0
- y: 1.0
- z: 1.0
- # Configure a maximum Tile limit per chunk!
- # If you want to disable this, set the value to -1.
- # A list of all tiles: https://minecraft.gamepedia.com/Block_entity
- # A chunk is defined as 16x16x256 blocks. The F3 + G shortcut shows boundaries.
- # Permission to bypass: insights.bypass
- # 配置每个区内的最大Tile限制!(Tile代表可储存数据的方块,如箱子,熔炉,漏斗,告示牌等)
- # 如果要禁用此功能,请将值设置为-1
- # 所有的方块实体的wiki(中文wiki):https://minecraft-zh.gamepedia.com/%E6%96%B9%E5%9D%97%E5%AE%9E%E4%BD%93
- # 绕过此检测的权限节点:insights.bypass
- limit: 256
- # Ignore blocks which have specific NBT tags on them when placed down?
- # This will allow better compatibility with plugins which don't cancel the placing, but instead modify the placement.
- # Leaving this option disabled could lead to so called "split-brains" where the other plugin still 'thinks'
- # the block exists, but in reality Insights removed it due to a limit.
- # 当含有特殊NBT标签的方块放置时,是否忽略他们?
- # 这将使得Insight与某些只是“修改放置”而不是禁止放置的插件拥有更好的兼容性。
- # 如果禁用此选项,可能会导致“split-brains”,也就是其他插件仍然会“认为”NBT方块存在,
- # 但是实际上由于Insight,此方块由于Insight的限制已经被删除
- ignore-nbt-tags:
- - "ExampleTag"
- - "OtherTag:60" # Example with a value, the tag must then have this value fr Insights to ignore it.
- # 上方是一个带有值的示例,NBT方块tag标签必须有insight的这个值才能被忽略
- # Ignore insights on plugin's entity spawning? This could lead to the same problems as above.
- # 是否关闭Insight对其他插件生成实体的限制,这可能会导致与上述相同的问题
- ignore-custom-spawn: true
- # The asynchronous limiting section
- # 异步限制章节
- async:
- # Should we scan custom defined block limits asynchronously?
- # Please note: there may be bugs when enabling this feature; test thoroughly!
- # Support is enabled for this feature, if you come across any incompatibility, please report!
- # 是否应该异步扫描自定义的区块限制
- # 请注意:启用此功能时,可能会出现错误。请在启用前进行彻底的测试!
- enabled: true
- # Some plugins may prefer Insights to scan particular blocks synchronously.
- # Blacklist mode (false): All blocks will be scanned synchronously except **s in the list.
- # Whitelist mode (true): All blocks in the list will be scanned synchronously.
- # 有些插件可能更合适Insight去同步扫描特定的区块
- #因此此列表中的所有“方块”都将导致Insights的同步扫描
- # 黑名单模式(设置为false时):除列表中的所有方块以外的所有方块
- # 白名单模式(设置为true时) :列表中的所有方块
- whitelist: false
- blocks:
- #- "HOPPER" (此为规范示例)
- # Worlds in which Insights should apply all limiting to
- # Please note: values are regex matched!
- # 洞察之眼(Insight)所适用于的世界
- # 请注意:值与正则表达式匹配!
- worlds:
- # Blacklist mode (false): All worlds except **s in the list.
- # Whitelist mode (true): All worlds in the list.
- # 黑名单模式(设置为flase时):除列表中的世界以外的所有世界
- # 白名单模式(设置为true时) :列表中的所有世界
- whitelist: true
- list:
- - "world"
- - "world_nether"
- - "world_the_end"
- # Regions in which Insights should apply limiting to
- # (so you can disable it in some regions)
- # Please note: values are regex matched!
- # 需要对洞察之眼(Insights)进行限制的区域
- # (因此您可以在,某些区域将洞察之眼Insights禁用)
- # 请注意:值与正表达式匹配
- regions:
- # Blacklist mode (false): All regions except **s in the list.
- # Whitelist mode (true): All regions in the list.
- # 黑名单模式(设置为false时):除列表中的区域以外的所有区域
- # 白名单模式(设置为true时) :列表中的所有区域
- whitelist: false
- list:
- - "region1"
- # Customize disallowed block placements per region.
- # Permission to bypass: insights.regions.bypass.<regionName>
- # 自定义每个区域不允许放置的方块
- # 绕过此检测的权限节点:insights.regions.bypass.<regionName>
- region_blocks:
- # An example of a region limit is below. This example
- # will disable all DIAMOND_ORE placements inside all regions
- # starting with 'region-' (regex).
- # Bypass permission: insights.regions.bypass.region1
- # 下面是一个区域限制的示例。
- # 本示例将禁止所有以'region-'(正则表达式)开头的区域内的所有DIAMOND_ORE(钻石矿)放置。
- # 绕过此检测的权限节点:insights.regions.bypass.region1
- "region1":
- whitelist: false
- regex: "region-.*"
- list:
- - "DIAMOND_ORE"
- # Another example of a region limit. This example
- # will only allow DIAMOND_ORE placements inside region 'region2'
- # Bypass permission: insights.regions.bypass.region2
- # 区域限制的另一个例子
- # 此示例仅允许在“region2”内的DIAMOND_ORE(钻石矿)放置
- # 绕过此检测的权限节点:insights.regions.bypass.region2
- region2:
- whitelist: true
- regex: "region2"
- list:
- - "DIAMOND_ORE"
- # Configure how Insights will work with WorldEdit!
- # Insights will block all defined limits and will
- # apply the same permissions used there to ensure that
- # users with permissions are still allowed to perform these actions.
- # 配置Insights如何与WorldEdit配合使用!
- # Insight将会阻止所有定义的限制,并将使用那里的相同权限(Permission),
- # 以确保具有权限的用户仍被允许执行这些操作
- worldedit:
- enabled: true
- # Replace the blocks which have a limit or leave them unchanged!
- # Possible values: REPLACEMENT, UNCHANGED
- # 替换有限制的区块或将其保持不变!
- # 可以选择的值:REPLACEMENT, UNCHANGED
- type: "REPLACEMENT"
- replacement: "BEDROCK"
-
- # Disables all tile placements via worldedit.
- # Use the permission insights.bypass.worldedit to bypass.
- # 通过worldedit禁用所有tile放置。
- # 使用权限Insights.bypass.worldedit绕过此检测。
- disable_tiles: false
-
- # Disable extra blocks through worldedit here.
- # Bypass permission is insights.bypass.worldedit.<block>
- # 这里是worlddit额外禁用的方块
- # 绕过此检测的权限节点:insights.bypass.worldedit.<block>
- whitelist: false
- list:
- - "POPPY"
- # Configure a live-notification when placing down a limited block!
- # The message is either sent in the ActionBar or as BossBar. On versions
- # prior to 1.9 this will be fixed to ActionBar.
- # 配置放置有限制的方块时的实时通知!
- # 消息以ActionBar或BossBar的形式发送
- # 在1.9版本之前,信息发送将会固定以ActionBar的形式发送
- notification:
- # Choose the notification type here!
- # Possible values are "ACTIONBAR", "BOSSBAR"
- # Please note: BossBar is only on Minecraft versions > 1.9!
- # 在此处选择通知类型!
- # 可以选择的值为:"ACTIONBAR","BOSSBAR"
- # 请注意:BooksBar的发送形式仅在Minecraft1.9版本以上才能使用
- type: "BOSSBAR"
- # Configure the BossBar aspects here!
- # 在此处配置BossBar
- bossbar:
- # The color of the BossBar
- # Possible values are "BLUE", "GREEN", "PINK", "PURPLE", "RED", "WHITE", "YELLOW"
- # # BossBar的颜色
- # 可以选择的值为: "BLUE", "GREEN", "PINK", "PURPLE", "RED", "WHITE", "YELLOW" (请自行对着配置)
- color: "BLUE"
- # The style of the BossBar
- # Possible values are "SOLID", "SEGMENTED_6", "SEGMENTED_10", "SEGMENTED_12", "SEGMENTED_20"
- # BokkBar的样式/格式
- # 可以选择的值:"SOLID", "SEGMENTED_6", "SEGMENTED_10", "SEGMENTED_12", "SEGMENTED_20"
- style: "SEGMENTED_10"
- # If you want, you can apply some flags to the BossBar as well!
- # Possible values are "DARKEN_SKY", "PLAY_BOSS_MUSIC", "CREATE_FOG"
- # 如果需要,您也可以将一些标志应用于BossBar!
- # 可以选择的值:"DARKEN_SKY", "PLAY_BOSS_MUSIC", "CREATE_FOG"
- flags:
- #- "DARKEN_SKY"
- #- "PLAY_BOSS_MUSIC"
- #- "CREATE_FOG"
- # The length in ticks we should show the BossBar before it should disappear
- # Please note: 1 second is equal to 20 ticks in-game!
- # 在BossBar消失之前应该显示的时间长度
- # 请注意:一秒对应的是游戏中的20ticks (在tps=20的标准状况下)
- duration: 60
- # This switch will enable/disable the BossBar for scan commands,
- # like /scanradius, /scanworld, etc. It will use the same BossBar
- # we defined in the above section.
- # 此开关将启用/禁用BossBar的扫描指令
- # 比如 /scanradius, /scanworld 等,
- # 它将使用我们在上一节中定义的BossBar
- scan_notification: true
- # If you set the tile limit to -1, should we still notify the user
- # about the amount of tiles they placed down?
- # 如果您将tile类方块的限制(limit:-1)设置为-1,是否仍应通知玩家他们所放置的tile类方块的数量?
- always_show_notification: true
- # List with values to make Insights "passive" about it. If it is in the list,
- # players will need the permission insights.check.passive.<value> to be
- # notified about it. It will still enable limiting, but just won't show up as
- # a message in chat. All possible values are commented out (disabled by default)
- # 列出某些值使Insights对它们具有“友好性”(passive)
- # 如果该值在列表中,则玩家将需要获得权限insights.check.passive.<value>来获取关于它们的通知提示
- # 它将仍然启用限制,但是不会再聊天框中显示消息,所有可能的值都被注释掉(默认情况下禁用)
- passive:
- #- "block"
- #- "entity"
- #- "region"
- #- "tile"
- # Scanradius default radius (which will appear in tabcomplete)
- # Please note that the scanradius maximum is set to a fixed radius of 25.
- # Scanradius扫描默认半径(将出现在tabcomplete中)
- # 请注意,scanradius扫描的最大半径值固定为25
- scanradius_default: 5
- # The limiting section!
- # 限制章节 !
- limits:
- # This is a list in which order we should check limits
- # The first in the list will be first checked, last in the list will be checked at last.
- # If a limit was found for a block in the "groups" section, Insights will stop there and
- # proceed to use that group limit.
- # Removing values from this list will mean that they won't be enabled at all!
- # 这是一个列表,插件应按此顺序检查限制
- # 列表中的第一个将会被首先检查,列表中最后的将会被最后检查
- # 如果在“groups”部分中找到了一个限制,则Insights将在此处停止并让该组启用限制
- # 从此列表中删除值将意味着将根本不会启用它们!
- priorities:
- - "groups"
- - "permissions"
- - "materials"
- - "entities"
- # This section is for single block limits in a chunk.
- # Each block has a maximum amount of which they may occur in a chunk.
- # To check which block should go here, please use the /insights block command
- # to lookup a block you're looking at in-game.
- # Format of this section (see examples):
- # BLOCK: LIMIT
- # Permission to bypass: insights.bypass.<blockName>
- # 此部分适用于区块中的单个方块限制。
- # 每个方块在它们所在区块内的最大限制数量
- # 此部分的格式(请参见示例):
- # 方块名: LIMIT
- # 绕过此检测的权限节点:insights.bypass.<blockName>
- materials:
- DIAMOND_ORE: 128
- ENCHANTING_TABLE: 16 # If on < 1.13 use "ENCHANTMENT_TABLE"
- # This section is for single entity limits in a chunk.
- # Each entity has a maximum amount of which they may occur in a chunk.
- # To check which entity name should go here, please use the /insights entity command
- # to lookup an entity you're looking at in-game.
- # Format of this section (see examples):
- # ENTITY: LIMIT
- # Permission to bypass: insights.bypass.<entityName>
- # 本章节适用于区块中的单个实体限制。
- # 每个实体能在区块中的最大数量
- # 此部分的格式(请参见示例):
- # 实体名: LIMIT
- # 绕过此检测的权限节点:insights.bypass.<entityName>
- entities:
- CREEPER: 4
- # This section is about group limits. The groups defined in here will act as "one"
- # limit, so all materials and entities in the group will contribute to the limit.
- # 此章节是关于“groups”的限制的
- # 此处定义的“groups”将充当“一个组”限制,因此“groups”中所有的“materials”和实体(entities)都将存在限制(limit)
- groups:
- # Example group. The following group will group together redstone
- # with a maximum of 50 per chunk.
- # Bypass permission is configurable, but is set to: insights.materialgroups.bypass.redstone
- # Please make sure the following line is unique!
- # 示例:
- # 以下组将红石类方块分组在一起,并且限制设置为每个区块最多仅能放置50个“my_redstone_group”内方块
- # 绕过此检测的权限节点是可以配置的,但是节点设置是:insights.materialgroups.bypass.redstone
- # 请确保以下行(line)是唯一的
- my_redstone_group:
- name: "Redstone"
- limit: 50
- permission: "insights.materialgroups.bypass.redstone"
- materials:
- - "REDSTONE_WIRE"
- - "REDSTONE_BLOCK"
- - "HOPPER"
- - "DISPENSER"
- - "DROPPER"
- - "TRIPWIRE_HOOK"
- - "REDSTONE_LAMP"
- - "REDSTONE_LAMP_ON"
- - "REDSTONE_LAMP_OFF"
- - "STICKY_PISTON"
- - "STICKY_PISTON_BASE"
- - "PISTON"
- - "PISTON_BASE"
- - "REDSTONE_TORCH"
- - "TNT"
- - "NOTE_BLOCK"
- - "LEVER"
- - "REPEATER"
- - "DIODE"
- - "REDSTONE_COMPARATOR"
- - "COMPARATOR"
- # This section will use permissions to define custom block and entity limits.
- # You can achieve something like default rank may only place 50 limited blocks,
- # while ranks are allowed to place 100 for example.
- # 此章节将使用权限节点来自定义对不同方块和实体的限制
- # 您可以实现类似“等级一(普通玩家)”只能放置50个有限制的方块
- # 而“等级二(VIP玩家)”的则可以放置100个有限制的方块
- permissions:
- # Example of such a group. This group will have some block and entity limits.
- # The permission to be in this group is set to: insights.permissiongroups.group1
- # Please make sure the following line is unique!
- # 这是一个group的示例。该组将具有一些方块和实体的限制
- # 属于该组的权限节点设置为:insights.permissiongroups.group1
- # 请确保以下行是唯一的!
- my_permission_group1:
- name: "Permission Group"
- # Bypass permission
- # 绕过检测的权限节点
- permission: "insights.permissiongroups.group1"
- materials:
- DIAMOND_BLOCK: 256
- ENCHANTING_TABLE: 32
- entities:
- CREEPER: 5
复制代码
|
语言文件-message.yml
plugin.yml
|
|
下载-Download |
配置文件:Config.yml(5.9.1)
config.yml
(17.87 KB, 下载次数: 252)语言文件:message.yml(5.9.1)
messages.yml
(19.48 KB, 下载次数: 103)
TIP:下载好config.yml和message.yml 之后 只需要将它们拖进您服务器的plugin文件夹中 将insights中的config.yml和message.yml 替换就可以了 |
|
视频讲解&图片 |
|
更新日志 |
V.5.9.1 属于V.5版本中最稳定的版本,新添加了NBT方块的处理以及可以自定义方块或实体名称
V.5.3.6 Added Hyperverse and Multiverse to the softdepends of Insights. This will ensure you can set the tilefinder location to any of the worlds loaded by these plugins V.5.3.7Added Hyperverse, Multiverse and PlayerWorldsPro to the softdepends of Insights. This will ensure you can set the tilefinder location to any of the worlds loaded by these plugins 并且支持了最新版的1.16!
V.5.3.8 Fixed actionbar setup on 1.16 instances. 修复了在1.16版本中Actionbar的少许错误
V.5.3.9 Fixed limiting issues when configured multiple (permission-)groups Optimised PlayerMoveEvent to be as minimal as possible. 修复了当对某些权限组进行配置时产生的少许bug优化了PlayerMoveEvent ,使其尽可能的减低占用内存
V.5.3.10 Fixed some nullpointer reported with Purpur server Added option to disable paper recommedation at startup (enabled by default, pls switch to paper) 修复了一些Purpur服务器报告的空指针异常添加了一些禁用paper在启动的推荐设置(recommedation )选项
【此次更新后,请及时替换config.yml文件】 |
|
|
*Developer API |
此内容腐竹可以不用看,但是(若您想有所修改)开发人员必须看
Gradie
Gradle repo:
- repositories {
- maven { url 'https://jitpack.io' }
- }
复制代码 Gradle dependency:
- dependencies {
- compileOnly 'com.github.FrankHeijden:Insights:v5.1.5'
- }
复制代码 |
Maven
Maven repo:
- <repository>
- <id>jitpack.io</id>
- <url>https://jitpack.io</url>
- </repository>
复制代码 Maven dependency:
- <dependency>
- <groupId>com.github.FrankHeijden</groupId>
- <artifactId>Insights</artifactId>
- <version>v5.1.5</version>
- <scope>provided</scope>
- </dependency>
复制代码
|
Examples:
Examples Scan:
- package net.frankheijden.insights.api;
- import net.frankheijden.insights.builders.Scanner;
- import net.frankheijden.insights.entities.*;
- import net.frankheijden.insights.enums.ScanType;
- import org.bukkit.Bukkit;
- import org.bukkit.World;
- import java.util.List;
- public class APIExample {
- public void performScan() {
- ScanOptions options = new ScanOptions();
- options.setScanType(ScanType.CUSTOM);
- // Let's scan in world
- World world = Bukkit.getWorld("world");
- options.setWorld(world);
- // Let's scan the whole world
- List<ChunkLocation> chunkLocations = ChunkLocation.from(world.getLoadedChunks());
- options.setPartialChunks(PartialChunk.from(world, chunkLocations));
- // Let's scan for ores!
- options.addMaterial("DIAMOND_ORE");
- options.addMaterial("EMERALD_ORE");
- options.addMaterial("GOLD_ORE");
- options.addMaterial("LAPIS_ORE");
- options.addMaterial("IRON_ORE");
- options.addMaterial("COAL_ORE");
- // Let's also scan for creepers and spiders!
- options.addEntityType("CREEPER");
- options.addEntityType("SPIDER");
- // Let's scan!
- Scanner.create(options).scan().whenComplete((event, err) -> {
- // This block is called when the scan has completed
- ScanResult result = event.getScanResult();
- // And print the result to the console
- System.out.println("Scan Result:");
- result.getCounts().forEach((key, value) -> {
- System.out.println(key + ": " + value);
- });
- });
- }
- }
复制代码 |
Example Hook Hook class:
- import net.frankheijden.insights.api.entities.Hook;
- import org.bukkit.Material;
- import org.bukkit.block.Block;
- import org.bukkit.plugin.Plugin;
- public class MyInsightsHook extends Hook {
- public MyInsightsHook(Plugin plugin) {
- super(plugin);
- }
- @Override
- public boolean shouldCancel(Block block) {
- // Cancel Insights for all Dirt blocks
- return block.getType() == Material.DIRT;
- }
- }
复制代码 Plugin class:
- import net.frankheijden.insights.api.InsightsAPI;
- public class MyPlugin extends JavaPlugin {
- @Override
- public void onEnable() {
- super.onEnable();
- InsightsAPI insightsAPI = new InsightsAPI();
- // Add hook
- insightsAPI.getHookManager().addHook(new MyInsightsHook(this));
- }
- }
复制代码
|
|
|
组件-Addons |
Insights支持自定义区域限制。Insight通过缓存对目标区域进行限制。当玩家试图放下或破坏(打破)某个有限制的方块时,就会发生缓存。 要安装组件,只需将组件拖放到“addons”文件夹中,然后重新启动服务器即可! 英文对照:Insights supports custom defined regions to limit in. Insights caches the region and limits based on that cache for the region. The caching happens when the user places down or tries to break a limited block. 我在这里放原文是为了更好的理解,因为我认为我并没有将这段话原汁原味的翻译。 组件: 同样这地方我并没有进行翻译,因为我无法完全的掌握这些话的意思,因此我认为放原文效果会更好 注意:#1. 请仔细的将这些组件在您的服务器进行测试!建议在相对较小的区域进行测试!(或者是专用的测试服务器)
|
|
|
常见问题解答-FAQ |
#1. FAWE 在聊天中显示有关不安全访问的消息时,请将Insights添加到FAWE config.yml的允许插件列表中:
|
|
在此特别感谢在此次汉化中给予我汉化帮助的人: 果粒酱、星空、秋风残叶、y_zy 还有的大佬的ID忘了,但是在此非常感谢你们!
 |
|
送给耐心看到最后的小可爱们 |
翻译有误请回复纠正,会给予1人气20金粒的奖励=w=~ 若有什么无法理解的地方,可以在帖子下进行回复,我每天至少会回复一次~ 记得请前往原帖下载插件,并支持一下作者,如给作者打个五星鸭qwq 好啦,我的话也就这么多~希望下次再见呐~ |
|
|
评分查看全部评分
|