Custom Message permission

Discussion in 'Archived: Plugin Requests' started by atilano1, Nov 16, 2013.

  1. Offline

    atilano1

    Name: Permission Messages
    Command: No commands
    Permission No permissions
    Function: In config.yml Had various commands, eg / tpa If the player does not have permission plugin that provides the / tpa appear a message configured in config.yml for example. The player type / tpa alone. if he does not have the permission plugin provides information message appear.

    If there is this plugin please post in the comments.. Thank you
     
  2. Online

    timtower Administrator Administrator Moderator

    atilano1 This is only possible if you change all of the plugins where you want to change permissions, the permission message is determined in the plugin
     
  3. timtower
    Actually, no. He can use Skript.

    If he does use skript though, he will have the most fun of his life, repeating the same exact thing for every single command on the server! :D

    Skript us an "on command" event which can extend to "on command /say timtower is wrong:". He can then use the conditional statement "player has permission "this.is.an.example.permission":". If the player does have the permission, he can use a "expression" or "effect" from Skript. If the player does not have the permission, he can use the "else:" to end the conditional statement, followed by a "send "You don't have permission!" to player" and a "cancel event".

    It is possible without modifying the plugin, it is just a job that no man wants to do! :D

    In case you want to see this in an actual script...
    Code:
    on command /say timtower is wrong"
            player has permission "this.is.a.fake.permission":
            else:
                    send "You don't have permission!" to player
                    cancel event
    
    I just don't think he wants to do that for every single command on his server ;)
     
  4. Online

    timtower Administrator Administrator Moderator

    Da_Pepsi_Monster I was just aiming for performing commands without using alias plugins
     

Share This Page