Prepare the project for javadocs

This commit is contained in:
Gabriele C
2015-11-21 01:27:06 +01:00
parent adcd70b91d
commit 118c79401a
168 changed files with 4375 additions and 422 deletions
@@ -8,14 +8,27 @@ import com.google.common.io.ByteStreams;
import fr.xephi.authme.AuthMe;
/**
*/
public class BungeeCordMessage implements PluginMessageListener {
public AuthMe plugin;
/**
* Constructor for BungeeCordMessage.
* @param plugin AuthMe
*/
public BungeeCordMessage(AuthMe plugin) {
this.plugin = plugin;
}
/**
* Method onPluginMessageReceived.
* @param channel String
* @param player Player
* @param message byte[]
* @see org.bukkit.plugin.messaging.PluginMessageListener#onPluginMessageReceived(String, Player, byte[])
*/
@Override
public void onPluginMessageReceived(String channel, Player player,
byte[] message) {
@@ -7,6 +7,8 @@ import org.bukkit.Location;
import fr.xephi.authme.settings.CustomConfiguration;
/**
*/
public class EssSpawn extends CustomConfiguration {
private static EssSpawn spawn;
@@ -17,6 +19,10 @@ public class EssSpawn extends CustomConfiguration {
load();
}
/**
* Method getInstance.
* @return EssSpawn
*/
public static EssSpawn getInstance() {
if (spawn == null) {
spawn = new EssSpawn();
@@ -24,6 +30,10 @@ public class EssSpawn extends CustomConfiguration {
return spawn;
}
/**
* Method getLocation.
* @return Location
*/
public Location getLocation() {
try {
if (!this.contains("spawns.default.world"))