1
0
mirror of https://e.coding.net/circlecloud/SimpleEssential.git synced 2024-11-17 01:18:47 +00:00

refactor: 修改包名 添加插件管理

This commit is contained in:
502647092 2016-04-23 18:25:55 +08:00
parent 0ed4c8cd41
commit 7ea5c0a0a7
29 changed files with 114 additions and 95 deletions

33
pom.xml
View File

@ -53,22 +53,45 @@
</plugin>
</plugins>
</build>
<ciManagement>
<system>Jenkins</system>
<url>http://ci.yumc.pw/job/${project.artifactId}/</url>
</ciManagement>
<properties>
<update.description></update.description>
<update.changes>
</update.changes>
<env.GIT_COMMIT>DEBUG</env.GIT_COMMIT>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
<repository>
<id>citycraft-repo</id>
<url>${jenkins.url}/plugin/repository/everything/</url>
<id>yumc-repo</id>
<url>http://repo.yumc.pw/content/groups/public/</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>jtb</id>
<name>YUMC</name>
<url>http://repo.yumc.pw/content/repositories/yumcenter/</url>
</repository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<type>jar</type>
<version>1.8.8-R0.1-SNAPSHOT</version>
<version>1.9-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ro.fortsoft.pf4j</groupId>
<artifactId>pf4j</artifactId>
<version>0.13.1</version>
</dependency>
<dependency>
<groupId>cn.citycraft</groupId>
@ -77,8 +100,4 @@
<version>1.0</version>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
</properties>
</project>

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential;
package pw.yumc.SimpleEssential;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
@ -11,26 +11,26 @@ import org.bukkit.plugin.java.JavaPlugin;
import cn.citycraft.PluginHelper.commands.HandlerMainCommand;
import cn.citycraft.PluginHelper.config.FileConfig;
import cn.citycraft.PluginHelper.utils.VersionChecker;
import cn.citycraft.SimpleEssential.command.CommandBack;
import cn.citycraft.SimpleEssential.command.CommandEnchantBench;
import cn.citycraft.SimpleEssential.command.CommandGc;
import cn.citycraft.SimpleEssential.command.CommandHat;
import cn.citycraft.SimpleEssential.command.CommandHome;
import cn.citycraft.SimpleEssential.command.CommandPing;
import cn.citycraft.SimpleEssential.command.CommandSetHome;
import cn.citycraft.SimpleEssential.command.CommandSetSpawn;
import cn.citycraft.SimpleEssential.command.CommandSpawn;
import cn.citycraft.SimpleEssential.command.CommandSuicide;
import cn.citycraft.SimpleEssential.command.CommandTop;
import cn.citycraft.SimpleEssential.command.CommandTpa;
import cn.citycraft.SimpleEssential.command.CommandTpaccept;
import cn.citycraft.SimpleEssential.command.CommandTpdeny;
import cn.citycraft.SimpleEssential.command.CommandTphere;
import cn.citycraft.SimpleEssential.command.CommandWorkBench;
import cn.citycraft.SimpleEssential.command.CommandWorld;
import cn.citycraft.SimpleEssential.config.I18n;
import cn.citycraft.SimpleEssential.listen.PlayerLocationListen;
import cn.citycraft.SimpleEssential.teleport.TeleportControl;
import pw.yumc.SimpleEssential.command.CommandBack;
import pw.yumc.SimpleEssential.command.CommandEnchantBench;
import pw.yumc.SimpleEssential.command.CommandGc;
import pw.yumc.SimpleEssential.command.CommandHat;
import pw.yumc.SimpleEssential.command.CommandHome;
import pw.yumc.SimpleEssential.command.CommandPing;
import pw.yumc.SimpleEssential.command.CommandSetHome;
import pw.yumc.SimpleEssential.command.CommandSetSpawn;
import pw.yumc.SimpleEssential.command.CommandSpawn;
import pw.yumc.SimpleEssential.command.CommandSuicide;
import pw.yumc.SimpleEssential.command.CommandTop;
import pw.yumc.SimpleEssential.command.CommandTpa;
import pw.yumc.SimpleEssential.command.CommandTpaccept;
import pw.yumc.SimpleEssential.command.CommandTpdeny;
import pw.yumc.SimpleEssential.command.CommandTphere;
import pw.yumc.SimpleEssential.command.CommandWorkBench;
import pw.yumc.SimpleEssential.command.CommandWorld;
import pw.yumc.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.listen.PlayerLocationListen;
import pw.yumc.SimpleEssential.teleport.TeleportControl;
/**
* 简单基础插件

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
@ -9,7 +9,7 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.SimpleEssential;
/**
* @author 蒋天蓓 2015年8月12日下午2:04:05

View File

@ -1,14 +1,14 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
import org.bukkit.command.CommandSender;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.SimpleEssential;
/**
* 传送到顶部命令

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
@ -9,7 +9,7 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.SimpleEssential;
/**
* @author 蒋天蓓 2015年8月12日下午2:04:05

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import java.util.logging.Level;
@ -15,8 +15,8 @@ import org.bukkit.command.CommandSender;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.PluginHelper.utils.StringUtil;
import cn.citycraft.PluginHelper.utils.SystemUtil;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
/**
* 传送到顶部命令

View File

@ -1,4 +1,4 @@
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
@ -7,8 +7,8 @@ import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
/**
* @Author 代小呆 created in 2015年8月16日下午1:44:22

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.Location;
import org.bukkit.command.Command;
@ -10,8 +10,8 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
/**
* 传送回家的命令

View File

@ -1,15 +1,15 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
import org.bukkit.command.CommandSender;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
/**
* 传送到顶部命令

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.Material;
import org.bukkit.block.Block;
@ -11,8 +11,8 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
/**
* 设置家的命令

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.Location;
import org.bukkit.command.Command;
@ -10,8 +10,8 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
/**
* @author 蒋天蓓 2015年8月12日下午2:04:05

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
@ -9,7 +9,7 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.SimpleEssential;
/**
* @author 蒋天蓓 2015年8月12日下午2:04:05

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
@ -11,8 +11,8 @@ import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.PluginHelper.utils.StringUtil;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
/**
* 传送到顶部命令

View File

@ -1,4 +1,4 @@
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import java.util.Arrays;
import java.util.List;
@ -13,9 +13,9 @@ import org.bukkit.event.entity.PlayerDeathEvent;
import org.bukkit.inventory.ItemStack;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import cn.citycraft.SimpleEssential.utils.EffectUtil;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.utils.EffectUtil;
/**
* 自杀命令

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.Location;
import org.bukkit.command.Command;
@ -10,8 +10,8 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
/**
* 传送到顶部命令

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
@ -10,9 +10,9 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import cn.citycraft.SimpleEssential.teleport.TeleportType;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.teleport.TeleportType;
/**
* 玩家传送命令

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
@ -9,7 +9,7 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.SimpleEssential;
/**
* 接受传送命令

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
@ -9,7 +9,7 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.SimpleEssential;
/**
* 拒绝传送命令

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
@ -10,9 +10,9 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import cn.citycraft.SimpleEssential.teleport.TeleportType;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.teleport.TeleportType;
/**
* 传送到玩家命令

View File

@ -1,14 +1,14 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
import org.bukkit.command.CommandSender;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.SimpleEssential;
/**
* 传送到顶部命令

View File

@ -1,14 +1,14 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
import org.bukkit.command.CommandSender;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.SimpleEssential;
/**
* 传送到顶部命令

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
@ -9,7 +9,7 @@ import org.bukkit.command.CommandException;
import org.bukkit.command.CommandSender;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.SimpleEssential;
/**
* @author 蒋天蓓 2015年8月12日下午2:04:05

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.command;
package pw.yumc.SimpleEssential.command;
import java.util.logging.Level;
@ -15,8 +15,8 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import cn.citycraft.PluginHelper.commands.BaseCommand;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
/**
* @author 蒋天蓓 2015年8月12日下午2:04:05

View File

@ -1,4 +1,4 @@
package cn.citycraft.SimpleEssential.config;
package pw.yumc.SimpleEssential.config;
import org.bukkit.plugin.Plugin;

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.listen;
package pw.yumc.SimpleEssential.listen;
import org.bukkit.Location;
import org.bukkit.entity.Player;
@ -10,7 +10,7 @@ import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.PlayerDeathEvent;
import cn.citycraft.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.SimpleEssential;
/**
* 玩家传送点记录监听

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.teleport;
package pw.yumc.SimpleEssential.teleport;
import java.util.ArrayList;
import java.util.HashMap;
@ -13,9 +13,9 @@ import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.I18n;
import cn.citycraft.SimpleEssential.utils.EffectUtil;
import pw.yumc.SimpleEssential.SimpleEssential;
import pw.yumc.SimpleEssential.config.I18n;
import pw.yumc.SimpleEssential.utils.EffectUtil;
/**
* @author 蒋天蓓 2015年8月12日下午2:26:10 传送控制类

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.teleport;
package pw.yumc.SimpleEssential.teleport;
import org.bukkit.entity.Player;

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.teleport;
package pw.yumc.SimpleEssential.teleport;
/**
* 传送类型枚举

View File

@ -1,7 +1,7 @@
/**
*
*/
package cn.citycraft.SimpleEssential.utils;
package pw.yumc.SimpleEssential.utils;
import org.bukkit.Effect;
import org.bukkit.Location;