mirror of
https://e.coding.net/circlecloud/MiaoBoard.git
synced 2024-11-22 01:49:05 +00:00
feat: 添加管理 数据 监听
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
8f02e902f0
commit
616163cd7d
20
src/main/java/pw/yumc/MiaoBoard/listener/PlayerListener.java
Normal file
20
src/main/java/pw/yumc/MiaoBoard/listener/PlayerListener.java
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
package pw.yumc.MiaoBoard.listener;
|
||||||
|
|
||||||
|
import org.bukkit.event.Listener;
|
||||||
|
import org.bukkit.event.player.PlayerJoinEvent;
|
||||||
|
import org.bukkit.event.player.PlayerQuitEvent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @since 2016年6月24日 下午3:29:39
|
||||||
|
* @author 喵♂呜
|
||||||
|
*/
|
||||||
|
public class PlayerListener implements Listener {
|
||||||
|
public void onPlayerJoin(final PlayerJoinEvent e) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onPlayerQuit(final PlayerQuitEvent e) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package pw.yumc.MiaoBoard.scoreboard;
|
||||||
|
|
||||||
|
import java.util.LinkedList;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @since 2016年6月24日 下午3:38:08
|
||||||
|
* @author 喵♂呜
|
||||||
|
*/
|
||||||
|
public class ScoreBoardData {
|
||||||
|
private String head;
|
||||||
|
private final LinkedList<String> lines = new LinkedList<>();
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
package pw.yumc.MiaoBoard.scoreboard;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @since 2016年6月24日 下午3:31:31
|
||||||
|
* @author 喵♂呜
|
||||||
|
*/
|
||||||
|
public class ScoreBoardManager {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user