cn.nukkit.plugin.PluginLoadOrder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.plugin;
/**
* 描述一个Nukkit插件加载顺序的类。
* Describes a Nukkit plugin load order.
*
*
Nukkit插件的加载顺序有两个:{@link cn.nukkit.plugin.PluginLoadOrder#STARTUP}
* 和 {@link cn.nukkit.plugin.PluginLoadOrder#POSTWORLD}。
* The load order of a Nukkit plugin can be {@link cn.nukkit.plugin.PluginLoadOrder#STARTUP}
* or {@link cn.nukkit.plugin.PluginLoadOrder#POSTWORLD}.
*
* @author MagicDroidX(code) @ Nukkit Project
* @author iNevet(code) @ Nukkit Project
* @author 粉鞋大妈(javadoc) @ Nukkit Project
* @since Nukkit 1.0 | Nukkit API 1.0.0
*/
public enum PluginLoadOrder {
/**
* 表示这个插件在服务器启动时就开始加载。
* Indicates that the plugin will be loaded at startup.
*
* @see cn.nukkit.plugin.PluginLoadOrder
* @since Nukkit 1.0 | Nukkit API 1.0.0
*/
STARTUP,
/**
* 表示这个插件在第一个世界加载完成后开始加载。
* Indicates that the plugin will be loaded after the first/default world was created.
*
* @see cn.nukkit.plugin.PluginLoadOrder
* @since Nukkit 1.0 | Nukkit API 1.0.0
*/
POSTWORLD
}