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.

Blocking "/<tab>" in skript

Discussion in 'Skript' started by Adrihun, Apr 13, 2017.

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

    Adrihun Member

    Joined:
    Feb 1, 2017
    Messages:
    368
    Likes Received:
    6
    Is there a way to block the feature in Minecraft where if you type in chat "/" and then press tab. I want to disable this because people can see my plugins/commands. Also, i tried a lot of anti tab plugins, and if i try to do something like "/message <tab (to see players name)> " nothing will happen because it blocks every tab feature.
    How do make it only block "/<tab>"
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Use MundoSK's tab complete event and check the event-string to see if the string they're tab-completing just the slash, and if so cancel it (or if it doesn't let you cancel, just clear the completions).
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    This won't work becouse this is a chat complete event not a command complete event
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    @Mr_Simba
    Okay, so i Did this:

    Code (Skript):
    1. on chat tab complete:
    2.     clear completions
    No errors in console.
    When i go in game and do "/<tab>" it doesn't block it.
    How do i add this so it will block "/<tab>"
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Why not just go through your spigot.yml and change the value of tab-complete to 0?
     
    #5 ShaneBee, Apr 13, 2017
    Last edited by a moderator: Apr 13, 2017
    • Creative Creative x 1
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    It is at 0 and i can still tab complete
    --- Double Post Merged, Apr 13, 2017, Original Post Date: Apr 13, 2017 ---
    bump
    --- Double Post Merged, Apr 14, 2017 ---
    bump
     
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    @Adrihun

    Change the tab-complete of your spigot.yml to 1, not to 0.
    0 is default and activates that. (Don't ask me why 1, in binary it stands for activated lol)
     
    • Like Like x 1
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Alright, but i wish i could do in it Skript and only with the command "/" so in like /Message i can still tab people's names
     
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Are you op? You probably are.
     
  10. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Even if I'm OP how is it going to block /<tab> and not block /message <tab>
    --- Double Post Merged, Apr 17, 2017, Original Post Date: Apr 17, 2017 ---
    bump
     
  11. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Only bump every 24 hours.
     
    • Like Like x 2
  12. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
  13. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    [​IMG]
     
    • Funny Funny x 2
  14. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    [​IMG]
     
    • Funny Funny x 1
  15. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    [​IMG]
    --- Double Post Merged, Apr 19, 2017, Original Post Date: Apr 19, 2017 ---
    I'm sorry for all the moderators who have to delete those useless posts.
     
    • Like Like x 2
Thread Status:
Not open for further replies.
Loading...