Patch Note [Dev]:
- Reworked code base for API and Extension compability (Early Access)
- Support Game 1.21.2 1.21.3 (using Addon)
- Ported old Game version support to Addon
- Improved config loading
- Doll connection thread is now blocking while server shutdown again for safety
- Fixed right-clicking Doll Inventory GUI cannot set slot
- Fixed error in Drop command
- Rework custom GUI and Removed improper use of extending InventoryHolder
- Added perTick argument for action commands
- Added version subcommand for version checking
- Supported paging for Doll setting, pset and gset
- Lookat Action is temporarily unavailable in this version
- Stop supporting BungeeCord
- Adjusted some config keys
## API & Extension
To reduce the plugin file-size impact of NMS version and to adapt the new update cycle from Mojang.<br>
**Addon** is introduced for server owners to customize the addon installation in needs (mostly for NMS).
<details>
<summary>Usages</summary>
The API currently provides the followings by sub-plugin or addon.
- Create subcommands in /doll
- Custom implementation of Doll
- Create Buttons for setting / gset / pset
- Custom Game Version support
- Others
</details>
<details>
<summary>Note</summary>
The API is in initial stage and changes will be made to enhance accessibility for customization.
At now, the API is still not perfect, and not encouraged to use it as custom development.
</details>
<details>
<summary>Installization Guide</summary>
Versions<br><br>
1.20.2 -> v1_20_R2<br>
1.20.3 / 1.20.4 -> v1_20_R3<br>
1.20.5 / 1.20.6 -> v1_20_R4<br>
1.21 / 1.21.1 -> v1_21_R1<br>
1.21.2 / 1.21.3 -> v1_21_R2<br><br>
Required Addons:
1. `Doll-<Version>-<Mapping>.jar`
2. `Wrapper-<Version>-<Mapping>.jar`
*Spigot branch
Download `Doll` and `Wrapper` (Spigot-Mapping) by version
*PaperSeries & Folia branch
- Server in 1.20.2 - 1.20.4<br>
Download `Doll` and `Wrapper` (Spigot-Mapping) by version
- Server in 1.20.5 or above<br>
Download `Doll` and `Wrapper` (Mojang-Mapping) by version
*Folia branch
Download `Addon-Folia.jar` additionally
</details>
Note: Some Addons are crucial for this plugin in order to provide complete functionalities. The provided addons are default behavior as previuos versions.
All addons are stored in `plugins/PlayerDoll/addon/`
## perTick argument
A new argument is added for actions.
Doll / Converted players are able to perform action up to 40 times in each tick.
Example: /doll attack abc perTick 20
```
Doll "abc" will try to destroy(attack) blocks 20 times in 1 gametick
```
Note: **_perTick may affect server performance if set too high_**. Please use it carefully.
## Others
- Config version is now 29
- Bugs or malfunctions might occur after reworking of code
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" }