diff --git a/plugin.yml b/plugin.yml index 8a795d7..6a9d601 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,12 +1,17 @@ #name, main, version and api are required -name: MyHeroMobs -main: Core.MyHeroMain +name: MyHeroItems +main: Core.MyHeroMain_Items version: "0.1" api: ["1.0.5"] author: WindSkill -description: Plugin MyHero Mobs for Nukkit -depend: [MobPlugin,MyHeroItems] +description: Plugin MyHero Items for Nukkit commands: - MyHeroMobs: - description: MyHero Mobs - aliases: [mhm] \ No newline at end of file + MyHeroItems: + description: MyHero Items + aliases: [mhi] + permission: MyHeroItems.admin + permission-message: "You do not have the required permission to run /mhi" +permissions: + MyHeroItems.admin: + description: "Allows the user to run the admin commands" + default: false