HomeJavaModsMystery Spawner
Mystery Spawner
[​IMG]
If you experience any bugs/issues with the plugin please PM me.​
[​IMG]

Mystery Spawner is a highly customisable plugin that offers a new feature to your server. It makes a great addition to your server's store as well as rewards in-game. Right-click with the Mystery Spawner to receive a random spawner type. The types can be changed in the config as well as a supported chance per spawner type.

Features:
Claim System:
If a player has a full inventory when they receive a Mystery Spawner it becomes claimable for that player. The player is able to do '/mysteryspawner claim' to claim the Mystery Spawner once they have a free slot in their inventory. They are reminded every minute that they have a claimable spawner incase they failed to realise.

Creating a Sign:
If you have Vault installed you'll be able to allow your players to purchase a MysterySpawner through /mysteryspawner buy or through a sign. The sign can be created like so:
[​IMG]
You can modify the look of the sign in the config.

Installation:
Required: SilkSpawners

(Optional) Vault
  1. Install the plugin requirements (Above).
  2. Install the Mystery Spawner plugin.
  3. (Optional) Configure Mystery Spawner to your liking.
Commands:
Permissions:
All permissions are changable in the config as well as if they are required or not. Here's the default:
Code (Text):

mysteryPermissions:
#  Permission for giving Mystery Spawners.
  give:
  # Is the permission required to give Mystery Spawners.
  required: true # Would recommend leaving this true.
  # Permission node for giving Mystery Spawners.
  permission: 'mysteryspawner.give'
  #  Permission for claiming Mystery Spawners.
  claim:
  #  Is the permission required to claim Mystery Spawners.
  required: false
  #  Permission node for claiming Mystery Spawners.
  permission: 'mysteryspawner.claim'
  #  Permission for redeeming Mystery Spawners.
  redeem:
  #  Is the permission required to redeem Mystery Spawners.
  required: false
  #  Permission node for redeeming Mystery Spawners.
  permission: 'mysteryspawner.redeem'
  reload:
  #  Is the permission required to reload Mystery Spawners.
  required: true
  #  Permission node for reloading Mystery Spawners.
  permission: 'mysteryspawner.reload'
  giveall:
  #  Is the permission required to give everyone a Mystery Spawner.
  required: true
  #  Permission node for giving everyone a Mystery Spawners.
  permission: 'mysteryspawner.giveall'
  buyCommand:
  #  Is the permission required to buy a Mystery Spawner by /mysteryspawner buy.
  required: false
  #  Permission node for giving everyone a Mystery Spawners.
  permission: 'mysteryspawner.buy'
  createSign:
  #  Is the permission required to create a Mystery Spawner buy sign.
  required: true
  #  Permission node for creating a Mystery Spawner buy sign.
  permission: 'mysteryspawner.createsign'
  buySign:
  #  Is the permission required to buy from a Mystery Spawner sign.
  required: false
  #  Permission node for buying from a Mystery Spawner sign.
  permission: 'mysteryspawner.buysign'
 
Configuration:
Code (Text):

#  ----------------------------------- #
#  MysterySpawners
#  Adds a claimable item to your
#  server that rewards the player
#  with a random Mob Spawner.
#  
#  (c) @Strives
#  ----------------------------------- #
#  If you enjoy MysterySpawners,
#  don't forget to rate 5 stars!
#  ------------------------- #
#  
#  ----------------------------------- #
# Supports Colour Codes
#  
#  &0 - Black  # &a - Green
#  &1 - Dark Blue  # &b - Aqua
#  &2 - Dark Green  # &c - Red
#  &3 - Dark Aqua  # &d - Light Purple
#  &4 - Dark Red  # &e - Yellow
#  &5 - Dark Purple  # &f - White
#  &6 - Gold
#  &7 - Grey
#  &8 - Dark Grey
#  &9 - Blue
#  ----------------------------------- #
#  
#  ----------------------------------- #
#  Mob Types
#  
#  Wither  # Horse
#  Bat  # Creeper
#  Witch  # Skeleton
#  Pig  # Spider
#  Sheep  # Zombie
#  Cow  # Giant
#  Chicken  # Slime
#  Squid  # Ghast
#  Wolf  # Villager
#  Mooshroom  # ZombiePigman
#  SnowGolem  # Enderman
#  Ocelot  # CaveSpider
#  IronGolem  # SilverFish
#  Blaze  # MagmaCube
#  ----------------------------------- #


