Friendly

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

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

Download

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

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of BewilderedHooker BewilderedHooker Feb 14, 2013 at 06:03 UTC - 0 likes

    Please update this, this would be fantastic for my server

  • 1 comment

Facts

Date created
Aug 25, 2011
Category
Last update
Oct 10, 2011
Development stage
Abandoned
License
MIT License
Downloads
1,972
Recent file
  • R: v1.1 for CB 1240 Oct 10, 2011

Authors