# What's changed since VillagerInfo v2.7
<details><summary>
## Permissions
</summary>
* `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.
</details>
<details><summary>
## Commands
</summary>
* `villreload`
- Permission: `villagerinfo.reload`
- Description: Reloads the VillagerInfo configuration
- Aliases: `none`
* `villagerinfo`
- Permission: `villagerinfo.commands`
- Description: Base command for VillagerInfo player commands
- Aliases:
- `vinfo`
- `villinfo`
- `vi`
* `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
</details>
<details><summary>
## API</summary>
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
### [Javadocs](https://simplexity-development.github.io/VillagerInfo/)
### Maven Import
```xml
<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.0</version>
<scope>provided</scope>
</dependency>
```
### Gradle Import
```gradle
exclusiveContent {
forRepository { maven { url = "https://api.modrinth.com/maven" } }
filter { includeGroup "maven.modrinth" }
}
dependencies {
compileOnly 'maven.modrinth:villager-info:3.0.0'
}
```
</details>
<details><summary>
## Config</summary>
### Config
* Workstation Highlights can now have customized RGB colors
* Added `output-enabled` option
* Re-arranged and renamed options
### Locale
* Separated locale into 3 sections - `ServerMessage`, `VillagerMessage`, and `MessageInsert`
</details>
The plugin has been completely re-written and now should be able to be added onto by other plugins or addons.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }