Friendly
Friendly - Customize mob alignments
Version: v1.1
This plugin allows you to change the alignment of mobs. There are three alignments (Friendly, Neutral, and Aggressive) and three contexts (Day, Night, and Nether), and you can control the alignment of each mob in each context separately.
Currently, you can only lower the alignment (so, no setting pigs to Aggressive) and cannot affect Ghasts or Slimes. Both these limitations will be fixed when I figure out how and/or when it becomes possible.
Configuration is really easy. For global rules applying in all worlds, just put sections in the following format in the config file:
<mob-name>: <context>: <alignment>
For rules you want to apply in only one world, the following syntax is used:
<world>: <mob-name1>: <context>: <alignment> <mob-name2>: <context>: <alignment>
For example, if you want creepers to be neutral at night and friendly during the day, and wanted pig zombies to be friendly during the day in the main world, the following config would do that:
CREEPER: Day: Friendly Night: Neutral world: PIG_ZOMBIE: Day: Friendly
This plugin was originally written by jordanneil23, but since he hasn't committed to its repository since March, and it allowed exactly what I wanted for my LAN server, I touched it up and then decided I might as well release it.
Todo list:
- Support raising the alignment of mobs (eg making cows neutral).
- Support ghasts.
- Support slimes.
- Should detect light level instead of time of day, maybe? Or at least make it an option.
- Randomness factors (25% neutral, 75& aggressive!)
- Varying damage
- Don't target admins
Per-world settings
- Permissions (groups) support
- Also control mob attitudes towards mobs.
Changelog:
Version 1.1
- Add multiworld support
Version 1.0
- New config file format
- Separate support for alignments in the nether.
Version 0.1
- Initial release by jordanneil23
Please update this, this would be fantastic for my server