Areas (Forge)

Areas (Forge)

890k Downloads

Allow Command Blocks to use Starterkit Commands

JaklMUSIC opened this issue · 6 comments

commented

Information

Minecraft version: 1.19.2
Modloader: Forge / Fabric

Mod name: Starterkits

Feature description

I'm trying to setup a system that rewards players for completing various challenges with starterkits, and automate the entire process with command blocks. SK commands have a higher permission level than that of command blocks, so I cannot achieve this. Is there a 4 that I can change into a 2 somewhere, or would this feature need to be implemented as a "allow command block SK usage=true" config option?

Thanks for your time.

commented

image

StarterKit already checks for permission level 2, so this should be possible. Is that not the case?

commented

What do you get when you run the starter kit command inside a command block, then stand on top of said command block and run /data get block ~ ~-1 ~?

commented
commented

command block output

commented

I have found the issue, and will upload an update in the next couple of minutes. While the permission was set to 2, the commands were only working for Players.

I've also added the /sk info <kit_name> <player_> command (the <player_> part is extra). So you can show info when clicking a button:
2024-06-25_17 32 36

Thought that might be nice as well :)

commented

I've just uploaded version 7.0 of Starter Kit, which will allow you to use Command Blocks. I don't use them that often, so please let me know if any issues persists. Appreciate you opening the issue and giving the mod a try!

https://curseforge.com/minecraft/mc-mods/starter-kit/files