config.yml

# GuessIt plugin configuration file (config.yml)
#
# If there aren't any other comments in this file, check this page for explanation: https://github.com/Cubixor/GuessIt/wiki/Config-explanation
#
# READ ALL COMMENTS REGARDING A PARTICULAR SECTION BEFORE CHANGING ANYTHING!!!


# Plugin messages language.
# Available languages are:
# en - English - default
#
# If you have translated the plugin and would like me to add your translation here, let me know on my discord server:
# http://discord.gg/AQhUVfm
language: en


# Settings related to a database.
# You have to use a database if you are using bungee mode.
database:

  # If set to true, player stats will be saved in a database.
  # If set to false, player stats will be saved in a local file.
  # WARNING! You have to set it to "true" if you are using bungee mode! [true/false]
  enabled-stats: false

  # Database address.
  # If you have a mysql database, it will look like: "jdbc:mysql://<host>:<port>/<database>".
  address: "jdbc:mysql://localhost:3306/minigame?useSSL=false&autoReConnect=true"

  # MySQL username.
  # It's not recommended to use the root account here for security reasons.
  username: "root"

  # MySQL password.
  # If you are not using a password, just leave it blank (not recommended).
  password: ""

  # MySQL table used for saving player statistics.
  table: "stats"


# Settings related to the plugin bungee mode.
#
# WARNING!!!
# BEFORE CONFIGURING IT, READ THE TUTORIAL:
# https://github.com/Cubixor/GuessIt/wiki/Installation#bungeecord-installation
bungee:

  # Should the plugin be in simple bungee mode?
  # Players will automatically join an arena after they join this server if it's enabled. [true/false]
  simple-bungee-mode: false

  # Should the plugin be in bungee mode?
  # If it's set true, you will be able to join all arenas in your bungeecord network.
  #
  # WARNING! You can use it only if you have enabled saving stats to a database.
  #
  # WARNING! If you enable this option, remember to upload the plugin to the bungeecord server and
  # fill in the connection.yml file with info that is necessary to connect to bungeecord server. [true/false]
  bungee-mode: false

  # What should happen to the player who left the game?
  # Use JOIN_SERVER to put the player back to the server from where he had joined the game.
  # Use LOBBY_SERVER to put the player in the lobby server.
  # USE GAME_SERVER to leave the player in the server that he was playing on.
  # Use LEAVE_COMMAND to make spigot server console execute custom command when the player leaves the game.
  on-leave: JOIN_SERVER

  # Lobby server.
  # Use the bungeecord server name that you set in bungeecord config.yml.
  lobby-server: hub

  # Leave commands.
  # They are used only when the "on-leave" option is set to "LEAVE_COMMAND" and will be executed from the spigot server's console.
  # You can use %player% placeholder - it will be replaced with the player's name.
  # Do not put slash (/) at the beginning!
  leave-commands:
    - "custom command %player%"
    - "custom command2"

# Cooldown between commands, sign clicks, menu clicks and other actions
# Use higher values if your server is slow, you are using bungee mode or saving in mysql.
# You can set it to 0 if you are not using bungee mode and database. [seconds]
cooldown: 1

# Countdown time.
# The Countdown will start when the arena minimum players count will be reached. [seconds]
waiting-time: 40

# Countdown time, when the game is full and players can no longer join it. [seconds]
full-waiting-time: 10

# Time that will game ending take [seconds]
ending-time: 10

# If set to true, when the arena ends, players will be teleported to the main lobby location.
# If set to false, a player is teleported to the place where he was before he joined the arena. [true/false]
use-main-lobby: true

# If set to true, player will be put in the next arena after the previous ends.
# If set to false, the player will be teleported to the main lobby or previous location, depending on "use-main-lobby" is set to true or false. [true/false]
auto-join-on-end: true

# Date format in plugin messages.
# If you don't know how to create a proper date format, check this page: https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
# (Scroll down to "Patterns for Formatting and Parsing" section)
date-format: "yyyy-MM-dd"

# Time format in plugin messages.
# If you don't know how to create a proper date format, check this page: https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
# (Scroll down to "Patterns for Formatting and Parsing" section)
time-format: "mm:ss"

# Set how often the tip in waiting lobby will change. [seconds]
tip-rate: 5

# Should game use private game chat?
# Player messages will be sent only to players in the same arena If set to true. [true/false]
game-chat: true

# If set to true, blocks behind signs will be changed depending on game state. [true/false]
color-signs: true

# Types of blocks behind signs.
# Full item list on https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html [item name]
sign-colors:
  offline: LIGHT_GRAY_STAINED_GLASS
  inactive: BLACK_STAINED_GLASS
  waiting: LIME_STAINED_GLASS
  starting: CYAN_STAINED_GLASS
  game: RED_STAINED_GLASS
  ending: PURPLE_STAINED_GLASS


