modify annotation...

Signed-off-by: j502647092 <jtb1@163.com>
pull/1/HEAD
j502647092 2015-08-14 16:29:19 +08:00
parent 83fc7d2439
commit c07655b6da
14 changed files with 72 additions and 37 deletions

View File

@ -29,7 +29,9 @@ import cn.citycraft.SimpleEssential.teleport.TeleportControl;
import cn.citycraft.SimpleEssential.utils.VersionChecker; import cn.citycraft.SimpleEssential.utils.VersionChecker;
/** /**
* @author 20158113:29:32 TODO *
*
* @author 20158113:29:32
*/ */
public class SimpleEssential extends JavaPlugin { public class SimpleEssential extends JavaPlugin {

View File

@ -10,7 +10,7 @@ import org.bukkit.entity.Player;
import cn.citycraft.SimpleEssential.SimpleEssential; import cn.citycraft.SimpleEssential.SimpleEssential;
/** /**
* @author 20158122:04:05 TODO * @author 20158122:04:05
*/ */
public class CommandBack extends SimpleEssentialCommand { public class CommandBack extends SimpleEssentialCommand {
SimpleEssential plugin; SimpleEssential plugin;
@ -24,7 +24,9 @@ public class CommandBack extends SimpleEssentialCommand {
} }
@Override @Override
public boolean isOnlyPlayerExecutable() {return true;}; public boolean isOnlyPlayerExecutable() {
return true;
};
@Override @Override
public void execute(CommandSender sender, String label, String[] args) throws CommandException { public void execute(CommandSender sender, String label, String[] args) throws CommandException {

View File

@ -12,7 +12,9 @@ import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.Language; import cn.citycraft.SimpleEssential.config.Language;
/** /**
* @author 20158122:04:05 TODO *
*
* @author 20158122:04:05
*/ */
public class CommandHome extends SimpleEssentialCommand { public class CommandHome extends SimpleEssentialCommand {
SimpleEssential plugin; SimpleEssential plugin;
@ -26,7 +28,9 @@ public class CommandHome extends SimpleEssentialCommand {
} }
@Override @Override
public boolean isOnlyPlayerExecutable() {return true;}; public boolean isOnlyPlayerExecutable() {
return true;
};
@Override @Override
public void execute(CommandSender sender, String label, String[] args) throws CommandException { public void execute(CommandSender sender, String label, String[] args) throws CommandException {

View File

@ -13,21 +13,22 @@ import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.Language; import cn.citycraft.SimpleEssential.config.Language;
/** /**
* @author 20158122:04:05 TODO *
*
* @author 20158122:04:05
*/ */
public class CommandSetHome extends SimpleEssentialCommand { public class CommandSetHome extends SimpleEssentialCommand {
SimpleEssential plugin; SimpleEssential plugin;
/**
* @param name
*/
public CommandSetHome(SimpleEssential main) { public CommandSetHome(SimpleEssential main) {
super("sethome", "essethome"); super("sethome", "essethome");
this.plugin = main; this.plugin = main;
} }
@Override @Override
public boolean isOnlyPlayerExecutable() {return true;}; public boolean isOnlyPlayerExecutable() {
return true;
};
@Override @Override
public void execute(CommandSender sender, String label, String[] args) throws CommandException { public void execute(CommandSender sender, String label, String[] args) throws CommandException {

View File

@ -12,9 +12,11 @@ import cn.citycraft.SimpleEssential.SimpleEssential;
import cn.citycraft.SimpleEssential.config.Language; import cn.citycraft.SimpleEssential.config.Language;
/** /**
*
*
* @author * @author
* 20158122:04:05 * 20158122:04:05
* TODO *
*/ */
public class CommandTop extends SimpleEssentialCommand { public class CommandTop extends SimpleEssentialCommand {
SimpleEssential plugin; SimpleEssential plugin;
@ -28,7 +30,9 @@ public class CommandTop extends SimpleEssentialCommand {
} }
@Override @Override
public boolean isOnlyPlayerExecutable() {return true;}; public boolean isOnlyPlayerExecutable() {
return true;
};
@Override @Override
public String getPossibleArguments() { public String getPossibleArguments() {

View File

@ -13,9 +13,11 @@ import cn.citycraft.SimpleEssential.config.Language;
import cn.citycraft.SimpleEssential.teleport.TeleportType; import cn.citycraft.SimpleEssential.teleport.TeleportType;
/** /**
*
*
* @author * @author
* 20158122:04:05 * 20158122:04:05
* TODO *
*/ */
public class CommandTpa extends SimpleEssentialCommand { public class CommandTpa extends SimpleEssentialCommand {
SimpleEssential plugin; SimpleEssential plugin;
@ -29,7 +31,9 @@ public class CommandTpa extends SimpleEssentialCommand {
} }
@Override @Override
public boolean isOnlyPlayerExecutable() {return true;}; public boolean isOnlyPlayerExecutable() {
return true;
};
@Override @Override
public String getPossibleArguments() { public String getPossibleArguments() {

View File

@ -10,9 +10,11 @@ import org.bukkit.entity.Player;
import cn.citycraft.SimpleEssential.SimpleEssential; import cn.citycraft.SimpleEssential.SimpleEssential;
/** /**
*
*
* @author * @author
* 20158122:04:05 * 20158122:04:05
* TODO *
*/ */
public class CommandTpaccept extends SimpleEssentialCommand { public class CommandTpaccept extends SimpleEssentialCommand {
SimpleEssential plugin; SimpleEssential plugin;
@ -26,7 +28,9 @@ public class CommandTpaccept extends SimpleEssentialCommand {
} }
@Override @Override
public boolean isOnlyPlayerExecutable() {return true;}; public boolean isOnlyPlayerExecutable() {
return true;
};
@Override @Override
public String getPossibleArguments() { public String getPossibleArguments() {

View File

@ -10,23 +10,24 @@ import org.bukkit.entity.Player;
import cn.citycraft.SimpleEssential.SimpleEssential; import cn.citycraft.SimpleEssential.SimpleEssential;
/** /**
*
*
* @author * @author
* 20158122:04:05 * 20158122:04:05
* TODO *
*/ */
public class CommandTpdeny extends SimpleEssentialCommand { public class CommandTpdeny extends SimpleEssentialCommand {
SimpleEssential plugin; SimpleEssential plugin;
/**
* @param name
*/
public CommandTpdeny(SimpleEssential main) { public CommandTpdeny(SimpleEssential main) {
super("tpdeny", "tpno"); super("tpdeny", "tpno");
this.plugin = main; this.plugin = main;
} }
@Override @Override
public boolean isOnlyPlayerExecutable() {return true;}; public boolean isOnlyPlayerExecutable() {
return true;
};
@Override @Override
public String getPossibleArguments() { public String getPossibleArguments() {

View File

@ -13,7 +13,9 @@ import cn.citycraft.SimpleEssential.config.Language;
import cn.citycraft.SimpleEssential.teleport.TeleportType; import cn.citycraft.SimpleEssential.teleport.TeleportType;
/** /**
* @author 20158122:04:05 TODO *
*
* @author 20158122:04:05
*/ */
public class CommandTphere extends SimpleEssentialCommand { public class CommandTphere extends SimpleEssentialCommand {
SimpleEssential plugin; SimpleEssential plugin;
@ -40,7 +42,9 @@ public class CommandTphere extends SimpleEssentialCommand {
} }
@Override @Override
public boolean isOnlyPlayerExecutable() {return true;}; public boolean isOnlyPlayerExecutable() {
return true;
};
@Override @Override
public int getMinimumArguments() { public int getMinimumArguments() {

View File

@ -7,9 +7,10 @@ import org.bukkit.command.CommandException;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
/** /**
*
*
* @author * @author
* 201581212:49:34 * 201581212:49:34
* TODO
*/ */
public abstract class SimpleEssentialCommand { public abstract class SimpleEssentialCommand {
private String name; private String name;

View File

@ -13,9 +13,11 @@ import org.bukkit.event.entity.PlayerDeathEvent;
import cn.citycraft.SimpleEssential.SimpleEssential; import cn.citycraft.SimpleEssential.SimpleEssential;
/** /**
*
*
* @author * @author
* 20158128:19:33 * 20158128:19:33
* TODO *
*/ */
public class PlayerLocationListen implements Listener { public class PlayerLocationListen implements Listener {
SimpleEssential plugin; SimpleEssential plugin;

View File

@ -6,9 +6,11 @@ package cn.citycraft.SimpleEssential.teleport;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
/** /**
*
*
* @author * @author
* 20158122:56:25 * 20158122:56:25
* TODO *
*/ */
public class TeleportInfo { public class TeleportInfo {
protected TeleportType tptype; protected TeleportType tptype;

View File

@ -4,9 +4,11 @@
package cn.citycraft.SimpleEssential.teleport; package cn.citycraft.SimpleEssential.teleport;
/** /**
*
*
* @author * @author
* 20158122:56:59 * 20158122:56:59
* TODO *
*/ */
public enum TeleportType { public enum TeleportType {
TPA, TPH TPA, TPH

View File

@ -7,9 +7,11 @@ import org.bukkit.Effect;
import org.bukkit.Location; import org.bukkit.Location;
/** /**
*
*
* @author * @author
* 20158142:07:02 * 20158142:07:02
* TODO *
*/ */
public class EffectUtil { public class EffectUtil {
/** /**