forked from ChagnonSebastien/CubeRunner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
114 lines (95 loc) · 5.01 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
############################################################
# +------------------------------------------------------+ #
# | Notes | #
# +------------------------------------------------------+ #
############################################################
# CubeRunner plugin
# Made by PoutineQc
# config.yml - Config File
# If you want to edit the challenges' rewards
# Go in the achievements.yml file in the plugin/CubeRunner folder
############################################################
# +------------------------------------------------------+ #
# | CubeRunner general configuration | #
# +------------------------------------------------------+ #
############################################################
# Currently available languages:
# "fr" - Francais
# "en" - English
# "de" - Deutsch
# 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 "CR 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'
# Set to true if you have a MySQL database and fill the information below
# Warning: If you change this, a simple /dac reload won't do, you'll have to restart the server.
mysql: false
host: 127.0.0.1
port: 3306
user: ''
password: ''
database: 'minecraft'
tablePrefix: 'cuberunner_'
# If you want the Plugin's "logo" ([cr] if not changed) to be displayed in front of every messages
prefixInFrontOfEveryMessages: true
# True : The game starts automaticly as soon as there are enough players in the lobby
# False : Players have to manually start the game
autostart: true
# The countdown from the moment a players starts the game to the beginning of the block shower. (in seconds)
# Players may still join the game during this countdown
countdownTime: 15
# Set to true if you want player's inventories to be cleared during a game and returned after it.
# Note : If the server crash of the plugin throws an error (which should not happend) during a game,
# the player will permenantly loose it's inventory
saveAndClearInventory: true
# Set to true if you want players to get back to their original location after the end of the game
teleportAfterEnding: true
# Broadcasts
# True to enable - False to disable
broadcasts:
startup: true
achievement: true
ending:
singleplayer: true
multiplayer: true
############################################################
# +------------------------------------------------------+ #
# | Rewards and end game commands | #
# +------------------------------------------------------+ #
############################################################
# Economy Rewards
# Requires Vault and an economy plugin
economyRewards: false
# Reward at the end of the game
# The reward will be the amount selected below times the score of the player
# Choose the reward amounts depending on the values of your server's economy
pricePerScore: 0.05
# if true, when completing a challenge gives a money reward
# will be false in all cases if you disable the economy rewards
achievementsRewards: true
# Commands that the console will execute at the end of the game
# (Examples below)
# +-----------------------------------------------------------------------------------------------------+
# | Key Words | Commands with this node are executed : |
# |-----------------------------------------------------------------------------------------------------|
# | %winner% | when the last player from a multiplayer game is eliminated where %winner% is the winner |
# | %player% | whenever a player is eliminated where %player% is the eliminated player |
# | (nothing) | at the end of a game |
# |-----------------------------------------------------------------------------------------------------|
# | %all% | Everybody playing and watching |
# | %arena% | Name of the arena the game is being played in |
# | %prefix% | CubeRunner's prefix as in all CubeRunner's messages |
# +-----------------------------------------------------------------------------------------------------+
commands:
# - minecraft:playsound minecraft:entity.zombie.death hostile %player%
# - minecraft:give %winner% minecraft:apple 10
# - send %all% hub
# - minecraft:tell @a %prefix% The CubeRunner's arena %arena% is now ready for a new game
# - minecraft:weather clear
############################################################
# +------------------------------------------------------+ #
# | Updates | #
# +------------------------------------------------------+ #
############################################################
checkForUpdates: true