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:
@JujuMot
My fault, there's a bug when trying to spawn a faction mob if you don't have enough faction power. Uploaded a fix.
This is the console - http://pastebin.com/9H86dJXU
This is the startup - 22.03 02:30:19 [Server] INFO Loading FactionMobs v2.9.0_1.8.8-R0.1
The version is good and the error log has nothing in it, and I am not using 1.9 . Also my server is 1.8 .
@JujuMot
Hi, please check your console log to see if there are any error messages at startup. Also, check the plugins/FactionMobs/error.log file. Make sure the version of Faction Mobs is compatible with the version of SimpleClans and bukkit you're using.
If you are using a 1.9 server, this plugin hasn't been updated for 1.9 yet.
Hey I was just going to download your plugin for my Clash Of Clans server. 1 thing is that it keeps saying that there is an error. I am using the plugin SimpleClans for this, and when I do /fmc it just says I dont have the perms to do it. Please help. I also believe this is an SimpleClans error, just please fix it!! I am opening soon!
The 1.9 update changed a lot of code. Faction Mobs will take a while to update and it won't be finished until minimum next week.
HI thanks for updating towny, its much appreciated :)
@resoluciones
Sigh, another paid mod. Seeing as I can't access the actual file I can't develop for it. Unless you expect me to support just the demo? Unlikely I'll undertake this.
@Scyntrus
Of course. Links are as follows:
Kingdoms+ Battle for Land, Might and Glory!
Kingdoms Plugin [DEMO]
Kingdoms at Bukkit
Author
Thanks!
@resoluciones
No, not currently. If you link me the plugin I can take a look into it, see how hard it would be.
Would this work with the plugin Kingdoms? in case negative, maybe in the future?
@Scyntrus
Cool will wait for 2.9
Can give feedback for you if I find bugs :)
@Hmmcrunchy
I've implemented it, but just noticed a bug in it. Wait for version 2.9.0.
Also note that since usage with Towny isn't that popular, there's probably other bugs I haven't found.
@Cortesian
You may fork the Github repo for the purpose of developing for yourself or making pull requests, but you may not distribute the compiled binary without expressed permission.
@CharelDoesMC
And besides that, FactionsOne dev here. The issue might have occurred in the past (before FactionsOne 1.2), because I used to change the internal version name of Factions. As of FactionsOne 1.2, this is handled differently to provide better addon compatibility: The plugin.yml is now again (nearly) the same as the one of the original Factions 1.8.2.
Hi, I have a few issues with the license of FactionMobs. It says that I may modify FactionMobs for private usage, but I may not redistribute it, if I got it right. Does that mean that I may not fork the project at Github and contribute to it, neither? Because if I did, I'd redistribute the source code automatically in my cloned repo.
@The_PC_Tech_Guy
cool fingers crossed as towny mobs was epic and we used that a lot
@Hmmcrunchy
Probably not at the moment but I believe the developer has this planned.
hey does this work with towny?
@sevacus
No, that's impossible.
Could you make this mythic mobs compatible, so you can align mythic mobs to certain factions?
@Scyntrus
Thanks for the help, It does seem like its working! Thanks for your help!