Closed wu-vincent closed 5 months ago
The vanilla command can now be disabled by using Permissible::addAttachment. For instance, to disable the /me command with the Python API, add an attachment to the permission node of the command with False as its value:
Permissible::addAttachment
/me
False
player.add_attachment(plugin, "minecraft.command.me", False)
The vanilla command can now be disabled by using
Permissible::addAttachment
. For instance, to disable the/me
command with the Python API, add an attachment to the permission node of the command withFalse
as its value: