mirror of
https://github.com/YouHaveTrouble/PreventStabby.git
synced 2026-05-12 13:26:56 +00:00
added a couple of damage blockers and placing wither roses under players with pvp off
This commit is contained in:
@@ -6,7 +6,8 @@ import org.bukkit.configuration.Configuration;
|
||||
|
||||
public class ConfigCache {
|
||||
|
||||
@Getter private final boolean pvp_enabled_by_default, lava_and_fire_stopper_enabled;
|
||||
@Getter private final boolean pvp_enabled_by_default;
|
||||
@Getter private final boolean lava_and_fire_stopper_enabled;
|
||||
@Getter private final String pvp_enabled;
|
||||
@Getter private final String pvp_disabled;
|
||||
@Getter private final String cannot_attack_victim;
|
||||
@@ -16,6 +17,7 @@ public class ConfigCache {
|
||||
@Getter private final String pvp_enabled_other;
|
||||
@Getter private final String pvp_disabled_other;
|
||||
@Getter private final double lava_and_fire_stopper_radius;
|
||||
@Getter private final boolean channeling_enchant_disabled;
|
||||
|
||||
public ConfigCache() {
|
||||
|
||||
@@ -27,6 +29,8 @@ public class ConfigCache {
|
||||
this.lava_and_fire_stopper_enabled = config.getBoolean("settings.lava_and_fire_stopper.enabled", true);
|
||||
this.lava_and_fire_stopper_radius = config.getDouble("settings.lava_and_fire_stopper.radius", 2.5);
|
||||
|
||||
this.channeling_enchant_disabled = config.getBoolean("channeling_enchant_disabled", true);
|
||||
|
||||
// Messages
|
||||
this.pvp_enabled = config.getString("messages.pvp_enabled", "&cYou enabled PvP!");
|
||||
this.pvp_disabled = config.getString("messages.pvp_disabled", "&cYou disabled PvP!");
|
||||
|
||||
Reference in New Issue
Block a user