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:
@Kami675
Yeah. Orders is implemented in v1.1. You probably downloaded v1.0 since the v1.1 file isn't approved by the moderators yet.
To address your other comments: 1) Customizable damage might be possible in the future, but it's not very high on my priorities right now. For weapons, it may be possible for me to add a config for what the swordsman equips. But for the armor, I'd like to keep it as leather since the other armors can't be dyed. I don't think armor affects how much damage a mob takes anyway.
2) As of right now, players from allied factions cannot damage your faction mobs. However players from your own faction still can. I'm working under the assumption that your faction is cooperative with each other. I did this so you'd have a way of getting rid of the faction mob in case you didn't want it.
3) I didn't add slimes because I didn't think it fit the theme, but I probably could. Maybe in the future.
Thanks for your feedback.
HOLY CRAP!!!! This plugin is amazing!!!!! but a few suggestions 1.) Customizable Damage/Armor/Weapons/etc.. kinda like wat u did with the maxhp 2.) Other Faction members cannot harm the spawned monster 3.) Add a few more monster options to choose from... Slime etc
ONLY problem I found with this plugin is that the /fm order "orders" command doesnt work. When i type /fm order follow all that comes up is "unrecognizable command" so might want to fix that! But once again great idea and amazing plugin add a few more things and this will be on my top 5 plugins
Thanks in advance! -Kris
Nice plugin ! It will be great for a RPG server :D