Allow MCFunction to be ran using trigger
enhancementgood first issuepriority-low
Add an option to `MCFunction` to allow non OP users to execute it. As of now, you need to create your own `trigger` scoreboard.
Example syntax:
```ts
MCFunction(
'hello_world',
() => say('Hello world!'),
{ trigger: 'trigger_name' },
);
```
1 条评论