no pvp if on the same team

Discussion in 'Plugin Development' started by kxpeep93, Jun 29, 2014.

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

    kxpeep93

    i'm making a team plugin for a friend, and was wondering how do i set it where players can't pvp players if they are on the same team
     
  2. Offline

    AoH_Ruthless

    kxpeep93
    Separate teams into two lists/sets, and if one list contains both the damager and damaged player in an EntityDamageByEntityEvent, cancel it.
     
  3. Offline

    fireblast709

    kxpeep93 This is the Plugin Development subforum, where we help you squashing bugs and fixing errors instead of writing it for you :3.
     
  4. Offline

    kxpeep93

Thread Status:
Not open for further replies.

Share This Page