# MineWars plugin configuration file (config.yml)
#
# If there aren't any other comments in this file, check this page for explanation: https://github.com/Cubixor/MineWars/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/SheepQuest/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 - slot number; Only set for some items; Available slot numbers are [0-8]
#
# 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
team-choose-item:
material: CHEST
slot: 0
spectate-item:
material: CHEST
slot: 0
player-tracker-item:
material: COMPASS
slot: 8
# 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
death:
enabled: true
sound: BLOCK_ANVIL_LAND
volume: 100
pitch: 0
kill:
enabled: true
sound: ENTITY_IRON_GOLEM_DEATH
volume: 100
pitch: 1.2
pvp-on:
enabled: true
sound: ENTITY_ENDER_DRAGON_GROWL
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
death:
enabled: true
particle: SPELL_INSTANT
count: 50
offset: 0.1
speed: 0.1
# If set to true, a command will be executed for each of the winner team members. [true/false]
win-rewards-enabled: true
# List of commands executed for all winners.
# You can use "%player%" placeholder - it will be changed to player name.
win-rewards:
- eco give %player% 100
# Should players be able to choose teams?
# If set to true, players will be able to choose their team by menu.
# If set to false, players' team will be chosen randomly. [true/false]
allow-team-choosing: true
# Should bossabr showing selected team be enabled? [true/false]
team-bossbar: true
# Choose if teams should be balanced, so that players are unable to all join one team or be distributed unevenly across teams.
# If this is enabled, players will be unable to join team in which: (number of players) >= [(number of players on arena)/(number of teams)]
# Keep in mind that disabling this will allow players to all join one team, and win the game without any effort, which can harm the server economy.
balance-teams: true
# Time, for which PVP will be disabled after the game start [seconds]
no-pvp-time: 60
# Settings related to mob spawning
mob-spawn:
# Mobs will spawn within this radius from the mob spawn location [blocks]
radius: 10
# Mobs will spawn every this period of time [seconds]
time: 60
# Choose how many mobs will be spawned at once [count]
count: 3
# Choose the maximum light level, at which mobs will spawn. 0 means no light, 15 means fully lit [0-15]
max-light-level: 0
# The maximum number of times the plugin will try to spawn a mob.
# Mob spawn might be unsuccessful, for example, when there is no space around the spawn location
max-trials: 30
# List of mobs that could spawn in the spawn location
mobs:
- zombie
- spider
- cave_spider
- creeper
# List of nether mobs that could spawn in the spawn location.
# A mob will be chosen from this list (instead of the 'mobs' list) when the block where it would spawn is NETHERRACK
nether-mobs:
- pig_zombie
- skeleton
# Settings related to loot chests
chest:
# Delay before the chest is filled for the first time after the game starts [seconds]
delay: 60
# Time between chests refills [seconds]
time: 180
# How many slots should be occupied by the items after a chest refill
full-slots: 3
# Time format, used for displaying time until refill above a chest.
time-format: "mm:ss"
# Items that can spawn inside a loot chest.
# A number of items will be randomly selected from this list, based on the 'full-slots' setting.
# The loot inside each chest will be different.
#
# How to configure:
# item_name: -
# material: diamond - item type, Full item list on https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html [item type]
# min: 2 - minimum number of items of this type that will appear in the chest (as long as this item type is randomly chosen to spawn in the chest)
# max: 5 - maximum number of items of this type that will appear in the chest
items:
1:
material: diamond
min: 2
max: 5
2:
material: iron_ingot
min: 5
max: 8
3:
material: enchanted_golden_apple
min: 1
max: 1
# Should the glow effect be applied to all players after a certain amount of time?
glow-enabled: true
# Time after which the glow effect will be applied to all players [seconds]
glow-after: 600
# Settings related to the random blocks mode
# In this mode the world will be filled with random blocks, instead of using a pre-built map.
random-blocks:
# Should the random blocks mode be enabled?
enabled: false
# World size in blocks
world-size: 100
# World height in blocks
world-height: 100
# List of blocks that will be used for world generation.
blocks:
- STONE
- GRANITE
- POLISHED_GRANITE
- DIORITE
- POLISHED_DIORITE
- ANDESITE
- POLISHED_ANDESITE
- GRASS_BLOCK
- DIRT
- COARSE_DIRT
- PODZOL
- COBBLESTONE
- OAK_PLANKS
- SPRUCE_PLANKS
- BIRCH_PLANKS
- JUNGLE_PLANKS
- ACACIA_PLANKS
- DARK_OAK_PLANKS
- BEDROCK
- SAND
- RED_SAND
- GRAVEL
- GOLD_ORE
- DEEPSLATE_GOLD_ORE
- IRON_ORE
- DEEPSLATE_IRON_ORE
- COAL_ORE
- DEEPSLATE_COAL_ORE
- NETHER_GOLD_ORE
- OAK_LOG
- SPRUCE_LOG
- BIRCH_LOG
- JUNGLE_LOG
- ACACIA_LOG
- DARK_OAK_LOG
- STRIPPED_OAK_LOG
- STRIPPED_SPRUCE_LOG
- STRIPPED_BIRCH_LOG
- STRIPPED_JUNGLE_LOG
- STRIPPED_ACACIA_LOG
- STRIPPED_DARK_OAK_LOG
- OAK_WOOD
- SPRUCE_WOOD
- BIRCH_WOOD
- JUNGLE_WOOD
- ACACIA_WOOD
- DARK_OAK_WOOD
- STRIPPED_OAK_WOOD
- STRIPPED_SPRUCE_WOOD
- STRIPPED_BIRCH_WOOD
- STRIPPED_JUNGLE_WOOD
- STRIPPED_ACACIA_WOOD
- STRIPPED_DARK_OAK_WOOD
- CRIMSON_STEM
- WARPED_STEM
- STRIPPED_CRIMSON_STEM
- STRIPPED_WARPED_STEM
- CRIMSON_HYPHAE
- WARPED_HYPHAE
- STRIPPED_CRIMSON_HYPHAE
- STRIPPED_WARPED_HYPHAE
- SPONGE
- WET_SPONGE
- GLASS
- LAPIS_ORE
- DEEPSLATE_LAPIS_ORE
- LAPIS_BLOCK
- SANDSTONE
- CHISELED_SANDSTONE
- CUT_SANDSTONE
- WHITE_WOOL
- ORANGE_WOOL
- MAGENTA_WOOL
- LIGHT_BLUE_WOOL
- YELLOW_WOOL
- LIME_WOOL
- PINK_WOOL
- GRAY_WOOL
- LIGHT_GRAY_WOOL
- CYAN_WOOL
- PURPLE_WOOL
- BLUE_WOOL
- BROWN_WOOL
- GREEN_WOOL
- RED_WOOL
- BLACK_WOOL
- GOLD_BLOCK
- IRON_BLOCK
- DIAMOND_ORE
- DEEPSLATE_DIAMOND_ORE
- DIAMOND_BLOCK
- NETHERITE_BLOCK
- EMERALD_ORE
- DEEPSLATE_EMERALD_ORE
- EMERALD_BLOCK
- REDSTONE_ORE
- DEEPSLATE_REDSTONE_ORE
- REDSTONE_BLOCK
- CLAY
- NETHERRACK
- SOUL_SAND
- SOUL_SOIL
- BASALT
- POLISHED_BASALT
- BLACKSTONE
- POLISHED_BLACKSTONE
- POLISHED_BLACKSTONE_BRICKS
- CRACKED_POLISHED_BLACKSTONE_BRICKS
- CHISELED_POLISHED_BLACKSTONE
- GILDED_BLACKSTONE
- END_STONE
- END_STONE_BRICKS
- PURPUR_BLOCK
- PURPUR_PILLAR
- PURPUR_STAIRS
- PURPUR_SLAB
- QUARTZ_ORE
- QUARTZ_BLOCK
- CHISELED_QUARTZ_BLOCK
- QUARTZ_PILLAR
- SMOOTH_QUARTZ
- SMOOTH_QUARTZ_STAIRS
- SMOOTH_QUARTZ_SLAB
- GLOWSTONE
- SEA_LANTERN
- SHROOMLIGHT
- JACK_O_LANTERN
- MAGMA_BLOCK
- FURNACE
- BLAST_FURNACE
- CRAFTING_TABLE
- ENCHANTING_TABLE
-
# Config version. DO NOT CHANGE IT!
config-version: 1.1