MysterySpawners
Description: MysterySpawners give the player a chance to get a random spawner, at configurable chances. Any items/commands can run out of the reward, which opens up the possibilities. When a player has a Mystery Spawner, they can open it by right-clicking it, which opens a GUI that will start rolling immediately. After a moment of rolling effects (as shown below), the player will see what they win and the GUI will automatically close, giving the player whatever command/item is set for the reward they won.
Commands:
Pictures:
Config: The config gives many options to this plugin. Firstly, the sound can be configured in many different ways when the GUI is opened, completed, or closed. Secondly, the mystery spawner item can be configured to change the item, amount, name, or lore. The help message can even be configured through the config, including alignment. When rolling, the GUI uses configurable glass patterns, and all aspects of the GUI process can be configured. Lastly, the rewards can, of course, be set including the name, chance, enchantment, lore, item/command, etc.
Messages: Besides the help message, all other messages executed by this plugin can be configured in the messages.yml. (The help message can be configured in the config.yml). This includes the overall prefix, given/received message, and error messages. Color codes work both in the messages.yml and the config.yml.
Code:
# SkyedMysterySpawner Configuration
# This is the default configuration.
# Feel free to edit it to your liking.
Options:
Sound:
roll:
enabled: true
name: WOOD_CLICK
volume: 1.0
pitch: 1.5
win:
enabled: true
name: BAT_TAKEOFF
volume: 1.0
pitch: 1.5
close:
enabled: true
name: LEVEL_UP
volume: 1.0
pitch: 1.5
Item:
material: MOB_SPAWNER
amount: 1
name: "&d&lMystery Mob Spawner &7(Right Click)"
lore:
- "&7Mystery mob spawners have the possibility of giving"
- "&7you many different types of spawners!"
- ""
- "&7&o(( Right-click to open this mystery spawner! ))"
Help:
centered: true
lines:
- "&b&lSkyed Mystery Spawner Commands"
- ""
- "&f/mysteryspawner help"
- "&7Displays this help message."
- ""
- "&f/mysteryspawner reload"
- "&7Reloads the configuration."
- ""
- "&f/mysteryspawner give <player> <amount>"
- ""
Roulette:
size: 27
title: "Mystery Spawner &l»&r Rolling..."
itemSlot: 13
Border:
material:
- "STAINED_GLASS_PANE:14"
- "STAINED_GLASS_PANE:1"
- "STAINED_GLASS_PANE:4"
- "STAINED_GLASS_PANE:5"
- "STAINED_GLASS_PANE:3"
- "STAINED_GLASS_PANE:2"
name: " "
amount: 1
PrizeItem:
slot:
- 4
- 22
material: LEVER
name: "&d&lYour Prize"
amount: 1
Rewards:
Pig Spawner:
material: SPAWN_EGG:90
enchanted: false
chance: 25
name: "&f&l1x &5┃&d&l Pig Spawner"
lore:
- "&5&l *&d Rarity &7Common"
commands:
- "ss give %player% Pig 1"
Creeper Spawner:
material: SPAWN_EGG:50
enchanted: false
chance: 10
name: "&f&l1x &2┃&a&l Creeper Spawner"
lore:
- "&2&l *&a Rarity &7Rare"
commands:
- "ss give %player% Creeper 1"
Iron Golem Spawner:
material: SPAWN_EGG:56
enchanted: false
chance: 5
name: "&f&l 1x&7┃&f&l Iron Golem Spawner"
lore:
- "&7&l *&f Rarity &7Epic"
commands:
- "ss give %player% IronGolem 1"
MysterySpawners
Description: MysterySpawners give the player a chance to get a random spawner, at configurable chances. Any items/commands can run out of the reward, which opens up the possibilities. When a player has a Mystery Spawner, they can open it by right-clicking it, which opens a GUI that will start rolling immediately. After a moment of rolling effects (as shown below), the player will see what they win and the GUI will automatically close, giving the player whatever command/item is set for the reward they won.
Commands:
Pictures:
Config: The config gives many options to this plugin. Firstly, the sound can be configured in many different ways when the GUI is opened, completed, or closed. Secondly, the mystery spawner item can be configured to change the item, amount, name, or lore. The help message can even be configured through the config, including alignment. When rolling, the GUI uses configurable glass patterns, and all aspects of the GUI process can be configured. Lastly, the rewards can, of course, be set including the name, chance, enchantment, lore, item/command, etc.
Messages: Besides the help message, all other messages executed by this plugin can be configured in the messages.yml. (The help message can be configured in the config.yml). This includes the overall prefix, given/received message, and error messages. Color codes work both in the messages.yml and the config.yml.
Code:
# SkyedMysterySpawner Configuration
# This is the default configuration.
# Feel free to edit it to your liking.
Options:
Sound:
roll:
enabled: true
name: WOOD_CLICK
volume: 1.0
pitch: 1.5
win:
enabled: true
name: BAT_TAKEOFF
volume: 1.0
pitch: 1.5
close:
enabled: true
name: LEVEL_UP
volume: 1.0
pitch: 1.5
Item:
material: MOB_SPAWNER
amount: 1
name: "&d&lMystery Mob Spawner &7(Right Click)"
lore:
- "&7Mystery mob spawners have the possibility of giving"
- "&7you many different types of spawners!"
- ""
- "&7&o(( Right-click to open this mystery spawner! ))"
Help:
centered: true
lines:
- "&b&lSkyed Mystery Spawner Commands"
- ""
- "&f/mysteryspawner help"
- "&7Displays this help message."
- ""
- "&f/mysteryspawner reload"
- "&7Reloads the configuration."
- ""
- "&f/mysteryspawner give <player> <amount>"
- ""
Roulette:
size: 27
title: "Mystery Spawner &l»&r Rolling..."
itemSlot: 13
Border:
material:
- "STAINED_GLASS_PANE:14"
- "STAINED_GLASS_PANE:1"
- "STAINED_GLASS_PANE:4"
- "STAINED_GLASS_PANE:5"
- "STAINED_GLASS_PANE:3"
- "STAINED_GLASS_PANE:2"
name: " "
amount: 1
PrizeItem:
slot:
- 4
- 22
material: LEVER
name: "&d&lYour Prize"
amount: 1
Rewards:
Pig Spawner:
material: SPAWN_EGG:90
enchanted: false
chance: 25
name: "&f&l1x &5┃&d&l Pig Spawner"
lore:
- "&5&l *&d Rarity &7Common"
commands:
- "ss give %player% Pig 1"
Creeper Spawner:
material: SPAWN_EGG:50
enchanted: false
chance: 10
name: "&f&l1x &2┃&a&l Creeper Spawner"
lore:
- "&2&l *&a Rarity &7Rare"
commands:
- "ss give %player% Creeper 1"
Iron Golem Spawner:
material: SPAWN_EGG:56
enchanted: false
chance: 5
name: "&f&l 1x&7┃&f&l Iron Golem Spawner"
lore:
- "&7&l *&f Rarity &7Epic"
commands:
- "ss give %player% IronGolem 1"
