No Mob Griefing

No Mob Griefing

This is a lightweight plugin that let's the user disable or enable griefing for certain mobs without having to use '/gamerule doMobGriefing false'. The player can disable or enable griefing worldwide and after configuring once, the plugin will remember it and there is no need to change the settings again.

For those who do not know, this is not the same as disabling the gamerule mobGriefing, because that will also stop snowgolems from generating snow, villagers from harvesting food (needed for a villager breeder) and the picking up of items by other mobs. This plugin enables to user to choose which mobs can grief and which mobs can not grief. This plugin also supports extra functions that are not included in the doMobGriefing gamerule, for example tnt griefing.


Commands

These commands can only be executed by a player.

/nmg - Basic command that shows info about the plugin and shows all commands that a player has permission for.

/nmg list - A command that shows a list of all mobs and wether their griefing has been enabled or disabled.

/nmg creeper [enable|disable] - Enables/disables creepers destroying blocks.

/nmg door [enable|disable] - Enables/disables zombies breaking doors.

/nmg turtle_egg [enable|disable] - Enables/disables zombies breaking turtle eggs.

/nmg enderman [enable|disable] - Enables/disables endermen picking up blocks.

/nmg snowgolem [enable|disable] - Enables/disables snowgolems leaving snow trails.

/nmg ghast [enable|disable] - Enables/disables ghasts destroying blocks.

/nmg wither [enable|disable] - Enables/disables withers destroying blocks.

/nmg enderdragon [enable|disable] - Enables/disables the enderdragon destroying blocks.

/nmg sheep[enable|disable] - Enables/disables sheep eating grass.

/nmg rabbit[enable|disable] - Enables/disables rabits eating crops.

/nmg ravager[enable|disable] - Enables/disables ravagers destroying blocks.

/nmg trampling[enable|disable] - Enables/disables mobs trampling farmland (not the player).

/nmg tnt [enable|disable] - Enables/disables tnt destroying blocks.

/nmg tntminecart [enable|disable] - Enables/disables tnt minecarts destroying blocks.

 


Permissions

There are only permissions for the commands, see the table below.

Permission node Description Default
nmg.list Allows the player to use the list command. true (everyone)
nmg.creeper Allows the player to use the creeper command. op
nmg.door Allows the player to use the door command. op
nmg.turtle_egg Allows the player to use the turtle_egg command. op
nmg.enderman Allows the player to use the endermanc ommand. op
nmg.snowgolem Allows the player to use the snowgolem command. op
nmg.ghast Allows the player to use the ghast command. op
nmg.wither Allows the player to use the wither command. op
nmg.enderdragon Allows the player to use the enderdragon command. op
nmg.sheep Allows the player to use the sheep command. op
nmg.rabbit Allows the player to use the rabbit command. op
nmg.ravager Allows the player to use the ravagercommand. op
nmg.trampling Allows the player to use the trampling command. op
nmg.tnt Allows the player to use the tnt command. op
nmg.tntminecart Allows the player to use the tntminecart command. op

 


Changelog

v0.2.4

  • Updated to 1.15
  • Added a command to enable/disable tnt minecarts destroying blocks.

v0.2.3

  • Fixed bug where ghasts could destroy blocks (this time for real).
  • Fixed bug where withers were able to destroy blocks they came in contact with.
  • Added a command to enable/disable zombies breaking turtle eggs.
  • Renamed the 'zombie' command to 'door'. If you are experiencing any weird things, try deleting the config folder of the NoMobGriefing plugin.

v0.2.2 

  • Fixed a bug where the ghast griefing option was not working
  • Added a command to enable/disable ravagers destroying blocks
  • Added a command to enable/disable sheep eating grass
  • Added a command to enable/disable rabbits eating crops
  • Added a command to enable/disable mobs trampling farmland

v0.2.1

  • Updated to 1.14

v0.2.0

  • Updated to 1.13
  • Minor text fixes
  • Minor performance updates.

v0.1.4

  • Fixed permission nodes
  • Added a command to enable/disable zombies breaking doors
  • Added a command to enable/disable tnt destroying blocks

v0.1.3

  • Added a command to enable/disable snowgolems leaving snow behind

v0.1.2

  • Hotfix

v0.1.1

  • Added smart tab completion for commands
  • Organised permission nodes

v0.1.0

  • Initial release

Suggestions/planned features

Feel free to comment what features you would like to see added in this plugin. Please contact me when something does not work properly, it helps when you attach an error message (if available).

Currently planned:

  • Stop the creation of end crystals when the enderdragon is spawning
  • Stop the creation of the end portal when the enderdragon dies.
  • Suggest more in the comments down below!

Other plugins
Quality of Life - A plugin that adds a ton of life enhancing features.
Easy Deaths - A plugin that makes dying a little less harsch.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    287737
  • Created
    Feb 19, 2018
  • Last Released File
    Feb 13, 2020
  • Total Downloads
    7,486
  • License

Categories

Members

Recent Files