PeacefulPlayer Repacified 2.0

Peaceful and other difficutlies in the same world!

  1. Alpengringo
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    Source Code:
    https://github.com/PascalHann/PeacefulPlayerRepacified
    Peaceful Player Repacified
    Simple permission-based plugin to deactivate mob aggro on specific players. With
    this plugin you can prevent monsters from attacking a certain player, prevent a player attacking monsters, or make a
    player immune to damage with three simple permissions. No commands or configuration needed.

    Disclaimer
    This Plugin was originally developed by Owen Oclee. I simply updated the list of hostile mobs to be compatible
    with newer versions of Minecraft.
    Check out his original project!

    Requirements
    • A server distribution that implements the Bukkit API. I recommend Paper.
    • A permission plugin to apply the permissions. I recommend LuckPerms.

    Installation
    Grab the right version for your server from here and simply drop the .jar into your server's plugins folder.
    After a server restart the plugin should get listed when you run the /pl chatcommand.

    The version you can download rigth here on spigotMC was only tested on PaperMC 1.16.2, as I have limited time and ressources to test on other distributions.

    Permissions
    • peacefulplayer.pacifier
      make hostile mobs act as if the permission holder is not there
      If you want to enable the "true" peaceful experience you might also want to prevent the player from starving. You can
      do this with Worldguard global region flags:
      Code (Text):

              /region flag __global__ -g members feed-delay 30
              /region flag __global__ -g members feed-amount 20
              /region addmember __global__ g:[yourPeacefulGroup]
             

    • peacefulplayer.pacified
      prevent permission holder from attacking hostile mobs
      If you want more control over which specific types the player can and cannot attack you can alternatively use WorldGuards
      build permissions
      . (worldguard.build.entity.damage.[Mob])


    • peacefulplayer.god
      primitive 'god mode', prevents permission holder from receiving any sort of damage (if you truly hate dying!)

    List of affected mobs
    • BLAZE
    • CAVE_SPIDER
    • CREEPER
    • DROWNED
    • ELDER_GUARDIAN
    • ENDER_DRAGON
    • ENDERMAN
    • ENDERMITE
    • EVOKER
    • GHAST
    • GUARDIAN
    • HOGLIN
    • HUSK
    • MAGMA_CUBE
    • PHANTOM
    • PIGLIN
    • PIGLIN_BRUTE
    • PILLAGER
    • RAVAGER
    • SHULKER
    • SILVERFISH
    • SKELETON
    • SLIME
    • SPIDER
    • STRAY
    • VEX
    • VINDICATOR
    • WITCH
    • WITHER
    • WITHER_SKELETON
    • WITHER_SKULL
    • ZOGLIN
    • ZOMBIE
    • ZOMBIFIED_PIGLIN
    • ZOMBIE_VILLAGER
    ccorp2002 likes this.