Serilum / .issue-tracker

Tracks all issues for Serilum's Minecraft mods on CurseForge and Modrinth.
https://serilum.com/
156 stars 40 forks source link

Allow Command Blocks to use Starterkit Commands #2406

Closed JaklMUSIC closed 4 months ago

JaklMUSIC commented 5 months ago

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.

ricksouth commented 4 months ago

image

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

JaklMUSIC commented 4 months ago

No sir, in my testing I could not get a command block to give starter kits. A command that works in text & console doesn't work in the command block. I do have command blocks enabled, and the server properties permission level is unmodified (if that matters).

On Tue, Jun 25, 2024, 6:05 AM Rick South @.***> wrote:

image.png (view on web) https://github.com/Serilum/.issue-tracker/assets/38502394/81c62f1a-b86e-4c31-9303-9a2f4dd6b281

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

— Reply to this email directly, view it on GitHub https://github.com/Serilum/.issue-tracker/issues/2406#issuecomment-2188496777, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4QQTKGWIUNEKVG7QGFHITZJE6HNAVCNFSM6AAAAABIUTXTQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGQ4TMNZXG4 . You are receiving this because you authored the thread.Message ID: @.***>

James103 commented 4 months ago

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 ~?

JaklMUSIC commented 4 months ago

command block output

ricksouth commented 4 months ago

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 command (the 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 :)

ricksouth commented 4 months ago

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