1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-04 10:01:44 +02:00

Major cleanup of the Protect code

This commit is contained in:
snowleo
2011-06-06 22:29:08 +02:00
parent 3586bffc3a
commit 275c865de3
14 changed files with 1046 additions and 854 deletions

View File

@@ -0,0 +1,21 @@
package com.earth2me.essentials.protect;
import com.earth2me.essentials.IEssentials;
import com.earth2me.essentials.User;
import com.earth2me.essentials.protect.data.IProtectedBlock;
public interface IProtect
{
void alert(final User user, final String item, final String type);
boolean checkProtectionItems(final ProtectConfig list, final int id);
boolean getSettingBool(final ProtectConfig protectConfig);
String getSettingString(final ProtectConfig protectConfig);
IProtectedBlock getStorage();
IEssentials getEssentials();
}