-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.yml
290 lines (254 loc) · 10.9 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
# _____ _ _ ______ _ _
# / __ \ | | | | ___ \ | | | |
# | / \/ |__ ___ ___| |_| |_/ / __ ___ | |_ ___ ___| |_
# | | | '_ \ / _ \/ __| __| __/ '__/ _ \| __/ _ \/ __| __|
# | \__/\ | | | __/\__ \ |_| | | | | (_) | || __/ (__| |_
# \____/_| |_|\___||___/\__\_| |_| \___/ \__\___|\___|\__|
#
# Resource page: https://www.spigotmc.org/resources/53494
# Discord: https://discord.incredibleplugins.com
#
# If you encounter any issues, please report them
# to discord support server or via pm.
# Bugs or problems are usually fixed within a few hours.
# You can ignore the IDs in some setting names (_<ID>).
#
#################################################################
# Blocks and entities, which should be able to become protected, #
# can be found in protectables.yml #
#################################################################
general:
# Default: English (en-US) - no download required.
# This defines the default language. You can place multiple locales in the plugin's "Language" folder to display different locales depending on the player's locale.
# You can access translations maintained by the community in our Discord: https://discord.incredibleplugins.com
# To access translations, other than en-US, execute /translations in the Discord server.
language: 'en-US'
# Worlds where players should
# be able to lock objects
worlds_list:
- world
# Set the format of all economy related displays.
# Info: https://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html
# NOTE: This setting requires server reload / restart.
eco-format:
normal: '$#,##0.00'
# The short format will use the normal format if the value is lower than 1000.
# If the value is higher or equal than 1000, it will return {value} divided by 1000.
# This format is only used by a small amount of messages.
short-unit: '${value}{unit}'
# If enabled, limit permissions will be combined instead of just taking the highest value.
# Example: A player has the permission chestprotect.blocks.5 and chestprotect.blocks.2.
# If enabled: This will result in a limit of 7 protected blocks (containers etc.).
# If disabled: This will result in a limit of 5 protected blocks (containers etc.).
permission-stacking: false
# Date format
# MM: Month
# dd: Day of month
# yyyy: Year
# hh: hours
# mm: minutes
# ss: seconds
# NOTE: These settings require server reload / restart.
date-format:
# Set the time zone for date text outputs.
# Example: America/Los_Angeles or GMT-8:00
# List of time zones: https://timezonedb.com/time-zones
# If empty, it uses the time zone of the machine your server is running on.
time-zone: ''
# General format for invites etc.
# Examples:
# American 12-hour format (a = 12 hour format): MM/dd/yyyy hh:mm a
# German 24-hour format: dd.MM.yyyy hh:mm
general: 'MM/dd/yyyy hh:mm a'
# Format used when only a time displayed.
# Examples:
# American 12-hour format (a = 12-hour format): hh:mm a
# German 24-hour format: hh:mm
time_2: 'hh:mm a'
#################################################################
# Blocks and entities, which should be able to become protected, #
# can be found in protectables.yml #
#################################################################
# Protection settings
# Protection costs and protection types can be edited in protectables.yml
protection:
# Should protections take damage from tnt explosion to get unlocked?
allow-tnt: false
# Sound settings
# You can disable sounds by setting them to ''
sound:
# Played when protection has been created.
locked_sound: 'ENTITY_EXPERIENCE_ORB_PICKUP'
# Played on protection deletion.
unlocked_sound: 'BLOCK_ANVIL_BREAK'
# Default protection settings
setting:
# Accept redstone signals?
redstone:
enabled_11: false
# Teleport to protection through the menu.
# Permission chestprotect.teleport
teleportation:
# Wait x seconds before starting teleportation.
wait: 3
# Set teleportation cost.
cost: 200
# General Teleportation Settings
# Command specific teleportation options can be find in their sections.
teleport:
# General teleportation cost. Some features might have specific options, which override this.
costs: 0
# Set the cost of any teleportation to 0 for players that joined the server for the first time.
# You can define a time span here. Example: 1d = players that joined the server 23 hours ago, won't pay for any teleportation.
first-join_time: 0h
# Wait-time
# Timeunit: seconds
wait: 3
# Player default settings
player:
# Here you can set DEFAULT settings for NEW players.
# The players will be able to change these settings later in the GUI, if they have permission to do so.
# NOTE: These settings are default settings. That means that they will only apply for new players.
# Existing players can toggle them in their menu (/chestprotect menu).
setting:
# Make the command lock and unlock persistent?
persistent_lock:
# Default value
default: false
# Make the command trust, untrust and setrole persistent?
persistent_trust:
default_3: false
# Auto lock placed blocks, which are protectable?
auto_lock:
default_5: true
# Send notification when opening a protection?
notifications:
default_14: true
# Database settings
database:
# MySQL database
# To use this without issues, your connection limits etc. need to be configured properly in your MySQL server configuration.
# It is not recommended connecting multiple instances of ChestProtect servers to one database with the same table prefix.
mysql:
# NOTE: If disabled, SQLite will be used instead.
enabled_20: false
ip-address: 'localhost'
port: '3306'
username: 'minecraft'
password: 'password'
database: 'chestprotect'
# It is highly recommended setting a unique table prefix if the plugin shares a database with other plugins or ChestProtect instances.
table-prefix: 'chestprotect_'
# Database purger
# Delete protections from
# inactive players
inactive-player-deleter:
# NOTE: This setting requires server reload.
enabled: true
# Time in days how long players have to be offline to be marked as inactive.
offline-days: 120
# Events options
event:
# If a player opens a protected object.
open-protection:
# Should players be able to open their double doors by just clicking at only one door?
# This also includes iron double, iron single and iron trap doors.
double-doors: true
# If someone places a protectable block or armor-stand, which did not get auto locked.
block-place:
# This message will only appear if the player can protect objects at his location.
# For example, if he is in a WorldGuard region and is not allowed to create protection there, the message will not be displayed.
notify: true
command:
# Command shortcuts
# NOTE: These settings require server reload.
shortcut:
# Enable /chestprotect lock shortcut: /Lock
# Set this to false, if you don't want this.
lock: true
# Enable /chestprotect lock shortcut: /Unlock
unlock: true
# Enable /chestprotect lock shortcut: /Trust
trust: true
# Enable /chestprotect lock shortcut: /Untrust
untrust: true
# Enable /chestprotect setrole shortcut: /SetRole
setrole: true
# Set aliases for the /chestprotect command
# NOTE: This setting requires server reload.
alias:
chestprotect_list:
- "cp"
- "protect"
- "protection"
# ChestProtect menu settings (/chestprotect menu)
gui:
# Should ChestProtect automatically adjust the length of item lore lines?
# Recommended length is 35.
# NOTE: Set this to 0 to disable it.
max-lore-length: 0
# Integrations settings
integration:
# Supports: Lands (https://www.spigotmc.org/resources/53313), SuperiorSkyblock2, BentoBox, PlotSquared, WorldGuard
# If you want to allow protections being opened during wars, add the "CHESTPROTECT_OPEN" flag to the wars.yml configuration file of Lands.
lands:
# Should protections only be allowed inside claims?
# Protections in the wilderness won't be allowed.
# This also means that protections inside a land will get unlocked, if the land gets unclaimed.
only-land: false
# If the location is claimed, should it only be allowed if the player is trusted in that claim?
only-trusted_2: false
# Should protections inside a land/area get unlocked, if the player gets untrusted at this land/area?
# This includes the expiration of rentals.
untrust-remove: false
# Supports: Lands (https://www.spigotmc.org/resources/53313), SuperiorSkyblock2, BentoBox, PlotSquared, WorldGuard
# Allow players, which are trusted in the region where the farm is located in, to break blocks, place blocks and interact, if they're allowed to do so in the region?
# This is a default option. Players can change it later in the menu.
allow-region-members: false
# Allow region owners to unlock protections of other players?
owner-unlock: false
# chestprotect-lock flag that allows you to prevent locking objects in plugins like WorldGuard.
flag:
# Apply the chestprotect-lock flag also to global regions in world manager plugins, like WorldGuard?
# For Lands use /lands admin wilderness instead.
# This option requires server reload / restart.
global-regions: false
# Default state of the lock flag. If you use ProtectionStones, then you might want to set this to true.
default-state: false
# Economy settings
# If all types are disabled, the item based economy will be used instead.
economy:
Vault:
# You need an economy plugin, which supports Vault, to let this work.
enabled_9: true
# Server bank account name. Player expenses will go here. Empty means, that this feature is disabled.
server-bank: ''
levels:
enabled_10: false
# Item currency is used when all other economy options are disabled or unavailable.
# The currency item can be edited in the GUI language file at the "currency" item.
items:
# If enabled, only items that have the same name, lore etc. will belong to the currency.
# Not just items of the same type or items with the same model-data.
strict: false
# Chat integrations
chat:
# PlaceholderAPI
PlaceholderAPI:
enabled_6: true
# Web integrations
web:
# Dynmap
Dynmap:
enabled_8: false
# The name of the layer where users can see the marked protections.
layer: 'ChestProtect'
icon: 'Protections X: {x} Z: {z}'
# Configure logging
logging:
# We might ask you to enable this, when you submit a bugreport.
# It's also helpful to debug variables for events.yml.
debug: false
# Identify caller of events etc.
# Available: land_balance_changed
print-callstack_list: []