mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2024-11-28 12:45:15 +01:00
Enable team members to have islands - requires Bentobox 2.3.0
This commit is contained in:
parent
706178d3d5
commit
d272873410
4
pom.xml
4
pom.xml
@ -59,13 +59,13 @@
|
||||
<powermock.version>2.0.9</powermock.version>
|
||||
<!-- More visible way how to change dependency versions -->
|
||||
<spigot.version>1.20.4-R0.1-SNAPSHOT</spigot.version>
|
||||
<bentobox.version>2.0.0-SNAPSHOT</bentobox.version>
|
||||
<bentobox.version>2.3.0-SNAPSHOT</bentobox.version>
|
||||
<!-- Revision variable removes warning about dynamic version -->
|
||||
<revision>${build.version}-SNAPSHOT</revision>
|
||||
<!-- Do not change unless you want different name for local builds. -->
|
||||
<build.number>-LOCAL</build.number>
|
||||
<!-- This allows to change between versions. -->
|
||||
<build.version>1.17.1</build.version>
|
||||
<build.version>1.18.0</build.version>
|
||||
<!-- Sonar Cloud -->
|
||||
<sonar.projectKey>BentoBoxWorld_BSkyBlock</sonar.projectKey>
|
||||
<sonar.organization>bentobox-world</sonar.organization>
|
||||
|
@ -116,6 +116,10 @@ public class Settings implements WorldSettings {
|
||||
@ConfigEntry(path = "world.island-height")
|
||||
private int islandHeight = 120;
|
||||
|
||||
@ConfigComment("Disallow team members from having their own islands.")
|
||||
@ConfigEntry(path = "world.disallow-team-member-islands")
|
||||
private boolean disallowTeamMemberIslands = false;
|
||||
|
||||
@ConfigComment("Use your own world generator for this world.")
|
||||
@ConfigComment("In this case, the plugin will not generate anything.")
|
||||
@ConfigComment("If used, you must specify the world name and generator in the bukkit.yml file.")
|
||||
@ -1816,4 +1820,18 @@ public class Settings implements WorldSettings {
|
||||
public void setMakeEndPortals(boolean makeEndPortals) {
|
||||
this.makeEndPortals = makeEndPortals;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the disallowTeamMemberIslands
|
||||
*/
|
||||
public boolean isDisallowTeamMemberIslands() {
|
||||
return disallowTeamMemberIslands;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param disallowTeamMemberIslands the disallowTeamMemberIslands to set
|
||||
*/
|
||||
public void setDisallowTeamMemberIslands(boolean disallowTeamMemberIslands) {
|
||||
this.disallowTeamMemberIslands = disallowTeamMemberIslands;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user