Add Friendly Fire permission for parties

This removes the friendly fire config option previously created
Both attacker and defender must have this option

Closes #648
This commit is contained in:
NuclearW
2013-02-07 18:46:41 -05:00
parent 366940fc14
commit af1288b6f8
7 changed files with 36 additions and 10 deletions

View File

@ -67,8 +67,6 @@ Party:
AutoKick_Interval: 12
#Any user who hasn't connected in this many days will get kicked from their party
Old_Party_Member_Cutoff: 7
#Set this to true to allow party members to attack each other.
FriendlyFire_Enabled: false
#Settings for party share modes
Sharing:
ExpShare_enabled: true

View File

@ -116,6 +116,7 @@ permissions:
mcmmo.defaults: true
mcmmo.defaultsop: true
mcmmo.perks.all: true
mcmmo.party.all: true
mcmmo.ability.*:
default: false
description: Implies all mcmmo.ability permissions.
@ -1032,6 +1033,19 @@ permissions:
mcmmo.tools.all: true
mcmmo.motd:
description: Allows access to the motd
mcmmo.party.*:
default: false
description: Implies access to all mcmmo party permissions
children:
mcmmo.party.all: true
mcmmo.party.all:
default: false
description: Implies access to all mcmmo party permissions
children:
mcmmo.party.friendlyfire: true
mcmmo.party.friendlyfire:
default: false
description: Allows in-party friendly fire if both attacker and victim have this permission
mcmmo.perks.*:
default: false
description: implies access to all mcmmo perks