HomeJavaModsMP Little Surprise!
MP Little Surprise!
little surprise header.png

Spawns a surprise mob when a player breaks a block!

features.png


commands and permissions.png


Commands:
-/ls help - Gives you a list of commands
-/ls version - Checks plugin´s version
-/ls reload - Reloads the config
-/ls blocks - Gives you a list of blocks (config)
-/ls mobs - Gives you a list of mobs (config)
-/ls toggle - Toggles on/off mob spawning for a certain player.

Permissions:
-littlesurprise.version - Allows you to check the plugin´s version
-littlesurprise.reload - Allows you to reload the config
-littlesurprise.listblocks - Allows you to get a list of blocks
-littlesurprise.listmobs - Allows you to get a list of mobs
-littlesurprise.toggle - Allows a player to toggle on/off mob spawning
-littlesurprise.* - Gives you access to every permission

config.png

Spoiler: config.yml
Code (YAML):

config
:
  # Prefix for the plugin's in-game messages
  prefix
: '&f [&dLittleSurprise&f ]'
  # Should the plugin use worldguard to listen for regions?
  # if tru you will need worldguard AND worldedit in your plugins folder
  worldguard enabled
: true
  # what regions shouldn't allow the plugin to spawn a mob
  blacklisted regions
:
   - 'some_region'
    - 'another_region'
  # Mobs will spawn once every chances times
  chances
: 100
  # Where is the mob supposed to spawn (block or player)
  spawn on
: 'block'
  # A message sent to every player online (but the player who broke the block) when a player spawns a mob by breaking a block
  broadcast
:
    enabled
: true
    text
: '&c %PLAYER% &6has found &c%QUANTITY%x %MOB% &6when mining &c%BLOCK%'
  # Message sent to a player when spawning a mob by breaking a block
  message
:
    enabled
: true
    text
: '&6You have found &c %QUANTITY% x %MOB% &6by mining &c%BLOCK%'
  # number of mobs to spawn
  quantity
: '1~5'
  # A sound played to the player who broke the block
  sound
:
    enabled
: true
    sound
: BLOCK_NOTE_BLOCK_PLING
  # Should the plugins use every block or only the listed ones?
  use all blocks
: true
  # The blocks that should be listened for
  blocks
:
   - 'STONE'
    - 'GRANITE'
    - 'POLISHED_GRANITE'
    - 'DIORITE'
    - 'POLISHED_DIORITE'
    - 'ANDESITE'
    - 'POLISHED_ANDESITE'
    - 'GRASS_BLOCK'
    - 'DIRT'
    - 'COARSE_DIRT'
    - 'PODZOL'
    - 'COBBLESTONE'
    - 'OAK_PLANKS'
    - 'SPRUCE_PLANKS'
    - 'BIRCH_PLANKS'
    - 'JUNGLE_PLANKS'
    - 'ACACIA_PLANKS'
    - 'DARK_OAK_PLANKS'
    - 'OAK_SAPLING'
    - 'SPRUCE_SAPLING'
    - 'BIRCH_SAPLING'
    - 'JUNGLE_SAPLING'
    - 'ACACIA_SAPLING'
    - 'DARK_OAK_SAPLING'
    - 'SAND'
    - 'RED_SAND'
    - 'GRAVEL'
    - 'GOLD_ORE'
    - 'IRON_ORE'
    - 'COAL_ORE'
    - 'OAK_LOG'
    - 'SPRUCE_LOG'
    - 'BIRCH_LOG'
    - 'JUNGLE_LOG'
    - 'ACACIA_LOG'
    - 'DARK_OAK_LOG'
    - 'STRIPPED_OAK_LOG'
    - 'STRIPPED_SPRUCE_LOG'
    - 'STRIPPED_BIRCH_LOG'
    - 'STRIPPED_JUNGLE_LOG'
    - 'STRIPPED_ACACIA_LOG'
    - 'STRIPPED_DARK_OAK_LOG'
    - 'OAK_LEAVES'
    - 'SPRUCE_LEAVES'
    - 'BIRCH_LEAVES'
    - 'JUNGLE_LEAVES'
    - 'ACACIA_LEAVES'
    - 'DARK_OAK_LEAVES'
    - 'SPONGE'
    - 'WET_SPONGE'
    - 'GLASS'
    - 'LAPIS_ORE'
    - 'LAPIS_BLOCK'
    - 'DISPENSER'
    - 'SANDSTONE'
    - 'CHISELED_SANDSTONE'
    - 'CUT_SANDSTONE'
    - 'NOTE_BLOCK'
    - 'STICKY_PISTON'
    - 'COBWEB'
    - 'GRASS'
    - 'FERN'
    - 'DEAD_BUSH'
    - 'SEAGRASS'
    - 'SEA_PICKLE'
    - 'PISTON'
    - 'WHITE_WOOL'
    - 'ORANGE_WOOL'
    - 'MAGENTA_WOOL'
    - 'LIGHT_BLUE_WOOL'
    - 'YELLOW_WOOL'
    - 'LIME_WOOL'
    - 'PINK_WOOL'
    - 'GRAY_WOOL'
    - 'LIGHT_GRAY_WOOL'
    - 'CYAN_WOOL'
    - 'PURPLE_WOOL'
    - 'BLUE_WOOL'
    - 'BROWN_WOOL'
    - 'GREEN_WOOL'
    - 'RED_WOOL'
    - 'BLACK_WOOL'
    - 'TALL_GRASS'
    - 'LARGE_FERN '
    - 'SEAGRASS '
    - 'LILY_PAD '
    - 'SUGAR_CANE '
    - 'KELP_PLANT '
    - 'BROWN_MUSHROOM '
    - 'RED_MUSHROOM '
    - 'DANDELION '
    - 'POPPY '
    - 'BLUE_ORCHID '
    - 'ALLIUM '
    - 'AZURE_BLUET '
    - 'ORANGE_TULIP '
    - 'PINK_TULIP '
    - 'RED_TULIP '
    - 'WHITE_TULIP '
    - 'OXEYE_DAISY '
    - 'SUNFLOWER '
    - 'LILAC '
    - 'ROSE_BUSH '
    - 'PEONY '
    - 'BRAIN_CORAL '
    - 'BUBBLE_CORAL '
    - 'FIRE_CORAL '
    - 'HORN_CORAL '
    - 'TUBE_CORAL '
    - 'BRAIN_CORAL_FAN '
    - 'BUBBLE_CORAL_FAN '
    - 'FIRE_CORAL_FAN '
    - 'HORN_CORAL_FAN '
    - 'TUBE_CORAL_FAN '
    - 'DEAD_BRAIN_CORAL_FAN '
    - 'DEAD_BUBBLE_CORAL_FAN '
    - 'DEAD_FIRE_CORAL_FAN '
    - 'DEAD_HORN_CORAL_FAN '
    - 'DEAD_TUBE_CORAL_FAN '
    - 'TORCH '
    - 'PAINTING '
    - 'END_ROD '
    - 'ITEM_FRAME '
    - 'REDSTONE_WIRE '
    - 'REDSTONE_TORCH '
    - 'REPEATER '
    - 'COMPARATOR '
    - 'TRIPWIRE_HOOK '
    - 'STRING '
    - 'TRIPWIRE '
  # The mobs to spawn:
  # This is completely random, to increase a mob's probability
  # to spawn, write it down m,ore than once
  mobs
