forked from NiklasEi/gamebox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
131 lines (112 loc) · 4.45 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
# ----------------------------------------------------------------------------#
# #
# GameBox config #
# #
# ----------------------------------------------------------------------------#
#
# Plugin made by Nikl
# if you have any problems/suggestions please contact me on Spigot
# or write in the plugin discussion directly
#
# Thank you for playing! I hope you like the plugin
#
# ----------------------------------------------------------------------------
# define the language file you want to use (find the files in the folder 'language')
# to use the default messages just write 'default'
# If you want custom messages please write your own file or use one of the already written 'lang_xx.yml' files
# If an update added new messages that are not in your defined file the plugin will print a warning and a list
# of missing paths and will use the corresponding default messages until you added them in your file
# To get an up to date language file just delete one of the included files and reload
langFile: 'default'
# in these worlds the commands will not work
blockedWorlds:
- "world_nether"
# time an invite stays valid (in seconds)
timeForInvitations: 40
# time the input stays open (in seconds)
timeForPlayerInput: 20
economy:
# this enables economy for the main plugin and all the games
# you can turn on/off economy for each game in the corresponding game config found in 'games/gameName'
# THIS OPTION REQUIRES VAULT AND AN ECONOMY PLUGIN!
# THIS IS ONLY ABOUT MONEY-ECONOMY! TOKENS ARE SEPARATE
enabled: false
tokens:
enabled: true
guiSettings:
# you should keep this on
# the players can decide to turn sounds off in the gui
playSounds: true
# here you can customize the standard sounds in the main GUI
# for all sounds take a look at the github repo:
# https://github.com/NiklasEi/GameBox/blob/master/src/me/nikl/gamebox/Sounds.java
standardSounds:
successfulClick: "CLICK"
unsuccessfulClick: "VILLAGER_NO"
# you can disable navigation buttons by giving them a negative slot
# valid slots are only from 0 to 8
hotBarNavigation:
exitSlot: 4
mainMenuSlot: 0
gameMenuSlot: 8
# you will keep the items that are in these slots while you are in a GUI/Game
# This should only be used to guaranty compatibility for plugins which only function
# when players have certain items in the inventory
# Slots from 0 - 8
# Do not use a slot that is taken by navigation buttons
keepItemsSlots:
#- 2
#- 6
mysql:
enabled: false
host: "localhost"
port: 3306
database: "TestDatabase"
username: "user"
password: "pass"
hubMode:
enabled: false
enabledWorlds:
- "world"
giveItemOnWorldJoin: true
# slot in the hot bar the item is set to (if giveItemOnWorldJoin)
slot: 0
item:
# define the Material and data for the item (format: 'material:data')
materialData: "CHEST"
# display name of the button
displayName: "&3&lGameBox"
# lore of the item (optional)
lore:
- ""
- "&1Click with this item to open the menu"
settings:
# this enables players to accept game invitations without having the play permission.
# The permission is still needed to send the invitation though.
exceptInvitesWithoutPlayPermission: false
# invitation settings
invitations:
clickMessage:
# whether players can click to get to the invite
enabled: true
# all data is anonymous and helps me figuring out what games on what versions are played most
# you can take a look at all the data that is send here: https://bstats.org/plugin/bukkit/GameBox
# please consider leaving this on 'true'
bstats: true
# when a player is in GameBox and gets damaged the inventory will be closed
# players should be in a save place when playing...
# if false the player can stay in game as long as he doesn't die
closeInventoryOnDamage: true
# the plugin includes events on specific occasions
# for example: when entering GameBox and after leaving GameBox
#
# Plugin intern listeners are able to run commands for you
listeners:
# event called before the player enters GameBox
enteringGameBox:
commands:
#- "tell %player% Have fun!
# event called directly after the player left GameBox
leftGameBox:
commands:
#- "tell %player% Come back!"