ConfigureCore
1.2.3Let your Minecraft plugin load and save the configuration.让你的Minecraft插件一句代码加载、保存配置。
about
ConfigureCore: Let your Minecraft plugin load and save the configuration. You no longer need to care about config.yml or any other .yml file. Support for BukkitAPI and BungeeCord.
关于
ConfigureCore:让你的Minecraft插件一句代码加载、保存配置,你不再需要关心config.yml或其他任何.yml文件。 支持BukkitAPI和BungeeCord。
how to use:
You just need to create a configuration class and let the configuration class annotate with YamlConfig (optional: inherit BukkitConfigure or BungeeConfigure). Finally, use Configure.bukkitLoad(plugin,configobj) or Configure.bungeeLoad(plugin,configobj) in your Minecraft plugin (use configobj.load(plugin) directly when inheriting).
- If you use this library, your plugin must rely on this plugin.
- Do not put the source code directly into your project directory to avoid conflicts unless you modify the package name (but it is not recommended to modify the package name).
- More usage tips refer to the sample project links at the end of the documentation.
如何使用
你只需要创建一个配置类,然后让配置类使用YamlConfig注解(可选:继承BukkitConfigure或BungeeConfigure类)。 最后在你的Minecraft插件中使用Configure.bukkitLoad(plugin,configobj)或Configure.bungeeLoad(plugin,configobj)(继承时直接使用configobj.load(plugin))就可以了。
- 如果你使用了这个库, 你的插件必须依赖这个插件。
- 不要把源代码直接放进你的工程目录,以免造成冲突,除非你修改包名(但不建议你修改包名)。
- 更多使用方法参考文档末尾的示例工程链接。
Similar projects
Config →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta