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:
@@ -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();
|
||||
}
|
Reference in New Issue
Block a user