Hello I know all of you server owners get one player who asks what plugin's you have. But some are clever enough to know that you can do /pl or /? to find out some of them. What this plugin will do is block /pl and /? unless you are op. There is no permissions. Only being op gives you these commands. Im hoping this isnt very hard to do so can someone take the request? Thanks!
andrewginn There's no need for such a plugin (although they do exist). Simply negate the correct permission from the player - see http://wiki.bukkit.org/CraftBukkit_Commands
Done it as it seems like no one has already. Download: https://www.dropbox.com/s/f9o6cali5h4ty3l/NoPlugins.jar?dl=1 Permissions: noplugins.bypass (Allows use of /pl, /plugins and /?) (Default: OP)
RW_Craft Well, in fact there are about a trillion plugins which can do this. http://dev.bukkit.org/bukkit-plugins/no-plugin-list/ http://dev.bukkit.org/bukkit-plugins/noplugins/ http://dev.bukkit.org/bukkit-plugins/nopl/ http://dev.bukkit.org/bukkit-plugins/aps/ http://dev.bukkit.org/bukkit-plugins/plugincontrol/ http://dev.bukkit.org/bukkit-plugins/antiplugin/ http://dev.bukkit.org/bukkit-plugins/nospymyplugins/ http://dev.bukkit.org/bukkit-plugins/custompluginlist/ http://dev.bukkit.org/bukkit-plugins/pluginshider/ http://dev.bukkit.org/bukkit-plugins/pluginfake/ http://dev.bukkit.org/bukkit-plugins/nopl-plfake/ http://dev.bukkit.org/bukkit-plugins/nopluginview/ http://dev.bukkit.org/bukkit-plugins/no-plugin/ http://dev.bukkit.org/bukkit-plugins/antiseeplugins/ http://dev.bukkit.org/bukkit-plugins/antispyplugins/ http://dev.bukkit.org/bukkit-plugins/nopluginplus/ http://dev.bukkit.org/bukkit-plugins/pluginhiderplusultra/ http://dev.bukkit.org/bukkit-plugins/invisibleplugins/ http://dev.bukkit.org/bukkit-plugins/nopluginstealers/ http://dev.bukkit.org/bukkit-plugins/pluginsblocker/ http://dev.bukkit.org/bukkit-plugins/pluginspyblock/ http://dev.bukkit.org/bukkit-plugins/custompl/ http://dev.bukkit.org/bukkit-plugins/globalblockplugins/ http://dev.bukkit.org/bukkit-plugins/pluginhider/ http://dev.bukkit.org/bukkit-plugins/pluginlist/ http://dev.bukkit.org/bukkit-plugins/plmsg/ http://dev.bukkit.org/bukkit-plugins/gcpluginhider/ http://dev.bukkit.org/bukkit-plugins/pluginthief/ (Those are not even all of them) But I think there are more than enough Plugins like that already available.
Aww, there's me thinking my list habit was catching on and then you go and do that - you knowingly give up before you have them all I am disappointed! RW_Craft Few problems I noticed with your plugin: 1. For some reason I can't do /players anymore. This was a very key command to my plugin and now it doesn't work at all Any ideas why that might be? 2. I do /bukkit: plugins (without the space - added to prevent "" appearing) and I can see the plugins, why is this? ( InkzzzMC this applies to your plugin too) And last but certainly not least: 3. Plugin does not function at all. AsyncPlayerChatEvent doesn't fire for commands. I seriously cannot stress enough the folly of these such plugins. They seem easy to make, and jealously guarding what plugins a server has is an extremely common habit for server owners for some reason, so these types of plugins are everywhere. If you dispute that, just see the list above my post. It's ridiculous not just how many of these we have, but how many of them don't work fully as intended. Some do not even function at all. I really hope that this will be the last time I ever say this, but I know that it won't be unless I choose to stop giving such advice: To block the /plugins command (or any command made by a competent developer), negate the correct permission node.
bwfcwalshy You should probably look more into that - I got an NPE from your plugin (by the looks of it from an attempt to block problem 2 I mentioned) CC: JordyPwner
@AdamQpzm 1. Because I blocked commands starting with /pl, so people cant do /pl <Text> and still see the plugins, because you can do that. 2. Forgot to block /bukkit: plugins 3. It works for me
@RW_Craft No need to check if it starts with /pl Simply check whether its equal to /pl or check if it contains a space ans then split the string using the regex " ". The first element in the array is your command then.
Are you sure? I remember testing it, and it didn't. No need for the contains check - splitting by space when it doesn't contain one will result in the whole String as the first and only index in the return array anyway, which is all one cares about in this case
@RW_Craft ... You can have multiple if statements in your Code. Just split the String and check whether its first element equals /pl or /plugins or /bukkit: plugins etc...