MP Little Surprise! 1.2.0

Spawns a surprise mob when a player breaks a block!

  1. lelesape
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.14
    • 1.16
    little surprise header.png

    Spawns a surprise mob when a player breaks a block!

    features.png

    • Configurable prefix
    • Configurable chance of spawning a mob
    • Option to spawn on block or on player
    • Broadcast/Message options
    • List of blocks (premad with some blocks)
    • List of posibles entities
    • Ability to add any 1.14 blocks and entities
    • Ability to use every block available
    • Blacklist WorldGuard regions by their ID

    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)

    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.* - Gives you access to every permission

    config.png

    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
    to-do.png
    • Add sounds maybe (DONE✅)
    • Add /ls add block and /ls add mob commands (not really important) (DONE✅)
    • Add a few minor features (DONE✅)
    • Add ability to spawn multiple mobs instead of one (DONE✅)

    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!
    natallita, vokz and Resoluciones like this.

Recent Updates

  1. Final update
  2. Added WorldGuard support
  3. Update

Recent Reviews

  1. joaq
    joaq
    5/5,
    Version: 1.0.0
    Exelent plugin tuerca.
    continue working on this pl.


    dou epico soo good my friend......
    1. lelesape
      Author's Response
      Thank you my dude, im really glad you liekd my plugin
  2. yuyindada
    yuyindada
    5/5,
    Version: 1.0.0
    Hello~
    I've seen your plugin "MP Little Surprise" on spigotmc, it's fantastic!!!!!
    Good plugin, good developer, good support!
    I think it deserves 5 stars!!!!
    Could you please allow me to translate your plugin and advertise it to www.mcbbs.net?
    I'll show them your spigot page and let them download the plugin there.
    Hope for your reply!
    1. lelesape
      Author's Response
      Hey there! Thank you for your review!
      For sure, do as you please, i would be really gratefull .
      Thank you so much!