Mob Blocker icon

Mob Blocker -----

This will block any mob you don't want ingame straight through a config file!




  • Added 1.20 Compatibility
  • Finished code for Sniffer and Camel
----------, Jun 14, 2023

  • Updated spigot 1.19.4 compatibility
  • Added commands for Allay, Frog, Tadpole, Warden
  • Added Config values for Allay, Frog, Tadpole, Warden
  • Setup code for 1.20
  • Reorganized MobBlocker config and code
----------, Jun 13, 2023

This update is just updating the plugin to minecraft 1.18!

I am not including PerWorldPlugins with this plugin anymore but if you all enjoyed using PerWorldPlugin then the link is down below

https://www.spigotmc.org/resources/perworldplugins.96161/
----------, Dec 1, 2021

Hello Everyone, So with this update it fixes the issue with MobBlockers not working on Paper servers. I have tested it on 1.17.1 through 1.8 Paper and every time it has been successful so it should be all set.

I have also done some recoding to make expansion for new and cool features in the future. If you all have any suggestions on what you would like to see let us know on our discord. Thank you!

22.10 02:14:09 [Multicraft] Starting server!
22.10 02:14:09 [Multicraft] Loaded config for "PaperSpigot 1.16.3 Latest (Current: 1.16.3 #195)"
22.10 02:14:11 [Multicraft] Running setup...
22.10 02:14:12 [Setup/"(Action) Reset/Delete Server Files (Also tick "Delete All Server Files")" before setup] Deleting all server files...
22.10 02:14:12 [Setup/"(Action) Reset/Delete Server Files (Also tick "Delete All Server Files")" before setup] Cleanup completed.
22.10 02:14:12 [Multicraft] Done, returned Ok
22.10 02:14:12 [Multicraft] Marking setup as done
22.10 02:14:12 [Multicraft] Setup done, restarting
22.10 02:14:12 [Multicraft] Server stopped
22.10 02:14:15 [Multicraft] Loading server properties
22.10 02:14:15 [Multicraft] Starting server!
22.10 02:14:15 [Multicraft] Loaded config for "PaperSpigot 1.16.3 Latest (Current: 1.16.3 #195)"
22.10 02:14:15 [Multicraft] JAR file not found, copying from global JAR directory
22.10 02:14:15 [Multicraft] Updating eula.txt file
22.10 02:14:21 [Server] INFO Downloading vanilla jar...
22.10 02:14:31 [Server] INFO Patching vanilla jar...
22.10 02:14:43 [Server] INFO *** Warning, you've not updated in a while! ***
22.10 02:14:43 [Server] INFO *** Please download a new build as per instructions from https://papermc.io/downloads ***
22.10 02:14:43 [Server] INFO System Info: Java 1.8 (OpenJDK 64-Bit Server VM 25.275-b01) Host: Linux 4.19.62-mod-std-ipv6-64-rescue (amd64)
22.10 02:14:43 [Server] INFO Loading libraries, please wait...
22.10 02:14:50 [Server] INFO 2021-10-22 02:14:50,631 main WARN Advanced terminal features are not available in this environment
22.10 02:15:42 [Server] INFO Environment: authHost=' https://authserver.mojang.com', accountsHost=' https://api.mojang.com', sessionHost=' https://sessionserver.mojang.com', name='PROD'
22.10 02:15:43 [Server] INFO Found new data pack file/bukkit, loading it automatically
22.10 02:15:49 [Server] INFO Reloading ResourceManager: Default, bukkit
22.10 02:15:52 [Server] INFO Loaded 7 recipes
22.10 02:16:06 [Server] INFO Starting minecraft server version 1.16.3
22.10 02:16:06 [Server] INFO Loading properties
22.10 02:16:09 [Server] INFO This server is running Paper version git-Paper-195 (MC: 1.16.3) (Implementing API version 1.16.3-R0.1-SNAPSHOT)
22.10 02:16:10 [Server] INFO Server Ping Player Sample Count: 12
22.10 02:16:10 [Server] INFO Using 4 threads for Netty based IO
22.10 02:16:10 [Server] INFO Debug logging is disabled
22.10 02:16:10 [Server] INFO Default game type: SURVIVAL
22.10 02:16:10 [Server] INFO Generating keypair
22.10 02:16:11 [Server] INFO Starting Minecraft server on 54.39.64.26:25630
22.10 02:16:12 [Server] INFO Using epoll channel type
22.10 02:16:14 [Server] INFO Preparing level "world"
22.10 02:16:14 [Server] INFO -------- World Settings For [world] --------
22.10 02:16:14 [Server] INFO Cactus Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Cane Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Melon Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Mushroom Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Pumpkin Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Sapling Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Beetroot Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Carrot Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Potato Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Wheat Growth Modifier: 100%
22.10 02:16:14 [Server] INFO NetherWart Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Vine Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Cocoa Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Bamboo Growth Modifier: 100%
22.10 02:16:14 [Server] INFO SweetBerry Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Kelp Growth Modifier: 100%
22.10 02:16:14 [Server] INFO Experience Merge Radius: 3.0
22.10 02:16:14 [Server] INFO Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true
22.10 02:16:14 [Server] INFO Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
22.10 02:16:14 [Server] INFO Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
22.10 02:16:14 [Server] INFO Max TNT Explosions: 100
22.10 02:16:14 [Server] INFO Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
22.10 02:16:14 [Server] INFO Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
22.10 02:16:14 [Server] INFO Allow Zombie Pigmen to spawn from portal blocks: true
22.10 02:16:14 [Server] INFO Item Merge Radius: 2.5
22.10 02:16:14 [Server] INFO Item Despawn Rate: 6000
22.10 02:16:14 [Server] INFO View Distance: 10
22.10 02:16:14 [Server] INFO Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
22.10 02:16:14 [Server] INFO Zombie Aggressive Towards Villager: true
22.10 02:16:14 [Server] INFO Mob Spawn Range: 8
22.10 02:16:14 [Server] INFO Nerfing mobs spawned from spawners: false
22.10 02:16:29 [Server] INFO -------- World Settings For [world_nether] --------
22.10 02:16:29 [Server] INFO Cactus Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Cane Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Melon Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Mushroom Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Pumpkin Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Sapling Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Beetroot Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Carrot Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Potato Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Wheat Growth Modifier: 100%
22.10 02:16:29 [Server] INFO NetherWart Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Vine Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Cocoa Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Bamboo Growth Modifier: 100%
22.10 02:16:29 [Server] INFO SweetBerry Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Kelp Growth Modifier: 100%
22.10 02:16:29 [Server] INFO Experience Merge Radius: 3.0
22.10 02:16:29 [Server] INFO Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true
22.10 02:16:29 [Server] INFO Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
22.10 02:16:29 [Server] INFO Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
22.10 02:16:29 [Server] INFO Max TNT Explosions: 100
22.10 02:16:29 [Server] INFO Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
22.10 02:16:29 [Server] INFO Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
22.10 02:16:29 [Server] INFO Allow Zombie Pigmen to spawn from portal blocks: true
22.10 02:16:29 [Server] INFO Item Merge Radius: 2.5
22.10 02:16:29 [Server] INFO Item Despawn Rate: 6000
22.10 02:16:29 [Server] INFO View Distance: 10
22.10 02:16:29 [Server] INFO Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
22.10 02:16:29 [Server] INFO Zombie Aggressive Towards Villager: true
22.10 02:16:29 [Server] INFO Mob Spawn Range: 8
22.10 02:16:29 [Server] INFO Nerfing mobs spawned from spawners: false
22.10 02:16:30 [Server] WARN Unable to find spawn biome
22.10 02:16:33 [Server] INFO -------- World Settings For [world_the_end] --------
22.10 02:16:33 [Server] INFO Cactus Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Cane Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Melon Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Mushroom Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Pumpkin Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Sapling Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Beetroot Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Carrot Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Potato Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Wheat Growth Modifier: 100%
22.10 02:16:33 [Server] INFO NetherWart Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Vine Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Cocoa Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Bamboo Growth Modifier: 100%
22.10 02:16:33 [Server] INFO SweetBerry Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Kelp Growth Modifier: 100%
22.10 02:16:33 [Server] INFO Experience Merge Radius: 3.0
22.10 02:16:33 [Server] INFO Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true
22.10 02:16:33 [Server] INFO Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
22.10 02:16:33 [Server] INFO Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
22.10 02:16:33 [Server] INFO Max TNT Explosions: 100
22.10 02:16:33 [Server] INFO Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
22.10 02:16:33 [Server] INFO Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
22.10 02:16:33 [Server] INFO Allow Zombie Pigmen to spawn from portal blocks: true
22.10 02:16:33 [Server] INFO Item Merge Radius: 2.5
22.10 02:16:33 [Server] INFO Item Despawn Rate: 6000
22.10 02:16:33 [Server] INFO View Distance: 10
22.10 02:16:33 [Server] INFO Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
22.10 02:16:33 [Server] INFO Zombie Aggressive Towards Villager: true
22.10 02:16:33 [Server] INFO Mob Spawn Range: 8
22.10 02:16:33 [Server] INFO Nerfing mobs spawned from spawners: false
22.10 02:16:33 [Server] WARN Unable to find spawn biome
22.10 02:16:34 [Server] INFO Preparing start region for dimension minecraft :eek:verworld
22.10 02:16:35 [Server] INFO Loaded 0 spawn chunks for world world
22.10 02:16:35 [Server] INFO Preparing spawn area: 0%
22.10 02:16:35 [Server] INFO Preparing spawn area: 0%
22.10 02:16:35 [Server] INFO Preparing spawn area: 0%
22.10 02:16:36 [Server] INFO Preparing spawn area: 0%
22.10 02:16:36 [Server] INFO Time elapsed: 1859 ms
22.10 02:16:36 [Server] INFO Preparing start region for dimension minecraft:the_nether
22.10 02:16:37 [Server] INFO Loaded 0 spawn chunks for world world_nether
22.10 02:16:37 [Server] INFO Preparing spawn area: 0%
22.10 02:16:37 [Server] INFO Preparing spawn area: 0%
22.10 02:16:37 [Server] INFO Preparing spawn area: 0%
22.10 02:16:38 [Server] INFO Preparing spawn area: 0%
22.10 02:16:38 [Server] INFO Preparing spawn area: 0%
22.10 02:16:38 [Server] INFO Time elapsed: 2178 ms
22.10 02:16:38 [Server] INFO Preparing start region for dimension minecraft:the_end
22.10 02:16:39 [Server] INFO Loaded 0 spawn chunks for world world_the_end
22.10 02:16:39 [Server] INFO Preparing spawn area: 0%
22.10 02:16:39 [Server] INFO Preparing spawn area: 0%
22.10 02:16:39 [Server] INFO Preparing spawn area: 0%
22.10 02:16:40 [Server] INFO Preparing spawn area: 0%
22.10 02:16:40 [Server] INFO Time elapsed: 1988 ms
22.10 02:16:41 [Server] INFO Running delayed init tasks
22.10 02:16:41 [Server] Startup Done (35.017s)! For help, type "help"
22.10 02:16:41 [Server] INFO Timings Reset
22.10 02:16:49 [Server] WARN Can't keep up! Is the server overloaded? Running 5056ms or 101 ticks behind
22.10 02:18:48 [Server] WARN Can't keep up! Is the server overloaded? Running 89277ms or 1785 ticks behind
22.10 02:19:57 [Server] INFO UUID of player MC_Grim is ed5d5e8f-2fad-4053-96c4-36f0674ebae7
22.10 02:19:58 [Server] INFO MC_Grim joined the game
22.10 02:19:59 [Connect] User MC_Grim, IP 174.86.13.114
22.10 02:19:59 [Multicraft] MC_Grim ran command Message of the Day
22.10 02:20:19 [Server] INFO Made MC_Grim a server operator
22.10 02:20:31 [Server] INFO MC_Grim issued server command: /reload
22.10 02:20:31 [Server] INFO MC_Grim: Are you sure you wish to reload your server? Doing so may cause bugs and memory leaks. It is recommended to restart instead of using /reload. To confirm, please type /reload confirm
22.10 02:20:43 [Server] INFO MC_Grim issued server command: /reload confirm
22.10 02:20:43 [Server] INFO MC_Grim: Please note that this command is not supported and may cause issues when using some plugins.
22.10 02:20:43 [Server] INFO MC_Grim: If you encounter any issues please use the /stop command to restart your server.
22.10 02:20:43 [Server] INFO Server Ping Player Sample Count: 12
22.10 02:20:43 [Server] INFO Using 4 threads for Netty based IO
22.10 02:20:43 [Server] INFO Debug logging is disabled
22.10 02:20:43 [Server] INFO -------- World Settings For [world] --------
22.10 02:20:43 [Server] INFO Cactus Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Cane Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Melon Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Mushroom Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Pumpkin Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Sapling Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Beetroot Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Carrot Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Potato Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Wheat Growth Modifier: 100%
22.10 02:20:43 [Server] INFO NetherWart Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Vine Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Cocoa Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Bamboo Growth Modifier: 100%
22.10 02:20:43 [Server] INFO SweetBerry Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Kelp Growth Modifier: 100%
22.10 02:20:43 [Server] INFO Experience Merge Radius: 3.0
22.10 02:20:43 [Server] INFO Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true
22.10 02:20:43 [Server] INFO Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
22.10 02:20:43 [Server] INFO Custom Map Seeds: Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Bastion: 30084232 Fortress: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
22.10 02:20:43 [Server] INFO Max TNT Explosions: 100
22.10 02:20:43 [Server] INFO Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
22.10 02:20:43 [Server] INFO Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
22.10 02:20:43 [Server] INFO Allow Zombie Pigmen to spawn from portal blocks: true
22.10 02:20:43 [Server] INFO Item Merge Radius: 2.5
22.10 02:20:43 [Server] INFO Item Despawn Rate: 6000
22.10 02:20:43 [Server] INFO View Distance: 10
22.10 02:20:43 [Server] INFO Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
22.10 02:20:43 [Server] INFO Zombie Aggressive Towards Villager: true
22.10 02:20:43 [Server] INFO Mob Spawn Range: 8
22.10 02:20:43 [Server] INFO Nerfing mobs spawned from spawners: false
22.10 02:20:43 [Server] INFO Reloading ResourceManager: Default, bukkit
22.10 02:20:45 [Server] INFO Loaded 7 recipes
22.10 02:20:53 [Server] INFO Reloading ResourceManager: Default, bukkit
22.10 02:20:54 [Server] INFO Loaded 7 recipes
22.10 02:21:02 [Server] WARN Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!
22.10 02:21:16 [Server] WARN Legacy plugin MobBlocker v1.8.0-SNAPSHOT does not specify an api-version.
22.10 02:21:16 [Server] INFO Loading MobBlocker v1.8.0-SNAPSHOT
22.10 02:21:16 [Server] INFO Server permissions file permissions.yml is empty, ignoring it
22.10 02:21:16 [Server] INFO Enabling MobBlocker v1.8.0-SNAPSHOT*
22.10 02:21:16 [Server] INFO MobBlocker has started!!!
22.10 02:21:17 [Server] INFO MC_Grim: Reload complete.
22.10 02:21:17 [Server] INFO Timings Reset
22.10 02:21:18 [Server] INFO *********************************************************************
22.10 02:21:18 [Server] INFO MobBlocker is outdated!
22.10 02:21:18 [Server] INFO Newest version: 1.7.9
22.10 02:21:18 [Server] INFO Your version: 1.7.9
22.10 02:21:18 [Server] INFO Please Update Here: https://spigotmc.org/resources/94047
22.10 02:21:18 [Server] INFO *********************************************************************
----------, Oct 22, 2021

