1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Tab completer disables all completions, no parsing errors

Discussion in 'Skript' started by Weber, Feb 14, 2018.

Thread Status:
Not open for further replies.
  1. Weber

    Weber Member

    Joined:
    Jan 31, 2018
    Messages:
    5
    Likes Received:
    0
    My code:
    Code (Skript):
    1. on tab completer for "/f":
    2.     if argument at 1 is not set:
    3.         add "list" to suggestions
    4.         add "tp" to suggestions
    5.         add "seen" to suggestions
    6.         add "online" to suggestions
    7.         add "add" to suggestions
    8.         add "remove" to suggestions
    9.         add "requests" to suggestions
    10.         add "accept" to suggestions
    11.         add "deny" to suggestions
    12.         add "tptoggle" to suggestions
    13.         add "silent" to suggestions
    14.         add "settings" to suggestions
    I get no parsing errors.

    I am trying to add a simple list of suggestions to the command /f. Instead, tab completions become impossible with the command, regardless of whether or not arg 1 is set.

    I have already attempted removing the if condition, and using other aliases of the command. I have also used "completions" instead of "suggestions" to no avail.

    The only addon I have is SkQuery. Skript version is 2.2-dev29 (updating breaks all functionality) and SkQuery version is 3.6.0-Lime. Server version is 1.12 running Spigot

    Please do not suggest other addons to use instead, I appreciate it but I am not able to add any at this time.

    Thanks in advance!
     
  2. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    126
    Medals:
    skquery tab complete sucks, and the addon hasn't been maintained (by it's original creator) in 4 years. You aren't going to get any support for the issue if it's a bug. Why can't you use other addons?
     
  3. hakeem_j

    hakeem_j Active Member

    Joined:
    Aug 17, 2017
    Messages:
    39
    Likes Received:
    1
    like mundosk
     
  4. noftaly

    noftaly Member

    Joined:
    Feb 19, 2017
    Messages:
    13
    Likes Received:
    0
    I had this problem, with completitions with SkQuery. I asked LimeGlass if it was a bug, and he answered me that it wasn’t... Tab completitions only works with Bukkit’s commands...
     
  5. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    126
    Medals:
    not completely true -- skript uses reflection to register bukkit commands at runtime. You can always use packets or skript-mirror to accomplish any tab completion anyways
     
    • Agree Agree x 1
  6. Weber

    Weber Member

    Joined:
    Jan 31, 2018
    Messages:
    5
    Likes Received:
    0
    Oh, I see, thank you. I don't own the server on which I use skript, I have ftp access to limited sections and am kind of stuck with what I have. I can request new plugins (though it may take a while, and is not preferable), but I wrote that mainly so people would try to help the issue itself.

    I've seen people reply to threads before without helping and simply saying that A is better than B because reason, even if there was a legitimate solution without getting new stuff.

    Apologies if I came across as rude!
     
Thread Status:
Not open for further replies.
Loading...