NoFriendlyFire Plugin

Discussion in 'Plugin Development' started by xMwpgamer7ooox, Jul 13, 2014.

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

    xMwpgamer7ooox

    Code:
    NoFriendlyFire:
      Teams:
        Dianite:
          Color: DARK_RED
        Mianite:
          Color: AQUA
      Block:
        Suicide: false
        Potions: true
        Snowballs: true
        Melee: true
        Arrows: true
      DamagedByMsg:
        MsgDamagedBy: is a bad teammate, watch your back!
        Show: false
      FriendlyFireMsg:
        Show: true
        MsgFriendlyFire: Friendly Fire won't be tolerated!
    
    I have the nofriendlyfire plugin on my server. For some reason after I had given permission to each team for the plugin when they try to attack each other the you can't attack your team member error comes up. This occurs when two different teams are attacking each other. Maybe I did something wrong, idk. The two teams are Mianite and Dianite. Could anyone help solve this issue for my server? Thanks!

    Config file:
     
  2. Offline

    SuperOriginal

    Doesn't help with no code
     
  3. Offline

    xMwpgamer7ooox

  4. Offline

    fireblast709

  5. Offline

    TheMrGong

    fireblast709 I think he's having plugin issues not coding issues
     
  6. Offline

    SuperOriginal

    If it's a plugin issue, then contact the developer to help you. If you are the developer, then do as fireblast said and post code relevant to friendly fire
     
  7. Offline

    teej107

    The error may be in your code. Try making the boolean the opposite in the if statement that allows this
    To show up.
    It's hard to say what the problem is without code.
     
  8. Offline

    captainfroster

    Give the Code that you have problem with.. :fliptable: . if you have problem which one that had problems just use a simple system.out.println(msg); :p to know which part.
     
Thread Status:
Not open for further replies.

Share This Page