Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Command Prefix

Open UnderscoreTud opened this issue 2 years ago • 3 comments

Description

This PR adds a prefix entry to the command structure making it possible to change the default "skript:" prefix to whatever the user wants. Example:

command /test:
    prefix: custom_prefix
    trigger:
        wait 1 tick

image


Target Minecraft Versions: any Requirements: Depends on Structure API (Must be merged first - see https://github.com/SkriptLang/Skript/pull/4108) Related Issues: Unless I missed it, I don't believe there are any (surprising honestly)

UnderscoreTud avatar Aug 12 '22 09:08 UnderscoreTud

Is this being pulled to the right branch? Seems like an awfully large diff of unrelated changes for command prefixes...

bluelhf avatar Aug 12 '22 10:08 bluelhf

It's probably pulled from structures PR, therefore it needs to wait for that PR so we don't see all these changed files

AyhamAl-Ali avatar Aug 12 '22 10:08 AyhamAl-Ali

At a quick glance of the actual changes, this looks pretty good. I'll do a proper review after Structure API is merged.

APickledWalrus avatar Aug 24 '22 14:08 APickledWalrus