Changes a setting on the dedicated server (BDS) while it's running.\Can be executed only on BDS console.
# Syntax
/advancement grant <targets> <everything¦from¦only¦through¦until> [advancementID]
# Argument
targets
- targets is the name of a player (or a target selector).
# Example
To remove all diamond swords that are enchanted with Sharpness V (only level 5 of this enchantment) from DigMinecraft's inventory:
/clear DigMinecraft diamond_sword{ench:[{id:16}]}