mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Move backup config section to a more appropriate place
This commit is contained in:
parent
10dbcbcdbd
commit
d0ee579069
@ -246,94 +246,108 @@ public class Settings extends Config {
|
|||||||
public static final class General {
|
public static final class General {
|
||||||
@Comment("Display scientific numbers (4.2E8)") public static boolean SCIENTIFIC = false;
|
@Comment("Display scientific numbers (4.2E8)") public static boolean SCIENTIFIC = false;
|
||||||
@Comment("Replace wall when merging") public static boolean MERGE_REPLACE_WALL = true;
|
@Comment("Replace wall when merging") public static boolean MERGE_REPLACE_WALL = true;
|
||||||
@Comment("Blocks that may not be used in plot components") public static List<String> INVALID_BLOCKS =
|
@Comment("Blocks that may not be used in plot components") public static List<String>
|
||||||
Arrays.asList(
|
INVALID_BLOCKS = Arrays.asList(
|
||||||
// Acacia Stuff
|
// Acacia Stuff
|
||||||
"acacia_button", "acacia_fence_gate", "acacia_door", "acacia_pressure_plate", "acaia_trapdoor",
|
"acacia_button", "acacia_fence_gate", "acacia_door", "acacia_pressure_plate",
|
||||||
"acacia_sapling",
|
"acaia_trapdoor", "acacia_sapling",
|
||||||
// Birch Stuff
|
// Birch Stuff
|
||||||
"birch_button", "birch_fence_gate", "birch_door", "birch_pressure_plate", "birch_trapdoor",
|
"birch_button", "birch_fence_gate", "birch_door", "birch_pressure_plate",
|
||||||
"birch_sapling",
|
"birch_trapdoor", "birch_sapling",
|
||||||
// Dark Oak Stuff
|
// Dark Oak Stuff
|
||||||
"dark_oak_button", "dark_oak_fence_gate", "dark_oak_door", "dark_oak_pressure_plate", "dark_oak_trapdoor",
|
"dark_oak_button", "dark_oak_fence_gate", "dark_oak_door", "dark_oak_pressure_plate",
|
||||||
"dark_oak_sapling",
|
"dark_oak_trapdoor", "dark_oak_sapling",
|
||||||
// Jungle Stuff
|
// Jungle Stuff
|
||||||
"jungle_button", "jungle_fence_gate", "jungle_door", "jungle_pressure_plate", "jungle_trapdoor",
|
"jungle_button", "jungle_fence_gate", "jungle_door", "jungle_pressure_plate",
|
||||||
"jungle_sapling",
|
"jungle_trapdoor", "jungle_sapling",
|
||||||
// Oak Stuff
|
// Oak Stuff
|
||||||
"oak_button", "oak_fence_gate", "oak_door", "oak_pressure_plate", "oak_trapdoor",
|
"oak_button", "oak_fence_gate", "oak_door", "oak_pressure_plate", "oak_trapdoor",
|
||||||
"oak_sapling",
|
"oak_sapling",
|
||||||
// Spruce Stuff
|
// Spruce Stuff
|
||||||
"spruce_button", "spruce_fence_gate", "spruce_door", "spruce_pressure_plate", "spruce_trapdoor",
|
"spruce_button", "spruce_fence_gate", "spruce_door", "spruce_pressure_plate",
|
||||||
"spruce_sapling",
|
"spruce_trapdoor", "spruce_sapling",
|
||||||
// Rails
|
// Rails
|
||||||
"activator_rail", "detector_rail", "rail",
|
"activator_rail", "detector_rail", "rail",
|
||||||
// Flowers
|
// Flowers
|
||||||
"allium", "azure_bluet", "blue_orchid", "dandelion", "lilac", "orange_tulip",
|
"allium", "azure_bluet", "blue_orchid", "dandelion", "lilac", "orange_tulip",
|
||||||
"oxeye_daisy", "peony", "pink_tulip", "poppy", "potted_allium", "potted_azure_bluet", "potted_birch_sapling", "potted_blue_orchid",
|
"oxeye_daisy", "peony", "pink_tulip", "poppy", "potted_allium", "potted_azure_bluet",
|
||||||
"potted_brown_mushroom", "potted_cactus", "potted_fern", "potted_jungle_sapling",
|
"potted_birch_sapling", "potted_blue_orchid", "potted_brown_mushroom", "potted_cactus",
|
||||||
"potted_oak_sapling", "potted_orange_tulip", "potted_oxeye_daisy", "potted_pink_tulip",
|
"potted_fern", "potted_jungle_sapling", "potted_oak_sapling", "potted_orange_tulip",
|
||||||
"potted_red_mushroom", "potted_red_tulip", "red_mushroom", "red_tulip", "potted_spruce_sapling",
|
"potted_oxeye_daisy", "potted_pink_tulip", "potted_red_mushroom", "potted_red_tulip",
|
||||||
"potted_white_tulip", "rose_bush", "sunflower", "white_tulip", "cornflower", "wither_rose",
|
"red_mushroom", "red_tulip", "potted_spruce_sapling", "potted_white_tulip", "rose_bush",
|
||||||
// Stems
|
"sunflower", "white_tulip", "cornflower", "wither_rose",
|
||||||
"attached_melon_stem", "attached_pumpkin_stem", "melon_stem", "pumpkin_stem",
|
// Stems
|
||||||
"mushroom_stem",
|
"attached_melon_stem", "attached_pumpkin_stem", "melon_stem", "pumpkin_stem",
|
||||||
// Plants
|
"mushroom_stem",
|
||||||
"beetroots", "brown_mushroom", "cactus", "carrots", "chorus_flower", "chorus_plant",
|
// Plants
|
||||||
"cocoa", "dead_bush", "fern", "kelp_plant", "large_fern", "lily_pad", "potatoes",
|
"beetroots", "brown_mushroom", "cactus", "carrots", "chorus_flower", "chorus_plant",
|
||||||
"sea_pickle", "seagrass", "sugar_cane", "tall_grass", "tall_seagrass", "vine",
|
"cocoa", "dead_bush", "fern", "kelp_plant", "large_fern", "lily_pad", "potatoes",
|
||||||
"wheat", "bamboo",
|
"sea_pickle", "seagrass", "sugar_cane", "tall_grass", "tall_seagrass", "vine", "wheat",
|
||||||
// Misc
|
"bamboo",
|
||||||
"anvil", "barrier", "beacon", "brewing_stand", "bubble_column", "cake", "cobweb",
|
// Misc
|
||||||
"comparator", "creeper_head", "creeper_wall_header", "damaged_anvil", "daylight_detector",
|
"anvil", "barrier", "beacon", "brewing_stand", "bubble_column", "cake", "cobweb",
|
||||||
"dragon_egg", "dragon_head", "dragon_wall_head", "enchanting_table", "end_gateway",
|
"comparator", "creeper_head", "creeper_wall_header", "damaged_anvil",
|
||||||
"end_portal", "end_rod", "ender_chest", "chest", "flower_pot", "grass", "heavy_weighted_pressure_plate",
|
"daylight_detector", "dragon_egg", "dragon_head", "dragon_wall_head",
|
||||||
"lever", "light_weighted_pressure_plate", "player_head", "redstone_wire", "repeater", "comparator",
|
"enchanting_table", "end_gateway", "end_portal", "end_rod", "ender_chest", "chest",
|
||||||
"redstone_torch", "torch", "redstone_wall_torch", "wall_torch", "sign", "skeleton_skull",
|
"flower_pot", "grass", "heavy_weighted_pressure_plate", "lever",
|
||||||
"skeleton_wall_skull", "snow", "stone_pressure_plate", "trapped_chest", "tripwire",
|
"light_weighted_pressure_plate", "player_head", "redstone_wire", "repeater",
|
||||||
"tripwire_hook", "turtle_egg", "wall_sign", "zombie_head", "zombie_wall_head", "bell",
|
"comparator", "redstone_torch", "torch", "redstone_wall_torch", "wall_torch", "sign",
|
||||||
// Black Stuff
|
"skeleton_skull", "skeleton_wall_skull", "snow", "stone_pressure_plate",
|
||||||
"black_bed", "black_banner", "black_carpet", "black_concrete_powder", "black_wall_banner",
|
"trapped_chest", "tripwire", "tripwire_hook", "turtle_egg", "wall_sign", "zombie_head",
|
||||||
// Blue Stuff
|
"zombie_wall_head", "bell",
|
||||||
"blue_bed", "blue_banner", "blue_carpet", "blue_concrete_powder", "blue_wall_banner",
|
// Black Stuff
|
||||||
// Brown Stuff
|
"black_bed", "black_banner", "black_carpet", "black_concrete_powder",
|
||||||
"brown_bed", "brown_banner", "brown_carpet", "brown_concrete_powder", "brown_wall_banner",
|
"black_wall_banner",
|
||||||
// Cyan Stuff
|
// Blue Stuff
|
||||||
"cyan_bed", "cyan_banner", "cyan_concrete_powder", "cyan_carpet", "cyan_wall_banner",
|
"blue_bed", "blue_banner", "blue_carpet", "blue_concrete_powder", "blue_wall_banner",
|
||||||
// Gray Stuff
|
// Brown Stuff
|
||||||
"gray_bed", "gray_banner", "gray_concrete_powder", "gray_carpet", "gray_wall_banner",
|
"brown_bed", "brown_banner", "brown_carpet", "brown_concrete_powder",
|
||||||
// Green Stuff
|
"brown_wall_banner",
|
||||||
"green_bed", "green_banner", "green_concrete_powder", "green_carpet", "green_wall_banner",
|
// Cyan Stuff
|
||||||
// Light blue Stuff
|
"cyan_bed", "cyan_banner", "cyan_concrete_powder", "cyan_carpet", "cyan_wall_banner",
|
||||||
"light_blue_bed", "light_blue_banner", "light_blue_concrete_powder", "light_blue_carpet", "light_blue_wall_banner",
|
// Gray Stuff
|
||||||
// Light Gray Stuff
|
"gray_bed", "gray_banner", "gray_concrete_powder", "gray_carpet", "gray_wall_banner",
|
||||||
"light_gray_bed", "light_gray_banner", "light_gray_concrete_powder", "light_gray_carpet", "light_gray_wall_banner",
|
// Green Stuff
|
||||||
// Lime Stuff
|
"green_bed", "green_banner", "green_concrete_powder", "green_carpet",
|
||||||
"lime_bed", "lime_banner", "lime_concrete_powder", "lime_carpet", "lime_wall_banner",
|
"green_wall_banner",
|
||||||
// Magenta Stuff
|
// Light blue Stuff
|
||||||
"magenta_bed", "magenta_banner", "magenta_concrete_powder", "magenta_carpet", "magenta_wall_banner",
|
"light_blue_bed", "light_blue_banner", "light_blue_concrete_powder",
|
||||||
// Orange Stuff
|
"light_blue_carpet", "light_blue_wall_banner",
|
||||||
"orange_bed", "orange_banner", "orange_concrete_powder", "orange_carpet", "orange_wall_banner",
|
// Light Gray Stuff
|
||||||
// Pink Stuff
|
"light_gray_bed", "light_gray_banner", "light_gray_concrete_powder",
|
||||||
"pink_bed", "pink_banner", "pink_concrete_powder", "pink_carpet", "pink_wall_banner",
|
"light_gray_carpet", "light_gray_wall_banner",
|
||||||
// Purple Stuff
|
// Lime Stuff
|
||||||
"purple_bed", "purple_banner", "purple_concrete_powder", "purple_carpet", "purple_wall_banner",
|
"lime_bed", "lime_banner", "lime_concrete_powder", "lime_carpet", "lime_wall_banner",
|
||||||
// Red Stuff
|
// Magenta Stuff
|
||||||
"red_bed", "red_banner", "red_concrete_powder", "red_carpet", "red_wall_banner",
|
"magenta_bed", "magenta_banner", "magenta_concrete_powder", "magenta_carpet",
|
||||||
// White Stuff
|
"magenta_wall_banner",
|
||||||
"white_bed", "white_banner", "white_concrete_powder", "white_carpet", "white_wall_banner",
|
// Orange Stuff
|
||||||
// Yellow Stuff
|
"orange_bed", "orange_banner", "orange_concrete_powder", "orange_carpet",
|
||||||
"yellow_bed", "yellow_banner", "yellow_concrete_powder", "yellow_carpet", "yellow_wall_banner",
|
"orange_wall_banner",
|
||||||
// Corals
|
// Pink Stuff
|
||||||
"brain_coral", "brain_coral_fan", "brain_coral_wall_fan", "bubble_coral", "bubble_coral_block",
|
"pink_bed", "pink_banner", "pink_concrete_powder", "pink_carpet", "pink_wall_banner",
|
||||||
"bubble_coral_fan", "bubble_coral_wall_fan", "dead_brain_coral", "dead_brain_coral_block",
|
// Purple Stuff
|
||||||
"dead_brain_coral_fan", "dead_brain_coral_wall_fan", "dead_bubble_coral", "dead_bubble_coral_fan",
|
"purple_bed", "purple_banner", "purple_concrete_powder", "purple_carpet",
|
||||||
"dead_bubble_coral_wall_fan", "dead_fire_coral", "dead_fire_coral_block", "dead_fire_coral_fan",
|
"purple_wall_banner",
|
||||||
"dead_fire_coral_wall_fan", "dead_horn_coral", "dead_horn_coral_block", "dead_horn_coral_fan",
|
// Red Stuff
|
||||||
"dead_tube_coral", "dead_tube_coral_wall_fan", "dried_kelp_block", "horn_coral", "horn_coral_block",
|
"red_bed", "red_banner", "red_concrete_powder", "red_carpet", "red_wall_banner",
|
||||||
"horn_coral_fan", "horn_coral_wall_fan", "tube_coral", "tube_coral_block", "tube_coral_fan",
|
// White Stuff
|
||||||
"tube_coral_wall_fan"
|
"white_bed", "white_banner", "white_concrete_powder", "white_carpet",
|
||||||
);
|
"white_wall_banner",
|
||||||
|
// Yellow Stuff
|
||||||
|
"yellow_bed", "yellow_banner", "yellow_concrete_powder", "yellow_carpet",
|
||||||
|
"yellow_wall_banner",
|
||||||
|
// Corals
|
||||||
|
"brain_coral", "brain_coral_fan", "brain_coral_wall_fan", "bubble_coral",
|
||||||
|
"bubble_coral_block", "bubble_coral_fan", "bubble_coral_wall_fan", "dead_brain_coral",
|
||||||
|
"dead_brain_coral_block", "dead_brain_coral_fan", "dead_brain_coral_wall_fan",
|
||||||
|
"dead_bubble_coral", "dead_bubble_coral_fan", "dead_bubble_coral_wall_fan",
|
||||||
|
"dead_fire_coral", "dead_fire_coral_block", "dead_fire_coral_fan",
|
||||||
|
"dead_fire_coral_wall_fan", "dead_horn_coral", "dead_horn_coral_block",
|
||||||
|
"dead_horn_coral_fan", "dead_tube_coral", "dead_tube_coral_wall_fan",
|
||||||
|
"dried_kelp_block", "horn_coral", "horn_coral_block", "horn_coral_fan",
|
||||||
|
"horn_coral_wall_fan", "tube_coral", "tube_coral_block", "tube_coral_fan",
|
||||||
|
"tube_coral_wall_fan");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -404,6 +418,17 @@ public class Settings extends Config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Comment("Backup related settings")
|
||||||
|
public static final class Backup {
|
||||||
|
@Comment("Automatically backup plots when destructive commands are performed")
|
||||||
|
public static boolean AUTOMATIC_BACKUPS = true;
|
||||||
|
@Comment("Maximum amount of backups associated with a plot") public static int
|
||||||
|
BACKUP_LIMIT = 3;
|
||||||
|
@Comment("Whether or not backups should be deleted when the plot is unclaimed")
|
||||||
|
public static boolean DELETE_ON_UNCLAIM = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public static final class Confirmation {
|
public static final class Confirmation {
|
||||||
@Comment("Teleport to your plot on death") public static int CONFIRMATION_TIMEOUT_SECONDS =
|
@Comment("Teleport to your plot on death") public static int CONFIRMATION_TIMEOUT_SECONDS =
|
||||||
20;
|
20;
|
||||||
@ -503,14 +528,4 @@ public class Settings extends Config {
|
|||||||
public static boolean GUESS_PLOT_OWNER = false;
|
public static boolean GUESS_PLOT_OWNER = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Comment("Backup related settings")
|
|
||||||
public static final class Backup {
|
|
||||||
@Comment("Automatically backup plots when destructive commands are performed")
|
|
||||||
public static boolean AUTOMATIC_BACKUPS = true;
|
|
||||||
@Comment("Maximum amount of backups associated with a plot")
|
|
||||||
public static int BACKUP_LIMIT = 3;
|
|
||||||
@Comment("Whether or not backups should be deleted when the plot is unclaimed")
|
|
||||||
public static boolean DELETE_ON_UNCLAIM = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user