Add support for Minecraft 1.21.3 & 1.21.4 (1.21.2 isn’t added, because Spigot include it in 1.21.3). Big thanks to @BAD7777 for the help. The property concerning the creaking hearts hasn't been added because Spigot tagged it as unstable. So it will be added when it will be stable.
Add support to language ru. Again big thanks to @BAD7777
Minor change :
Fix properties of MC between 1.20.0 and 1.21.0 wasn’t included in MC 1.21.1.
Improve performance when preventing edited blocks to be modified.
The properties multiple-facing and redstone-wire are, each, now divided in 4 properties based on the face of the block to facilitate the editing. The permission and the name in the config will not change. So you have nothing to do.
multiple-facing-north,
multiple-facing-east,
multiple-facing-south,
multiple-facing-west.
The name of the permission about the chunk has changed from pds.chunk. to pds.command.chunk. because the action is an argument of a command and not a specific action.
The property end-portal-frame has been renamed to eyed for a more logical name. The permission is now pds.property.eyed and to config the durability the section is now Settings.Durability.EYED. Don’t forget to change you’re config file !
The config of the durability of the property moisture is now present in the config files.
The plugin now supports multiple version of Minecraft (1.19 to 1.20.4). Note : the crafter and trial spawner will not be supported in this version of the plugin because they are experimental. A support will be provided certainly in 1.21.x.
Minor changes :
There is now a check to know if a new version is available. A player with pds.version permission (by default to op) will receive a message at connection if there is a new version (the message is not customisable).
Support now CustomModelData, just add field CustomModelData in the item’s section you want a custom textures.
The way to change the lang of the plugin changed. Now you have to change the value of Lang in the config. Currently, the two possibles values are en and fr. By default, the en will be chosed if invalid lang value is set.
For more organisation, the lang files has been moved to a new folder called lang. Don’t forget to move you’re files into this folder and if you use the messages.yml file, rename it to messages_en.yml !
In addition to that, for more performance, you have to reload the config if you want the messages to be updated (via /pds reload-config). Like that, the plugin will not parse the messages file each time a message is send but only when the config is reloaded.
If one of the lang files doesn’t exist anymore in the folder, when the plugin will be reloaded it will generate it.
Minor changes :
Fix an issue when the BasicDebugStick broke, it doesn’t disapear and was considered as ‘corrupted’.
Fix issue #14 where the value of the edited property was the same before and after in the log.
Passing API version of Spigot to 1.20.1. The plugin is not compatible anymore in version 1.19.x and lower of Minecraft.
Add new properties of Minecraft 1.20.1 :
Brushable : Apply on Suspicious Block, represents how far the block is uncovered. The value goes from 0 to 3. 0 is the value when a suspicious block is found naturally. In vanilla, the Brush is used to edit this property. Default durability : 3
Occupied Slot : Apply on Chiseled Bookshelf, represents if a slot of the block contains or not a book. The value is a list of five booleans, each elements of the list represents a book. If set to true, the slot contains a book. In survival, the player cannot take a book that has been placed with the debug stick. Default durability : 3
Petals : Apply on Pink Petals, represents the number of petals on the block. The value goes from 1 to 4. Default durability : 20 Be careful with this property, if using with the infinite debug stick ! A player can have an infinite quantity of petals by setting to 4, breaking it and repeat by placing a new petal.
Changing the way to store data in the debug stick. To prevent issue in the future modifications/deletions of properties. All the debug stick given is now unusables. A message (custimizable) has been added to alert the players when their debug stick is unusable.
Minor changes :
Correction of an issue that prevented files from being generated.
Add protection to cancel the use of a debug stick if another plugin cancels the interaction event. (@MCCasper)
A lot of placeholders (in addition to PlaceHolderAPI) for more customisation of the messages (e.g. display information about a block that the player edits).
Better description of each messages.
Add personal variable. If a part of text is often used (for example, a prefix), it’s possible to configure it as a placeholder to re-use it.
Code (YAML):
# Example : PersonalVariable: # Declare the placeholder prefix: “
#3399FF[<s:667db6>Debug<e:0082c8>#3399FF-<s:0082c8>Stick<e:667db6>#3399FF]&r”
# … # And use it in an example message ExampleMessage: “
{prefix
} &aIt’s an example message”
Before using these new functionalities, read documentation about it at the top of all message files.
Now the value of properties that a player modified is now forced. If the value should be modified because of event. Example :
The use of the debug stick is now different and more similar to the vanilla debug stick.
left-click: change the current property to edit.
right-click: edit the property.
shift + left-click: see all editable properties and their values.
shift + right-click: clear persistent values, now the value of properties is not anymore forced.
Minor changes :
Change the name of some permission for more logic.
Change the name and configuration of the fields in the configuration files.
Add a better log handler. In the future a compatibility with CoreProtect will be added.
Add a blacklist the world where the debug stick cannot be used (like for materials).
Add permissions to bypass the blacklists and the blockage of territory plugin.