mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2025-01-29 22:21:28 +01:00
Config added for pasting missing end or nether islands, default false
Stops bedrock removal glitch. Admins who need this can set it to true. https://github.com/BentoBoxWorld/BentoBox/issues/1063
This commit is contained in:
parent
ae511379fd
commit
c019a5db0f
4
pom.xml
4
pom.xml
@ -59,13 +59,13 @@
|
|||||||
<powermock.version>2.0.2</powermock.version>
|
<powermock.version>2.0.2</powermock.version>
|
||||||
<!-- More visible way how to change dependency versions -->
|
<!-- More visible way how to change dependency versions -->
|
||||||
<spigot.version>1.14.4-R0.1-SNAPSHOT</spigot.version>
|
<spigot.version>1.14.4-R0.1-SNAPSHOT</spigot.version>
|
||||||
<bentobox.version>1.9.0-SNAPSHOT</bentobox.version>
|
<bentobox.version>1.10.0-SNAPSHOT</bentobox.version>
|
||||||
<!-- Revision variable removes warning about dynamic version -->
|
<!-- Revision variable removes warning about dynamic version -->
|
||||||
<revision>${build.version}-SNAPSHOT</revision>
|
<revision>${build.version}-SNAPSHOT</revision>
|
||||||
<!-- Do not change unless you want different name for local builds. -->
|
<!-- Do not change unless you want different name for local builds. -->
|
||||||
<build.number>-LOCAL</build.number>
|
<build.number>-LOCAL</build.number>
|
||||||
<!-- This allows to change between versions. -->
|
<!-- This allows to change between versions. -->
|
||||||
<build.version>1.9.0</build.version>
|
<build.version>1.10.0</build.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!-- Profiles will allow to automatically change build version. -->
|
<!-- Profiles will allow to automatically change build version. -->
|
||||||
|
@ -327,6 +327,13 @@ public class Settings implements WorldSettings {
|
|||||||
@ConfigEntry(path = "island.create-island-on-first-login.abort-on-logout")
|
@ConfigEntry(path = "island.create-island-on-first-login.abort-on-logout")
|
||||||
private boolean createIslandOnFirstLoginAbortOnLogout = true;
|
private boolean createIslandOnFirstLoginAbortOnLogout = true;
|
||||||
|
|
||||||
|
@ConfigComment("Create Nether or End islands if they are missing when a player goes through a portal.")
|
||||||
|
@ConfigComment("Nether and End islands are usually pasted when a player makes their island, but if they are")
|
||||||
|
@ConfigComment("missing for some reason, you can switch this on.")
|
||||||
|
@ConfigComment("Note that bedrock removal glitches can exploit this option.")
|
||||||
|
@ConfigEntry(path = "island.create-missing-nether-end-islands")
|
||||||
|
private boolean pasteMissingIslands = false;
|
||||||
|
|
||||||
// Commands
|
// Commands
|
||||||
@ConfigComment("List of commands to run when a player joins.")
|
@ConfigComment("List of commands to run when a player joins.")
|
||||||
@ConfigEntry(path = "island.commands.on-join")
|
@ConfigEntry(path = "island.commands.on-join")
|
||||||
@ -1398,4 +1405,19 @@ public class Settings implements WorldSettings {
|
|||||||
this.onLeaveResetXP = onLeaveResetXP;
|
this.onLeaveResetXP = onLeaveResetXP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the pasteMissingIslands
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public boolean isPasteMissingIslands() {
|
||||||
|
return pasteMissingIslands;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param pasteMissingIslands the pasteMissingIslands to set
|
||||||
|
*/
|
||||||
|
public void setPasteMissingIslands(boolean pasteMissingIslands) {
|
||||||
|
this.pasteMissingIslands = pasteMissingIslands;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -90,10 +90,10 @@ world:
|
|||||||
dragon-spawn: false
|
dragon-spawn: false
|
||||||
# Mob white list - these mobs will NOT be removed when logging in or doing /island
|
# Mob white list - these mobs will NOT be removed when logging in or doing /island
|
||||||
remove-mobs-whitelist:
|
remove-mobs-whitelist:
|
||||||
- PIG_ZOMBIE
|
- PIG_ZOMBIE
|
||||||
- ENDERMAN
|
- ZOMBIE_VILLAGER
|
||||||
- WITHER
|
- ENDERMAN
|
||||||
- ZOMBIE_VILLAGER
|
- WITHER
|
||||||
# World flags. These are boolean settings for various flags for this world
|
# World flags. These are boolean settings for various flags for this world
|
||||||
flags:
|
flags:
|
||||||
CREEPER_DAMAGE: true
|
CREEPER_DAMAGE: true
|
||||||
@ -137,40 +137,40 @@ world:
|
|||||||
FROST_WALKER: 500
|
FROST_WALKER: 500
|
||||||
COLLECT_LAVA: 500
|
COLLECT_LAVA: 500
|
||||||
LEVER: 500
|
LEVER: 500
|
||||||
HURT_MONSTERS: 0
|
|
||||||
RIDING: 500
|
RIDING: 500
|
||||||
ARMOR_STAND: 500
|
HURT_MONSTERS: 0
|
||||||
NAME_TAG: 500
|
NAME_TAG: 500
|
||||||
|
ARMOR_STAND: 500
|
||||||
TRADING: 0
|
TRADING: 0
|
||||||
EGGS: 500
|
EGGS: 500
|
||||||
ITEM_DROP: 0
|
ITEM_DROP: 0
|
||||||
NOTE_BLOCK: 0
|
NOTE_BLOCK: 0
|
||||||
NETHER_PORTAL: 500
|
NETHER_PORTAL: 500
|
||||||
CROP_TRAMPLE: 500
|
|
||||||
ITEM_PICKUP: 0
|
ITEM_PICKUP: 0
|
||||||
BREWING: 500
|
CROP_TRAMPLE: 500
|
||||||
DROPPER: 500
|
DROPPER: 500
|
||||||
|
BREWING: 500
|
||||||
COLLECT_WATER: 500
|
COLLECT_WATER: 500
|
||||||
BUTTON: 500
|
BUTTON: 500
|
||||||
FIRE_EXTINGUISH: 500
|
FIRE_EXTINGUISH: 500
|
||||||
BEACON: 500
|
BEACON: 500
|
||||||
TRAPDOOR: 500
|
TRAPDOOR: 500
|
||||||
PRESSURE_PLATE: 0
|
PRESSURE_PLATE: 0
|
||||||
PLACE_BLOCKS: 500
|
|
||||||
ITEM_FRAME: 500
|
ITEM_FRAME: 500
|
||||||
|
PLACE_BLOCKS: 500
|
||||||
CRAFTING: 0
|
CRAFTING: 0
|
||||||
ENCHANTING: 0
|
|
||||||
SHEARING: 500
|
SHEARING: 500
|
||||||
BED: 500
|
ENCHANTING: 0
|
||||||
SPAWN_EGGS: 500
|
SPAWN_EGGS: 500
|
||||||
|
BED: 500
|
||||||
MILKING: 0
|
MILKING: 0
|
||||||
DISPENSER: 500
|
DISPENSER: 500
|
||||||
GATE: 0
|
GATE: 0
|
||||||
EXPERIENCE_PICKUP: 500
|
EXPERIENCE_PICKUP: 500
|
||||||
HOPPER: 500
|
HOPPER: 500
|
||||||
LEASH: 500
|
LEASH: 500
|
||||||
BREAK_BLOCKS: 500
|
|
||||||
MOUNT_INVENTORY: 500
|
MOUNT_INVENTORY: 500
|
||||||
|
BREAK_BLOCKS: 500
|
||||||
CHORUS_FRUIT: 500
|
CHORUS_FRUIT: 500
|
||||||
CONTAINER: 500
|
CONTAINER: 500
|
||||||
JUKEBOX: 500
|
JUKEBOX: 500
|
||||||
@ -178,8 +178,8 @@ world:
|
|||||||
# These are the default settings for new islands
|
# These are the default settings for new islands
|
||||||
default-island-settings:
|
default-island-settings:
|
||||||
PVP_END: false
|
PVP_END: false
|
||||||
ANIMAL_SPAWN: true
|
|
||||||
PVP_NETHER: false
|
PVP_NETHER: false
|
||||||
|
ANIMAL_SPAWN: true
|
||||||
MONSTER_SPAWN: true
|
MONSTER_SPAWN: true
|
||||||
FIRE_SPREAD: true
|
FIRE_SPREAD: true
|
||||||
PVP_OVERWORLD: false
|
PVP_OVERWORLD: false
|
||||||
@ -188,16 +188,16 @@ world:
|
|||||||
hidden-flags: []
|
hidden-flags: []
|
||||||
# Visitor banned commands - Visitors to islands cannot use these commands in this world
|
# Visitor banned commands - Visitors to islands cannot use these commands in this world
|
||||||
visitor-banned-commands:
|
visitor-banned-commands:
|
||||||
- spawner
|
- spawner
|
||||||
- spawnmob
|
- spawnmob
|
||||||
# Falling banned commands - players cannot use these commands when falling
|
# Falling banned commands - players cannot use these commands when falling
|
||||||
# if the PREVENT_TELEPORT_WHEN_FALLING world setting flag is active
|
# if the PREVENT_TELEPORT_WHEN_FALLING world setting flag is active
|
||||||
falling-banned-commands:
|
falling-banned-commands:
|
||||||
- warp
|
- warp
|
||||||
- spawn
|
- spawn
|
||||||
island:
|
island:
|
||||||
# Default max team size
|
# Default max team size
|
||||||
# Permission size cannot be less than the default below.
|
# Permission size cannot be less than the default below.
|
||||||
max-team-size: 4
|
max-team-size: 4
|
||||||
# Default maximum number of homes a player can have. Min = 1
|
# Default maximum number of homes a player can have. Min = 1
|
||||||
# Accessed via /is sethome <number> or /is go <number>
|
# Accessed via /is sethome <number> or /is go <number>
|
||||||
@ -255,7 +255,7 @@ island:
|
|||||||
create-island-on-first-login:
|
create-island-on-first-login:
|
||||||
# Toggles the automatic island creation upon the player's first login on your server.
|
# Toggles the automatic island creation upon the player's first login on your server.
|
||||||
# If set to true,
|
# If set to true,
|
||||||
# * Upon connecting to your server for the first time, the player will be told that
|
# * Upon connecting to your server for the first time, the player will be told that
|
||||||
# an island will be created for him.
|
# an island will be created for him.
|
||||||
# * Make sure you have a Blueprint Bundle called "default": this is the one that will
|
# * Make sure you have a Blueprint Bundle called "default": this is the one that will
|
||||||
# be used to create the island.
|
# be used to create the island.
|
||||||
@ -284,10 +284,15 @@ island:
|
|||||||
# If set to false, the player's island will be created even if he went offline in the meantime.
|
# If set to false, the player's island will be created even if he went offline in the meantime.
|
||||||
# Note this option has no effect if the delay (see the option above) is set to 0 or less.
|
# Note this option has no effect if the delay (see the option above) is set to 0 or less.
|
||||||
abort-on-logout: true
|
abort-on-logout: true
|
||||||
|
# Create Nether or End islands if they are missing when a player goes through a portal.
|
||||||
|
# Nether and End islands are usually pasted when a player makes their island, but if they are
|
||||||
|
# missing for some reason, you can switch this on.
|
||||||
|
# Note that bedrock removal glitches can exploit this option.
|
||||||
|
create-missing-nether-end-islands: false
|
||||||
commands:
|
commands:
|
||||||
# List of commands to run when a player joins.
|
# List of commands to run when a player joins.
|
||||||
on-join: []
|
on-join: []
|
||||||
# List of commands to run when a player leaves.
|
# list of commands to run when a player leaves.
|
||||||
on-leave: []
|
on-leave: []
|
||||||
sethome:
|
sethome:
|
||||||
nether:
|
nether:
|
||||||
@ -310,36 +315,36 @@ protection:
|
|||||||
# Geo restrict mobs.
|
# Geo restrict mobs.
|
||||||
# Mobs that exit the island space where they were spawned will be removed.
|
# Mobs that exit the island space where they were spawned will be removed.
|
||||||
geo-limit-settings:
|
geo-limit-settings:
|
||||||
- GHAST
|
- GHAST
|
||||||
- BAT
|
- BAT
|
||||||
- BLAZE
|
- BLAZE
|
||||||
# Invincible visitors. List of damages that will not affect visitors.
|
# Invincible visitors. List of damages that will not affect visitors.
|
||||||
# Make list blank if visitors should receive all damages
|
# Make list blank if visitors should receive all damages
|
||||||
invincible-visitors:
|
invincible-visitors:
|
||||||
- BLOCK_EXPLOSION
|
- BLOCK_EXPLOSION
|
||||||
- CONTACT
|
- CONTACT
|
||||||
- CUSTOM
|
- CUSTOM
|
||||||
- DROWNING
|
- DROWNING
|
||||||
- ENTITY_ATTACK
|
- ENTITY_ATTACK
|
||||||
- ENTITY_EXPLOSION
|
- ENTITY_EXPLOSION
|
||||||
- FALL
|
- FALL
|
||||||
- FALLING_BLOCK
|
- FALLING_BLOCK
|
||||||
- FIRE
|
- FIRE
|
||||||
- FIRE_TICK
|
- FIRE_TICK
|
||||||
- LAVA
|
- LAVA
|
||||||
- LIGHTNING
|
- LIGHTNING
|
||||||
- MAGIC
|
- MAGIC
|
||||||
- POISON
|
- POISON
|
||||||
- PROJECTILE
|
- PROJECTILE
|
||||||
- STARVATION
|
- STARVATION
|
||||||
- SUFFOCATION
|
- SUFFOCATION
|
||||||
- THORNS
|
- THORNS
|
||||||
- WITHER
|
- WITHER
|
||||||
- DRAGON_BREATH
|
- DRAGON_BREATH
|
||||||
- FLY_INTO_WALL
|
- FLY_INTO_WALL
|
||||||
- HOT_FLOOR
|
- HOT_FLOOR
|
||||||
- CRAMMING
|
- CRAMMING
|
||||||
- VOID
|
- VOID
|
||||||
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
Block a user