Removes extraneous settings
https://github.com/BentoBoxWorld/BentoBox/issues/531
This commit is contained in:
parent
9cc53733dd
commit
e60ab110c5
|
@ -203,9 +203,6 @@ public class Settings implements DataObject, WorldSettings {
|
||||||
@ConfigEntry(path = "island.reset.reset-limit")
|
@ConfigEntry(path = "island.reset.reset-limit")
|
||||||
private int resetLimit = -1;
|
private int resetLimit = -1;
|
||||||
|
|
||||||
@ConfigEntry(path = "island.require-confirmation.reset")
|
|
||||||
private boolean resetConfirmation = true;
|
|
||||||
|
|
||||||
@ConfigComment("Kicked or leaving players lose resets")
|
@ConfigComment("Kicked or leaving players lose resets")
|
||||||
@ConfigComment("Players who leave a team will lose an island reset chance")
|
@ConfigComment("Players who leave a team will lose an island reset chance")
|
||||||
@ConfigComment("If a player has zero resets left and leaves a team, they cannot make a new")
|
@ConfigComment("If a player has zero resets left and leaves a team, they cannot make a new")
|
||||||
|
@ -254,10 +251,6 @@ public class Settings implements DataObject, WorldSettings {
|
||||||
@ConfigEntry(path = "island.reset.on-leave.ender-chest")
|
@ConfigEntry(path = "island.reset.on-leave.ender-chest")
|
||||||
private boolean onLeaveResetEnderChest = false;
|
private boolean onLeaveResetEnderChest = false;
|
||||||
|
|
||||||
@ConfigComment("Have player's respawn on their island if they die")
|
|
||||||
@ConfigEntry(path = "island.respawn-on-island")
|
|
||||||
private boolean respawnOnIsland = true;
|
|
||||||
|
|
||||||
// Sethome
|
// Sethome
|
||||||
@ConfigEntry(path = "island.sethome.nether.allow")
|
@ConfigEntry(path = "island.sethome.nether.allow")
|
||||||
private boolean allowSetHomeInNether = true;
|
private boolean allowSetHomeInNether = true;
|
||||||
|
@ -301,12 +294,6 @@ public class Settings implements DataObject, WorldSettings {
|
||||||
@ConfigEntry(path = "protection.invincible-visitors")
|
@ConfigEntry(path = "protection.invincible-visitors")
|
||||||
private List<String> ivSettings = new ArrayList<>();
|
private List<String> ivSettings = new ArrayList<>();
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------/
|
|
||||||
|
|
||||||
@ConfigComment("Whether GUIs should be closed when the player clicks outside.")
|
|
||||||
@ConfigEntry(path = "panel.close-on-click-outside")
|
|
||||||
private boolean closePanelOnClickOutside = true;
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------/
|
//---------------------------------------------------------------------------------------/
|
||||||
@ConfigComment("These settings should not be edited")
|
@ConfigComment("These settings should not be edited")
|
||||||
@ConfigEntry(path = "do-not-edit-these-settings.reset-epoch")
|
@ConfigEntry(path = "do-not-edit-these-settings.reset-epoch")
|
||||||
|
@ -561,13 +548,6 @@ public class Settings implements DataObject, WorldSettings {
|
||||||
return resetLimit;
|
return resetLimit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the resetConfirmation
|
|
||||||
*/
|
|
||||||
public boolean isResetConfirmation() {
|
|
||||||
return resetConfirmation;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the leaversLoseReset
|
* @return the leaversLoseReset
|
||||||
*/
|
*/
|
||||||
|
@ -630,13 +610,6 @@ public class Settings implements DataObject, WorldSettings {
|
||||||
return onLeaveResetEnderChest;
|
return onLeaveResetEnderChest;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the respawnOnIsland
|
|
||||||
*/
|
|
||||||
public boolean isRespawnOnIsland() {
|
|
||||||
return respawnOnIsland;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the isDeathsCounted
|
* @return the isDeathsCounted
|
||||||
*/
|
*/
|
||||||
|
@ -716,13 +689,6 @@ public class Settings implements DataObject, WorldSettings {
|
||||||
return ivSettings;
|
return ivSettings;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the closePanelOnClickOutside
|
|
||||||
*/
|
|
||||||
public boolean isClosePanelOnClickOutside() {
|
|
||||||
return closePanelOnClickOutside;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the resetEpoch
|
* @return the resetEpoch
|
||||||
*/
|
*/
|
||||||
|
@ -957,13 +923,6 @@ public class Settings implements DataObject, WorldSettings {
|
||||||
this.resetLimit = resetLimit;
|
this.resetLimit = resetLimit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param resetConfirmation the resetConfirmation to set
|
|
||||||
*/
|
|
||||||
public void setResetConfirmation(boolean resetConfirmation) {
|
|
||||||
this.resetConfirmation = resetConfirmation;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param leaversLoseReset the leaversLoseReset to set
|
* @param leaversLoseReset the leaversLoseReset to set
|
||||||
*/
|
*/
|
||||||
|
@ -1020,13 +979,6 @@ public class Settings implements DataObject, WorldSettings {
|
||||||
this.onLeaveResetEnderChest = onLeaveResetEnderChest;
|
this.onLeaveResetEnderChest = onLeaveResetEnderChest;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param respawnOnIsland the respawnOnIsland to set
|
|
||||||
*/
|
|
||||||
public void setRespawnOnIsland(boolean respawnOnIsland) {
|
|
||||||
this.respawnOnIsland = respawnOnIsland;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param deathsCounted the deathsCounted to set
|
* @param deathsCounted the deathsCounted to set
|
||||||
*/
|
*/
|
||||||
|
@ -1069,13 +1021,6 @@ public class Settings implements DataObject, WorldSettings {
|
||||||
this.ivSettings = ivSettings;
|
this.ivSettings = ivSettings;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param closePanelOnClickOutside the closePanelOnClickOutside to set
|
|
||||||
*/
|
|
||||||
public void setClosePanelOnClickOutside(boolean closePanelOnClickOutside) {
|
|
||||||
this.closePanelOnClickOutside = closePanelOnClickOutside;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param allowSetHomeInNether the allowSetHomeInNether to set
|
* @param allowSetHomeInNether the allowSetHomeInNether to set
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -223,10 +223,6 @@ island:
|
||||||
inventory: false
|
inventory: false
|
||||||
# Reset Ender Chest - if true, the player's Ender Chest will be cleared.
|
# Reset Ender Chest - if true, the player's Ender Chest will be cleared.
|
||||||
ender-chest: false
|
ender-chest: false
|
||||||
require-confirmation:
|
|
||||||
reset: true
|
|
||||||
# Have player's respawn on their island if they die
|
|
||||||
respawn-on-island: false
|
|
||||||
sethome:
|
sethome:
|
||||||
nether:
|
nether:
|
||||||
allow: true
|
allow: true
|
||||||
|
@ -276,9 +272,6 @@ protection:
|
||||||
- HOT_FLOOR
|
- HOT_FLOOR
|
||||||
- CRAMMING
|
- CRAMMING
|
||||||
- VOID
|
- VOID
|
||||||
panel:
|
|
||||||
# Whether GUIs should be closed when the player clicks outside.
|
|
||||||
close-on-click-outside: true
|
|
||||||
do-not-edit-these-settings:
|
do-not-edit-these-settings:
|
||||||
# These settings should not be edited
|
# These settings should not be edited
|
||||||
reset-epoch: 0
|
reset-epoch: 0
|
||||||
|
|
Loading…
Reference in New Issue