Sueta

★HideSyntax★ Hide bukkit:help syntax and suggested commands

2018-12-12

(Doesn't block commands yet!) hides 1.13 suggested commands and prevents the plugin:command format.

·Plugin

Welcome to HideSyntax
NOTE: This plugin doesn't block commands yet.
It only blocks the /plugin:command syntax and commands that are added to the blockedCommands list in the config to the new 1.13 suggested commands.
I'll add this in a future update.

This plugin blocks the /plugin:command syntax (e.g. /bukkit:help, /bukkit:?, etc), and also the new 1.13 suggested commands feature.

Add commands to the blockedCommands in the configuration to hide suggested commands and block the hidden syntax.


Commands

  • /hidesyntax [reload] View plugin info or reload the config.
    • Aliases: syntax, hs

Permissions
All are given to operators by default.

hidesyntax.*: all permissions for hidesyntax
hidesyntax.bypass: Bypass the plugin's protection
hidesyntax.reload: /hidesyntax reload

Planned Features

  • Block commands (working on it)
  • Suggest me some more features :)



Servers using HideSyntax
None at the moment :c
If you use HideSyntax, shoot me a message!



Config

#THIS PLUGIN DOES NOT BLOCK COMMANDS YET. -- In syntaxMessage and blockedCommand, you can use placeholders %command%, %player% and %displayname%.
messages:
syntaxMessage: '&8[&6&lHideSyntax&8] &f%displayname%&f, you can''t use the format &6''/plugin:command''&f (&6%command%&f)!'
reloadingConfig: '&8[&6&lHideSyntax&8] &fReloading configuration...'
reloadConfigSuccess: '&8[&6&lHideSyntax&8] &fConfiguration reloaded.'
usage: '&8[&6&lHideSyntax&8] &fUsage: &6/%command% reload'
noPermission: '&8[&6&lHideSyntax&8] &fYou don''t have permission for this.'
options:
hideSyntax: true
hideSuggested: true
blockedcommands:
- help
- bukkit:help
- '?'
- bukkit:?
- pl
- plugins
- bukkit:pl
- bukkit:plugins
- about
- bukkit:about
- version
- bukkit:version
- ver
- bukkit:ver
- icanhasbukkit
- bukkit:icanhasbukkit



Other
Thanks for using my plugin!
I'm new to developing plugins, so please factor this in if you have something bad to say in the reviews.

I greatly appreciate constructive criticism and great reviews.

Please suggest me new ideas towards the plugin and I hope to implement them.
If you have a bad review for the plugin, please talk to me in the discussion and we can sort things out.
Do not decompile this plugin or claim this as your own.
You may post this at other sites as long as the download links back here and I take all credit for the resource.

Similar projects

Plugin →