PickUpSpawners PickUpSpawners 2.8

This plugin enables users to pickup and place spawners and much more!

  1. BladeFireTurtle
    Tested Minecraft Versions:
    • 1.10
    • 1.11
    [​IMG]
    This plugin enables users to pickup and place spawners in the world and much more!

    Simply download the jar file and place it in your servers plugin folder and you're good to go!

    Features:
    • Permissions to enable/disable picking up spawners
    • Enables the placing/picking up of spawners in worlds listed in the config
    • Nosilk permisson that enables the picking up of spawners without silktouch (Good for donor ranks)
    • Get non-vanilla spawners using a nice little GUI (permissions required)
    • Ability to customize the spawner GUI skins!
    • Toggle the ability to change spawner types using mobeggs
    • Toggle spawners to drop from explosions (changeable drop probability)
    • Very simple spawner protection system
    • Let players buy spawners using /ps get (permissions required for every different spawner and each one has its own price(see config))
    • Console give command (Great for donor prizes!)
    • 34 compatible mob types!

    This plugin requires Vault if you want the GUI to act as a shop (otherwise disable in config).

    Commands:
    - /pickupspawners can be shortened to /ps
    • /pickupspawners reload - Allows a player to reload the config file from in game.
    • /pickupspawners get - Allows a player to open up the spawner shop GUI
    • /pickupspawners give <spawner type> <amount> (Player name) - Allows a player to be given an individual spawner - Can now be used in console!

    /ps get command in action:

    [​IMG]

    (Permissions and prices must be set for each spawner)
    Note: You can now customize the skins!

    Permissions:

    • pickupspawners.reload - Allows users to use the reload command (Default OP only)
    • pickupspawners.pickup - Allows users to pickup spawners (Not Default)
    • pickupspawners.place - Allows users to place spawners (Not Default)
    • pickupspawners.nosilk - Makes the silktouch enchantment unnecessary (Not Default)
    • pickupspawners.bypassprotection - Allows a player to break a protected spawner (Default OP only)
    • pickupspawners.allworlds - Enables the placing/picking up of spawners in worlds not enabled in the config (Default OP only)
    • pickupspawners.get - Enables a player to get free spawners using the /pickupspawners get command (opens GUI) (Not Default)
    • pickupspawners.give - Enables a player to get free spawners using the /pickupspawners give command (Not Default)
    • pickupspawners.eggchange - Enables a player to always change spawner types using mob eggs, regardless of config settings (Not Default)
    These permissions are only relevant to users who already have the pickupspawners.get or pickupspawners.give permission.

    Default Permissions:
    • pickupspawners.bat - Enables a player to get/buy a bat spawner (Default)
    • pickupspawners.blaze - Enables a player to get/buy a blaze spawner (Default)
    • pickupspawners.cavespider - Enables a player to get/buy a cavespider spawner (Default)
    • pickupspawners.chicken - Enables a player to get/buy a chicken spawner (Default)
    • pickupspawners.cow - Enables a player to get/buy a cow spawner (Default)
    • pickupspawners.creeper - Enables a player to get/buy a creeper spawner (Default)
    • pickupspawners.enderman - Enables a player to get/buy a enderman spawner (Default)
    • pickupspawners.endermite - Enables a player to get/buy a endermite spawner (Default)
    • pickupspawners.guardian - Enables a player to get/buy a guardian spawner (Default)
    • pickupspawners.horse- Enables a player to get/buy a horse spawner (Default)
    • pickupspawners.mooshroom- Enables a player to get/buy a mushroomcow spawner (Default)
    • pickupspawners.ocelot- Enables a player to get/buy a ocelot spawner (Default)
    • pickupspawners.pig - Enables a player to get/buy a pig spawner (Default)
    • pickupspawners.pigman - Enables a player to get/buy a pigzombie spawner (Default)
    • pickupspawners.rabbit - Enables a player to get/buy a rabbit spawner (Default)
    • pickupspawners.sheep - Enables a player to get/buy a sheep spawner (Default)
    • pickupspawners.silverfish - Enables a player to get/buy a silverfish spawner (Default)
    • pickupspawners.skeleton - Enables a player to get/buy a skeleton spawner (Default)
    • pickupspawners.spider - Enables a player to get/buy a spider spawner (Default)
    • pickupspawners.squid - Enables a player to get/buy a squid spawner (Default)
    • pickupspawners.slime - Enables a player to get/buy a slime spawner (Default)
    • pickupspawners.magmacube - Enables a player to get/buy a lavaslime spawner (Default)
    • pickupspawners.villager - Enables a player to get/buy a villager spawner (Default)
    • pickupspawners.witch - Enables a player to get/buy a witch spawner (Default)
    • pickupspawners.wolf - Enables a player to get/buy a wolf spawner (Default)
    • pickupspawners.zombie - Enables a player to get/buy a zombie spawner (Default)
    • pickupspawners.irongolem- Enables a player to get/buy a villagergolem spawner (Default)
    • pickupspawners.snowman - Enables a player to get/buy a snowman spawner (Default)
    • pickupspawners.llama- Enables a player to get/buy a llama spawner (Default)
    • pickupspawners.polarbear - Enables a player to get/buy a polar bear spawner (Default)
    Non-Default Permissions:
    • pickupspawners.enderdragon - Enables a player to get/buy a bat enderdragon (Not Default)
    • pickupspawners.giant - Enables a player to get/buy a giant spawner (Not Default)
    • pickupspawners.wither- Enables a player to get/buy a witherboss spawner (Not Default)
    • pickupspawners.ghast - Enables a player to get/buy a ghast spawner (Not Default)
    *Note: To take away a default permission from a user, give them the permission with a "-" in front of it. (eg: -pickupspawners.ghast)


    Configuration File:
    When run for the first time this plugin should create a folder called PickUpSpawners, inside there you'll find a file called config.yml. Important: When updating this plugin, make sure your config contains the same settings as the default one below.
    PHP:
    #Enabled spawner pickup in worlds - Make sure you are using the EXACT world names!
    enabled_pickup_in_worlds:
    - world

    #Enabled spawner placement in worlds - Make sure you are using the EXACT world names!
    enabled_placement_in_worlds:
    - world

    #Should players be allowed to mine naturally occurring spawners? (e.g. dungeons, blaze towers)
    pickup_natural_spawners: true

    #Should spawner changing be allowed using mob eggs?
    spawner_changing: true

    #Should placed spawners be protected from other players?
    spawner_protection: false

    #Should players be able to place mobs (using mob eggs) on a spawner while crouching?
    crouch_mob_spawning: false

    #Should Spawners drop from explosions?
    explosion_drop: false

    #What is the chance out of 100, that a spawner will drop from an explosion? (eg: 100 = always, 50 = half the time, 0 = never)
    explosion_chance: 100

    #Should the GUI act as a spawner shop? (set no to disable all prices and vault dependency)
    gui_shop: true

    #Cost of purchasing spawners using the GUI Shop (/ps get) - NOTE: Set cost to -1 to disable spawner from showing up in shop
    bat_spawner_cost: 0
    blaze_spawner_cost: 0
    chicken_spawner_cost: 0
    cow_spawner_cost: 0
    creeper_spawner_cost: 0
    enderman_spawner_cost: 0
    endermite_spawner_cost: 0
    ghast_spawner_cost: 0
    guardian_spawner_cost: 0
    llama_spawner_cost: 0
    pig_spawner_cost: 0
    rabbit_spawner_cost: 0
    sheep_spawner_cost: 0
    silverfish_spawner_cost: 0
    skeleton_spawner_cost: 0
    spider_spawner_cost: 0
    squid_spawner_cost: 0
    slime_spawner_cost: 0
    villager_spawner_cost: 0
    witch_spawner_cost: 0
    wolf_spawner_cost: 0
    caveSpider_spawner_cost: 0
    zombie_spawner_cost: 0
    enderDragon_spawner_cost: 0
    giant_spawner_cost: 0
    snowman_spawner_cost: 0
    horse_spawner_cost: 0
    mooshroom_spawner_cost: 0
    ocelot_spawner_cost: 0
    pigman_spawner_cost: 0
    polarbear_spawner_cost: 0
    magmacube_spawner_cost: 0
    wither_spawner_cost: 0
    ironGolem_spawner_cost: 0
     


    ToDo:

    • Add Permissions - Done!
    • Add Spawner give commands - Done!
    • Add configurable world restrictions - Done!
    • Disable placing spawners in worlds where picking them up isn't enabled - Done!
    • Make silktouch requirement toggleable - Done!
    • Add config reload command - Done!
    • Add option to disable mob-egg spawner changing - Done!
    • Add commands to spawn in every spawner - Done!
    • Add chance that a spawner will drop during an explosion - Done!
    • Disable shop items using -1 notation - Done!
    • Add optional pickup probability
    • Add message.yml
    • Add new mob spawners - Done!
    • Add option to set pickup price
    I need more ideas, if you have any contact me! :)

    Developers:
    I have added some public methods that I think might be helpful to developers looking to 'hook' into this plugin. If there is something more you want me to add, just let me know.
    PickUpSpawnersUtil.getSpawnerDisplayName(ItemStack spawnerItem)
    - Returns the type name of the spawner (String). For example if you passed in an PIG_ZOMBIE type spawner, it would return the string "Pigman" (useful for the creation method below).

    PickUpSpawnersUtil.createSpawner(String spawnerDisplayName)

    - Returns a spawner item of type specified. For example if you passed in "Pigman" (see above method) it would return an PIG_ZOMBIE type spawner.

    PickUpSpawnersUtil.getDisplayNameFromSpawnerTypeName(String spawnerTypeName)

    - Returns the type name of the spawner (String). For example if you passed in "PIG_ZOMBIE" it would return the string "Pigman" (useful for the creation method above).

    PickUpSpawnersUtil.getExplosionRate(PickUpSpawners pluginInstance)
    - Returns the drop rate for exploded spawner's.

    PickUpSpawnersUtil.setExplosionRate(PickUpSpawners pluginInstance, int rate)
    - Sets the drop rate for exploded spawner's to the integer value passed into this method.

    If you have any issues with the plugin let me know in the comments.
    If you want anything else added to the plugin PM me or write it in the comments and I'll add it to the todo list.

    Source code: https://ufile.io/v93hw

    Please don't leave a negative review on my plugin based on any issues/bugs you've had, its hard to test for everything and it would be more helpful to everyone if you contact me and let me fix it! :)

    If I've helped you and you would like to show your appreciation, you may buy me a coffee because that's what I love.

    [​IMG]
    A big thanks to the following user(s) for the coffee's:
    • Anonymous ($1 donation)
    • Anonymous ($10 donation)
    • Crafted Serenity - PlayCS.in ($2 donation)
    *PM me if you want your name put up :)
    dlav, shuiqing2046, Pass321 and 6 others like this.