Hello Everyone I have found a very useful solution to being able to enable/disable MobBlocker between certain worlds! This will also allow you to do that with any other plugin you have aswell!

Code (Text):
# This config controls what plugins work on certain worlds.
# Example
# limit:
#   WorldEdit:
#     - world
#     - world_nether
#   Essentials: []
# This will make it so worldedit will only work in world & world_nether, meaning in the end it is not usable.
# When there is no worlds in the list it will allow it for any worlds, in this example allowing all worlds.
# Whenever a plugin is added, this config will automatically add it!
# exempt-login-events is for excluding login events when true, this means if a plugin uses PlayerLogin it will allow it for any world. We advise this to be enabled!
# blocked-msg is the string displayed to a client when a command is blocked
exempt-login-events: true
check-for-updates: true
blocked-msg: '&c[Error] This command cannot be performed in this world.'
limit:
  LuckPerms: []
  Vault: []
  MobBlocker:
  - world
 



You will receive updated versions of Per World Plugins with every copy of MobBlocker from here on out! Thank you all and If you all need anything join my discord Thank You :D
----------, Oct 11, 2021

Due to some recent events on my very own server I have went through and thrown in permissions for every mob individual and I threw one in to do all of them all at once

!!!Permissions!!!
-----------------------------

mobblocker.(MobType) = gives permission per mob. Ex. mobblocker.axolotl will allow players to enable/disable axolotl but not anything else.

