Sueta

Pluginz - Legit Plugins | Hide Plugins | Block Commands

0.6

Hide / Replace your plugins with custom names, and block commands

·Plugin

Pluginz - Legit Plugins

A simple plugin to define your own plugins to be displayed to players when they use the command /plugins, and /pl command. Also prevent access to the global /? command. Additional you can block commands from any plugin.

2017-03-27_11.43.43.png

Permissions

  • pluginz.allow - Allow players to bypass Pluginz protection
  • pluginz.allow.<CMD_NAME> - Allow bypassing of a certain blocked command or plugin command. Note: Some command names will not work as permission nodes such as bukkit:? commands, or other commands with invalid YAML characters.
  • pluginz.mod - Allow adding/removing plugins from the Legit Pluginz list.

Commands

/pluginz (or just /pz)

  • reload - Reload the configuration.
  • add - Add a block type to the protected list.
    • PLUGIN_NAME
  • remove - Remove a block type from the protected list
    • PLUGIN_NAME
  • list - List all current Legit Pluginz
  • addcmd - Add new blocked command
    • CMD_NAME
  • removecmd - Remove a blocked command
  • listcmd - List all blocked commands.

Example Commands

/pz add MyPlugin
/pz reload
/pz remove MyPlugin
/pz reload
/pz add -MyDisabledPlugin
/pz reload
/pz list

/pz addcmd fly
/pz reload
/pz removecmd fly
/pz reload
/pz listcmd

Example Configuration
Adding a - before a plugin would mark it as "disabled". Legitly, of course...

# My List of "Legit" Plugins
pluginz:
- LegitPlugin
- LegitPluginPlus
- -LegitDisabledPlugin
# Plugin Commnads
# Command which should serve the Pluginz list instead
plugin-commands:
- pl
- plugins
- 'bukkit:pl'
- 'bukkit:plugins'
# Commands which cannot be used
blocked-commands:
- icanhasbukkit
- ver
- version
- '?'
- 'bukkit:ver'
- 'bukkit:version'
- 'bukkit:?'
- 'bukkit:help'
- 'bukkit:about'
- about
- eabout
- help
- ehelp
# Local
local:
  cmd-added: '&2Added &r{NAME}&2 to the blocked command list.'
  cmd-does-not-exist: '&cThe command &r{NAME}&c does not exist in the blocked command list!'
  cmd-exists: '&cCommand &r{NAME}&c is already in blocked commands list!'
  cmd-invlaid: '&cInvalid or null command name!'
  cmd-removed: '&2Removed &r{NAME}&2 from the blocked commands list.'
  cmds-prefix: 'Blocked Commands'
  no-permission: '&cYou do not have permission to use this command.'
  not-enough-args: '&cNot enough arguments supplied.'
  plugin-added: '&2Added &r{NAME}&2 to the Pluginz list.'
  plugin-does-not-exists: '&cThe plugin &r{NAME}&c does not exist in the Pluginz list!'
  plugin-exists: '&cPlugin &r{NAME}&c already in Pluginz list!'
  plugin-invalid: '&cInvalid or null plugin name!'
  plugin-pefix: 'Plugins'
  plugin-reloaded: '&2Pluginz configuration reloaded.'
  plugin-removed: '&2Removed &r{NAME}&2 from the Pluginz list.'

Similar projects

Plugin →