forked from ChagnonSebastien/DeACoudre
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
144 lines (114 loc) · 5.07 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# DeACoudre plugin
# Made by PoutineQc
# https://www.spigotmc.org/resources/de-a-coudre.14635/
###################################################################
# #
# General Configuration #
# #
###################################################################
# Currently available languages: "fr-FR", "en-US"
# You may make another YAML file with another language
# Simply put it in the LanguageFiles folder and write it's name here (without the ".yml")
# This will option will be the " DaC server language".. The signs will be in this language.
# Warning: If you change this, a simple /dac reload won't do, you'll have to restart the server.
language: en-US
# Set to true if you have a MySQL database and fill the information below
mysql: false
host: 127.0.0.1
port: 3306
user: ''
password: ''
database: 'minecraft'
tablePrefix: 'deacoudre_'
# If you want the Plugin's "logo" ([dac] if not changed) to be displayed in front of every messages
introInFrontOfEveryMessage: true
bungeecord:
enabled: false
arenaName: 'minecraft'
###################################################################
# #
# Gameplay Configuration #
# #
###################################################################
# Players teleport back to the location they were just before joing
# Most useful when having a hub or gaming area of some sort.
teleportAfterEnding: true
# If true, the countdown for the game starts automaticly
# as soon as the minimum requirement of player is met.
autostart: true
# If true, spectators and waiting players will be invisible and able to fly.
# Useful in huge arenas and with a lot of players.
invisibleFlyingSpectators: true
# The countdown until a players starts the game and the first round starts. (in seconds)
# The players may still join the game during this countdown
countdownTime: 60
# The time before a player is considered idle and will be kicked (in seconds)
timeBeforePlayerTimeOut: 30
# If true : the reset will be done before every game start
# If false : the reset will be done after every game end
resetPoolBeforeGame: true
# Completely kicks a player out of the game when he gets idle
# true to kick the player out of the game
# false to only make him lose a life and switch to the next player
timeOutKick: true
# After this much fails, the game will automaticly end
maxFailBeforeEnding: 10
# Set to false to remove the less important messages during games
# that may spam the chat
verbose: true
# If you want to disable specific broadcasts
enabledBroadcasts:
broadcastStart: true
broadcastAchievements: true
broadcastCongradulations: true
# if true, players inside the game won't receive the chat
# from players outside of it and vice-versa.
# Too avoid spamming the chat for in-game players on bigger servers.
chatRooms: false
###################################################################
# #
# Advanced Rewards Configuration #
# #
###################################################################
# Requires Vault and an economy plugin
economyReward: false
# Choose the reward amounts depending on the values of your server's economy
minAmountReward: 25.0
maxAmountReward: 150.0
bonusCompletingArena: 50.0
# if true, when completing a challenge gives a money reward
# will be false in all cases if you disable the economy rewards
challengeReward: true
# To edit the GamePlayed challenges, Win challenges, Lost Challenge and DaCsDone challenges
# Go in the achievements.yml file in the plugin/DeACoudre folder
# Challenge Rewards
challengeRewardFinishArenaFirstTime: 100.0
challengeReward8PlayersGame: 50.0
challengeRewardReachRound100: 75.0
# It will be a suprise, even to you ;) (unless you go check in the source code which would spoil the fun don't you think?)
hiddenChallengeReward: 100.0
# If you want players to receive item rewards instead of money (or both)
# none : no item rewards
# all : all the elements from the list below
# random : one random element from the list below
itemReward: none
# If this list is empty, no items will be given
# EX: - id:amount:data:item's_display_name
# "item's_display_name" will be the item's display name
# to keep the item's original name, keep this option empty
# EX: - id:amount:data
# Note: Maximum of 64 of each items.
itemRewards:
# Some Examples:
# One diamond named Diamondo
- 264:1:0:&bDiamondo
# One rabbit stew named Poutine
- 413:1:0:&6Poutine
# 64 Red tulip
- 38:64:4
# Commands to be executed as the console when a game ends
# %winner% : will be executed once for each winners if more than one
# %arena% : the name of the arena
commands:
# - eco give %winner% 20
# - broadcast The arena %arena% is now ready for a new game