StaffJoin Bungee.

Discussion in 'BungeeCord Plugin Help' started by AldenJD, Jun 17, 2016.

  1. Hey community ive seen on many HCF servers,if Staff members have the permissions then they will see when a staff member joins the server...

    Example .. - [Staff Rank]Player has joined [Server Name]

    Does anyone know this plugin?
     
  2. umm then idk xD
     
  3. i will give you the code. but i don't think is someone gonna make a plugin for u.
     
    #5 RDT-DevTeam, May 25, 2019
    Last edited: May 25, 2019
  4. Code (Java):
    ProxiedPlayer p = e.getPlayer();
    if(p.hasPermission("Staaff")){
        BungeeCord.getInstance().getPlayers().forEach(players -> {
            if(players.hasPermission("Staff")) {
                players.sendMessage("[Staff] Player " + p.getName() + "has joined.");
            }
        });
    }
    if theres any error tell me because i have create the code in notepad.
     
  5.  
  6. (No one will make a plugin for u)