PvpingSpawners Alpha | A new era begins | Upgrade the drops | SpawnerStacker | MobStacker 1.4

Upgrade the drops of a spawner | SpawnerStacker | MobStacker

  1. hassan7000
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Contributors:
    Jet315
    Languages Supported:
    All languages is supported
    You will need this plugin before you can use this plugin make sure to read the plugin page:
    https://www.spigotmc.org/resources/item-entity-tile-nbt-api.7939/

    Why free:
    This is gonna be my first premium plugin but im testing the market and see how poeple react to this plugin the premium version will have stuff that this version don't have this is the alpha version meaning that the code is for testing and bugs will happen but i will try to fix them all. This plugin is gonna be recoded for the premium version.

    What is PvpingSpawners:
    PvpingSpawners is inspired by the server pvpwars a lot of you proably know the server but if you don't know the server pvpwars has a spawner plugin that allows people to upgrade their spawners drop. So you can upgrade the loot of a spawner for money instead of the normal spawner upgrader. This plugin contains a SpawnerStacker, mobstacker and upgrades.

    SpawnerStacker:
    [​IMG]

    MobStacker:
    [​IMG]

    SpawnerUpgrader:
    [​IMG]
    [​IMG] (This mob is from the spawner with the emerald block upgrade).

    SpawnerItem:
    [​IMG] (This will save the upgrades when you break a upgraded spawner).

    Commands:
    /pspawners give {player} {spawnertype} {amount} - gives you a spawner
    /pspawners reload - Reloads the config file

    Permissions:
    pvpingspawners.give - will allow you to use the give command
    pvpingspawners.reload - will allow you to use the reload command
    Code (Text):
    # Returnes a Integer
    PvpingSpawnersApi.getSpawnerStackAmount(CreatureSpawner spawner);

    # Returns a boolean
    PvpingSpawnersApi.isAStackedSpawner(CreatureSpawner spawner);

    # Returns a Integer
    PvpingSpawnersApi.getMobStackAmount(Entity entity);

    # Returns a Boolean
    PvpingSpawnersApi.isAStackedMob(Entity entity);

    # Returns a ItemStack
    PvpingSpawnersApi.getDropFromSpawner(CreatureSpawner spawner);

    # Returns a Integer
    PvpingSpawnersApi.getLevelFromSpawner(CreatureSpawner spawner);

    # Returns a double
    PvpingSpawnersApi.getPriceFromSpawner(CreatureSpawner spawner);

    # Returns a ItemStack
    PvpingSpawnersApi.getSpawnerItem(EntityType type, int amount);

    # Returns a ItemStack
    PvpingSpawnersApi.getUpgradedSpawnerItem(Player player,CreatureSpawner spawner, Entity entity, int level, ItemStack item, int amount, double price)
    ;
    Code (Text):
    @EventHandler
        public void SpawnerPlaceEvent(SpawnerPlaceEvent e) {
            e.getSpawner();
        }
       
        @EventHandler
        public void SpawnerStackEvent(SpawnerStackEvent e) {
            e.getSpawner();
            e.getSpawnerAmount();
        }
       
        @EventHandler
        public void SpawnerUnstackEvent(SpawnerUnstackEvent e) {
            e.getSpawner();
            e.getSpawnerAmount();
        }
    Code (Text):
    # PvpingSpawners by Hassan7000

    DisabledWorlds:
    - 'world'
    - 'someworld'
    - 'anotherworld'

    HelpMessage:
    - '       &6&lPSpawners Help '
    - '&e/pspawners give <player> <type> <amount>'
    - '&e/pspawners reload'

    Messages:
    ReloadMessage: '&7You have reloaded the config file'
    SenderGiveMessage: '&7You have given &f{target} {amount} {type}'
    TargetGiveMessage: '&7You have been given &f{amount} {type}'
    PlaceMessage: '&7You have placed &f{type} &7spawner &8(&f{amount}&8)'
    BrokeMessage: '&7You have broken &f{type} &7spawner &8(&f{amount}&8)'
    BoughtUpgrade: '&7You have bought the {tier} &7upgrade for &a{amount}$ &7and your spawner will now drop &f{drop}'
    Purchased: '&a&lPurchased' #This will show when a player has bought an upgrade
    CantPlace: '&7You cant place this spawner here because your spawner level is &f{level} &7and the nearby spawner level is &f{nearbylevel}'
    NotEnoughMoney: '&cYou dont have enough money to buy this upgrade'
    AlreayBought: '&cYou have already bought this upgrade'

    Settings:
    MultiplyPricePrStack: true #This will multiply the upgrade price pr stack so if your first upgrade is 1mil and the spawner stack is 10 you will have to pay 10mil

    UpgradeGui:
    GuiName: '&7Spawner upgrader '
    FillItem:
       Material: 'BLACK_STAINED_GLASS_PANE'
       Data: 15
    GuiSize: 27
    DefaultSlot: 10
    FirstSlot: 12
    SecondSlot: 14
    ThirdSlot: 16

    StackSpawners:
      Max_Size: 10 # The maximum size of a spawner stack.
      # {Size} = Stack size
      # {Type} = Mob type
      # Colorcodes is supported
      Hologram: '&7&l{Type}: &f&l{Size}x'
      ItemName: '&7&l{Type}: &f&l{Size}x'
      SearchRadius: 5 # Searches the area for spawners in the searchradius.
      ShiftBreakAll: true # This will allow players to break all spawners when shifting
      SilkTouch: true #You have to have silktouch on your pickaxe before you can break a spawner
      AddToInventory: true #This will allow the spawners to players inventory instead of dropping on the ground

    MobTypes:
    - ZOMBIE
    - PIG_ZOMBIE
    - SPIDER
    - CREEPER
    - IRON_GOLEM
    - VILLAGER

    DisabledWorlds:
    - 'someworld'
    - 'someotherworld'

    MergeLeashedMobs: false
    MergeTamedMobs: false
    MergeOnlySpawnerMobs: false

    StackMobs:
    Max_Size: 50 # The maximum size of a entity stack.
    Name: '&7&l{type}: &f&l{size}x'
    KillWholeStackOnDeath: false
      # Events that will trigger an entire stack to be killed.
      # It should be noted that this is useless if the above setting is true.
      # Any of the following can be added to the list:
      # CONTACT, ENTITY_ATTACK, ENTITY_SWEEP_ATTACK
      # PROJECTILE, SUFFOCATION, FALL
      # FIRE, FIRE_TICK, MELTING
      # LAVA, DROWNING, BLOCK_EXPLOSION
      # ENTITY_EXPLOSION, VOID, LIGHTNING
      # SUICIDE, STARVATION, POISON
      # MAGIC, WITHER, FALLING_BLOCK
      # THORNS, DRAGON_BREATH, CUSTOM
      # FLY_INTO_WALL, HOT_FLOOR, CRAMMING
      # DRYOUT
    SpecialDeathCause:
    - FALL
    - DROWNING
    - LAVA
    - VOID

    UpgradedSpawner:
    # {tier} - This get replaced with the GUI_NAME
    # {amount} - Shows the amount of the spawner stack
    # {mob} - Shows the mob type                          
    Name: '&6&lUpgradedSpawner: &e{tier} &8(&f{amount}x&8)'
    # {level} - Shows you the spawner level
    # {drop} - Shows the drop of the spawner
    # {mob} - shows the mob of the spawner
    Lore:
    - '&7This spawner is upgraded'
    - '&7Level: &f{level}'
    - '&7Drop: &f{drop}'
    - '&7Mob: &f{mob}'
    Glow: true

    Tiers:
      ZOMBIE:
        Default:
          GUI_NAME: '&cRotten Flesh tier'
          Lore:
          - '&7This spawner will drop: &fRotten Flesh'
          - '&cThis is the default drop so this cant be upgraded'
          Drop: 'ROTTEN_FLESH'
          Data: 0
        First:
         GUI_NAME: '&fIron Tier'
         Lore:
         - '&7This spawner will drop: &fIron ingots'
         - '&7Price: &a{price}$'
         Drop: 'IRON_INGOT'
         Data: 0
         Price: 10
        Second:
         GUI_NAME: '&6Gold Tier'
         Lore:
         - '&7This spawner will drop: &fGold ingots'
         - '&7Price: &a{price}$'
         Drop: 'GOLD_INGOT'
         Data: 0
         Price: 100
        Thrid:
         GUI_NAME: '&bDiamond Tier'
         Lore:
         - '&7This spawner will drop: &fDiamonds'
         - '&7Price: &a{price}$'
         Drop: 'DIAMOND'
         Data: 0
         Price: 1000
      IRON_GOLEM:
        Default:
          GUI_NAME: '&fIron Ingot Tier'
          Lore:
          - '&7This spawner will drop: &fIron Ingot'
          - '&cThis is the default drop so this cant be upgraded'
          Drop: 'IRON_INGOT'
          Data: 0
        First:
         GUI_NAME: '&bDiamond Tier'
         Lore:
         - '&7This spawner will drop: &fDiamonds'
         - '&7Price: &a{price}$'
         Drop: 'DIAMOND'
         Data: 0
         Price: 100000
        Second:
         GUI_NAME: '&f&lIron Block Tier'
         Lore:
         - '&7This spawner will drop: &fIron Block'
         - '&7Price: &a{price}$'
         Drop: 'IRON_BLOCK'
         Data: 0
         Price: 1000000
        Thrid:
         GUI_NAME: '&bDiamond Block Tier'
         Lore:
         - '&7This spawner will drop: &fDiamond Blocks'
         - '&7Price: &a{price}$'
         Drop: 'DIAMOND_BLOCK'
         Data: 0
         Price: 10000000
      VILLAGER:
        Default:
          GUI_NAME: '&aEmerald Tier'
          Lore:
          - '&7This spawner will drop: &fEmeralds'
          - '&cThis is the default drop so this cant be upgraded'
          Drop: 'EMERALD'
          Data: 0
        First:
         GUI_NAME: '&b&lDiamond Block tier'
         Lore:
         - '&7This spawner will drop: &fDiamond Blocks'
         - '&7Price: &a{price}$'
         Drop: 'DIAMOND_BLOCK'
         Data: 0
         Price: 100000
        Second:
         GUI_NAME: '&6&lGold Block Tier'
         Lore:
         - '&7This spawner will drop: &fGold Block'
         - '&7Price: &a{price}$'
         Drop: 'IRON_BLOCK'
         Data: 0
         Price: 1000000
        Thrid:
         GUI_NAME: '&a&lEmerald Block Tier'
         Lore:
         - '&7This spawner will drop: &fEmerald Blocks'
         - '&7Price: &a{price}$'
         Drop: 'EMERALD_BLOCK'
         Data: 0
         Price: 10000000
         
    meneliK, 8_infinity_8 and Godly like this.

