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 out 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,183
    Likes Received:
    234
    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,183
    Likes Received:
    234
    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,183
    Likes Received:
    234
    @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,183
    Likes Received:
    234
    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
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    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,183
    Likes Received:
    234
    @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)
     
    Adrihun likes this.
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    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,183
    Likes Received:
    234
    Are you op? You probably are.
     
  10. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    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,183
    Likes Received:
    234
    Only bump every 24 hours.
     
    KingAlterIV and HiiqhFive like this.
  12. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
  13. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
  14. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
  15. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    [​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.
     
    KingAlterIV and HiiqhFive like this.
Thread Status:
Not open for further replies.

Share This Page

Loading...