2011-06-06 20:29:08 +00:00
|
|
|
package com.earth2me.essentials.protect;
|
|
|
|
|
|
|
|
import com.earth2me.essentials.protect.data.IProtectedBlock;
|
2011-11-30 20:25:11 +00:00
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import org.bukkit.plugin.Plugin;
|
2011-06-06 20:29:08 +00:00
|
|
|
|
|
|
|
|
2011-11-30 20:25:11 +00:00
|
|
|
public interface IProtect extends Plugin
|
2011-06-06 20:29:08 +00:00
|
|
|
{
|
|
|
|
boolean checkProtectionItems(final ProtectConfig list, final int id);
|
|
|
|
|
|
|
|
boolean getSettingBool(final ProtectConfig protectConfig);
|
|
|
|
|
|
|
|
String getSettingString(final ProtectConfig protectConfig);
|
|
|
|
|
|
|
|
IProtectedBlock getStorage();
|
|
|
|
|
2011-11-30 20:25:11 +00:00
|
|
|
void setStorage(IProtectedBlock pb);
|
|
|
|
|
|
|
|
EssentialsConnect getEssentialsConnect();
|
|
|
|
|
|
|
|
Map<ProtectConfig, Boolean> getSettingsBoolean();
|
|
|
|
|
|
|
|
Map<ProtectConfig, String> getSettingsString();
|
|
|
|
|
|
|
|
Map<ProtectConfig, List<Integer>> getSettingsList();
|
2011-06-06 20:29:08 +00:00
|
|
|
}
|