Recent Reviews

  1. FlekMoon
    FlekMoon
    5/5,
    Version: 1.3
    This stacker plugin is amazing!. Great job making this plugin. I will recommend for you to add the possiblity to have more than 1 line on the holograms above the spawners.
    1. hassan7000
      Author's Response
      That was something I have planned
  2. 8_infinity_8
    8_infinity_8
    5/5,
    Version: 1.3
    Amazing Plugin! Cant wait to see what amazing updates will be brought to it! :D

    I also dont like to post ideas in reviews so i have messaged you instead!
    1. hassan7000
      Author's Response
      Thank you for your review
  3. LiquidBlaze1011
    LiquidBlaze1011
    4/5,
    Version: 1.1
    Great plugin, however please add support for Factions, Skyblock, Plots, etc...
    Also, If I where you I would add WildStacker support or EpicSpawners support or SilkSpawners etc.
    1. hassan7000
      Author's Response
      Hey I will be happy to do this for you but please message me first i really hate people that gives an unfair review because something is not added.
  4. aarpn
    aarpn
    5/5,
    Version: 2019-07-07
    So, idk if its possible etc but is there any way to add the spawners to /shop? using shopgui+? as that would be very nice if you can
    1. hassan7000
      Author's Response
      You mean like the upgraded spawners. You can add the spawners to shopguiplus using commands