Tested Minecraft Versions:
This plugin was created for the purpose to have a random spawner which when clicked will give you a random spawner. This plugin is 100% customizable. Aswell as also being able to get a random spawner you can customize the mob drops and exp drops for any mob in the game. All valid mobs are:
Bat, Chicken, Cow, MushroomCow, Pig, Rabbit, Sheep, Squid, Villager, CaveSpider, Enderman, Spider, PigZombie, Blaze, Creeper, Endermite, Ghast, Guardian, VillagerGolem, SilverFish, Skeleton, Slime, Witch, Zombie, Wolf, EnderDragon, Villager, LavaSlime, Snowman.
if there is any mobs that is not listed or you are unsure what a mob is visit the Wiki and look for the Savegame ID of that mob, that is what it is defined as for in this plugin.
Vault
/mms or /mysterymobspawners - These are the default commands for this plugin.
/mms give {player} {amount} - This will give a player that amount of Mystery Spawners.
/mms giveall {amount} - This gives all online players that amount of Mystery Spawners.
/mms add {mob name} - This will add that mob to the Spawner-Output list. (the list which handles which spawners can be gained from a Mystery Spawner).
/mms remove {mob name} - This removes the specified mob from the Spawner-Output list if it contains it.
/mms buy {amount} - If you have permission you will buy the specified amount of spawners.
/mms reload - This will reload the config.yml.
mms.admin - This command is used for all the commands.
mms.open - This will allow you to open a Mystery Mob Spawner.
mms.purchase - Required to purchase spawners via. sign or command.
mms.createsign - Required to make a sign which enables people to be able to buy a spawner.
Code (Text):
Messages:
Help:
- '&8&l&m----------&r&8&l[ &6Mystery Mob Spawners &8&l]&m----------'
- ''
- '&b/mms give {player} {amount} &f- &7Gives a player one Mystery Mob Spawner.'
- '&b/mms giveall {amount} &f- &7Gives all online players a Mystery Mob Spawner.'
- '&b/mms reload &f- &7Reloads the config file.'
- '&b/mms add {mob name} &f- &7Adds a mob to the spawner-outputs list.'
- '&b/mms remove {mob name} &f- &7Removes a mob from the spawner-outputs list if it contains it.'
- ''
- '&8&l&m----------&r&8&l[ &6Mystery Mob Spawners &8&l]&m----------'
InvalidArguments: '&8[ &6MMS &8] &cInvalid arguments! Use /mms for more help on this command.'
InvalidFormat: '&8[ &6MMS &8] &c%args% is an invalid number!'
InvalidNumber: '&8[ &6MMS &8] &c%numb% is an invalid number, make sure to make it greater then 0!'
PlayerOffline: '&8[ &6MMS &8] &c%player% is not an invalid player! This is probably because they are offline.'
RecievedMMS: '&8[ &6MMS &8] &7You have recieved a Mystery Mob Spawner.'
InventoryFull: '&8[ &6MMS &8] &cYour inventory was full so the Mystery Mob Spawner was dropped at your feet.'
NoPermission: '&8[ &6MMS &8] &cYou do not have permission to this command!'
AddedToList: '&8[ &6MMS &8] &7You have added &f%type% &7to the list of spawner outputs! Make sure to also edit the lore of the Mystery Mob Spawner!'
RemovedFromList: '&8[ &6MMS &8] &7You have removed &f%type% &7from the list of spawner outputs! Make sure to also edit the lore of the Mystery Mob Spawner!'
ListDoesntContain: '&8[ &6MMS &8] &cThe Spawner-Output list does not contain %type% !'
ListAlreadyContains: '&8[ &6MMS &8] &cThe Spawner-Output list already contains %type% !'
InvalidMob: '&8[ &6MMS &8] &c%type% is an invalid mob! Please specify a real mob to add to the list.'
ReloadComplete: '&8[ &6MMS &8] &bYou have successfully reloaded the config.yml file!'
NotEnoughInventory: '&8[ &6MMS &8] &cYou do not have enough inventory room to purchase this item!'
InsufficientFunds: '&cError: &4you do not have enough money.'
SignCreated: '&8[ &6MMS &8] &7You have successfully created a buy sign for Mystery Mob Spawner.'
SuccessfulPurchase: '&8[ &6MMS &8] &7You have purchased x&8{x} &7Mystery Spawners for &f${cost}.'
ListEmpty: '&8[ &6MMS &8] &7The Spawner-Output list is empty, therefore you didnt get any rewards.'
NoItem: '&8[ &6MMS &8] &7You do not have any mystery spawners in your inventory to sell.'
SuccessfulSold: '&8[ &6MMS &8] &7You have successfully sold x&8{x} &7Mystery Spawners for &f${cost}.'
#----------------------------------------------------------------------------------------------------------------------------------------------------------------------#
#Here you define the Mystery Mob Spawner item details.
Item:
Cost: 1000000
SellPrice: 500000
Name: '&6&lMystery Mob Spawner'
Lore:
- '&7Right-click in hand to reveal one'
- '&7of the following mob spawner types:'
- '&7'
- '&6&lx &7Enderman'
- '&6&lx &7Pigzombie'
- '&6&lx &7Cow'
- '&6&lx &7Creeper'
- '&6&lx &7Blaze'
- '&6&lx &7Iron Golem'
- '&6&lx &eMooshroom Cow'
- '&6&lx &eMagma Cube'
- '&6&lx &eGhast'
#Here you define the custom mob spawner details.
Spawner:
Name: '&6&l%type% Spawner'
Lore: []
#Here you define the spawners that can be recieved from the Mystery Mob Spawner.
#Make sure to use one of the following otherwise it won't work.
#Bat, Chicken, Cow, MushroomCow, Pig, Rabbit, Sheep, Squid, Villager, CaveSpider
#Enderman, Spider, PigZombie, Blaze, Creeper, Endermite, Ghast, Guardian,
#VillagerGolem, SilverFish, Skeleton, Slime, Witch, Zombie, Wolf, EnderDragon,
#Villager, LavaSlime, SnowMan.
#If you can't find the name for something go to http://minecraft.gamepedia.com/
#and search the mob name. Then on the right of the page scroll down a bit until
#you find "Savegame ID xxxxx" and then use '/mms add xxxxx' replacing the xxxxx
#with the Savegame ID.
Spawner-Outputs:
- ENDERMAN
- PIGZOMBIE
- COW
- CREEPER
- BLAZE
- VILLAGERGOLEM
- MUSHROOMCOW
- LAVASLIME
- GHAST
#This can equal to more then 100% if you like but please make sure it's the same as
#the Spawner-Outputs list.
#This does not accept the decimal values for the time being, so please don't use it
#because it will give an error.
#Make sure this list is in the same order as the Spawner-Outputs list otherwise
#it will give the wrong spawner.
Spawner-Chances:
ENDERMAN: 20
PIGZOMBIE: 20
COW: 20
CREEPER: 15
BLAZE: 10
VILLAGERGOLEM: 5
MUSHROOMCOW: 5
LAVASLIME: 2
GHAST: 3
#Remember you can only have 15 characters per line. Including the
#colour codes. {x} will be replaced with 1 or however many spawners
#or however many you define. {cost} will be replaced with the
#calculation of the sum of however many spawners that you set.
Signs:
Buy:
Line-1: '[ &1Buy &0]'
Line-2: '{x}'
Line-3: 'MysterySpawner'
Line-4: '${cost}'
Sell:
Line-1: '[ &1Sell &0]'
Line-2: '{x}'
Line-3: 'MysterySpawner'
Line-4: '${cost}'
#Here you can define the custom drops including the EXP and the item(s).
#If you use a number then the letter 'r' in the Item Amount it will chose
#a random number from 1 to that number for the drop amount.
#To leave something to default don't set it at all in the config. An
#example of each is set for Cow and Pig.
CustomDrops:
#GHAST:
#EXP: 500
#Item:
#Type: 264
#Amount: 1
#Meta-Data: 0
#Name: []
#Lore: []
#CREEPER:
#EXP: 1500
#Item:
#Type: 265
#Amount: 5r
#MetaData: 0
#Name: []
#Lore: []
#COW:
#EXP: 200
#PIG:
#Item:
#Type: 266
#Amount: 1
#MetaData: 0
#Name: []
#Lore: []
As one of the many features I have included in this plugin, an API was one of them. To use the API in your plugin simply add it to your build path external jars in your IDE.
Code (Text):
//Used to purchase a Mystery Spawner, including
//taking money etc.
SpawnerAPI.purchaseSpawners(p, amount);
//This will return an itemstack which is used to give
//the player a mystery spawner when they can click
//to receive a random spawner.
SpawnerAPI.spawner();
//Called when giving the player a random spawner
//from the spawner-output string list.
SpawnerAPI.randomSpawner();
*- In this context, a "Minecraft network" is defined by a network of Minecraft servers connected by a Proxy-like system. You must be able to switch between any servers within the network without disconnecting.
- 1.7
- 1.8
- 1.9
- 1.10
This plugin was created for the purpose to have a random spawner which when clicked will give you a random spawner. This plugin is 100% customizable. Aswell as also being able to get a random spawner you can customize the mob drops and exp drops for any mob in the game. All valid mobs are:
Bat, Chicken, Cow, MushroomCow, Pig, Rabbit, Sheep, Squid, Villager, CaveSpider, Enderman, Spider, PigZombie, Blaze, Creeper, Endermite, Ghast, Guardian, VillagerGolem, SilverFish, Skeleton, Slime, Witch, Zombie, Wolf, EnderDragon, Villager, LavaSlime, Snowman.
if there is any mobs that is not listed or you are unsure what a mob is visit the Wiki and look for the Savegame ID of that mob, that is what it is defined as for in this plugin.
Vault
/mms or /mysterymobspawners - These are the default commands for this plugin.
/mms give {player} {amount} - This will give a player that amount of Mystery Spawners.
/mms giveall {amount} - This gives all online players that amount of Mystery Spawners.
/mms add {mob name} - This will add that mob to the Spawner-Output list. (the list which handles which spawners can be gained from a Mystery Spawner).
/mms remove {mob name} - This removes the specified mob from the Spawner-Output list if it contains it.
/mms buy {amount} - If you have permission you will buy the specified amount of spawners.
/mms reload - This will reload the config.yml.
mms.admin - This command is used for all the commands.
mms.open - This will allow you to open a Mystery Mob Spawner.
mms.purchase - Required to purchase spawners via. sign or command.
mms.createsign - Required to make a sign which enables people to be able to buy a spawner.
- 100% customizable.
- 1.7.x-1.9.x support.
- Mystery Spawner when clicked.
- Custom Mob Drops.
- Custom EXP drops.
- Includes an API.
- Vault support.
- Create a sign to buy a spawner from using [BuyMMS] on the first line.
Code (Text):
Messages:
Help:
- '&8&l&m----------&r&8&l[ &6Mystery Mob Spawners &8&l]&m----------'
- ''
- '&b/mms give {player} {amount} &f- &7Gives a player one Mystery Mob Spawner.'
- '&b/mms giveall {amount} &f- &7Gives all online players a Mystery Mob Spawner.'
- '&b/mms reload &f- &7Reloads the config file.'
- '&b/mms add {mob name} &f- &7Adds a mob to the spawner-outputs list.'
- '&b/mms remove {mob name} &f- &7Removes a mob from the spawner-outputs list if it contains it.'
- ''
- '&8&l&m----------&r&8&l[ &6Mystery Mob Spawners &8&l]&m----------'
InvalidArguments: '&8[ &6MMS &8] &cInvalid arguments! Use /mms for more help on this command.'
InvalidFormat: '&8[ &6MMS &8] &c%args% is an invalid number!'
InvalidNumber: '&8[ &6MMS &8] &c%numb% is an invalid number, make sure to make it greater then 0!'
PlayerOffline: '&8[ &6MMS &8] &c%player% is not an invalid player! This is probably because they are offline.'
RecievedMMS: '&8[ &6MMS &8] &7You have recieved a Mystery Mob Spawner.'
InventoryFull: '&8[ &6MMS &8] &cYour inventory was full so the Mystery Mob Spawner was dropped at your feet.'
NoPermission: '&8[ &6MMS &8] &cYou do not have permission to this command!'
AddedToList: '&8[ &6MMS &8] &7You have added &f%type% &7to the list of spawner outputs! Make sure to also edit the lore of the Mystery Mob Spawner!'
RemovedFromList: '&8[ &6MMS &8] &7You have removed &f%type% &7from the list of spawner outputs! Make sure to also edit the lore of the Mystery Mob Spawner!'
ListDoesntContain: '&8[ &6MMS &8] &cThe Spawner-Output list does not contain %type% !'
ListAlreadyContains: '&8[ &6MMS &8] &cThe Spawner-Output list already contains %type% !'
InvalidMob: '&8[ &6MMS &8] &c%type% is an invalid mob! Please specify a real mob to add to the list.'
ReloadComplete: '&8[ &6MMS &8] &bYou have successfully reloaded the config.yml file!'
NotEnoughInventory: '&8[ &6MMS &8] &cYou do not have enough inventory room to purchase this item!'
InsufficientFunds: '&cError: &4you do not have enough money.'
SignCreated: '&8[ &6MMS &8] &7You have successfully created a buy sign for Mystery Mob Spawner.'
SuccessfulPurchase: '&8[ &6MMS &8] &7You have purchased x&8{x} &7Mystery Spawners for &f${cost}.'
ListEmpty: '&8[ &6MMS &8] &7The Spawner-Output list is empty, therefore you didnt get any rewards.'
NoItem: '&8[ &6MMS &8] &7You do not have any mystery spawners in your inventory to sell.'
SuccessfulSold: '&8[ &6MMS &8] &7You have successfully sold x&8{x} &7Mystery Spawners for &f${cost}.'
#----------------------------------------------------------------------------------------------------------------------------------------------------------------------#
#Here you define the Mystery Mob Spawner item details.
Item:
Cost: 1000000
SellPrice: 500000
Name: '&6&lMystery Mob Spawner'
Lore:
- '&7Right-click in hand to reveal one'
- '&7of the following mob spawner types:'
- '&7'
- '&6&lx &7Enderman'
- '&6&lx &7Pigzombie'
- '&6&lx &7Cow'
- '&6&lx &7Creeper'
- '&6&lx &7Blaze'
- '&6&lx &7Iron Golem'
- '&6&lx &eMooshroom Cow'
- '&6&lx &eMagma Cube'
- '&6&lx &eGhast'
#Here you define the custom mob spawner details.
Spawner:
Name: '&6&l%type% Spawner'
Lore: []
#Here you define the spawners that can be recieved from the Mystery Mob Spawner.
#Make sure to use one of the following otherwise it won't work.
#Bat, Chicken, Cow, MushroomCow, Pig, Rabbit, Sheep, Squid, Villager, CaveSpider
#Enderman, Spider, PigZombie, Blaze, Creeper, Endermite, Ghast, Guardian,
#VillagerGolem, SilverFish, Skeleton, Slime, Witch, Zombie, Wolf, EnderDragon,
#Villager, LavaSlime, SnowMan.
#If you can't find the name for something go to http://minecraft.gamepedia.com/
#and search the mob name. Then on the right of the page scroll down a bit until
#you find "Savegame ID xxxxx" and then use '/mms add xxxxx' replacing the xxxxx
#with the Savegame ID.
Spawner-Outputs:
- ENDERMAN
- PIGZOMBIE
- COW
- CREEPER
- BLAZE
- VILLAGERGOLEM
- MUSHROOMCOW
- LAVASLIME
- GHAST
#This can equal to more then 100% if you like but please make sure it's the same as
#the Spawner-Outputs list.
#This does not accept the decimal values for the time being, so please don't use it
#because it will give an error.
#Make sure this list is in the same order as the Spawner-Outputs list otherwise
#it will give the wrong spawner.
Spawner-Chances:
ENDERMAN: 20
PIGZOMBIE: 20
COW: 20
CREEPER: 15
BLAZE: 10
VILLAGERGOLEM: 5
MUSHROOMCOW: 5
LAVASLIME: 2
GHAST: 3
#Remember you can only have 15 characters per line. Including the
#colour codes. {x} will be replaced with 1 or however many spawners
#or however many you define. {cost} will be replaced with the
#calculation of the sum of however many spawners that you set.
Signs:
Buy:
Line-1: '[ &1Buy &0]'
Line-2: '{x}'
Line-3: 'MysterySpawner'
Line-4: '${cost}'
Sell:
Line-1: '[ &1Sell &0]'
Line-2: '{x}'
Line-3: 'MysterySpawner'
Line-4: '${cost}'
#Here you can define the custom drops including the EXP and the item(s).
#If you use a number then the letter 'r' in the Item Amount it will chose
#a random number from 1 to that number for the drop amount.
#To leave something to default don't set it at all in the config. An
#example of each is set for Cow and Pig.
CustomDrops:
#GHAST:
#EXP: 500
#Item:
#Type: 264
#Amount: 1
#Meta-Data: 0
#Name: []
#Lore: []
#CREEPER:
#EXP: 1500
#Item:
#Type: 265
#Amount: 5r
#MetaData: 0
#Name: []
#Lore: []
#COW:
#EXP: 200
#PIG:
#Item:
#Type: 266
#Amount: 1
#MetaData: 0
#Name: []
#Lore: []
As one of the many features I have included in this plugin, an API was one of them. To use the API in your plugin simply add it to your build path external jars in your IDE.
Code (Text):
//Used to purchase a Mystery Spawner, including
//taking money etc.
SpawnerAPI.purchaseSpawners(p, amount);
//This will return an itemstack which is used to give
//the player a mystery spawner when they can click
//to receive a random spawner.
SpawnerAPI.spawner();
//Called when giving the player a random spawner
//from the spawner-output string list.
SpawnerAPI.randomSpawner();
- Chargebacks are PROHIBITED. Please message me on Spigotmc.org if you have issues with the plugin, I will help you sort them.
- 1 purchase of this plugin is valid for an entire Minecraft network*. Feel free to use it on as many servers as you want, granted they are within the same Minecraft network*. Please purchase 1 license for each Minecraft network* you plan to use it for(contact me regarding the purchase of additional licenses).
- You may edit the code to your needs, so long as they are private changes, and are not posted anywhere else. No support will be given to modified versions.
- Distribution of the plugin or any modified version is prohibited.
- You may not use the code from this plugin in any additional plugin.
- You may not change the plugin to where it is unidentifiable within the game.
*- In this context, a "Minecraft network" is defined by a network of Minecraft servers connected by a Proxy-like system. You must be able to switch between any servers within the network without disconnecting.