promotional bannermobile promotional banner
premium banner
A server-side addon for Iron's Spells 'n Spellbooks that enforces strict team rules, preventing friendly fire, blocking debuffs on allies, and stopping enemy healing.

Description

Magic Team is a server-side addon that enforces strict team-based spell protection for Iron's Spells 'n Spellbooks. It ensures that allies are safe from hostile spell targeting, effects, and damage, while preserving the ability to receive helpful support spells.


Overview

In spell-heavy servers, team rules alone are not always enough. This mod is designed for SMPs, modpacks, and private servers where combat groups need a simple rule set: allies should cooperate without accidental friendly fire, and non-allies should not receive positive support spells from enemy casters.


The Problem

Many magic systems allow spells to target a living entity directly, apply status effects, or deal magic damage without using normal melee combat rules. Without extra protection, players can accidentally or intentionally:

  1. Cast debuffs on teammates during combat.
  2. Hit allies with area-of-effect (AoE) spell damage.
  3. Apply buffs to enemy players who should not receive support.
  4. Bypass the intended meaning of teams by using spells instead of weapons.

Magic Team closes those gaps by checking team relationships and spell classifications in real-time.


Features

  • Server-Side Only: No client installation is required. Drop it into your server and it works instantly.
  • Target & Damage Blocking: Harmful spells cannot lock onto allied targets, and allied spell damage is strictly prevented.
  • Effect Filtering: Harmful spell effects (like poison clouds) are stopped before they apply to allies.
  • Configurable Spell Lists: Beneficial and harmful spell lists can be fully edited via server config or in-game commands.
  • Vanilla Integration: Standard potions and vanilla effects remain untouched, preserving core Minecraft mechanics.

Configuration & Commands

The mod stores its server configuration in the Forge server config file (magic_team). You can define safe and blocked spells using full IDs (e.g., irons_spellbooks:root) or short paths.

All commands require operator permission and feature full registry-aware autocomplete for Iron's Spells:

/magicteam filter view beneficial
/magicteam filter view harmful
/magicteam filter add beneficial <spell>
/magicteam filter add harmful <spell>
/magicteam save
/magicteam reload

Compatibility

  • Minecraft Version: 1.20.1
  • Mod Loader: Forge 47.4.x+
  • Required Dependency 1: Iron's Spells 'n Spellbooks (v3.15.3+)
  • Required Dependency 2: Babel Core (For entity and team resolution)
  • Side: Server-side only (Client installation optional but not required)

Credits & Support

Author: SatDPhoe

ko-fi

Donate