# Configure which commands will be available in game and put them in the command-blocker-list section below.
# Set to WHITELIST to allow players to use only commands from the command-blocker-list section.
# Set to BLACKLIST to allow players to use all commands except these from the command-blocker-list section. [BLACKLIST/WHITELIST]
command-blocker: BLACKLIST

# List of all commands allowed/blocked in game (without "/").
# You can leave this list empty to block or allow to use all commands. [command name]
command-blocker-list:
  - me
  - spawn


# Item types and slots.
#
# Basic fields which need to be set:
# material - item name; Full item list on https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html [item name]
# slot (only set for some items) - slot number; Available slot numbers are [0-8]
# cooldown (only set for some items) - cooldown between items uses [seconds]
#
# Other (optional) fields used for item customization (enchants, amount) are available: https://github.com/CryptoMorin/XSeries/wiki/XItemStack
# Name and lore are not set here, but in the messages.yml file
items:
  leave-item:
    material: CLOCK
    slot: 8
  menu-arenas-quickjoin:
    material: SLIME_BALL
  menu-arenas-close:
    material: ARROW
  vote-item:
    material: END_CRYSTAL
    slot: 0
  draw-item:
    material: PAINTING
  build-item:
    material: BRICKS
  thin-brush-item:
    material: WOODEN_SWORD
    slot: 0
  thick-brush-item:
    material: DIAMOND_SWORD
    slot: 1
  spray-can-item:
    material: SHEARS
    slot: 2
  fill-can-item:
    material: BUCKET
    slot: 4
  background-picker-item:
    material: BOOK
    slot: 6
  background-item:
    material: BOOK
  burn-canvas-item:
    material: BLAZE_POWDER
    slot: 8
  build-menu-item:
    material: BOOK
    slot: 8
  change-weather-item:
    material: ender_eye
    slot: 10
  change-time-item:
    material: clock
    slot: 12
  particles-item:
    material: blaze_powder
    slot: 14
  change-floor-item:
    material: stone
    slot: 16
  remove-particle-item:
    material: barrier


# All sounds that are played during the game.
#
# Full sound list available here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html [sound]
#
# How to configure:
# name: - sound name, do not change it
#   enabled: true - enable or disable the sound [true/false]
#   sound: UI_BUTTON_CLICK - sound type, choose one from the list mentioned above [sound]
#   volume: 1.0 - sound volume [float]
#   pitch: 1.0 - sound pitch [float]
sounds:
  join:
    enabled: true
    sound: ENTITY_ENDERMAN_TELEPORT
    volume: 1
    pitch: 1
  leave:
    enabled: true
    sound: ENTITY_ENDERMAN_TELEPORT
    volume: 1
    pitch: 1
  click:
    enabled: true
    sound: UI_BUTTON_CLICK
    volume: 1
    pitch: 1
  countdown:
    enabled: true
    sound: BLOCK_NOTE_BLOCK_PLING
    volume: 100
  start:
    enabled: true
    sound: ENTITY_ENDER_DRAGON_GROWL
    volume: 100
    pitch: 1
  win:
    enabled: true
    sound: ENTITY_ENDER_DRAGON_DEATH
    volume: 100
    pitch: 1
  defeat:
    enabled: true
    sound: ENTITY_WITHER_SPAWN
    volume: 100
    pitch: 1
  round-start:
    enabled: true
    sound: ENTITY_WITHER_AMBIENT
    volume: 100
    pitch: 1
  round-end:
    enabled: true
    sound: ENTITY_ELDER_GUARDIAN_CURSE
    volume: 100
    pitch: 1
  guess:
    enabled: true
    sound: BLOCK_ANVIL_LAND
    volume: 100
    pitch: 1


# All particles that appear in game.
#
# Full particle list available here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
#
# How to configure:
# name: - particle name, do not change it
#   enabled: true - enable or disable the particle [true/false]
#   particle: CLOUD - particle type, choose one from the list mentioned above [particle]
#   count: 50 - the number of particles [number]
#   offset: 1 - the maximum random offset on all the axis [float]
#   speed: 1 - particle speed [float]
particles:
  join:
    enabled: true
    particle: CLOUD
    count: 50
    offset: 1
    speed: 0.1
  leave:
    enabled: true
    particle: CLOUD
    count: 50
    offset: 1
    speed: 0.1
  win:
    enabled: true
    particle: HEART
    count: 30
    offset: 0.5
    speed: 0.1


# If set to true, when the game ends for each player (depends on which place the player took) will be executed right command. [true/false]
win-rewards-enabled: true

# Rewards list.
# If you don't want to execute any commands, leave it blank.
# You can use "%player%" placeholder - it will be changed to player name. [command list]
win-rewards:
  - eco give %player% 100



