HomeJavaModsConditionMod
ConditionMod
ModsJava

ConditionMod

by SantiivlogDev · on Modrinth

Create powerful Minecraft events using YAML. No coding required. Optimized alternative with ConditionalEvents compatibility.

⬇ Download on Modrinth

ConditionsMod

ConditionsMod is a Minecraft mod that lets you create fully customizable events using simple YAML files, without writing code.

It is inspired by ConditionalEvents, but it is built with a stronger goal: to provide a cleaner, faster, lighter, and more flexible event system for modern modded servers. ConditionsMod keeps the familiar event-condition-action workflow while improving the configuration experience, runtime performance, and extensibility.

The project is designed for Forge and Fabric ports, depending on the Minecraft version.

How It Works

ConditionsMod follows a simple flow:

Event -> Conditions -> Actions

This lets you build custom server behavior without creating a separate mod or writing Java code.

YAML Configuration

Events are configured with .yml files.

Server: conditions/
Client: config/conditions/

Example:

events:
  - name: welcome
    type: player_join
    enabled: true
    conditions: []
    actions:
      default:
        - "message: &aWelcome, %player%!"

ConditionalEvents Compatibility

ConditionsMod supports ConditionalEvents-style configuration so server owners can migrate many existing setups without rewriting everything.

Supported compatibility features include:

Example using ConditionalEvents-style layout:

Events:
  command_example:
    type: player_command
    conditions:
      - "%main_command% == /announce"
      - "%args_length% == 0 execute error"
    actions:
      default:
        - "to_all: centered_message: &c&lAnnouncement"
        - "to_all: message: &e%player%&7: %args_substring_1-100%"
      error:
        - "message: &cUse /announce <message>"

What ConditionsMod Improves

ConditionsMod is made to go beyond the traditional ConditionalEvents approach:

Event Types

ConditionsMod includes event types for:

Conditions

Conditions support common operators:

==, !=, equals, !equals
equalsIgnoreCase, !equalsIgnoreCase
contains, !contains
startsWith, !startsWith
endsWith, !endsWith
matches, !matches
>, >=, <, <=

Examples:

conditions:
  - "%player_world% == overworld"
  - "%main_command% equalsIgnoreCase /spawn"
  - "%args_length% == 0 execute no_args"
  - "%block% matches (?i)(minecraft:)?stone_button"

Actions

Available actions include:

Special Features

Camera

Camera events can change the player camera mode or perspective, allowing effects such as 2D views, RPG-style views, and custom camera positions.

HUD

HUD events can display custom on-screen text with position, scale, background, duration, and animations.

Key And Key Combo

Key events can block or control specific keys, mouse buttons, or key combinations through configuration.

SVR Variables

SVR provides persistent server variables for global values, player values, and lists, stored in YAML.

Custom Events

Other mods can fire custom events into ConditionsMod, allowing configs to react to external mod logic.

Project Status

ConditionsMod is in active development. The compatibility layer will continue expanding with more ConditionalEvents-style variables, actions, and event equivalents.

The goal is not to be a simple clone. The goal is to keep the easy event configuration style while delivering better performance, cleaner structure, stronger mod integration, and features that are not possible in a traditional server-only plugin.


ConditionsMod Español

ConditionsMod es un mod de Minecraft que permite crear eventos completamente personalizados usando archivos YAML, sin necesidad de programar.

Está inspirado en ConditionalEvents, pero busca ir más allá: ofrecer un sistema más limpio, rápido, ligero y flexible para servidores modernos con mods. Mantiene la idea fácil de entender de evento-condiciones-acciones, pero con mejor organización, mejor rendimiento y más posibilidades de expansión.

El proyecto está pensado para tener ports en Forge y Fabric según la versión de Minecraft.

Cómo Funciona

ConditionsMod usa este flujo:

Evento -> Condiciones -> Acciones

Con esto puedes crear sistemas completos sin hacer otro mod y sin escribir código Java.

Configuración YAML

Los eventos se configuran con archivos .yml.

Servidor: conditions/
Cliente: config/conditions/

Ejemplo:

events:
  - name: bienvenida
    type: player_join
    enabled: true
    conditions: []
    actions:
      default:
        - "message: &aBienvenido, %player%!"

Compatibilidad Con ConditionalEvents

ConditionsMod soporta el estilo de configuración de ConditionalEvents para que los usuarios puedan migrar muchas configs sin rehacer todo desde cero.

Compatibilidad incluida:

Ejemplo con formato estilo ConditionalEvents:

Events:
  comando_anuncio:
    type: player_command
    conditions:
      - "%main_command% == /anuncio"
      - "%args_length% == 0 execute error"
    actions:
      default:
        - "to_all: centered_message: &c&lAnuncio"
        - "to_all: message: &e%player%&7: %args_substring_1-100%"
      error:
        - "message: &cUsa /anuncio <mensaje>"

Qué Mejora ConditionsMod

ConditionsMod está hecho para mejorar la experiencia frente al enfoque clásico de ConditionalEvents:

Tipos De Eventos

ConditionsMod incluye eventos para:

Condiciones

Las condiciones soportan operadores comunes:

==, !=, equals, !equals
equalsIgnoreCase, !equalsIgnoreCase
contains, !contains
startsWith, !startsWith
endsWith, !endsWith
matches, !matches
>, >=, <, <=

Ejemplos:

conditions:
  - "%player_world% == overworld"
  - "%main_command% equalsIgnoreCase /spawn"
  - "%args_length% == 0 execute sin_argumentos"
  - "%block% matches (?i)(minecraft:)?stone_button"

Acciones

Acciones disponibles:

Funciones Especiales

Camera

Los eventos de cámara permiten cambiar la vista o perspectiva del jugador, como cámara 2D, vista RPG o posiciones personalizadas.

HUD

Los eventos HUD permiten mostrar texto en pantalla con posición, escala, fondo, duración y animaciones.

Key Y Key Combo

Los eventos de teclas permiten bloquear o controlar teclas, botones del mouse o combinaciones completas desde configuración.

Variables SVR

SVR permite guardar variables persistentes globales, por jugador y listas, usando YAML.

Eventos Custom

Otros mods pueden disparar eventos custom hacia ConditionsMod para que las configs reaccionen a sistemas externos.

Estado Del Proyecto

ConditionsMod está en desarrollo activo. La compatibilidad con ConditionalEvents seguirá creciendo con más variables, acciones y eventos equivalentes.

La meta no es ser una copia simple. La meta es conservar la facilidad de crear eventos sin programar, pero con mejor rendimiento, estructura más limpia, mejor integración con mods y funciones que no son posibles en un plugin tradicional solo de servidor.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more