This repository has been archived by the owner on Apr 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.yaml
84 lines (79 loc) · 2.7 KB
/
custom.yaml
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
# ---------------------------------------------------------------------------- #
# Main Configuration File #
# ---------------------------------------------------------------------------- #
# Make sure at least one mod exists and has a configuration below, otherwise #
# the script will not work. It doesn't have to be enabled or disabled, it only #
# needs a configuration section.
# ---------------------------------------------------------------------------- #
# --------------------------------- Overrides -------------------------------- #
# Enabled all mods. If disabled, will be vanilla.
enabled: true
# Default enable scripts if you forget to add the 'enabled' key.
# Note: This feature is only (somewhat) functional.
defaultEnabled: true
# ----------------------------------- Mods ----------------------------------- #
mods:
# CUSTOM CHAT
# Capitalises messages and adds trailing '.'
customChat:
enabled: true
# DISCORD INTEGRATION
# Edit token, channel and formats as desired.
# Note: connections has a seperate channel if you wish to seperate these messages
# from the chat bridge.
discordBridge:
enabled: true
loginToken: "YOURTOKENHERE"
channel: "123456789012345678"
connections:
enabled: true
channel: "123456789012345678"
format:
connect: "Player join: '${username}'. XUID: ${xuid}."
disconnect: "${username} disconnected."
chat:
fromGame:
enabled: true
format: "${username} >> ${message}"
fromDiscord:
enabled: true
format: "(DISCORD) <${username}> ${message}"
# LOGGER
# Optionally, change log date format.
# Note: if you get unusual wine errors, try using 'getUTCFullYear()', etc.
logger:
enabled: true
logWithDateFormat: "${now.getFullYear()}-\
${('0' + (now.getMonth() + 1)).substr(-2)}-\
${('0' + now.getDate()).substr(-2)} \
${('0' + now.getHours()).substr(-2)}\
:${('0' + now.getMinutes()).substr(-2)}\
:${('0' + now.getSeconds()).substr(-2)}"
# ANTI LAG
# Timers in seconds
antiLag:
enabled: true
clearGroundItems:
enabled: true
interval: 600
warning: 30
# CONSOLE COLOURS
# Adds colours to console. Note: displayCode keeps the original code (§x), in dark gray.
consoleColours:
enabled: true
displayCode: true
# JS COMMAND
jsCommand:
enabled: true
# ANTI CLIENT COMMANDS
# Warning: doesn't always work.
antiClientCommands:
enabled: true
# DEBUG MODE
# Log packets to console
debugMode:
enabled: true
# ATTACK PARTICLES
attackParticles:
enabled: true
# ---------------------------------------------------------------------------- #