#Commands for op doesnt work?
1 messages · Page 1 of 1 (latest)
command permission levels got refactored recently, and the fabric wiki is outdated
you can use the docs instead https://docs.fabricmc.net/develop/commands/basics#command-requirements , note that these are written in mojmaps (for 1.21.10 and .11) so youll have to use a tool like !!linkie or !!mappingsdev to translate
i would recommend migrating to mojang mappings tho, as yarn wont exist starting from 26.1
i see thank you im currently still using yarn cuz there was... more documentation on it and its a bit easier to develop
they recently redid the articles on the documentation to be in mojmaps, so thats always a good idea to keep in mind, and a new reason to switch soon
.requires(source -> source.permissions().hasPermission(Permissions.COMMANDS_ADMIN))
replace Permission with your preferred permission
its annoying but its honestly better than arbitrary 1-4 🤷
-# 0-4