Ep6. Settings (Custom Config Files) - Minecraft Plugin Development
Описание
How to create configuration with your Minecraft plugin, save/load values using commands, including tab-completion, and comment support. Pretty much how to create an advanced settings plugin!
? The best place to start learning Minecraft plugin development ➡ https://mineacademy.org/project-orion?st=yt&sc=tut_ep6
**NOTE**: Comment support requires Minecraft 1.16+. If you code for an older version such as 1.8.8 or 1.12.2, you can use this library to save your files: https://github.com/tchristofferson/Config-Updater
Welcome to Minecraft plugin development tutorial series! In this episode, we'll cover:
- Using YamlConfiguration — Saving and loading keys from .yml files.
- Editing files on the go — How to write and load values to your settings using a command, with tab-completion support.
- Comment support — How to properly save .yml files with retaining support for comments.
? Blog post link + resources: https://mineacademy.org/tutorial-6/?st=yt&sc=tut_ep6
?♂️ Need help? Ask in our Discord community:
https://mineacademy.org/discord
?? About Me
Hi! My name is Matej Pacan and since 2013 I've developed plugins like ChatControl, Boss, CoreArena and dozens of others attracting over 700,000+ downloads, scaled my own network to 30,000+ players and taught 2,000+ people to do the same in our MineAcademy.org training programs.
You’ve found my YouTube channel where I help other people wrap their heads around Java programming by teaching them coding using Minecraft and growing a lucrative skillset.
My only hope is that one day some of you will learn enough from my videos to see an exciting opportunity in the IT space and build a life you love.
? The best place to start learning Minecraft plugin development ➡ https://mineacademy.org/project-orion?st=yt&sc=tut_ep6
#minecraft #spigot #minecraftplugin #java
Рекомендуемые видео



















