Blocking "/<tab>" in skript

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

Adrihun

Member
Feb 1, 2017
368
6
0
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>"
 
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).
 
@Mr_Simba
Okay, so i Did this:

code_language.skript:
on chat tab complete:
    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>"
 
Why not just go through your spigot.yml and change the value of tab-complete to 0?
 
Last edited by a moderator:
Why not just go to your spigot.yml and change the value of tab-complete to 0?
It is at 0 and i can still tab complete
[doublepost=1492106804,1492097341][/doublepost]bump
[doublepost=1492201488][/doublepost]bump
 
Why not just go through your spigot.yml and change the value of tab-complete to 0?
@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
Reactions: Adrihun
@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)
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
 
banana-crop.jpg
 
Status
Not open for further replies.