PA
Parties plugin support - AdvancedAbilities [Add-on]
1.0.0Disable damage abilities in "friendly-fire" parties.
Drop this file in /plugins folder!
Plugin disables abilities events to party members.
How to use :
- Add this in your condition ability; abilities you want to disable party members interaction:
TARGET=ENTITY:API_EVENT_CANCELLED=API_LOCATION_SUPPORT!INVERSE
# Create custom ability events here!
creator:
# Add here main events you will want to use.
events:
'1':
# Set the event name.
event: DamageBySelfEvent
# Add here conditions.
conditions:
- 'LEVEL=ALL:TARGET=ENTITY:IS_LIVING_ENTITY'
- 'LEVEL=1:CHANCE=2'
- 'LEVEL=2:CHANCE=5'
- 'LEVEL=3:CHANCE=9'
- 'LEVEL=4:CHANCE=12'
- 'LEVEL=5:CHANCE=15'
- 'LEVEL=6:CHANCE=22'
- 'LEVEL=7:CHANCE=27'
- 'LEVEL=8:CHANCE=35'
- 'LEVEL=ALL:CONDITION_OR=ITEMS:ITEM_IN_HAND=268'
- 'LEVEL=ALL:CONDITION_OR=ITEMS:ITEM_IN_HAND=267'
- 'LEVEL=ALL:CONDITION_OR=ITEMS:ITEM_IN_HAND=272'
- 'LEVEL=ALL:CONDITION_OR=ITEMS:ITEM_IN_HAND=276'
- 'LEVEL=ALL:CONDITION_OR=ITEMS:ITEM_IN_HAND=283'
- 'LEVEL=ALL:API_EVENT_CANCELLED=API_LOCATION_SUPPORT!INVERSE'
- 'TARGET=ENTITY:API_EVENT_CANCELLED=API_LOCATION_SUPPORT!INVERSE' # <--------------------
# Add here effects.
effects:
- 'LEVEL=ALL:TARGET=ENTITY:PUSH=1.2,1.3'
# Add here options.
options:
- 'LEVEL=ALL:PARTICLES=FLAME'
- 'LEVEL=ALL:ACTION_BAR_MESSAGE'
- 'LEVEL=ALL:SOUND=true,ENTITY_GENERIC_EXPLODE,0.8,2'
- 'LEVEL=ALL:TARGET=ENTITY:LOCATION=0,0,1,0:PARTICLES=EXPLOSION_LARGE'
# Add here secondary events you want to use, secondary events will be called if the main event was called.
secondary_events: []
- Example, you can add this in sword_push to cancel ability when a player hits a member player of his party.
- reload your server or /abilities reload.
To use this you must have the latest version of AdvancedAbilities .
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta