VillagerInfo
本插件旨在让获取村民大脑中存储的有用信息变得更加容易。
虽然访问村民大脑中的信息很有用,但 /data get 命令提供的信息量远超大多数情况所需。
权限
-
villagerinfo.reload
- 默认:仅限 OP
- 描述:允许玩家使用
/villreload 命令重载 VillagerInfo 配置。
- 解锁:重载 VillagerInfo 配置。
-
villagerinfo.output
- 默认:已启用
- 描述:允许玩家通过蹲下交互查看村民的信息。
- 解锁:能够通过蹲下交互查看村民信息的能力。
-
villagerinfo.commands
- 默认:已启用
- 描述:允许玩家使用命令来调整 VillagerInfo 针对个人的行为偏好(
/villinfo)。
- 解锁:通过命令调整 VillagerInfo 行为的权限。
-
villagerinfo.commands.help
- 默认:已启用
- 描述:允许玩家使用帮助命令查看插件的功能说明。
- 解锁:访问帮助命令以了解插件功能。
-
villagerinfo.commands.toggle
- 默认:已启用
- 描述:允许玩家使用命令切换 VillagerInfo 插件中的某些特定行为(
/villinfo toggle)。
- 解锁:能够切换 VillagerInfo 插件内特定行为的能力。
-
villagerinfo.commands.toggle.output
- 默认:已启用
- 描述:允许玩家切换是否在蹲下交互时输出 VillagerInfo 信息(
/villinfo toggle output)。
- 解锁:切换蹲下交互时 VillagerInfo 信息的输出。
-
villagerinfo.commands.toggle.highlight
- 默认:已启用
- 描述:允许玩家切换是否在蹲下交互时高亮显示村民的工作站(
/villinfo toggle highlight)。
- 解锁:切换蹲下交互时村民工作站的高亮显示。
-
villagerinfo.commands.toggle.sound
- 默认:已启用
- 描述:允许玩家切换是否在蹲下交互时播放 VillagerInfo 音效(
/villinfo toggle sound)。
- 解锁:切换蹲下交互时 VillagerInfo 的声音输出。
命令
-
villreload
- 权限:
villagerinfo.reload
- 描述:重载 VillagerInfo 配置
- 别名:无
-
villagerinfo
- 权限:
villagerinfo.commands
- 描述:VillagerInfo 玩家命令的基础命令
- 别名:
-
villagerinfo help
- 权限:
villagerinfo.commands.help
- 描述:向玩家显示帮助界面的命令
-
villagerinfo toggle
- 权限:
villagerinfo.commands.toggle
- 描述:允许玩家切换与 Villager Info 功能相关的个人设置的命令
-
villagerinfo toggle highlight
- 权限:
villagerinfo.commands.toggle.highlight
- 描述:允许玩家在蹲下交互村民时防止其工作站被高亮的命令
-
villagerinfo toggle output
- 权限:
villagerinfo.commands.toggle.output
- 描述:允许玩家在蹲下交互村民时防止输出村民信息的命令
-
villagerinfo toggle sound
- 权限:
villagerinfo.commands.toggle.sound
- 描述:允许玩家在蹲下交互村民时防止播放声音的命令
API
目前,导入此项目的唯一方式是通过 Modrinth Maven。
请记住检查当前版本——这些可能不是最新的。
Maven 导入
<repository>
<id>modrinth-repo</id>
<url>https://api.modrinth.com/maven/</url>
</repository>
<dependency>
<groupId>maven.modrinth</groupId>
<artifactId>villager-info</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
Gradle 导入
exclusiveContent {
forRepository { maven { url = "https://api.modrinth.com/maven" } }
filter { includeGroup "maven.modrinth" }
}
dependencies {
compileOnly 'maven.modrinth:villager-info:3.0.1'
}
待办事项:
- 信息输出的开关
- 输出相关的个人选项(?)
- 添加一个清除所有当前高亮并重置所有村民高亮 PDC 数据的命令
- 调整工作站高亮的功能,以便如果某人再次开始高亮,它不会被严格忽略,而是重新开始计时
- 添加不同的信息模式
- 添加更多信息,例如村民是否曾被治愈过,以及是由谁治愈的
- 使用分页显示信息,而不是全部列在一个大列表中
- 使用点击事件触发方块高亮
- 床位置、村庄中心的高亮
VillagerInfo
This plugin aims to make accessing useful information that is stored in villagers brains, easier.
Accessing the information in villager's brains is useful, but /data get has much more information than is needed for most things.
Permissions
-
villagerinfo.reload
- Default: OP only
- Description: Allows the Player to use
/villreload to reload the VillagerInfo configurations.
- Unlocks: Reloads the VillagerInfo configurations.
-
villagerinfo.output
- Default: Enabled
- Description: Allows the player to see the information from a villager using crouch-interact.
- Unlocks: Ability to view information from a villager using crouch-interact.
-
villagerinfo.commands
- Default: Enabled
- Description: Allows the player to use commands to adjust their preferences on how VillagerInfo will behave for them (
/villinfo).
- Unlocks: Access to command-based adjustments for VillagerInfo behavior.
-
villagerinfo.commands.help
- Default: Enabled
- Description: Allows the player to use the help command to see how the plugin functions.
- Unlocks: Access to the help command for understanding the plugin's functionality.
-
villagerinfo.commands.toggle
- Default: Enabled
- Description: Allows the player to use commands to toggle certain behaviors in the VillagerInfo plugin (
/villinfo toggle).
- Unlocks: Ability to toggle specific behaviors within the VillagerInfo plugin.
-
villagerinfo.commands.toggle.output
- Default: Enabled
- Description: Allows the player to toggle whether they want VillagerInfo to output on crouch-interact or not (
/villinfo toggle output).
- Unlocks: Toggles the output of VillagerInfo on crouch-interact.
-
villagerinfo.commands.toggle.highlight
- Default: Enabled
- Description: Allows the player to toggle whether they want VillagerInfo to highlight a villager's workstation on crouch-interact or not (
/villinfo toggle highlight).
- Unlocks: Toggles the highlighting of a villager's workstation on crouch-interact.
-
villagerinfo.commands.toggle.sound
- Default: Enabled
- Description: Allows the player to toggle whether they want VillagerInfo to output sound on crouch-interact or not (
/villinfo toggle sound).
- Unlocks: Toggles the sound output of VillagerInfo on crouch-interact.
Commands
-
villreload
- Permission:
villagerinfo.reload
- Description: Reloads the VillagerInfo configuration
- Aliases:
none
-
villagerinfo
- Permission:
villagerinfo.commands
- Description: Base command for VillagerInfo player commands
- Aliases:
-
villagerinfo help
- Permission:
villagerinfo.commands.help
- Description: Command that shows a player the help screen
-
villagerinfo toggle
- Permission:
villagerinfo.commands.toggle
- Description: Command that allows a player to toggle personal settings related to Villager Info functionality
-
villagerinfo toggle highlight
- Permission:
villagerinfo.commands.toggle.highlight
- Description: Command that allows a player to prevent a Villager's workstation from being highlighted when they crouch-interact with a villager
-
villagerinfo toggle output
- Permission:
villagerinfo.commands.toggle.output
- Description: Command that allows a player to prevent a Villager's information from being output when they crouch-interact with a villager
-
villagerinfo toggle sound
- Permission:
villagerinfo.commands.toggle.sound
- Description: Command that allows a player to prevent sound from playing when they crouch-interact with a villager
API
For the time being, the current way to import this project is through the modrinth maven
Remember to check what the current version is - these may not be up to date
Maven Import
<repository>
<id>modrinth-repo</id>
<url>https://api.modrinth.com/maven/</url>
</repository>
<dependency>
<groupId>maven.modrinth</groupId>
<artifactId>villager-info</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
Gradle Import
exclusiveContent {
forRepository { maven { url = "https://api.modrinth.com/maven" } }
filter { includeGroup "maven.modrinth" }
}
dependencies {
compileOnly 'maven.modrinth:villager-info:3.0.1'
}
Todo:
- Toggle for information output
- Personal options for output(?)
- Add a command to clear all current highlights and reset all villager highlight PDC data
- Adjust the functionality of the workstation highlights so that if someone starts the highlight again, it's not strictly ignores, but starts the time over again
- Add different info modes
- Add more information like if the villager has been healed previously, and if so, by whom
- Use pages for the information so it's not all in one big list
- Use click events to trigger the block highlights
- Highlight for bed location, Village center
评论 0
登录后参与评分
还没有评论,来抢沙发吧