Simple group-based kill reward

Discussion in 'Archived: Plugin Requests' started by m5k, Aug 15, 2011.

  1. Offline

    m5k

    Person from group A kills person from group B
    Person from group A gains X + Y money
    Person from group B loses X money

    Config:
    Code:
    Groups:
        Good:
            - lose: false #Doesn't lose money when killed
            - amount: 0 #Not used if lose: false
            - reward: 25 #Killer gains this amount
            - enemies: Bad, Ugly #groups that will provide rewards
        Bad:
            - lose: true #Loses the <amount> of money when killed
            - amount: 25 #this amount is transferred to the killer
            - reward: 10 #Killer also gains additional <reward> money
            - enemies: Good, Ugly #groups that will provide rewards
        Ugly:
            - lose: true #Loses the <amount> of money when killed
    
            - amount: 10 #this amount is transferred to the killer
    
            - reward: 0 #Killer also gains additional <reward> money
            - enemies: '' #This group won't gain any money for killing anyone
    If this isn't clear enough just ask, I don't know how to explain this better.
     
  2. Offline

    MasterKitty

    hmmm, yes this can be used well on PvP servers, I support this.
     
  3. Offline

    m5k

    bumps
     
    Samkio likes this.
  4. Offline

    PatrickFreed

  5. Offline

    Zarius

    With OtherBlocks? Only thing is that MONEYSTEAL hasn't been implemented yet - but is on the todo list and shouldn't be too hard to do.

    Code:
    aliases:
        - &killedByGood
          permissiongroups: [good]
          drop: MONEY/25
    
        - &killedByBad
          dropgroup: killedbybad
          drops:
            - permissiongroups: [bad]
              drop: MONEYSTEAL/25
            - permissiongroups: [bad]
              drop: MONEY/10
    
        - &killedByUgly
          permissiongroups: [ugly]
          drop: MONEYSTEAL/10
    
    otherblocks:
        PLAYERGROUP@GOOD:
            - *killedByBad
            - *killedByUgly
    
        PLAYERGROUP@BAD:
            - *killedByGood
            - *killedByUgly
    
        PLAYERGROUP@UGLY:
            - *killedByGood
            - *killedByBad
    
     
  6. Offline

    m5k

    Wow, you keep popping up with your ridiculously good plugin and telling me that the features I wan't are on the way without me having to add another plugin to the list. Thanks a lot, Zarius, I'll keep an eye out for "moneysteal" on your official thread.
     

Share This Page