SpigotMC / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
https://www.spigotmc.org/go/bungeecord
Other
1.57k stars 1.1k forks source link

How to disable tab complete in bungeecord!!! #2832

Open terencekam opened 4 years ago

terencekam commented 4 years ago

I want to disable all the bungeecord tab complete on all sub servers.But i cant find any free plugin can do for this.Anyone have solutions?

chuushi commented 4 years ago

Did you check the bungeecord configuration file?

inject_commands: true

or deny the permission node for the commands you don't want people to use

MrIvanPlays commented 4 years ago

Did you check the bungeecord configuration file?

inject_commands: true

or deny the permission node for the commands you don't want people to use

inject-commands was removed around 1 year ago. Update and dont stay on old versions.

chuushi commented 4 years ago

Oh, I thought it was still around. My mistake

I haven't touched BungeeCord in a while, so I didn't know 😅

Mystiflow commented 4 years ago

It could be quite cool to put what Spigot has done in Bungee

From Spigot Wiki :

0 will tab-complete all commands -1 will disable tab completely 1 will mean you have to type the first letter 2 will mean you have to type the second letter... etc..


Alternatively make a plugin and just cancel TabCompleteEvent

terencekam commented 4 years ago

It could be quite cool to put what Spigot has done in Bungee

From Spigot Wiki :

0 will tab-complete all commands -1 will disable tab completely 1 will mean you have to type the first letter 2 will mean you have to type the second letter... etc..

Alternatively make a plugin and just cancel TabCompleteEvent

But how to cancel?I have no idea on java lang

MrIvanPlays commented 4 years ago

It could be quite cool to put what Spigot has done in Bungee From Spigot Wiki :

0 will tab-complete all commands -1 will disable tab completely 1 will mean you have to type the first letter 2 will mean you have to type the second letter... etc..

Alternatively make a plugin and just cancel TabCompleteEvent

But how to cancel?I have no idea on java lang

then learn java and bungee api

fjeddy commented 4 years ago

@terencekam Why is this closed? It's an annoying issue, Bungeecord shows all commands, for all Bungeecord plugins even if you have no permission to the plugin in question.

Find it odd how poorly Bungeecord is designed, little to no effort put into it, yet, the entire concept is so small that it really doesn't make sense to do things half-assed.

md-5 commented 4 years ago

Bungeecord shows all commands, for all Bungeecord plugins even if you have no permission to the plugin in question.

No it doesn't, it respects permissions defined in the command. If a plugin is using code to check for permissions rather than putting them in the command, that's an issue with the plugin and not something bungee can solve.

terencekam commented 4 years ago

Well, i found a plugin which can make a disable tab complete on bc but arrr... premium plugin. @fjeddy And I ask for md_5 for many times on this suggestion but still he keep the same reply...no

terencekam commented 4 years ago

@md-5 we just need a very simple thing .If that guy have perms then he have that kind of tab complete

terencekam commented 4 years ago

the issue will reopen

ShazadSkriptREPO commented 3 years ago

same problem here

xmorose commented 3 years ago

afaik this is still an issue right? Denying permissions doesnt help apparently, ServerListPlus, fairly popular plugin, shows up anyways, also the /bungee command doesnt go away. No idea how to get those invisible.

Janmm14 commented 3 years ago

@xmorose Then ServerListPlus has to update.

And that /bungee shows up is intended, it is meant to be visible for everyone as it has no permission.

xmorose commented 3 years ago

And theres nothing you can do about /bungee etc.?

Its kind of annoying. I let people see tabcompletion for the most important commands, such as /sell, /spawn and so on, they are all manually enabled, everything else is filtered out. (By this: https://www.spigotmc.org/resources/tabcompletefilter-filter-commands.75208/)

Everything except bungee commands. Bungeecommands and the commands i set up are the only ones visible, super annoying and confusing for players lol. The dev of "TabCompleteFilter" doesnt know how to block bungee commands, so now this is kind of a shit situation. Only thing i can do there is either leave it alone, which isnt really an option for me, or just remove bungee in general

fjeddy commented 3 years ago

Bungeecord shows all commands, for all Bungeecord plugins even if you have no permission to the plugin in question.

No it doesn't, it respects permissions defined in the command. If a plugin is using code to check for permissions rather than putting them in the command, that's an issue with the plugin and not something bungee can solve.

Bungee can solve it easily, you just can't be bothered... There is a huge difference.

ciscolovee commented 3 years ago

can someonne help us !

Janmm14 commented 3 years ago

can someonne help us !

Do not use github issues as general chat. Use https://spigotmc.org forums to recieve help.

NickvdMeij commented 2 years ago

https://www.spigotmc.org/threads/how-to-disable-command-suggestions.547676/ posted on spigotmc forum. Hopefully someone there will be more helpful...

Pitoria commented 2 years ago

Hello if you just want to block the /bungee command there is an option called disabled_commands: there you simply write the command you want to disable,