:
   - 'BAT'
    - 'BLAZE'
    - 'CAT'
    - 'CAT'
    - 'CAT'
    - 'CAT'
    - 'CAVE_SPIDER'
    - 'CHICKEN'
    - 'COD'
    - 'COW'
    - 'CREEPER'
    - 'CREEPER'
    - 'CREEPER'
    - 'CREEPER'
    - 'CREEPER'
    - 'CREEPER'
    - 'CREEPER'
    - 'CREEPER'
    - 'DOLPHIN'
    - 'DONKEY'
    - 'DROWNED'
    - 'ELDER_GUARDIAN'
    # - 'ENDER_DRAGON' USE WITH EXTREME PRECAUTION
    - 'ENDERMAN'
    - 'ENDERMITE'
    - 'EVOKER'
    - 'FIREBALL'
    - 'FOX'
    - 'GHAST'
    - 'GIANT'
    - 'GUARDIAN'
    - 'HORSE'
    - 'HUSK'
    - 'ILLUSIONER'
    - 'IRON_GOLEM'
    - 'LLAMA'
    - 'MUSHROOM_COW'
    - 'MULE'
    - 'OCELOT'
    - 'PANDA'
    - 'PARROT'
    - 'PHANTOM'
    - 'PIG'
    - 'PIG_ZOMBIE'
    - 'PILLAGER'
    - 'POLAR_BEAR'
    - 'PUFFERFISH'
    - 'RABBIT'
    - 'RAVAGER'
    - 'SALMON'
    - 'SHEEP'
    - 'SHULKER'
    - 'SILVERFISH'
    - 'SKELETON'
    - 'SLIME'
    - 'SNOWMAN'
    - 'SPIDER'
    - 'SQUID'
    - 'STRAY'
    - 'TRADER_LLAMA'
    - 'TROPICAL_FISH'
    - 'TURTLE'
    - 'VEX'
    - 'VILLAGER'
    - 'VINDICATOR'
    - 'WANDERING_TRADER'
    - 'WITCH'
    # - 'WITHER' USE WITH EXTREME PRECAUTION
    - 'WITHER_SKELETON'
    - 'WOLF'
    - 'ZOMBIE'
    - 'ZOMBIE'
    - 'ZOMBIE'
    - 'ZOMBIE'
    - 'ZOMBIE'
    - 'ZOMBIE_HORSE'
    - 'ZOMBIE_VILLAGER'
 

reviews.png
If you review my plugin let me know so i can put your video here
Spoiler: Video this plugin is inspired on
to-do.png

support.png

discord logo.png
termso of use.png
By using this plugin you agree to the following terms:
  • You cannot sell this plugin
  • You cannot claim this plugin as yours
  • I can and will modify this terms at any time without any kind of notification
If you find any bugs please let me know, also make sure to rate this plugin, thank you!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

MP Little Surprise! is a free Minecraft Java mod. Compatible with Minecraft 1.14, 1.15, 1.16. Downloaded 462 times (via Spigot). Download it and open it directly in the game.

Explore more