-
Notifications
You must be signed in to change notification settings - Fork 10
Configuration
Daniel Norris edited this page Oct 22, 2021
·
4 revisions
Example Config:
Default config text with explanatory comments
config-interface:
title: PixelHunt # The title of the GUI for /hunt
height: 3 # The height of the GUI (number of rows)
fill-type: BLOCK # The type of background item fill (https://github.com/Pixelmon-Development/API/wiki/GUI-Settings)
filler-items: # The items used to fill the background of the GUI
one:
type: minecraft:stained_glass_pane
amount: 1
damage: 14
name: ' '
lore: []
spawn-broadcast: ["&b%pokemon%&c is now being hunted!"] # The broadcasts that are sent to all online players when a new hunt is started
timeout-broadcast: ["&c&l(!) &cThe hunt for &b%pokemon%&c has timed out!"] # The broadcasts to send to all online players when the hunt ends (no one found it)
hunts: # The section that defines all the different difficulties of hunt
Simple: # An exmaple of an "easy" hunt where only the species of the pokemon is required (and evolutions are allowed)
gui: # The position the display will take in the GUI
X: 1
Y: 1
random-reward-commands: false # If the reward command given on capture is randomly selected from this list (if false all commands are executed)
reward-commands: # The commands to reward the player after capturing the pokemon
- broadcast Testing %player%
require-species: true # If the pokemon species is required (always true)
allow-legends: false # If legends should appear in this difficulty (typically false otherwise incredibly difficult)
allow-ultra-beasts: false # If ultrabeasts should appear in this difficulty (typically false otherwise a bit more difficult)
allow-evolutions: true # If evolutions of the species are allowed (true = easier)
require-gender: false # If a specific gender should be required
require-growth: false # If a specified growth (or number of growths) should be required
number-of-possible-growths: 2 # Number of growths to accept
require-nature: false # If the nature (or natures) should be required
number-of-possible-natures: 2 # Number of natures to accept
require-iv-percentage: false # If an IV percentage should be required
random-iv-generation: true # If the IV percentage should be randomly generated
minimum-iv-percentage: 30 # The minimum IV value
maximum-iv-percentage: 100 # The maximum IV value
max-ivs: false # When captured should the IVs be maxed out?
iv-multiplier-enabled: false # When captured should the IVs be multiplied?
iv-multiplier: 1.5 # The multiplier if the above is true
max-duration-minutes: 30 # The amount of time before the hunt times out
Advanced:
gui:
X: 1
Y: 2
random-reward-commands: true
reward-commands:
- broadcast Testing %player%
- broadcast Testing2 %player%
- broadcast Testing3 %player%
require-species: true
allow-legends: false
allow-ultra-beasts: false
allow-evolutions: true
require-gender: true
require-growth: true
number-of-possible-growths: 2
require-nature: true
number-of-possible-natures: 2
require-iv-percentage: true
random-iv-generation: true
minimum-iv-percentage: 30
maximum-iv-percentage: 100
max-ivs: false
iv-multiplier-enabled: false
iv-multiplier: 1.5
max-duration-minutes: 60
Default config text
config-interface:
title: PixelHunt
height: 3
fill-type: BLOCK
filler-items:
one:
type: minecraft:stained_glass_pane
amount: 1
damage: 14
name: ' '
lore: []
spawn-broadcast: ["&b%pokemon%&c is now being hunted!"]
timeout-broadcast: ["&c&l(!) &cThe hunt for &b%pokemon%&c has timed out!"]
hunts:
Simple:
gui:
X: 1
Y: 1
random-reward-commands: false
reward-commands:
- broadcast Testing %player%
require-species: true
allow-legends: false
allow-ultra-beasts: false
allow-evolutions: true
require-gender: false
require-growth: false
numer-of-possible-growths: 2
require-nature: false
number-of-possible-natures: 2
require-iv-percentage: false
random-iv-generation: true
minimum-iv-percentage: 30
maximum-iv-percentage: 100
max-ivs: false
iv-multiplier-enabled: false
iv-multiplier: 1.5
max-duration-minutes: 30
Advanced:
gui:
X: 1
Y: 2
random-reward-commands: true
reward-commands:
- broadcast Testing %player%
- broadcast Testing2 %player%
- broadcast Testing3 %player%
require-species: true
allow-legends: false
allow-ultra-beasts: false
allow-evolutions: true
require-gender: true
require-growth: true
numer-of-possible-growths: 2
require-nature: true
number-of-possible-natures: 2
require-iv-percentage: true
random-iv-generation: true
minimum-iv-percentage: 30
maximum-iv-percentage: 100
max-ivs: false
iv-multiplier-enabled: false
iv-multiplier: 1.5
max-duration-minutes: 60