mobblocker.block.* = Allows players to enable/disable all mob types!
----------, Oct 8, 2021

Error Fix
With this update I fixed a major issue that I found with the plugin. I noticed that I had put all of the mobs backwards. It should have let them all be enabled until you disabled them. I have went through and set it to where everything will spawn as normal to begin with and you will have to disable any mobs you don't want spawning.

!!!!IMPORTANT PLEASE READ!!!!
In order for the Error Fix to take effect you will have to delete the config.yml so that the plugin can create a new one!

Cosmetic Fix
I have went through all of the mobs and changed the chat colors. So now when you enable spawning it will be a green color. If you disable or enter in a command wrong it will be red. There will no longer be any white wording in chats.
----------, Oct 5, 2021

This is a fix to a mistake with all passive mobs when using the in game config! It no longer send " You must enter a argument, /blockcreeper [true/false] , True disables spawning, False enables spawning" whenever you enable a passive mob!
----------, Jul 14, 2021

As promised friends I added a full blown in game config for this plugin! Whenever new mobs come out the first update will always add the mobs the second update will fix all ingame config issues! If there are issues I will fix them!
----------, Jul 14, 2021

Resource Information
Author:
----------
Total Downloads: 1,239
First Release: Jul 8, 2021
Last Update: Jun 14, 2023
Category: ---------------
All-Time Rating:
2 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings