This repository has been archived by the owner on Oct 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yml
119 lines (92 loc) · 3.39 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
---
#
# CONFIG FILE
# _____ _ _
# / ____| | | |
# | | | | ___ __ _ _ __| | __ _ __ _
# | | | |/ _ \/ _` | '__| | / _` |/ _` |
# | |____| | __/ (_| | | | |___| (_| | (_| |
# \_____ |_|\___|\__,_|_| |______\__,_|\__, |
# __/ |
# |___/
metadata/version: 2.1.0
# metadata/autor: tobias14
# metadata/website: https://github.com/Tobias-2006/ClearLag
#
# ClearLag sends messages to the players at certain intervals to inform them about the removal of the entities.
# Here you can adjust all alert-message-related settings.
alert-message:
# Select the type of the message.
# Available types: message, title, tip, popup
type: message
# Configure the text of the message here.
# {TIME} Duration until the entities are removed.
# {UNIT} Unit of the time. E.g. minutes
text: '&7[&cClearLag&7] &fAll entities will be removed in &c{TIME} {UNIT}&f!'
# After each removal, a success message is sent to the players.
# Here you can adjust all success-message-related settings.
success-message:
# Select the type of the message.
# Available types: message, title, tip, popup
type: message
# Configure the text of the message here.
# {ENTITY_COUNT} Number of removed entities.
# {ITEM_COUNT} Number of removed items.
text: '&7[&cClearLag&7] &c{ITEM_COUNT} items &fand &c{ENTITY_COUNT} entities &fwere removed.'
# ClearLag offers the possibility to remove entities manually by command.
# Here you can adjust all command-related settings.
command/clearlag:
# Configure whether the command should be enabled.
enabled: true
# Set the name of the command.
name: clearlag
# Set the description of the command.
description: Removes entities to avoid lags
# Here you can adjust the behaviour of the entity removals.
clearlag/preferences:
# Set the time span between each entity removal.
# m=minutes
# s=seconds
# E.g. 20m30s
clear-delay: 15m
# Set whether the clearlag messages should be logged in the console.
# If false, the messages are only sent to the players.
# True by default.
logging/console: true
# Set here when ClearLag sends alert messages.
# E.g. ["15m", "10m", "5m", "1m", "3s", "2s", "1s"]
# Empty array, for the default times.
logging/alert-times: []
# Specify here which entities are to be removed and which are not.
# All entities that inherit from Human are automatically excluded.
entities:
# Set whether items are to be removed.
entity/item: true
# Set whether to remove entities that inherit from Living.
# This usually includes all monsters and animals.
entity/living: true
# Set whether experience-orbs are to be removed.
entity/experience-orb: true
# Decide whether all entities should be removed.
# All previous settings are disregarded.
# This could be useful if entities of plugins do not inherit from Living.
# False by default.
entity/*: false
# A list of all entities or items that should not be removed.
# E.g. Zombie or Pig or ItemEntity or Diamond ...
entity/blacklist: []
# Set the time units to fit the alert message.
time/unit:
# Several hours.
unit/hours: hours
# One hour.
unit/hour: hour
# Several minutes.
unit/minutes: minutes
# One minute.
unit/minute: minute
# Several seconds.
unit/seconds: seconds
# One second.
unit/second: second
...