# How many times a player will be the artist during the game.
# For example, if set to 2 and if 10 players join an arena, the game will consist of 20 rounds.
rounds-per-player: 2

# Choose how much round will take
# In other words, how much time an artist will have to draw/build their word. [seconds]
round-time: 120

# Amount of time between rounds [seconds]
time-between-rounds: 5

# Choose how many letters of a word will be revealed to guessers as a hint.
# The hint will gradually appear on players' actionbars.
# For example, 0.5 (50%) means that at the end of the round, guessers will see half of the word letters (randomly selected) [float]
hint-word-percentage: 0.5

# The Canvas will be reset after each round to this block
# It will also be used when a player uses 'clear canvas' item
# Full blocks list on https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html [block name]
clean-canvas-block: white_wool

# The building area floor will be reset after each round to this block
# Full blocks list on https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html [block name]
default-floor-block: grass_block

# A list of words which players will need to guess from
# A random word will be selected each round [string list]
words:
  - diamond
  - portal
  - ghast
  - sword
  - pickaxe
  - herobrine
  - wither

# Items blocked on building mode
# Players will be unable to obtain them from creative inventory
items-blacklist:
  - monster_egg
  - tnt
  - respawn_anchor
  - lava_bucket
  - tropical_fish_bucket
  - pufferfish_bucket
  - cod_bucket
  - salmon_bucket
  - axolotl_bucket
  - flint_and_steel
  - ender_pearl
  - eye_of_ender
  - experience_bottle
  - potion
  - splash_potion
  - lingering_potion
  - fire_charge
  - firework_rocket
  - fishing_rod
  - lead
  - minecart
  - chest_minecart
  - furnace_minecart
  - hopper_minecart
  - tnt_minecart
  - wither_skeleton_skull
  - carved_pumpkin
  - end_crystal
  - snowball
  - egg
  - piston
  - sticky_piston
  - armor_stand
  - painting


# Default color for painting on the canvas
# Full blocks list on https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html [block name]
default-color: BLACK_WOOL

# A list of colors available to choose from to paint on canvas.
# Each line in this section should consist of a block name and a slot in the color selection inventory that it should appear on.
# A total of 54 colors can be added (size of a large inventory)
# Full blocks list on https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html [block_name: slot]
colors:
  - red_wool: 0
  - orange_wool: 1
  - yellow_wool: 2
  - lime_wool: 3
  - green_wool: 4
  - cyan_wool: 5
  - light_blue_wool: 6
  - blue_wool: 7
  - purple_wool: 8
  - red_terracotta: 9
  - orange_terracotta: 10
  - yellow_terracotta: 11
  - lime_terracotta: 12
  - green_terracotta: 13
  - cyan_terracotta: 14
  - light_blue_terracotta: 15
  - blue_terracotta: 16
  - purple_terracotta: 17
  - red_concrete: 18
  - orange_concrete: 19
  - yellow_concrete: 20
  - lime_concrete: 21
  - green_concrete: 22
  - cyan_concrete: 23
  - light_blue_concrete: 24
  - blue_concrete: 25
  - purple_concrete: 26
  - magenta_wool: 27
  - pink_wool: 28
  - white_wool: 31
  - light_gray_wool: 32
  - gray_wool: 33
  - black_wool: 34
  - brown_wool: 35
  - magenta_terracotta: 36
  - pink_terracotta: 37
  - white_terracotta: 40
  - light_gray_terracotta: 41
  - gray_terracotta: 42
  - black_terracotta: 43
  - brown_terracotta: 44
  - magenta_concrete: 45
  - pink_concrete: 46
  - white_concrete: 49
  - light_gray_concrete: 50
  - gray_concrete: 51
  - black_concrete: 52
  - brown_concrete: 53


# Particles available to use by artist in building mode
# You can add or delete particles from this section.
#
# Full particle list available here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
# Full item list on https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
#
# How to configure:
# particle_name: - spigot particle name, one from the link above
#   name: "&7&lExplosion" - a name which will appear in the inventory
#   item: tnt - an item which will appear in the inventory, one from the link above
build-particles:
  explosion_large:
    name: "&7&lExplosion"
    item: tnt
  note:
    name: "&7&lMusic"
    item: note_block
  flame:
    name: "&7&lFlame"
    item: blaze_powder
  cloud:
    name: "&7&lCloud"
    item: white_wool
  heart:
    name: "&7&lHearts"
    item: poppy
  damage_indicator:
    name: "&7&lDamage"
    item: ink_sac
  villager_angry:
    name: "&7&lAnger"
    item: gunpowder
  villager_happy:
    name: "&7&lLuck"
    item: emerald
  enchantment_table:
    name: "&7&lEnchantment"
    item: enchanting_table