Ultra shield ability
Chance to push close enemies when player has low health
Drop the.yml file in your "/plugins/AdvancedAbilities/abilities/" !
#=========================================#
# #
# Advanced Abilities #
# the best abilities/skills plugin #
# Author: AnyBody #
# #
#=========================================#
# #
# Ability file #
# #
#=========================================#
# The ability ID is the file name!
# Set to false if you don't want this ability enabled, if you don't want to remove your ability file you can disable it.
enable: true
# Set the name of ability, this is not the id (ID is the file name).
name: 'Ultra Shield'
# Set the max level to this ability.
max_level: 8
# Item is displayed in the menu as <MATERIAL_ID>,<MATERIAL_DATA>,<MATERIAL_AMOUNT>,<ENCHANTMENT_BOOLEAN>.
logo_item: '442,0,1,true'
# Add here custom locations to disable RPG events.
# Format: '<LOCATION>=<ID>,<ID_2>,<ID_3>...'
# Locations [Special locations]:
# - world [].
# - worldguard_region [not_pvp, not_exploitable, not_buildable, *].
# - faction [WarZone, SafeZone, *].
# - towny [wilderness, WarZone, not_pvp, *].
disabled_locations:
- "worldguard_region=not_pvp"
- "towny=not_pvp"
- "faction=*"
# This will be the ability logo description.
description:
- '&7When you have less than 3 hearts'
- '&7close enemies could be pushed by ultra shield force.'
level:
'1':
# This depends on RPG system, players need to have this exp to get this level.
xp_needed: 2100
# You can customize this purchase adding conditions.
# Conditions:
# - permission: Set a permission to buy this level, example: 'permission=example.example'.
# - price: Set a price to buy this level, example: 'price=1000'
# - currency: Set a currency type to the price, default is 'vault', all: [none, vault, playerpoints] also you can hook your money plugin using the API.
# - by_items: Add items like price, example: 'by_items=5,0,1; 276,0,1,ENCHANTMENTS=KNOCKBACK:1-SHARPNESS:1'. Use ';' to add another item.
# - by_level: Set a player xp level like price, example: 'by_level=50'.
buying_options:
- price=50
- currency=vault
# This will be the ability level description.
description:
- '&7Have 5% chance to active ultra shield!'
'2':
# This depends on RPG system, players need to have this exp to get this level.
xp_needed: 4200
# You can customize this purchase adding conditions.
# Conditions:
# - permission: Set a permission to buy this level, example: 'permission=example.example'.
# - price: Set a price to buy this level, example: 'price=1000'
# - currency: Set a currency type to the price, default is 'vault', all: [none, vault, playerpoints] also you can hook your money plugin using the API.
# - by_items: Add items like price, example: 'by_items=5,0,1; 276,0,1,ENCHANTMENTS=KNOCKBACK:1-SHARPNESS:1'. Use ';' to add another item.
# - by_level: Set a player xp level like price, example: 'by_level=50'.
buying_options:
- price=100
- currency=vault
# This will be the ability level description.
description:
- '&7Have 10% chance to active ultra shield!'
'3':
# This depends on RPG system, players need to have this exp to get this level.
xp_needed: 6300
# You can customize this purchase adding conditions.
# Conditions:
# - permission: Set a permission to buy this level, example: 'permission=example.example'.
# - price: Set a price to buy this level, example: 'price=1000'
# - currency: Set a currency type to the price, default is 'vault', all: [none, vault, playerpoints] also you can hook your money plugin using the API.
# - by_items: Add items like price, example: 'by_items=5,0,1; 276,0,1,ENCHANTMENTS=KNOCKBACK:1-SHARPNESS:1'. Use ';' to add another item.
# - by_level: Set a player xp level like price, example: 'by_level=50'.
buying_options:
- price=200
- currency=vault
# This will be the ability level description.
description:
- '&7Have 15% chance to active ultra shield!'
'4':
# This depends on RPG system, players need to have this exp to get this level.
xp_needed: 8400
# You can customize this purchase adding conditions.
# Conditions:
# - permission: Set a permission to buy this level, example: 'permission=example.example'.
# - price: Set a price to buy this level, example: 'price=1000'
# - currency: Set a currency type to the price, default is 'vault', all: [none, vault, playerpoints] also you can hook your money plugin using the API.
# - by_items: Add items like price, example: 'by_items=5,0,1; 276,0,1,ENCHANTMENTS=KNOCKBACK:1-SHARPNESS:1'. Use ';' to add another item.
# - by_level: Set a player xp level like price, example: 'by_level=50'.
buying_options:
- price=1000
- currency=vault
# This will be the ability level description.
description:
- '&7Have 20% chance to active ultra shield!'
'5':
# This depends on RPG system, players need to have this exp to get this level.
xp_needed: 10500
# You can customize this purchase adding conditions.
# Conditions:
# - permission: Set a permission to buy this level, example: 'permission=example.example'.
# - price: Set a price to buy this level, example: 'price=1000'
# - currency: Set a currency type to the price, default is 'vault', all: [none, vault, playerpoints] also you can hook your money plugin using the API.
# - by_items: Add items like price, example: 'by_items=5,0,1; 276,0,1,ENCHANTMENTS=KNOCKBACK:1-SHARPNESS:1'. Use ';' to add another item.
# - by_level: Set a player xp level like price, example: 'by_level=50'.
buying_options:
- price=2000
- currency=vault
# This will be the ability level description.
description:
- '&7Have 25% chance to active ultra shield!'
'6':
# This depends on RPG system, players need to have this exp to get this level.
xp_needed: 12600
# You can customize this purchase adding conditions.
# Conditions:
# - permission: Set a permission to buy this level, example: 'permission=example.example'.
# - price: Set a price to buy this level, example: 'price=1000'
# - currency: Set a currency type to the price, default is 'vault', all: [none, vault, playerpoints] also you can hook your money plugin using the API.
# - by_items: Add items like price, example: 'by_items=5,0,1; 276,0,1,ENCHANTMENTS=KNOCKBACK:1-SHARPNESS:1'. Use ';' to add another item.
# - by_level: Set a player xp level like price, example: 'by_level=50'.
buying_options:
- price=5000
- currency=vault
# This will be the ability level description.
description:
- '&7Have 30% chance to active ultra shield!'
'7':
# This depends on RPG system, players need to have this exp to get this level.
xp_needed: 14700
# You can customize this purchase adding conditions.
# Conditions:
# - permission: Set a permission to buy this level, example: 'permission=example.example'.
# - price: Set a price to buy this level, example: 'price=1000'
# - currency: Set a currency type to the price, default is 'vault', all: [none, vault, playerpoints] also you can hook your money plugin using the API.
# - by_items: Add items like price, example: 'by_items=5,0,1; 276,0,1,ENCHANTMENTS=KNOCKBACK:1-SHARPNESS:1'. Use ';' to add another item.
# - by_level: Set a player xp level like price, example: 'by_level=50'.
buying_options:
- price=10000
- currency=vault
# This will be the ability level description.
description:
- '&7Have 35% chance to active ultra shield!'
'8':
# This depends on RPG system, players need to have this exp to get this level.
xp_needed: 16800
# You can customize this purchase adding conditions.
# Conditions:
# - permission: Set a permission to buy this level, example: 'permission=example.example'.
# - price: Set a price to buy this level, example: 'price=1000'
# - currency: Set a currency type to the price, default is 'vault', all: [none, vault, playerpoints] also you can hook your money plugin using the API.
# - by_items: Add items like price, example: 'by_items=5,0,1; 276,0,1,ENCHANTMENTS=KNOCKBACK:1-SHARPNESS:1'. Use ';' to add another item.
# - by_level: Set a player xp level like price, example: 'by_level=50'.
buying_options:
- price=20000
- currency=vault
# This will be the ability level description.
description:
- '&7Have 40% chance to active ultra shield!'
# Create custom ability events here!
creator:
# Add here main events you will want to use.
events:
'1':
# Set the event name.
event: DamageByEntityEvent
# Add here conditions.
conditions:
- 'LEVEL=ALL:HEARTS=8'
- 'LEVEL=1:CHANCE=5'
- 'LEVEL=2:CHANCE=10'
- 'LEVEL=3:CHANCE=15'
- 'LEVEL=4:CHANCE=20'
- 'LEVEL=5:CHANCE=25'
- 'LEVEL=6:CHANCE=30'
- 'LEVEL=7:CHANCE=35'
- 'LEVEL=8:CHANCE=40'
- 'LEVEL=ALL:API_EVENT_CANCELLED=API_LOCATION_SUPPORT!INVERSE'
# Add here effects.
effects:
- 'LEVEL=1:RADIUS_PUSH=0.5,0.32,2.5!INSTANT_EVENT_CALL'
- 'LEVEL=2:RADIUS_PUSH=0.7,0.32,2.5!INSTANT_EVENT_CALL'
- 'LEVEL=3:RADIUS_PUSH=0.9,0.32,2.5!INSTANT_EVENT_CALL'
- 'LEVEL=4:RADIUS_PUSH=1,0.32,2.5!INSTANT_EVENT_CALL'
- 'LEVEL=5:RADIUS_PUSH=1.05,0.32,2.5!INSTANT_EVENT_CALL'
- 'LEVEL=6:RADIUS_PUSH=1.10,0.32,2.5!INSTANT_EVENT_CALL'
- 'LEVEL=7:RADIUS_PUSH=1.15,0.32,2.5!INSTANT_EVENT_CALL'
- 'LEVEL=8:RADIUS_PUSH=1.20,0.32,2.5!INSTANT_EVENT_CALL'
# Add here options.
options:
- 'LEVEL=ALL:PARTICLES=EXPLOSION_HUGE'
- 'LEVEL=ALL:SPECIAL_PARTICLES=CIRCLE,LAVA_POP,40,1.8'
- 'LEVEL=ALL:ACTION_BAR_MESSAGE'
# Add here secondary events you want to use, secondary events will be called if the main event was called.
secondary_events:
'1':
# Set the secondary event.
event: EntityRadiusPushEvent
# Add here conditions.
conditions: []
# Add here effects.
effects: []
# Add here options.
options:
- 'LEVEL=ALL:TARGET=ENTITY:CONDITION=API_EVENT_CANCELLED=API_LOCATION_SUPPORT:CANCEL_EVENT'
- 'LEVEL=ALL:TARGET=ENTITY:CONDITION=CHECK_LOCATION=!INVERSE:CANCEL_EVENT'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