Permission commands

Discussion in 'Plugin Requests' started by dvargas135, Dec 8, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    dvargas135

    Plugin category: Admin Tools

    Suggested name: PermsCommand

    What I want: I want a plugin that controls commands by permission, like if you dont have /god command from essentials display a custom message for no permission, I want the same message for all the plugin commands.

    Many plugins have their no permission message, like essentials or worldedit. I want a plugin that overrides that, and having the option for customizing the message.

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: PermsCommand.getMsg - Get the customized message if the player doesnt have permission to execute the command.

    When I'd like it by: About one week
     
  2. Offline

    timtower Administrator Administrator Moderator

    dvargas135 MessageFilter can replace messages.
    And NoPermsMessage in my signature link, pain in the ass to configure though, takes loads of time.
     
  3. Offline

    dvargas135


    Thanks!

    But those plugins need commands to be added; I want a plugin that overrides all no-permission-commands and set a custom message.
     
  4. Offline

    timtower Administrator Administrator Moderator

    dvargas135 There is no way to magically recognize no permission messages
     
  5. Offline

    dvargas135

    @timtower But there should be an easier way to..
     
  6. Offline

    timtower Administrator Administrator Moderator

  7. Offline

    dvargas135

  8. Offline

    dvargas135

    @timtower Could you please tell me an example of how to use your plugin with MessageFilter? Like a rule example but with your plugin.

    Here's one:

    antispam00:
    type: START
    message-mask: 'Youcanonlywriteevery'
    replace-to: '&bМожнописатьтолькоодинразв&e%word6%&bсекунд!'
    cooldown-time: ''

    I just add nopermsmessage:
    type: ....
    ... ?

    Ok nevermind, I figured out how to replace the words, with this understood, I don't understand why do I need your plugin, I can just leave MessageFilter

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Dec 13, 2014
  9. Offline

    timtower Administrator Administrator Moderator

    @dvargas135 I also never said that you needed both at the same time.
     
Thread Status:
Not open for further replies.

Share This Page