mirror of
				https://e.coding.net/circlecloud/TeleportRandom.git
				synced 2025-11-03 18:16:02 +00:00 
			
		
		
		
	
							
								
								
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							@@ -3,7 +3,7 @@
 | 
			
		||||
	<modelVersion>4.0.0</modelVersion>
 | 
			
		||||
	<groupId>cn.citycraft</groupId>
 | 
			
		||||
	<artifactId>TeleportRandom</artifactId>
 | 
			
		||||
	<version>1.0</version>
 | 
			
		||||
	<version>1.1</version>
 | 
			
		||||
	<name>TeleportRandom</name>
 | 
			
		||||
	<build>
 | 
			
		||||
		<finalName>${project.name}</finalName>
 | 
			
		||||
@@ -54,7 +54,7 @@
 | 
			
		||||
	</build>
 | 
			
		||||
	<properties>
 | 
			
		||||
		<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
 | 
			
		||||
		<update.description>更新插件框架...</update.description>
 | 
			
		||||
		<update.description>添加自动更新和使用统计...</update.description>
 | 
			
		||||
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
			
		||||
	</properties>
 | 
			
		||||
	<repositories>
 | 
			
		||||
 
 | 
			
		||||
@@ -13,6 +13,7 @@ import org.bukkit.entity.Player;
 | 
			
		||||
import org.bukkit.plugin.java.JavaPlugin;
 | 
			
		||||
 | 
			
		||||
import cn.citycraft.PluginHelper.config.FileConfig;
 | 
			
		||||
import cn.citycraft.PluginHelper.utils.VersionChecker;
 | 
			
		||||
 | 
			
		||||
public class TeleportRandom extends JavaPlugin implements CommandExecutor {
 | 
			
		||||
	public FileConfig config;
 | 
			
		||||
@@ -53,6 +54,11 @@ public class TeleportRandom extends JavaPlugin implements CommandExecutor {
 | 
			
		||||
		return false;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
	public void onEnable() {
 | 
			
		||||
		new VersionChecker(this);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
	public void onLoad() {
 | 
			
		||||
		config = new FileConfig(this);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user