Recent Reviews

  1. candr
    candr
    4/5,
    Version: PickUpSpawners 2.8
    The plugin still works on 1.12 - But dang those red messages piss me off :/ This plugin really needs messages.yml. Also, I tried to download the source code the change the messages but the link is dead. Please fix.
  2. Paragonas10
    Paragonas10
    5/5,
    Version: PickUpSpawners 2.8
    Make this plugin compactible with 1.8 version, please! :) Nice and easy to use plugin, but I need 1.8 version of this
  3. IDontKnowWhat
    IDontKnowWhat
    5/5,
    Version: PickUpSpawners 2.8
    Awesome plugin, awesome author! This plugin deserver 5 stars! Very configurable and helpful plugin! I use it because it does not interfere with the EssentialsX spawner shop!
  4. dlav
    dlav
    4/5,
    Version: PickUpSpawners 2.8
    Such a great plugin! I would love to see some more spawners to bump it to 5 star. I'd recommend this plugin! Configurable and well thought out!
    1. BladeFireTurtle
      Author's Response
      Thanks for the review! I'll look into updating this plugin to include the latest mobs :)
  5. twisner
    twisner
    2/5,
    Version: PickUpSpawners 2.8
    Im unable to use spawners in my world. it says i dont have permission when i do??? Can you please help me :)
  6. Axel_Hamsen
    Axel_Hamsen
    3/5,
    Version: PickUpSpawners 2.8
    I have a problem. My world name is Ascending Embers, but I don't seem to be able to pick up spawners in the nether. I've added the world Ascending Embers_nether to the config file, and the permissions are in order as we can silk spawners in the overworld. What could be the problem? Is it because our world name uses a space?
  7. Chessnut
    Chessnut
    4/5,
    Version: PickUpSpawners 2.8
    Pretty good plugin, please add a sign shop to it as well. I want to use the gui as well as a sign shop.
  8. Gida
    Gida
    5/5,
    Version: PickUpSpawners 2.8
    Very good plugin, thank you :) _____________________________________________________________________
  9. Sack
    Sack
    5/5,
    Version: PickUpSpawners 2.8
    I personally enjoy, and like this plugin (It personally gave me more of an option to buy/sell spawners than others). However i've came across some bugs either on the plugin, or my end. Care to take a look?

    (I experienced all these 'bugs' whilst opped - and using the latest version)

    When buying an IronGolem spawner, player recieves 'Pig' Spanwer
    When buying a MagmaCube Spanwer, player recieves 'Pig' Spawner
    When buying a PolarBear Spawner, player recieves 'Pig' Spawner
    When buying a Mooshroom Spawner, player recieves 'Cow' Spawner
    When buying a CaveSpider Spawner, player recieves 'Spider' Spawner

    If you could fix these that would fantastic, and while I'm at it - Why not also add the 'Shulker', 'Vindicator', and 'Evoker' mob spawners as well? They all drop different and unique drops of their own (Totems, Emeralds, and Shulker Shells). It would be an interesting addition to your plugin.
  10. AwesomeLamB
    AwesomeLamB
    4/5,
    Version: PickUpSpawners 2.8
    Hello, does this not work on 1.8.8? whenever i do a command it just says an internal error has occurred while performing this command.
    1. BladeFireTurtle
      Author's Response
      I'll look into it, in the mean time you may want to switch to an old version of this plugin :)