mirror of
https://e.coding.net/circlecloud/MiaoBoard.git
synced 2024-11-22 01:49:05 +00:00
doc: 注释部分类文件
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
d427e2e8d0
commit
74c8ae06fa
@ -44,7 +44,7 @@ public class MiaoBoard extends JavaPlugin implements HandlerCommands {
|
||||
ScoreBoardManager.load();
|
||||
}
|
||||
|
||||
@HandlerCommand(name = "reload", description = "重新载入配置文件")
|
||||
@HandlerCommand(name = "reload", permission = "mb.reload", description = "重新载入配置文件")
|
||||
public void reload(final InvokeCommandEvent e) {
|
||||
ScoreBoardManager.reload();
|
||||
e.getSender().sendMessage("§a配置重载完毕!");
|
||||
|
@ -5,6 +5,12 @@ import java.util.List;
|
||||
|
||||
import cn.citycraft.PluginHelper.config.InjectConfig;
|
||||
|
||||
/**
|
||||
* 记分板配置文件类
|
||||
*
|
||||
* @since 2016年7月21日 下午5:21:13
|
||||
* @author 喵♂呜
|
||||
*/
|
||||
public class MiaoBoardConfig extends InjectConfig {
|
||||
public static Integer UpdateTime;
|
||||
public static List<String> DisableWorld = new ArrayList<>();
|
||||
|
@ -12,6 +12,7 @@ import pw.yumc.MiaoBoard.config.MiaoBoardConfig;
|
||||
import pw.yumc.MiaoBoard.scoreboard.ScoreBoardManager;
|
||||
|
||||
/**
|
||||
* 玩家监听
|
||||
*
|
||||
* @since 2016年6月24日 下午3:29:39
|
||||
* @author 喵♂呜
|
||||
|
@ -6,6 +6,12 @@ import org.bukkit.configuration.ConfigurationSection;
|
||||
|
||||
import cn.citycraft.PluginHelper.config.InjectConfigurationSection;
|
||||
|
||||
/**
|
||||
* 记分板数据模型类
|
||||
*
|
||||
* @since 2016年7月21日 下午6:58:58
|
||||
* @author 喵♂呜
|
||||
*/
|
||||
public class BoardModel extends InjectConfigurationSection {
|
||||
public String title;
|
||||
public String permission;
|
||||
|
@ -17,6 +17,7 @@ import pw.yumc.MiaoBoard.scoreboard.updater.BodyUpdater;
|
||||
import pw.yumc.MiaoBoard.scoreboard.updater.TitleUpdater;
|
||||
|
||||
/**
|
||||
* 记分板管理类
|
||||
*
|
||||
* @since 2016年6月24日 下午3:31:31
|
||||
* @author 喵♂呜
|
||||
|
@ -13,6 +13,7 @@ import pw.yumc.MiaoBoard.model.BoardModel;
|
||||
import pw.yumc.MiaoBoard.scoreboard.ScoreBoardManager;
|
||||
|
||||
/**
|
||||
* 记分板行更新类
|
||||
*
|
||||
* @since 2016年7月4日 下午4:47:17
|
||||
* @author 喵♂呜
|
||||
|
@ -10,6 +10,7 @@ import pw.yumc.MiaoBoard.model.BoardModel;
|
||||
import pw.yumc.MiaoBoard.scoreboard.ScoreBoardManager;
|
||||
|
||||
/**
|
||||
* 记分板标题更新类
|
||||
*
|
||||
* @since 2016年7月4日 下午4:47:17
|
||||
* @author 喵♂呜
|
||||
|
@ -4,6 +4,7 @@ main: ${project.groupId}.${project.artifactId}.${project.artifactId}
|
||||
version: ${project.version}-git-${env.GIT_COMMIT}
|
||||
author: 喵♂呜
|
||||
website: ${ciManagement.url}
|
||||
depend: PlaceholderAPI
|
||||
commands:
|
||||
${project.artifactId}:
|
||||
description: ${project.artifactId} - ${project.description}
|
||||
|
Loading…
Reference in New Issue
Block a user