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;
/**
* @author 20158113:29:32 TODO
*
*
* @author 20158113:29:32
*/
public class SimpleEssential extends JavaPlugin {

View File

@ -10,7 +10,7 @@ import org.bukkit.entity.Player;
import cn.citycraft.SimpleEssential.SimpleEssential;
/**
* @author 20158122:04:05 TODO
* @author 20158122:04:05
*/
public class CommandBack extends SimpleEssentialCommand {
SimpleEssential plugin;
@ -22,9 +22,11 @@ public class CommandBack extends SimpleEssentialCommand {
super("back", "seback");
this.plugin = main;
}
@Override
public boolean isOnlyPlayerExecutable() {return true;};
public boolean isOnlyPlayerExecutable() {
return true;
};
@Override
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;
/**
* @author 20158122:04:05 TODO
*
*
* @author 20158122:04:05
*/
public class CommandHome extends SimpleEssentialCommand {
SimpleEssential plugin;
@ -24,9 +26,11 @@ public class CommandHome extends SimpleEssentialCommand {
super("home", "eshome");
this.plugin = main;
}
@Override
public boolean isOnlyPlayerExecutable() {return true;};
public boolean isOnlyPlayerExecutable() {
return true;
};
@Override
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;
/**
* @author 20158122:04:05 TODO
*
*
* @author 20158122:04:05
*/
public class CommandSetHome extends SimpleEssentialCommand {
SimpleEssential plugin;
/**
* @param name
*/
public CommandSetHome(SimpleEssential main) {
super("sethome", "essethome");
this.plugin = main;
}
@Override
public boolean isOnlyPlayerExecutable() {return true;};
public boolean isOnlyPlayerExecutable() {
return true;
};
@Override
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;
/**
*
*
* @author
* 20158122:04:05
* TODO
*
*/
public class CommandTop extends SimpleEssentialCommand {
SimpleEssential plugin;
@ -26,9 +28,11 @@ public class CommandTop extends SimpleEssentialCommand {
super("top", "estop");
this.plugin = main;
}
@Override
public boolean isOnlyPlayerExecutable() {return true;};
public boolean isOnlyPlayerExecutable() {
return true;
};
@Override
public String getPossibleArguments() {

View File

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

View File

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

View File

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

View File

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

View File

@ -7,9 +7,10 @@ import org.bukkit.command.CommandException;
import org.bukkit.command.CommandSender;
/**
*
*
* @author
* 201581212:49:34
* TODO
*/
public abstract class SimpleEssentialCommand {
private String name;
@ -93,7 +94,7 @@ public abstract class SimpleEssentialCommand {
* -
*/
public abstract void execute(CommandSender sender, String label, String[] args) throws CommandException;
/**
*
*/

View File

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

View File

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

View File

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

View File

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