Skip to content

Tab completion of /skript command doesn't work when you've typed a subdirectory #4666

Closed
@oskarkk

Description

@oskarkk

Skript/Server Version

[08:04:07 Server thread/INFO] [Skript] Server Version: git-Paper-"aab1f8a" (MC: 1.18.2)
[08:04:07 Server thread/INFO] [Skript] Skript Version: 2.6.1
[08:04:07 Server thread/INFO] [Skript] Installed Skript Addons:
[08:04:07 Server thread/INFO] [Skript]  - skript-placeholders v1.5.2 (https://github.com/APickledWalrus/skript-placeholders)
[08:04:07 Server thread/INFO] [Skript]  - skript-yaml v1.4
[08:04:07 Server thread/INFO] [Skript]  - skDragon v0.18
[08:04:07 Server thread/INFO] [Skript]  - SkBee v1.15.1 (https://github.com/ShaneBeee/SkBee)
[08:04:07 Server thread/INFO] [Skript]  - FunkySk v1.0.2
[08:04:07 Server thread/INFO] [Skript] Installed dependencies:
[08:04:07 Server thread/INFO] [Skript]  - Vault v1.7.3-b131
[08:04:07 Server thread/INFO] [Skript]  - WorldGuard v7.0.7+216b061

Bug Description

Tab completion introduced in #3916 shows scripts in subdirectories, but only when you haven't typed anything after e.g. /sk reload.

Expected Behavior

Showing scripts in subfolders.

Steps to Reproduce

Place script in any subfolder e.g. /folder/test.sk , and try writing /sk reload /fol or /sk reload fol or /sk reload folder/ or /sk reload /folder/. No scripts from a folder will appear after you wrote the first character after /sk reload

Errors or Screenshots

image

image

image

image

image

image

image

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    completedThe issue has been fully resolved and the change will be in the next Skript update.enhancementFeature request, an issue about something that could be improved, or a PR improving something.priority: lowest"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions