mirror of
https://e.coding.net/circlecloud/JoinMessage.git
synced 2024-11-23 01:59:09 +00:00
change Main class name...
Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
parent
5d638c514e
commit
43223c91e1
@ -13,7 +13,7 @@ import org.bukkit.plugin.java.JavaPlugin;
|
||||
import cn.citycraft.JoinMessage.listen.PlayerJoin;
|
||||
import cn.citycraft.JoinMessage.listen.PlayerLogin;
|
||||
|
||||
public class Main extends JavaPlugin{
|
||||
public class JoinMessage extends JavaPlugin{
|
||||
|
||||
List<Map<String, String[]>> perms = new ArrayList<Map<String, String[]>>();
|
||||
|
@ -6,17 +6,17 @@ import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.player.PlayerJoinEvent;
|
||||
|
||||
import cn.citycraft.JoinMessage.Main;
|
||||
import cn.citycraft.JoinMessage.JoinMessage;
|
||||
|
||||
public class PlayerJoin implements Listener {
|
||||
|
||||
Main plugin;
|
||||
JoinMessage plugin;
|
||||
|
||||
String[] lines;
|
||||
|
||||
Player p;
|
||||
|
||||
public PlayerJoin(Main main) {
|
||||
public PlayerJoin(JoinMessage main) {
|
||||
plugin = main;
|
||||
|
||||
}
|
||||
|
@ -5,18 +5,18 @@ import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.Listener;
|
||||
|
||||
import cn.citycraft.JoinMessage.Main;
|
||||
import cn.citycraft.JoinMessage.JoinMessage;
|
||||
import fr.xephi.authme.events.LoginEvent;
|
||||
|
||||
public class PlayerLogin implements Listener {
|
||||
|
||||
Main plugin;
|
||||
JoinMessage plugin;
|
||||
|
||||
String[] lines;
|
||||
|
||||
Player p;
|
||||
|
||||
public PlayerLogin(Main main) {
|
||||
public PlayerLogin(JoinMessage main) {
|
||||
plugin = main;
|
||||
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
name: JoinMessage
|
||||
main: cn.citycraft.JoinMessage.Main
|
||||
version: 1.0
|
||||
auther: 喵♂呜
|
||||
commands:
|
||||
joinmessage:
|
||||
description: 登录消息
|
||||
name: JoinMessage
|
||||
main: cn.citycraft.JoinMessage.JoinMessage
|
||||
version: 1.0
|
||||
auther: 喵♂呜
|
||||
commands:
|
||||
joinmessage:
|
||||
description: 登录消息
|
||||
usage: 使用/joinmessage reload 重载配置!
|
Loading…
Reference in New Issue
Block a user