-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.default.yml
118 lines (89 loc) · 3.48 KB
/
config.default.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
bot-options:
# Server ip
host: localhost
# Default Minecraft servers port is 25565. Set this only if server has different port
port: 25565
# Bot should select a Minecraft version automatically, but if you want specific,
# set this on your own
version: '1.20.4'
# Set this to your email for Minecraft account or to username for offline-mode servers
username: MySuperUsername
# Set this only if you use Minecraft account
# password: ''
# Only set this if you are using Microsoft account and then set this to 'microsoft'
# auth: 'mojang'
bot-commands:
# If you want to disable bot commands, set this to false
# !!! Command 'config' with 'set' subcommand require system permission
# to write to this file !!!
enabled: true
# Prefix for bot commands. Must be set, otherwise bot commands won't work.
# If you will want to send message on server that starts with this prefix,
# just add \ before.
prefix: '-'
chat:
# Messages to ignore. Filter uses RegExp match
ignored-messages: []
logs:
# If logs should be enabled. This function saves every message to file and when you open online
# panel, displays every mesasge from file on site.
# !!! This require system permission for write to file logs.log !!!
enabled: true
# Type of saved messages limit.
# count - while adding new message to file, every old message that is over the limit count
# will be deleted
# time - while adding new message, every old message that is older than limit, will be deleted
# infinity - stored messages won't be deleted. Be aware with this setting cause with a lot
# of saved data log file can be large
limit-type: 'time'
# Limit for saved messages. According to the selected type:
# count - limit in messages count
# time - limit in minutes
# infinity - limit doesn't matter
limit: 2880 # 2880 minutes - 2 days
on-join:
# Messages/commands to send on join. It's like in console or online panel, if you start message with
# bot command prefix, then bot command will be executed. If you start message with slash (/),
# Minecraft command will be executed and if you write just message, this message will be send on chat.
# Pattern:
# <timeout>:<message>
# Timeout is counting in miliseconds after join event
commands:
# Some examples:
# - '500:/login mYsUpErSeCrEtPaSsWoRd123'
# - '1000:Hello everyone!'
# - '5000:/home'
# - '5500:/panel'
# - '6000:-inv leftclick 5'
auto-rejoin:
# Whether bot should rejoin to server when it gets kicked out
enabled: true
# Time in seconds before bot again join server
timeout: 15
online-panel:
# If you want to disable online panel, set this to false
enabled: true
# Port for online panel, default is 3000
port: 3000
# Prefixed for messages in the panel
message-prefixes:
# Available variables:
# {years}, {months}, {days},
# {hours}, {minutes}, {seconds}
# Minecraft messages - chat, commands etc.
minecraft: '§7[{hours}:{minutes}:{seconds}] §r'
# Bot internal messages
bot: '§7[{hours}:{minutes}:{seconds}] §f§l[BOT] §r'
# Messages to load from log file to show in online panel when you open it
last-messages:
# Limit type:
# count - max messages count
# time - max messages age in minutes
# all - will load all messages from the log file
type: 'count'
# Limit value.
limit: 2000
features:
player-list:
# How often player list is updated. In milliseconds
interval: 50