Teams Of War icon

Teams Of War -----

Divide mobs into customizable teams that fight each other! Adds lots of dynamic to your world!



Teams Of War

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.
2022-10-25_13.16.18.png 2022-10-25_13.18.52.png 2022-10-25_14.02.04.jpg 2022-10-27_10.46.41.jpg 2022-10-27_11.08.08.jpg

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 2.png

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.

The teams.yml file looks like this:

Code (YAML):
# Here's the setup of teams divided by types
# If you're feeling creative go ahead and change them up. You can name them anything unique and add any EntityType
# Find all available types at: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html

Teams
:
  Humans
:
    Members
:
   - Villager
    - Player
    - Iron golem
    - Snowman
    Enemies
:
   - Zombie
    - Skeleton
    - Spider
    - Creeper
    - Cave spider
    - Zombie horse
    - Skeleton horse
    - Zombie villager
    - Drowned
    - Husk
    - Phantom
    - Stray
    - Ghast
    - Zombified piglin
    - Blaze
    - Magma cube
    - Enderman
    - Ender dragon
    - Endermite
    - Ender crystal
    - Shulker
    - Witch
    - Vindicator
    - Evoker
    - Vex
    - Illusioner
    - Wither
    - Wither skeleton
    - Skeleton
  Nature
:
    Members
:
   - Pig
    - Bat
    - Chicken
    - Cod
    - Cow
    - Guardian
    - Elder guardian
    - Donkey
    - Horse
    - Mule
    - Mushroom cow
    - Ocelot
    - Parrot
    - Polar bear
    - Rabbit
    - Sheep
    - Silverfish
    - Salmon
    - Squid
    - Turtle
    - Tropical fish
    - Pufferfish
    - Dolphin
    - Llama
    - Wolf
    Enemies
:
   - Zombie
    - Skeleton
    - Spider
    - Creeper
    - Cave spider
    - Zombie horse
    - Skeleton horse
    - Zombie villager
    - Drowned
    - Husk
    - Phantom
    - Stray
    - Ghast
    - Zombified piglin
    - Blaze
    - Magma cube
    - Enderman
    - Ender dragon
    - Endermite
    - Ender crystal
    - Shulker
    - Wither
    - Wither skeleton
    - Skeleton
  OverworldMonsters
:
    Members
:
   - Zombie
    - Skeleton
    - Spider
    - Creeper
    - Cave spider
    - Zombie horse
    - Skeleton horse
    - Zombie villager
    - Drowned
    - Husk
    - Phantom
    - Stray
    Enemies
:
   - Villager
    - Player
    - Iron golem
    - Snowman
    - Pig
    - Bat
    - Chicken
    - Cod
    - Cow
    - Guardian
    - Elder guardian
    - Donkey
    - Horse
    - Mule
    - Mushroom cow
    - Ocelot
    - Parrot
    - Polar bear
    - Rabbit
    - Sheep
    - Silverfish
    - Salmon
    - Squid
    - Turtle
    - Tropical fish
    - Pufferfish
    - Dolphin
    - Llama
    - Wolf
    - Enderman
    - Ender dragon
    - Endermite
    - Ender crystal
    - Shulker
  NetherMonsters
:
    Members
:
   - Ghast
    - Zombified piglin
    - Blaze
    - Magma cube
    Enemies
:
   - Villager
    - Player
    - Iron golem
    - Snowman
    - Pig
    - Bat
    - Chicken
    - Cod
    - Cow
    - Guardian
    - Elder guardian
    - Donkey
    - Horse
    - Mule
    - Mushroom cow
    - Ocelot
    - Parrot
    - Polar bear
    - Rabbit
    - Sheep
    - Silverfish
    - Salmon
    - Squid
    - Turtle
    - Tropical fish
    - Pufferfish
    - Dolphin
    - Llama
    - Wolf
    - Enderman
    - Ender dragon
    - Endermite
    - Ender crystal
    - Shulker
    - Witch
    - Vindicator
    - Evoker
    - Vex
    - Illusioner
  EndMonsters
:
    Members
:
   - Enderman
    - Ender dragon
    - Endermite
    - Ender crystal
    - Shulker
    Enemies
:
   - Villager
    - Player
    - Iron golem
    - Snowman
    - Pig
    - Bat
    - Chicken
    - Cod
    - Cow
    - Guardian
    - Elder guardian
    - Donkey
    - Horse
    - Mule
    - Mushroom cow
    - Ocelot
    - Parrot
    - Polar bear
    - Rabbit
    - Sheep
    - Silverfish
    - Salmon
    - Squid
    - Turtle
    - Tropical fish
    - Pufferfish
    - Dolphin
    - Llama
    - Wolf
    - Zombie
    - Skeleton
    - Spider
    - Creeper
    - Cave spider
    - Zombie horse
    - Skeleton horse
    - Zombie villager
    - Drowned
    - Husk
    - Phantom
    - Stray
    - Ghast
    - Zombified piglin
    - Blaze
    - Magma cube
    - Witch
    - Vindicator
    - Evoker
    - Vex
    - Illusioner
    - Wither
    - Wither skeleton
    - Skeleton
  Illagers
:
    Members
:
   - Witch
    - Vindicator
    - Evoker
    - Vex
    - Illusioner
    Enemies
:
   - Villager
    - Player
    - Iron golem
    - Snowman
    - Zombie
    - Skeleton
    - Spider
    - Creeper
    - Cave spider
    - Zombie horse
    - Skeleton horse
    - Zombie villager
    - Drowned
    - Husk
    - Phantom
    - Stray
    - Ghast
    - Zombified piglin
    - Blaze
    - Magma cube
    - Enderman
    - Ender dragon
    - Endermite
    - Ender crystal
    - Shulker
    - Wither
    - Wither skeleton
    - Skeleton
  Wither
:
    Members
:
   - Wither
    - Wither skeleton
    - Skeleton
    Enemies
:
   - Villager
    - Player
    - Iron golem
    - Snowman
    - Pig
    - Bat
    - Chicken
    - Cod
    - Cow
    - Guardian
    - Elder guardian
    - Donkey
    - Horse
    - Mule
    - Mushroom cow
    - Ocelot
    - Parrot
    - Polar bear
    - Rabbit
    - Sheep
    - Silverfish
    - Salmon
    - Squid
    - Turtle
    - Tropical fish
    - Pufferfish
    - Dolphin
    - Llama
    - Wolf
    - Enderman
    - Ender dragon
    - Endermite
    - Ender crystal
    - Shulker
    - Witch
    - Vindicator
    - Evoker
    - Vex
    - Illusioner

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.

Logo
Here is the Teams Of War logo in full size:
TeamsOfWar logo 1.jpg
Resource Information
Author:
----------
Total Downloads: 146
First Release: Oct 27, 2022
Last Update: Oct 27, 2022
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings