Although this is a free resource it did took me alot of time making it. Consider donating to help me keep making epic & free plugins like this one.
Any Economy Plugin & Vaults
PlaceholdersAPI
This plugin is a complete solution to any spawner needs a server can have. Comes with complete spawner stacking, upgrading, guis, speed settings and much more. It is highly easy to setup & is optimised for performance. It supports most stacking plugins & also has an inbuilt stacking system to run without any stacking plugin.
Custom Spawner Speeds
Spawner Stacking
Spawner Guis
Spawner Upgrading
Entity & Item Stacking
Item Spawners
Block Spawners
Custom Entity Spawners
Per Spawner Settings
Custom spawner pickup settings
Per Spawner Messages
Spawner enabling/disabling
Showcase:
Simply place the plugin in /plugins folder & restart the server. All files will be auto generated on first start. Each spawner has its own .yml file inside Spawners folder.
Code (Text):
spawn-settings: #basic spawner settings
type: VANILLA #Type of spawner (dont change)
entity: MAGMA_CUBE #Entity type
min-delay: 200 #Minimum spawn delay (in ticks)
max-delay: 500 #Maximum spawn delay (in ticks)
spawn-count: 3 #amount of mobs spawned per spawn event
nbt-data: '{}' #NBT tag for any extra data
formats:
spawner-item: #Item used as a spawner (can be any item not just spawner)
type: <glow>SPAWNER
name: '&e%stack%&7x %entity% Spawner'
lore:
- ''
- ' '
spawner-nametag: '&e%stack%&7x %entity% Spawner' #Nametag placed above spawner
messages: #messages for this spawner
onbreak-spawner: '&eBroke &a%stack%x %entity%&e spawner'
onplace-spawner: '&ePlaced &a%stack%x %entity%&e spawner'
gui: #gui settings
enabled: true #enabled
name: '&lSpawner Info' #name of the gui
size: 3
background: #background item
type: <glow>BLACK_STAINED_GLASS_PANE
name: '&aSpawner Info'
lore:
- '&7View information about'
- '&7this spawner.'
items: #items inside the gui
'4': #slot number (0-guisizex9)
###Triggers###
#Triggers are the way an item interacts when clicked upon
#There are 4 triggers
# 1)NONE = do nothing
# 2)CLOSE_GUI = Close the gui
# 3)TOGGLE_SPAWNER = turn spawner on or off
# 4)UPGRADE_SPAWNER = Upgrade the spawner
trigger: NONE #trigger for this item
type: COMPASS #item type
name: '&aSpawner Stats' #name
lore: #lore
- '&7Spawner Name : &e%filename%'
- '&7Entity : &e%entity%'
- '&7Spawner Level : &e%level%'
- '&7Minimum Delay : &e%mindelay%'
- '&7Maximum Delay : &e%maxdelay%'
'22':
trigger: CLOSE_GUI
type: BARRIER
name: '&6Close GUI'
lore:
- '&7Click to close the gui.'
'11':
trigger: TOGGLE_SPAWNER
type: LEVER
name: '&cToggle Spawner'
lore:
- '&7Change the spawner to'
- '&7spawn or not'
- ' '
- '&7Status : %state%'
'15':
trigger: UPGRADE_SPAWNER
type: EXPERIENCE_BOTTLE
name: '&eUpgrade Spawner'
lore:
- '&7Upgrade the spawner to '
- '&7the next Level'
- ' '
- '&7Current level: &e%level%'
- '&7Upgrade to : &e%nextlevel%'
- ' '
- '&fUpgrade Cost:'
- '&7Money : &e%money%'
- '&7Experience : &e%exp%'
spawner-breaking: #settings for breaking of a spawner
tool-requirement: #tool settings
enabled: true #enabled
tools: #tool names which are useable
- pickaxe
enchants: #enchants the tools must have
- SILK_TOUCH
permission-requirement: #permission is needed for breaking
enabled: false #enabled
permissions: epicsetspawners.breaking #permission
place-inside-inventory: false #true = spawner is given directly to the player
upgrade: #upgrade settings
enabled: true #enabled
levels: #level settings must start from 2 (level 1 = default)
'2':
cost: #costs for upgrading
money: 20000
exp: 2000
upgraded-settings: #new settings of the spawner
min-delay: 200
max-delay: 500
spawn-count: 5
If you want to apply some settings to all spawners you can use default values from config.yml. Simply edit the config.yml & run command /es applydefault ingame:
Code (Text):
[code] #These are the default values applied to any newly created spawner
#To apply these values to any existing spawner use /es applydefault command ingame or in console
default-values:
spawn-count: 3 #number of entities spawned (per spawn)
min-delay: 200 #minimum delay btw spawns (in ticks)
max-delay: 500 #maximum delay btw spawns (in ticks)
message-onbreak: '&eBroke &a%stack%x %entity%&e spawner' #message sent to player on breaking the spawner
message-onplace: '&ePlaced &a%stack%x %entity%&e spawner' #message sent to player on placing the spawner
spawner-nametag: '&e%stack%&7x %entity% Spawner' #nametag of the spawner
spawner-item: #item used as the spawner (can be any block not just a spawner)
type: '<glow>SPAWNER'
name: '&e%stack%&7x %entity% Spawner'
lore:
- ''
- ' '
gui: #Settings for the default gui
enabled: true
name: '&lSpawner Info' #name of the gui
size: 3 #size (in rows) of the gui
background: #background item
type: <glow>BLACK_STAINED_GLASS_PANE #<glow> adds the enchant glow to the item
name: '&aSpawner Info'
lore:
- '&7View information about'
- '&7this spawner.'
items: #items other then background in the gui
'4': #the slot number (0-onwards)
#trigger means what will happen when this item is clicked
#NONE = nothing will happen
#CLOSE_GUI = gui will close when clicked
#TOGGLE_SPAWNER = spawner will be enabled/disabled
#UPGRADE_SPAWNER = spawner will try to upgrade
# items with upgrade spawner trigger wont be visible of spawner isnt upgradable or is maxxed out
trigger: NONE
type: COMPASS
name: '&aSpawner Stats'
lore:
- '&7Spawner Name : &e%filename%'
- '&7Entity : &e%entity%'
- '&7Spawner Level : &e%level%'
- '&7Minimum Delay : &e%mindelay%'
- '&7Maximum Delay : &e%maxdelay%'
'22':
trigger: CLOSE_GUI
type: BARRIER
name: '&6Close GUI'
lore:
- '&7Click to close the gui.'
'11':
trigger: TOGGLE_SPAWNER
type: LEVER
name: '&cToggle Spawner'
lore:
- '&7Change the spawner to'
- '&7spawn or not'
- ' '
- '&7Status : %state%'
'15':
trigger: UPGRADE_SPAWNER
type: EXPERIENCE_BOTTLE
name: '&eUpgrade Spawner'
lore:
- '&7Upgrade the spawner to '
- '&7the next Level'
- ' '
- '&7Current level: &e%level%'
- '&7Upgrade to : &e%nextlevel%'
- ' '
- '&fUpgrade Cost:'
- '&7Money : &e%money%'
- '&7Experience : &e%exp%'
upgrade: #settings for the default upgrading of spawners
enabled: true
levels: #the levels of the spawner. This must start from 2 & no level should be missed
'2':
cost: #the costs required for this upgrade
money: 20000
exp: 2000
upgraded-settings: # the new settings of the spawner after the upgrade
min-delay: 200
max-delay: 500
spawn-count: 5
#Messages sent when upgrade button is pressed
message:
upgrade-fail: '&cYou dont have enough %cost% to upgrade'
upgrade-success: '&aSucessfully upgraded %name% to lvl %level%'
#settings regarding different stackers built within this plugin.
settings:
item-stacker:
enabled: true
format: '&7%amount%x &e%item%'
max-stack: 512
mob-stacker:
enabled: true
format: '&7%amount%x &e%entity%'
max-stack: 512
block-stacker:
format: '&7%amount%x &e%block%'
[/code]
The main command for this plugin is /espawner or /es for short. Following are the sub commands & their required permissions.