Plugin´s Files
In this section, you have access to the default yml file. These files contain the standard configuration that is used as a starting point for customization and specific configuration.
config:
# Do not change this option unless the developer instructs you to.
debug: false
menu:
title: "&bChoose Your Gender"
size: 27 # Inventory slot count, must be a multiple of 9
# Define the buttons that will appear in the menu here
items:
male:
slot: 11
type: GENDER
item:
material: DIAMOND_SWORD
name: "&9Male"
lore:
- "&7Click to select your gender"
- "&9Male"
prefix:
enabled: true
value: ' &b♂'
actions:
- "[message] &aYou selected &b♂ Male"
- "[close]"
female:
slot: 13
type: GENDER
item:
material: GOLDEN_APPLE
name: "&dFemale"
lore:
- "&7Click to select your gender"
- "&dFemale"
prefix:
enabled: true
value: ' &d♀'
actions:
- "[message] &aYou selected &d♀ Female"
- "[close]"
non_binary:
slot: 15
type: GENDER
item:
material: ENCHANTED_BOOK
name: "&aNon-binary"
lore:
- "&7Click to select your gender"
- "&aNon-binary"
prefix:
enabled: true
value: ' &e⚧'
actions:
- "[message] &aYou selected &e⚧ Non-binary"
- "[close]"
reset:
slot: 22
type: RESET
item:
material: BARRIER
name: "&cReset Gender"
lore:
- "&7Click to remove your current gender"
actions:
- "[message] &cYour gender has been reset"
- "[close]"
-
custom-items: []
# Disable plugin functionality in these worlds
disable_worlds:
- "ExampleWorld"
# Disable usage statistics (bStats)
metrics: true
# Disable update checker notifications
update_checker: true
# Configure command aliases or override the default base command
command:
default:
enabled: true
name: playergender # Base command name (requires server restart)
aliases:
- "pg"
shortened_open_command:
enabled: true
need_permissions: true
permission: playergender.open
name: gender
aliases:
- "gd"
# Storage method (SQLite or MySQL)
storage_method: SQLite
data:
address: 127.0.0.1
port: 3306
database: database
username: username
password: passy
file-version: 1
MESSAGES:
# Placeholders
PLACEHOLDER:
SECONDS: s
MINUTES: m
HOURS: h
DAYS: d
SEPARATOR: ' '
# Gui
GUI:
COUNTDOWN: "&fYou must wait &a{1} &fseconds before clicking again."
# Commands
COMMANDS:
# Disable in world
NO_USAGE_IN_WORLD: "&cYou can't use this in this world."
#No Perms
NOPERMS: "&cYou do not have permission {2} to use this command."
NOPERMS_LOGGER: "&cUser {1} does not have permission {2}"
#Help
NO_SUCH_COMMAND: "No such command. please type /{cmd} help for more info"
HELP_CONSOLE: |-
&7
&e&l BASIC CONSOLE COMMANDS
&7
&8 » &e/{cmd} reload &8- &fReloads the configuration
&8 » &e/{cmd} help &8- &fView help message
&7
HELP:
- "&e&lBASIC COMMANDS"
- "&7"
- "&8 » &e/{shortenedcmd} &8- &fOpen rewards menu"
- "&7"
- "&8 » &e/{cmd} reload &8- &fReload the configuration"
- "&8 » &e/{cmd} help &8- &fView help message"
HELP_USAGE: "&cCorrect usage: /{cmd} help (page)"
# reload
RELOAD: '&aAll YML files have been successfully reset.'
RELOAD_COOLDOWN: 'You must wait {1} before reloading the configuration.'
# Shortened
SHORTENED_OPEN: "&aOpening rewards menu..."
SHORTENED_OPEN_CONSOLE: "&cOnly players can execute this command."
file-version: 1
Last updated