mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
begin integration with fawe
This commit is contained in:
@ -323,4 +323,13 @@ public interface PlotPlatform<P> extends LocaleHolder {
|
||||
*/
|
||||
@NonNull String toLegacyPlatformString(@NonNull Component component);
|
||||
|
||||
/**
|
||||
* Returns if the FAWE-P2 hook is active/enabled
|
||||
*
|
||||
* @return status of FAWE-P2 hook
|
||||
*/
|
||||
default boolean isFaweHooking() {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -608,6 +608,17 @@ public class Settings extends Config {
|
||||
|
||||
}
|
||||
|
||||
@Comment("Enable or disable all of or parts of the FAWE-P2 hook")
|
||||
public static final class FAWE_Components {
|
||||
|
||||
@Comment("Use FAWE for queue handling.")
|
||||
public static boolean FAWE_HOOK = true;
|
||||
public static boolean CUBOIDS = true;
|
||||
public static boolean CLEAR = true;
|
||||
public static boolean COPY_AND_SWAP = true;
|
||||
public static boolean SET_BIOME = true;
|
||||
|
||||
}
|
||||
|
||||
@Comment("Enable or disable parts of the plugin specific to using Paper")
|
||||
public static final class Paper_Components {
|
||||
|
Reference in New Issue
Block a user