Notify When A Certain Player Joins

Discussion in 'Archived: Plugin Requests' started by chaseoes, Mar 4, 2012.

  1. Offline

    chaseoes

    I would like a plugin that notifies everyone with a certain permission node when a certain player joins with a configurable message.

    Basically, there would be a file where we list the usernames of people (in the format of each username on a new line), and everyone with a permission node (pluginname.notify), would see a message when any of those players join. The message that they see should be configurable in a config, and should support a variable for their name (e.g. %playername% being replaced with the name of the player who joined). The message should also support standard color codes.

    Thanks! :)
     
  2. Offline

    fank

    need more examples
     
  3. Offline

    number1_Master

    Do you mean if players have a permission node : pluginname.broadcast : then it would display a custom message to players who have the permission node : pluginname.see ?
    If so, I will do this.
     
  4. Offline

    chaseoes

    No.. I only mentioned one permission node in my post.

    It's perfectly clear. You have a text file set up like this:
    Code:
    nameofplayer1
    player2
    Notch
    randomplayer
    
    And whoever has pluginname.notify will receive a message when any of those players join. That message would be customizable in a config file.
     
  5. Offline

    number1_Master

    Wouldn't it be easier to have per player permission nodes?

    EDIT: K, I'll start working on it tomorrow. I would prefer permission nodes per player, but I will put them into a file.
     
  6. Just my personal opinion, but it will be very easy to code this plugin through permission checks like what nunber1_Master mentioned.
     
    nunber1_Master likes this.
  7. Offline

    number1_Master

    What exactly would you like the name to be?
     
  8. Offline

    chaseoes

    Whatever you want! ;)
    Perhaps, but that would require me to go through and add all those players to my permissions file and assign them a group, that permission node, etc. These are players that have never joined my server before.
     
  9. Offline

    dillyg10

    Already have this made, blacklist :)
    (check sig)
     
    nunber1_Master likes this.
  10. Offline

    kevhog

    dillyg10 I actually love the "you don't have permission to view this page" plugin, but it's probably not what he's looking for
     
  11. Offline

    dillyg10

    Sorrry, I forgot the plugin moved to plugin releases :p. Link should work now :)
     
  12. Offline

    chaseoes

    Looks good, any chance of the option to change the message that blacklist.see does?
     
  13. Offline

    dillyg10

    What do you mean?
     

Share This Page