TabCommandHider
TabCommandHider
What it does
Sometimes you want to hide a command so that your players do not know that you are using that command. Not all commands can be hidden from the tab complete list simply by having players not have the permission to use that command (and even sometimes you would want the player to have the permission but not know the command). Using this plugin, commands that are listed in the config will not appear in tab complete. This plugin requires ProtocolLib.
Config
Path | Type | Use |
---|---|---|
hiddencommands* | List | Commands listed here (without the "/") will not appear in tab complete lists for commands |
showalias | List | Commands that wouldn't normally appear that is listed will appear |
update-type | String | How the plugin would check for updates. (see below) |
*If "all" is included as the first command in the list, then nothing will appear in tab complete.
Update Types
- notify (default) - will only nodify players with permission bpot.update of updates if one is available.
- auto - will automatically download an update and notify players to reload.
- none - no update checking
Permissions
Permission | Use |
---|---|
tab.commands | Exempt from command hiding |
tab.update | Notifies of plugin updates |
Source Code
Suggestions
If you have any suggestions, leave them in the comments.
Statistics
This plugin uses Metrics. It collects system information, player count, server and plugin version information and sends it to mcstats.org. If you don't want this information to be sent, go to plugins/PluginMetrics/config.yml and set opt-out to true.
Very nice plugin! Working well. GitHub not working.
I like this plugin! Can I ask you why I can change not only tab commnads for "/", but for "/help", for example. Because if you write "/help" + Tab, you will see not the same commands than in "/"+ tab. Thanks
I like this plugin, it simplifies, and often prevents TAB'ing from choosing wrong commands, or displaying unnecessary information, even when working with * permission (unless you exempt yourself); but still allow tabbing usernames.
Hey,
you once again did a great job. Thanks for that!
I didn't think of it yesterday, but if you have time, would be aweseome it you could implement:
Hey,
anything is working fine. But I have a wish:
If I set hiddencommands to all, the commands defined in showalias are also invisible. Could you please fix that?
[code]
hiddencommands:
- all
showalias:
- help
- back
[code]
@ThoLav
I'll work on that next.
@ct63960
Great! Works!
Thanks.
Did you also take a look, to get showalias entries in alphabetical order and not at the end of list?
@ThoLav
Done
Hi,
I'm getting this error. Think this is because cb 1.7.2 changed way to handle packets.
TabCommandHider v1.0.2
CraftBukkit version git-Bukkit-1.6.4-R2.0-49-g5a2dda2-b2957jnks (MC: 1.7.2)
ProtocolLib-3.0.2 http://assets.comphenix.net/job/ProtocolLib/179/
http://pastebin.com/p229fE2F
@ct63960
Hi,
yes, that's what I meant.
@ThoLav
So in alphabetical order?
Hi,
i created an alias called: colour, it's shown at the end of TABList. It looks like:
/afk, /back, /challenges, /island, ..., ..., /spawn, /warp, colour
and i woud like when it's displayed like:
/afk, /back, /challenges, /colour , /island, ..., ..., spawn, warp
@ThoLav
Can you explain "sorted list?"
Hi ct63960,
thanks for the great work. I love your plugin!
I added my aliases and they are now shown at the end of TAB list. It would be nice to get an sorted list, pressing TAB, but if that's impossible, I could live with.
It would be nice to have the possibility to reload.
The link is not yet shown in files, but here it is: Link Removed
@ct63960
Hi,
many thanks for that, that's awesomel. I can't wair for it. ;)
You're cool!
@ThoLav
This plugin is to hide commands that you don't want showing, but that is a great idea and it will be included in the next update. :)
@ct63960
Hi,
they aren't shown, wether this plugin is installed or not installed.
@ThoLav
Do these aliases show up normally if this plugin isn't installed?
@ct63960
Hi,
I know what it's for. I understood that it hide /mvspan and /homelist. But i created some aliases for example /spawn and /homes, which should be shown in the list. /spawn is an alias for /mvspawn because most players know /spawn instead of /mvspan.
The aliases are working flawless, but they are not shown in the list.
@ThoLav
Actually, it doesn't hide each commands. Instead it hides the strings that are listed. This means that if you can hide /plugins, but that won't hide /pl.