Teams Of War is a plugin that allows you to divide mobs into teams based on their types. Each team has a list of member types and a list of enemy types. The team members will attack their enemies. This can make a big or small impact depending on how you set it up. It can add challenge and create a lot of dynamic throughout your world!
These screenshots give you an idea of what might happen, but don't show that many different scenarios.
Configuration
There is a lot to customize since you can make as many teams as you want and every team can have as many members and enemies as you want. Aside from the teams there are a few other configuration options, but let's start with the teams.
Teams
Teams Of War will generate a teams.yml file that has some teams set up as an example. The default teams are as followed.
Default teams, RED = enemy, GREEN = neutral. Remember that these teams are a set of mob types, not just a single mob type. Teams may be completely different up to your liking.
Under the section "Teams:" any section can be created as long as it contains "Members:" and "Enemies:" sub sections. These are lists of entity types.
If you want to create different teams I would recommend using something like a spreadsheet to visualize your idea first, since this file gets kind of cluttered. The server console will also tell you when there is unwanted overlap in team members/enemies.
Compatibility
An important thing to note: because this plugin is compatible with Minecraft versions 1.13 and up, the default teams do not include the newer mobs. Some mobs like the new nether mobs (piglins, hoglins, etc.) are not included in the "Nether monsters" team but they can be added manually and should just work when added.
Global settings
Aside from teams there are some settings that, mostly, change the behavior of how and when mobs change their targets. These can be changed in a file called config.yml. The config has the following content:
Code (YAML):
# Welcome to the configuration of TeamsOfWar # # Aggression radius = the radius in blocks mobs will attack enemies in # Forced targeting = whether or not mobs without any attack damage should also target enemies # Overwrite vanilla teams = whether vanilla mob targeting should be cancelled or not # Allow non-team attacks = whether or not a mob from a team should be able to naturally target mobs that are not their enemy # Prevent Creepers explosions = disallows Creepers to explode to mobs # Spawning addition = spawn the given amount of additional mobs when a mob spawns # Dead target fix time = time in which all mob's targets are being collected and checked. If their target is still on the same location it will be reset # Debug = informs the console about what the plugin is doing Aggression radius: 15
Forced targeting: false
Overwrite vanilla teams: false
Allow non-team attacks: true
Prevent Creeper explosions: true
Spawning addition: 0
Dead target fix time (in seconds): 50
Debug: false
The config explains its options in the comments at the top. There are some things to note however:
The setting "Prevent Creepers explosions", when set to true, prevents the explosion from breaking blocks ONLY when a creeper targets a mob. When creepers explode on a player they will still break blocks regardless of the setting.
The aggression radius will be doubled (x2) for The Wither and quadrupled (x4) for Ghasts and Ender Dragons.
When "Allow non-team attacks" is set to false mobs will not (immediately) defend themselves when attacked.
Feature details
There are a few things to note about the behavior of mobs with this plugin.
Mobs will not be able to see/target: - other mobs when they have the invisibility potion effect; - players when they are sneaking or in creative or spectator mode.
When no player is online in a world, the plugin will not do anything, teams will not engage.
Known bugs
There are no known bugs, however you might find one since the code was written a long time ago.
To ask questions, suggest things or report issues feel free to join my Discord or use the discussions tab!
This plugin should be compatible with versions 1.13 and up. This plugin was developed mostly in 2016.