Faction Mobs
Command a mob army to fight for your team
Want some guards to defend your territory? Faction Mobs allows you to spawn mobs aligned to your team! They'll attack enemy players and monsters! You can even order your mobs around. Make them follow you or patrol an area.
Supports:
- Factions (Including Factions UUID)
- Towny
- SimpleClans
- Kingdoms
- Feudal
Mob Types:
There are 5 mob types:Swordsman
- Sword wielding
- Base class: Skeleton with sword
- Archer
- Bow wielding
- Base class: Skeleton with bow
- Mage
- Potion throwing
- Base class: Witch
- Titan
- Base class: Iron Golem
- SpiritBear
- Base class: Polar Bear
The swordsman and archer will equip full leather armor dyed to a color of your choice.
You can modify mob attributes in the config, and you may disable them selectively if you wish.
If Lib's Disguises is used, the swordsman, archer, and mage will use player skins.
Behavior:
Your faction mobs will automatically categorize any units it meets as enemy, friendly, or neutral.
Players and faction mobs from enemy factions will be considered enemies. If set in the options, hostile mobs will also be considered enemies, with the exception of the creeper, which it will never attack. Players and faction mobs from your own and allied factions will be considered friendly. All other units are neutral.
Your faction mobs will automatically attack hostile units. It will defend itself when attacked by neutral units. It will never attack friendly units.
Note that the Mage and Archer have some rather bad aim, and may accidentally attack friendly units. You can prevent damage from friendly fire by setting noFriendlyFire to true in the config.
The config file contains many options to set various attributes to the mobs. Please look through it.
Additional Information:
- Mobs still use their original AI, just slightly modified. This means they will use the same movement patterns when attacking as they normally do.
- I used some of the obfuscated functions from Craftbukkit. This means that the plugin will only work for the version it was released for.
- The mobs are saved in file separate from the rest of the world. If you change the name of your world, the faction mobs will not transfer with it.
- If your server is prone to crashing, it is recommended you turn on the autoSave function in the config file.
- This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- The Factions version
- Note to other devs: Faction Mobs custom entities have "CustomEntity" and "FactionMob" metadata tags
Reporting a Bug:
- Server type and version
- "Factions" plugin and version
- FactionMobs version
- error.log file if relevant
- Steps to reproduce the problem
Fan-Made Tutorial Video:
Bug Report:
Spigot 1.12 Server
Factions 2.14.0
Faction Mobs v3.2.7 for CB1.12.2
Faction Mobs are despawning when I go away from them. Also only the mobs in an 8 chunk radius are present when joining the world.
Well I like the idea of the plugin... but the fact that it's faction based limit instead of a player based limit... this kind of sucks now.
i have downloaded the latest file version V1_13_R2 and running a minecraft server 1.13
the server is running CraftBukkit version git-Bukkit-1c7adf7 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)
My Serverprovider is NITRADO - they dont have the r2 as preset...
Errormasseage:
15:58:43 INFO]: [FactionMobs] You are running an unsupported version of CraftBukkit (Requires: v1_13_R2, Found:v1_13_R1). Please download a newer version. FactionMobs will not be enabled
can i somehow work around?
Hi, I'm trying to create a plugin that uses both Factions and Faction Mobs as dependencies. I'm able to correctly reference Factions and players in factions, however I'm having trouble getting if an entity is a faction mob. I see that you noted Faction Mobs have metadata tags of "CustomEntity" and "FactionMob", but when I try to do something like if (e instanceof FactionMob)... I'm not getting any mobs returned. Perhaps you could give an example of how to get FactionMob entities? That would be very helpful.
Thanks
In reply to mcmac_mchat:
Is there a way to disable the message in the server console that displays whenever the FactionMobs data is saved? I didn't see an option in the config file anywhere. I only ask because it saves every 5 minutes and the message is kind of annoying when it displays every 5 minutes.
In reply to Ymerejliaf:
In reply to Scyntrus:
it says wrong server version unable to load when my server version is correct?
In reply to Forge_User_67625250:
I need help!! when I do /spawn <type> It say " You must be not be unaffiliated. What does that mean? BTW I have set /spawn to true in the plugin.yml
In reply to cooltheme:
Their is a bug in the version with SimpleClans, when you spawn a mob and shutdown the server when the server opens back up the plugin will say:
[11:03:22] [Server thread/INFO]: [FactionMobs] Vault not detected.
[11:03:22] [Server thread/INFO]: Factionless Faction Mob found and removed. Did you delete a Faction?
In reply to Math0424:
In reply to Math0424:
1.12 support?
In reply to Math0424:
In reply to Forge_User_71456418:
Can we get a "/fm reload" command? It would make live tweaking of their speeds and damage far easier. Great plugin! Love it :D