Hello, not sure if this is a bug or not, but for some reason, commands don't execute for non-OP players when triggered via IA events. Here's the configuration of the block used to trigger the event:
info:
namespace: testserv
items:
testium_block:
nbt: "{display:{Name:'{\"italic\":false,\"translate\":\"item.testserv.block_of_testium\"}'}}"
#display_name: Block of Testium
permission: testserv
resource:
generate: true
material: PAPER
textures:
- block/testium_block.png
events:
placed_block:
interact:
execute_commands:
cmd1:
command: 'help'
as_console: false
delay: 0
specific_properties:
block:
placed_model:
type: REAL_NOTE
break_particles: BLOCK
rotx: 0
roty: 0
break_tools_whitelist:
- DIAMOND_PICKAXE
- NETHERITE_PICKAXE
hardness: 5
blast_resistance: 6
sound:
break:
name: BLOCK_STONE_BREAK
place:
name: BLOCK_STONE_PLACE
For some reason, OP players will see the help menu in chat, while nothing will happen for non-OP players when the event is performed (no errors in the console, no feedback in chat either). I'm not sure if there's some extra permissions or something I need to set up so this would work for non-OP players.
Thanks!