Fightzone

Quick rating

Fightzone

No reviews yet

A scriptable mod to control damage and death using a accessible scripting language. Using JEXL and fabric events to allow or deny damage on a scriptable basis.

Mod Loaders
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Server Only

Runs entirely on the server. Also works in singleplayer.

About

Project Details

Type
Mod
Latest Version
1.0.0
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Fightzone

A JEXL scripting mod to determine how entities take damage. Using a script to match the condition and an action for how to apply.

Configuration

enabled: true # Controls if scripts are evaluated at all.
saveEnabled: false # Controls config file saving. Useful if you want to keep the config pretty
scripts: # A script has 3 parts
  - action: DENY # Must be any of `ALLOW`, `DENY`, `PASS`. Case-sensitive
    name: Player protection # A name to locate quickly
    # Every script element must start with a `!script`. This makes the element a jexl script
    # The YAML formatting style should not matter. Below is a literal block scalar, this is the easiest to use. 
    script: !script |
      target == 'minecraft:player'

  - action: DENY
    name: Wolf protection
    # If an attacker is a player and the target is a wolf, the damage is blocked
    script: !script |
      (attacker != null && attacker == 'minecraft:player' ) && target == 'minecraft:wolf'


Variable List

target

  • Type: string
  • Nullable: false
  • Examples
    • minecraft:player
    • minecraft:wolf
    • othermod:creature

The identifier for the entity taking damage.

amount

  • Type: float
  • Nullable: false
  • Examples:
    • 0.0
    • 1.0
    • 0.5

The amount of damage applying to the entity.

damage_source

  • Type: string
  • Nullable: true
  • Examples:
    • minecraft:arrow
    • minecraft:campfire
    • othermod:magic

The identifier for the damage type being applied.

attacker

  • Type: string
  • Nullable: true
  • Examples:
    • null
    • minecraft:player

The identifier for the attacking entity, is usually null when it's environmental damage like fire.

event

  • Type: string
  • Nullable: false
  • Examples:
    • death
    • damage

A helper to differentiate between a death or damage event.

Screenshots

Gallery

  • Fightzone configuration
    Fightzone configuration A sample configuration to protect wolves and mannequins from damage and death

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works