0.3.3.2
- Dialogues with NPCs and giving gifts now grant the player reputation. Be rude to an NPC and reputation will decrease; give something nice — it will improve.
When the player gives a gift to an NPC, the NPC will briefly take it in hand and a sound will play. This is done so that the NPC reacts in some way.
- Improved the code related to villager professions. Villagers now craft items from copper! (armor, tools, weapons), including unique items with enhanced attributes, as well as names and descriptions generated by AI.
- Restored the quest related to profession development. The villager will ask the player for items related to their profession; for example, armorers and weaponsmiths will ask for iron (and now also copper) ingots, and then craft armor, tools, and so on from them!
- Restored the quest to find music discs. Now, when the player completes such a quest, the disc that the NPC requested starts playing.
- Fixed the code responsible for trading items that are in the NPC's inventory.
- Fixed the calculation of the cost of unique items — now the values specified in professions.yml actually affect the price at which the NPC will sell their products.
- Restored the quest to find food. Villagers now have a hunger indicator — they eat food and can even die from hunger.
- A new library for working with configs has been written. Configs have become more beautiful, cleaner, and better grouped. gameplay.yml has been completely reworked.
- Fixed an error with incorrect display of humanoids, due to which they were sometimes not visible (the problem was at the protocol level).
- Restored quests to find unique professional items (armorers ask to find smithing templates, librarians ask for enchanted books, clerics ask for ingredients for brewing potions, cartographers generally send the player to search for treasures).
- Generative localization has been restored. To translate language.yml and all other game content, just specify the language in provider.yml; after that, the selected AI will generate the translation.
- Translation caching has been added. Instead of generating the language.yml translation every time, it will happen only once. If an update is installed where new strings appear in the localization file (i.e., the hash sum changes), the translation will be regenerated. Perhaps this is the smartest localization among all Minecraft plugins.
- A display above NPC heads has been added, containing useful information like name, profession and level, reputation, and even health. It automatically appears when the player approaches closely and disappears in the same way.
- bStats has been added. Now I can view usage statistics for my plugin.
- Update notifications have been added. If a newer version of the plugin is available on Spigot than yours, you will see a message about it in chat and on server startup.
- The hunger system has been improved. Now NPCs can die if they starve for too long (can be disabled in config); at the same time, hunger information is visible in the info display (shown only when the NPC is hungry).
- Fixed an old bug due to which NPCs produced custom items and thereby broke server balance.
- Removed everything related to Markdown.