LuckPerms

LuckPerms

41.4k Downloads

Commands.yml Issue

JessePesse123 opened this issue ยท 6 comments

commented

Hello,

I tried to make a custom command/alias: '/mpetgive (player) (permission of the pet' wich outputs 2 things:

  • A luckpermscommand wich gives the permission for the pet
  • A broadcastcommand wich broadcasts that the player has won a pet.
    This is the output in chat:
    2020-08-26_13 52 45

This is our command.yml configuration:

mpetgive:
  - luckperms:lp user $$1 permission set $$2 true server=global
  - broadcast &f$$1 won een &ampet &fIn zijn/haar crate!

Thank you already!

commented

Issue context here (LP discord server).
Possibly related to this (again LP discord server)? If so (which is probable since command blocks/command.yml parse the command through CommandNode#parse before executing), commodore/the commodore file parser could accept a token for end points/execution points to allow things like this.

commented

Please try using LuckPerms 5.1.98 or newer, and set register-command-list-data to false in the LP config.yml.

commented

Just add

register-command-list-data: false

to the bottom of the file :)

commented

I'm on 5.1.98 and can't find register-command-list-data in the config.yml?

commented

It worked, thanks!

commented

Great!