CE AAPP
CE AAPP SpigotCE AAPP GitHubConditionalEvents
ConditionalEvents addon
ConditionalEvents addon
  • 🔮CE AAPP
    • 📌Starting information
    • ⚙️Installation or updation
    • 🗒️Logical notations
    • Actions
      • 🔌Plugins actions
        • change_balance
        • change_oraxen_block
        • change_items_adder_block
        • drop_items_adder_item
        • show_end_credits
      • 🏃Events actions
        • change_projectile
      • 🌐Independent actions
        • manage_inventory
        • change_chat
        • change_block
        • change_AI
        • change_weather
        • change_time
        • change_freeze
        • change_fire
        • create_explosion
        • change_gravity
        • parse_placeholder
        • change_speed
        • change_ticks_lived
        • launch_projectile
        • change_gliding
        • change_invulnerable
        • change_movement
        • change_name
        • change_item
        • manage_recipe
        • change_fly
        • change_craft
        • change_air
        • drop_current_item
        • attack_entity
        • change_passenger
        • teleport_entities
        • change_entities
        • player_break_block
        • change_effect
        • make_damage
        • change_velocity
        • change_health
        • change_area
        • change_statistic
        • manage_mysql
    • Placeholders
      • 🔌Plugins placeholders
        • Placeholder for LuckPerms permissions with contexts
        • Placeholder for real nickname in Essentials based on custom nickname
      • 🌐Independent placeholders
        • Placeholder for items
        • Placeholder for the highest block at a location
        • Placeholder for random block in area
        • Placeholder for biome by coordinates
        • Placeholder for entities in radius
        • Placeholder for processing arrays
        • Placeholder for different team information /team
        • Placeholder for custom data
        • Placeholder for different entity information
        • Placeholder for block lighting
        • Placeholder for working with MySQL
    • 🔧Modifying the addon
Powered by GitBook
On this page
  1. CE AAPP
  2. Actions
  3. Independent actions

change_invulnerable

Is an action that allows you to change the invulnerability of the entities.


Meaning

Allows you to change the invulnerability of the entities, that is they will not be able to take the damage.


Format
- 'change_invulnerable: <entity_uuid|player_name>;<mode>;<value>'

<entity_uuid | player_name> – the target to change the invulnerable for; (MANDATORY)

<mode> – may be invulnerable or noDamageTicks; (MANDATORY)

<value> – "true" or "false" in case of "invulnerable" mode or ticks duration in case of "noDamageTicks" mode. (MANDATORY)


Targets
  • Entities;

  • Players.


Where is useful

For example, if you want to create some kind of "newbies protection" when the new players are joining to the server.


Examples
- 'change_invulnerable: e2b4de9b-be7b-4058-86b0-04ac31195db1;invulnerable;true' # Enable the invulnerability to some entity
- 'change_invulnerable: %player%;noDamageTicks;100' # Disable the damage for the 100 ticks (5 seconds) to the current player

Previouschange_glidingNextchange_movement

Last updated 21 days ago

🔮
🌐