Sueta

AdvancementDisabler | 1.13-26.3 | Disable SPECIFIC advanceme

2.0

Disable advancements in certainly world.

·Plugin

v2.0 out now!
My pull request for PlayerAdvancementCriteriaGrantEvent was finally added into spigot api. That means this plugin now works clean as ever!.

THIS VERSION WORKS ONLY ON SPIGOT 26.3 AND UP!
PAPER VERSION HERE (may take time to get approved)

OLDER VERSIONS ARE NOT STABLE!

Description
With this plugin you can disable any advancement in specific world. Default spigot only lets you disable advancement fully in global base.

Commands:
/adisabler - adisabler.reload - Reloads config

In config you can just add world names under world, specify mode and data.
Data is not required if mode is ALL.
Config:

# Available modes:
# - ALL: Disable all advancements
# - ALL-EXCEPT: Disable all advancements except the ones specified in the data list
# - ONLY-THESE: Disable only the advancements specified in the data list
# for data: https://minecraft.fandom.com/wiki/Advancement
worlds:
  lobby:
    mode: "ALL"
  hub:
    mode: "ALL-EXCEPT"
    data:
      - "story/mine_diamond"
  spawn:
    mode: "ONLY-THESE"
    data:
      - "story/mine_diamond"
old version

Text version of image(description) and default config are in the bottom.

If image isn't loading: Text Version

The one and only!
It seems to be the only plugin on Spigot
that offers such features. I searched for
a long time and found nothing useful
with such a feature. So, the one and only
“that unites all in the dark”, lol.

What is this?
Yes, you can disable advancements with
the original spigot in a configuration,
but you can’t disable only for a specific
world. Personally, I needed such a plugin
2 years ago, but I couldn’t find it
– here it is now <3

Features:
- Prevent players from gaining specific
advancements in specific worlds.
- Prevent players getting XP from disabled advs.
- Prevent advancement annucements
- Multiple functionality modes
- MultiverseCore support
- Advancement gain deny message
- Update checking
- (HEX + ChatColor) Colors
- Explained config

Installation:
1. Download plugin
2. Stop your server
3. Put plugin in plugins folder
4. Start server
5. Configure worlds in config.yml
6. Properly reload config

Commands & Permissions:
- /bdreload - reload plugin - bd.reload

Cherry on the top:
If you find this useful i would be glad to see your review. <3

Bstats: https://bstats.org/signatures/bukkit/BadventsDisabler-remake.svg

Default config.yml | Just in case
#╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮
#╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯
#  ╭━━╮╭━━━╮
#  ┃╭╮┃╰╮╭╮┃  Plugin Version: ${project.version}
#  ┃╰╯╰╮┃┃┃┃  Author: DrivenByData-Studio (brihtakai)
#  ┃╭━╮┃┃┃┃┃  Version Compatibility: 1.13.x-1.21.x
#  ┃╰━╯┣╯╰╯┃  Supported Plugins: [MultiverseCore]
#  ╰━━━┻━━━╯
#╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮
#╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯
# This plugin will completely disable specific advancements in specific worlds and its rewards.
# If you need support or you want to report bug, you can find me on Discord by name 'brihtec'.
# I Would be glad if you take some time and review this plugin, so I can make it better in the future.
#╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮
#╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯
# Welcome to Badventdisabler-remake config. Here you can configure almost everything about this plugin.
# In messages, you can use ChatColor (example: &aThisIsGreen) and HEX colors (example: &#084CFBHEXCOLOR).
# No setting can be empty!
#╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮
#╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯
# ------------------------------- MAIN OPTIONS ---------------------------------
# Here you list names of the worlds you want to disable advancements in.
disabled-worlds:
  - lobby
  - hub

# Select the mode the plugin will operate on.
# You can choose between:
#- ALL - this will disable ALL advancements (default)
#- ALL-EXCEPT - this will disable ALL advancement EXCEPT these provided on list
#- ONLY-THESE - this will disable ONLY advancements provided on list
# (don't use colors + you can ignore case, it means you can type 'aLl' and it will still work)
mode: "ALL"

# ONLY IF YOU SELECTED ALL-EXCEPT MODE, THIS WILL BE READ:
# As example 'story/mine_diamond' you have to write advancement KEY not name.
# You can find list of keys here: https://minecraft.fandom.com/wiki/Advancement
# ...or you can use /advancement command in minecraft and use TAB complete to get keys.
all-except:
  - "story/mine_diamond"

# ONLY IF YOU SELECTED ONLY-THESE MODE, THIS WILL BE READ:
# As example 'story/mine_diamond' you have to write advancement KEY not name.
# You can find list of keys here: https://minecraft.fandom.com/wiki/Advancement
# ...or you can use /advancement command in minecraft and use TAB complete to get keys.
only-these:
  - "story/mine_diamond"

# ------------------------------------------------------------------------------
#╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮
#╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯
# ------------------------------- ALTER OPTIONS ---------------------------------
# Set this true or false. Will it check for updates and notify you, or not?
update-check: true

# Set this true or false. Will it send message when someone 'gets' advancement in disabled world?
enable-message-in-disabled-worlds: false
# ...then set the message that will be sent if true (btw this won't spam - it's on 5sec cooldown):
message-in-disabled-worlds: "&cYou are in disabled world, so you didn't get advancement."

# You can customize this messages:
# This will be sent when someone reloads the plugin (/bdreload)
reload-message: "&cSuccessfully reloaded and changed gamerules."
# This will be sent as a deny message to someone who doesn't have permission to execute reload command.
no-perm: "&4✖ No perm"
# ------------------------------------------------------------------------------
#╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮╭━━╮
#╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯╰━━╯
# My Ko-fi, just in case :)  |  https://ko-fi.com/brihtakai

Similar projects

Plugin →