mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-19 13:01:20 +02:00
More Cleanup :: add TODO comments
This commit is contained in:
@@ -18,6 +18,7 @@ public class Essentials extends JavaPlugin
|
||||
Bukkit.getLogger().info("You can remove this compatibility plugin, when all plugins are updated to Essentials-3");
|
||||
//TODO: Update files to new 3.0 format
|
||||
//TODO: Move Eco Api here
|
||||
//TODO: write update methods for itemmeta
|
||||
IPlugin plugin = (IPlugin)getServer().getPluginManager().getPlugin("Essentials-3");
|
||||
ess = plugin.getEssentials();
|
||||
updateSettings();
|
||||
|
@@ -27,7 +27,6 @@ public interface ISettings
|
||||
|
||||
int getChatRadius();
|
||||
|
||||
|
||||
double getCommandCost(String label);
|
||||
|
||||
String getCurrencySymbol();
|
||||
@@ -68,7 +67,6 @@ public interface ISettings
|
||||
|
||||
int getHomeLimit(String set);
|
||||
|
||||
|
||||
boolean getSortListByGroups();
|
||||
|
||||
int getSpawnMobLimit();
|
||||
@@ -81,7 +79,6 @@ public interface ISettings
|
||||
|
||||
boolean hidePermissionlessHelp();
|
||||
|
||||
|
||||
boolean isCommandDisabled(String label);
|
||||
|
||||
boolean isCommandOverridden(String name);
|
||||
|
@@ -321,7 +321,7 @@ public final class Settings implements ISettings
|
||||
|
||||
private Map<String, MessageFormat> chatFormats = Collections.synchronizedMap(new HashMap<String, MessageFormat>());
|
||||
|
||||
/*@Override
|
||||
/*@Override //TODO: implement this
|
||||
public MessageFormat getChatFormat(String group)
|
||||
{
|
||||
MessageFormat mFormat = chatFormats.get(group);
|
||||
|
@@ -29,7 +29,7 @@ class UpdateUserFiles
|
||||
name = getRealName(name);
|
||||
if (name.equals(BROKENNAME))
|
||||
{
|
||||
ess.getLogger().warning("Could not convert player " + origName);
|
||||
ess.getLogger().log(Level.WARNING, "Could not convert player {0}", origName);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
@@ -619,7 +619,7 @@ public class UserData
|
||||
return lastLoginAddress;
|
||||
}
|
||||
|
||||
private void _setLastLoginAddress(String address) //unused method
|
||||
private void _setLastLoginAddress(String address) //TODO: unused method?
|
||||
{
|
||||
lastLoginAddress = address;
|
||||
config.setProperty("ipAddress", address);
|
||||
@@ -651,7 +651,7 @@ public class UserData
|
||||
return ret;
|
||||
}
|
||||
|
||||
private boolean newplayer; //unused variable
|
||||
private boolean newplayer; //TODO: unused variable?
|
||||
private String geolocation;
|
||||
|
||||
private String _getGeoLocation()
|
||||
|
Reference in New Issue
Block a user