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:
@Scyntrus
I have faction power cost set to where I want, but I would like also a setting for a player limit as well, as I hope to be able to just give it to higher ranked people, or people who have player on longer - and thus earned it, but like I said I don't want a million put down.
@Pepper_coco
This is the spawn limit for the whole server. You can limit the number of mobs per faction by setting a faction power cost.
In the config file what does this mean exactly? "spawnLimit: 60"
Does it mean spawnlimit per world or spawnlimit per player? I'm guessing spawn limit per world, but the reason I ask is it possible to make a spawnlimit per player? It would be greatly appreciated if this can be done (if not already done) as I want all players to have an equal chance at spawning in faction mobs, but I don't want a million on the server.
Thanks for your consideration!
Thanks for the command block spawning commands! Everyone on my server will appreciate it when it's up and running.
@jinglehimersmith @QlimaxD
Thanks a lot for pointing out the despawning bug. I've just uploaded v1.8 which fixes this problem. Hopefully it's approved soon.
oh i see what you mean
@jinglehimersmith
Villagers can't hold weapons, and I'm not quite sure how to make them look like Steve.
About the despawning thing, yes, this does happen... I think I broke something from earlier...
ill refine my earlier question. could it possible to have different mob types for the army guys. like maybe villagers of maybe even steves
@QlimaxD
Really? I actually never noticed this before. I already set the entities to persistent, so I'm not sure why they're still despawning. But yeah, auto-save wouldn't fix this problem. I'll try to see what I can do.
everythings working for me but Erasedd is right. they despawn if youre too far away. i like the new update though thanks
If you leave the server or simply move far away from where the Faction mobs are and there is no player around in the chunks they are in and go back to it after a few seconds they despawn and there is no way to bring them back.
Just thought you should know this.
On a side note I do know if you have 1 selected you can bring it back but if you do not they are just gone. I also do have the auto save function enabled.
Oh nevermind.
@jinglehimersmith
You can set it to 0, 1, or 2 depending on what model you want for the mobs (I recommend 2). The titan will always have the iron golem model. What do you mean by like in the video?
oh i also had a question is there other mob codes for the npcs. i mean like on the config you can write 1, 2, or 3. is there a another number for something like in the video
oh okay i hope that works. thank you. this plugin is great
@jinglehimersmith
You're using the a version of my plugin for 1.4.7. You need to download v1.6 beta or 1.7 when it's approved.
http://dev.bukkit.org/server-mods/faction-mobs/files/12-faction-mobs-v1-6-beta/
this is what i get on my console: [SEVERE] Could not load 'plugins\FactionMobs.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_R1/ExceptionWorldConflict
anything?
when was the last time it was updated
@jinglehimersmith
If it doesn't create the faction mobs folder, then it isn't running at all. Only reason I can think of is it isn't detecting Factions...
Well i tried to reinstall faction mobs but now its not working at all. Its not creating a faction mobs folder. I tried it on my hosting server and my desktop server. Both the times, nothing happened.