This update introduces new features for better control and customization when restricting world access based on advancements and permissions. Additionally, it includes bug fixes and improvements. Here is a list with the most relevant part of the update:
- Added functionality to send a title, subtitle, and play a sound when a player is denied entry to a world.
- Added the option to block access for players who do not have a specific permission node.
- You can now optionally specify a yaw and pitch in the "fallbackLocation" option.
- Fixed an issue related to reading advancements.
Example of the default configuration with the new changes:
Code (YAML):
worlds
:
# Name of the world to block access
world_the_end
:
# Message to send to the player when they try to enter the world without the required advancements
# Leave the message empty to deactivate it.
deny-message
:
"&cYou need to find a Stronghold before you can go to the END"
# Title and subtitle to send to the player when they try to enter the world without the required advancements
# Leave the title and subtitle empty to deactivate it.
deny-title
:
"&4&lAdvancement Needed"
deny-subtitle
:
"&cYou need to find a Stronghold before you can go to the END"
# Sound to play to the player when they try to enter the world without the required advancements
# Leave the sound empty to deactivate it.
deny-sound
: ENTITY_ENDERMAN_SCREAM
# List of permissions required to enter the world.
# Example: example.end
# If you don't want to use this feature, leave the list empty.
permissions-required
:
{
}
# List of advancements required to enter the world.
# For a complete list of advancements, visit: https://minecraft.fandom.com/wiki/Advancement#List_of_advancements
# Specify each required advancement in the format: namespace:advancement
# Example: minecraft:story/follow_ender_eye
advancements
:
- minecraft:story/follow_ender_eye