mysteryPermissions:
#  Permission for giving Mystery Spawners.
  give:
  # Is the permission required to give Mystery Spawners.
  required: true # Would recommend leaving this true.
  # Permission node for giving Mystery Spawners.
  permission: 'mysteryspawner.give'
  #  Permission for claiming Mystery Spawners.
  claim:
  #  Is the permission required to claim Mystery Spawners.
  required: false
  #  Permission node for claiming Mystery Spawners.
  permission: 'mysteryspawner.claim'
  #  Permission for redeeming Mystery Spawners.
  redeem:
  #  Is the permission required to redeem Mystery Spawners.
  required: false
  #  Permission node for redeeming Mystery Spawners.
  permission: 'mysteryspawner.redeem'
  reload:
  #  Is the permission required to reload Mystery Spawners.
  required: true
  #  Permission node for reloading Mystery Spawners.
  permission: 'mysteryspawner.reload'
  giveall:
  #  Is the permission required to give everyone a Mystery Spawner.
  required: true
  #  Permission node for giving everyone a Mystery Spawners.
  permission: 'mysteryspawner.giveall'
  buyCommand:
  #  Is the permission required to buy a Mystery Spawner by /mysteryspawner buy.
  required: false
  #  Permission node for giving everyone a Mystery Spawners.
  permission: 'mysteryspawner.buy'
  createSign:
  #  Is the permission required to create a Mystery Spawner buy sign.
  required: true
  #  Permission node for creating a Mystery Spawner buy sign.
  permission: 'mysteryspawner.createsign'
  buySign:
  #  Is the permission required to buy from a Mystery Spawner sign.
  required: false
  #  Permission node for buying from a Mystery Spawner sign.
  permission: 'mysteryspawner.buysign'


mysteryMessages:
  #  Message sent to receiving player.
  receive: '&e&l(&6&l*&e&l) &eYou received a &6Mystery Mob Spawner&e.'
  #  Message sent to giving player / console.
  given: '&e&l(&6&l*&e&l) &eYou gave a &6Mystery Mob Spawner&e to &6%player%&e.'
  #  Message sent to player when Mystery Spawner is opened.
  opened: '&e&l(&6&l*&e&l) &eYou received a&6 %spawnertype% Spawner &efrom a &6Mystery Mob Spawner&e.'
  #  Message sent to player if they don't have a required permission.
  noPerms: '&cYou dont have permission to run this command.'
  #  Message sent when target player cant be found.
  noPlayer: '&cThe player %player% couldnt be found.'
  #  Message sent when inventory is full when receiving a Mystery Spawner.
  fullInvReceive: '&e&l(&6&l*&e&l) &eYou were unable to receive your &6Mystery Mob Spawner&e. Please free a slot and type &6/ms claim&e.'
  #  Message sent when inventory is full when opening a Mystery Spawner.
  fullInvRedeem: '&e&l(&6&l*&e&l) &eYou were unable to open your &6Mystery Mob Spawner&e. Please free a slot and try again.'
  #  Message sent when a player has no claims for a Mystery Mob Spawner.
  noClaim: '&cYou dont have any Mystery Spawners to claim.'
  #  Message sent when a player has no claims for a Mystery Mob Spawner.
  claimReminder: '&e&l(&6&l*&e&l) &eYou have an unclaimed &6Mystery Mob Spawner&e. Please type &6/ms claim &eto claim it.'
  #  Message sent when a player they reload Mystery Spawner.
  reload: '&aReloaded MysterySpawner.'
  #  Message broadcasted when a player gives everyone a MysterySpawner.
  giveAllBroadcast: '&e&l(&6&l*&e&l) &6%player% &egave everyone a &6Mystery Mob Spawner&e.'
  #  Message sent when a player purchases Mystery Spawner.
  purchaseMessage: '&e&l(&6&l*&e&l) &eYou purchased a &6Mystery Mob Spawner&e.'
  #  Message sent when a player cant afford to purchases Mystery Spawner.
  cantAfford: '&cYou are unable to afford a Mystery Spawner.'
   
mysteryItem:
  #  Display name of the Mystery Mob Spawner
  name: '&6&lMystery Mob Spawner'
  #  Lore of the Mystery Mob Spawner
  lore:
  - '&7Right-click in hand to reveal one'
  - '&7of the following mob spawner types:'
  - ''
  - '&6&l* &7Enderman'
  - '&6&l* &7Pigzombie'
  - '&6&l* &7Cow'
  - '&6&l* &7Creeper'
  - '&6&l* &7Blaze'
  - '&6&l* &7IronGolem'
  - '&6&l* &eMooshroom Cow'
  - '&6&l* &eMagma Cube'
  - '&6&l* &eGhast'

mysteryRewards:
  #  Use chances when giving a random spawner (true) or
  #  pick one at random (false)
  useChances: false
  types:
  #  Mob Type (From list above).
  Enderman:
  #  Chance of this Mob Type being selected.
  chance: 20.0
  PigZombie:
  chance: 20.0
  Cow:
  chance: 20.0
  Creeper:
  chance: 20.0
  Blaze:
  chance: 20.0
  IronGolem:
  chance: 15.0
  Mooshroom:
  chance: 10.0
  MagmaCube:
  chance: 10.0
  Ghast:
  chance: 10.0
mysteryPurchase:
  cost: 200000
  buyCommand:
  enabled: false
  sign:
  enabled: false
  signLook:
  - '&6&l[MS]'
  - 'Purchase a'
  - 'Mystery Spawner'
  - '$%cost%'
 
Note:
If you come across an issue or bug please PM me about it.

[​IMG]

Terms and Conditions:
Spoiler: Terms and Conditions
  1. You are not allowed to decompile / reverse-engineer, modify, share, use MysterySpawner's code or it's parts in any form.
  2. Don't post any problems, bugs or anything related in the reviews section, to report something please PM or tweet me (@Strives)
  3. I reserve the right to make changes to the Terms and Conditions at any time.

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.

Mystery Spawner is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8. Downloaded 1,422 times (via Spigot). Download it and open it directly in the game.

Explore more