How to block /<tab>?

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

blackid512

Member
May 8, 2017
23
0
1
22
I want to block /tab, but my server is using 1.8, so MundoSK isn't compatible with the server.
When I change my server to 1.8, Some addons can't used too.
code_language.skript:
options:
    blocked-commands: "/bukkit", "/version" and "/plugins"

on packet:
    if event-string is "PacketPlayInTabComplete":
        if "%packet field ""a""%" is {@blocked-commands}:
            cancel event
The syntax I found from @ShaneBee
I dont know what is the packet field & how to use that syntax.
 
I want to block /tab, but my server is using 1.8, so MundoSK isn't compatible with the server.
When I change my server to 1.8, Some addons can't used too.
code_language.skript:
options:
    blocked-commands: "/bukkit", "/version" and "/plugins"

on packet:
    if event-string is "PacketPlayInTabComplete":
        if "%packet field ""a""%" is {@blocked-commands}:
            cancel event
The syntax I found from @ShaneBee
I dont know what is the packet field & how to use that syntax.
code_language.skript:
on tab complete:
    cancel event
 
Status
Not open for further replies.