-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.yml
More file actions
186 lines (151 loc) · 7.54 KB
/
config.yml
File metadata and controls
186 lines (151 loc) · 7.54 KB
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
# Incoming message format (recipient's point of view)
# Placeholders:
# <sender> - the username of the message sender
# <recipient> - the username of the message recipient
# <message> - the message text
incoming: <click:suggest_command:/msg <sender> ><dark_gray>[<#60a5fa><sender></#60a5fa> <white>-></white> <#bfdbfe>me</#bfdbfe>]</dark_gray></click> <reset><#dbeafe><message></#dbeafe>
# Outgoing message format (sender's point of view)
# Same placeholders as incoming
outgoing: <click:suggest_command:/msg <recipient> ><dark_gray>[<#93c5fd>me</#93c5fd> <white>-></white> <#60a5fa><recipient></#60a5fa>]</dark_gray></click> <reset><#dbeafe><message></#dbeafe>
# Team message
# Uses the vanilla teams from `/team`
# Placeholders:
# <sender> - the username of the message sender
# <team> - team display name
# <message> - the message text
team: <click:suggest_command:/tm ><dark_gray>[<white><team></white>] <gray><sender></gray>:</dark_gray> <white><message></white></click>
# Private message format as seen by people with the spy permission and console
# Same placeholders as incoming
spy: <dark_gray>[SPY] [<click:suggest_command:/msg <sender> ><gray><sender></gray></click> -> <click:suggest_command:/msg <recipient> ><gray><recipient></gray></click>] <gray><message></gray></dark_gray>
# Team message format as seen by people with the spy permission and console
# Same placeholders as team
team-spy: <dark_gray>[SPY]</dark_gray> <dark_gray>[<white><team></white>] <gray><click:suggest_command:/msg <sender> ><sender></click></gray>:</dark_gray> <gray><message></gray>
# Player has successfully been ignored
# Placeholders:
# <player> - the player's username
ignored: <green>(!) You will no longer see messages from <gray><player></gray>.</green>
# Player has successfully been unignored
# Same placeholders as ignored
unignored: <yellow>(!) You are no longer ignoring <gray><player></gray>.</yellow>
channel:
# Message channel created
# Placeholders:
# <sender> - the username of the message sender
# <recipient> - the username of the message recipient
# <command> - the command used, e.g. `msg`, `dm`, etc.
created: <green>(!) Your chat messages will now be sent as private messages to <gray><recipient></gray>. To re-enable public messages, run <click:suggest_command:/<command> <recipient>><gray>/<command> <recipient></gray></click></green>
# Message channel closed
# Same placeholders as created
closed: <yellow>(!) Your chat messages will now be <gray>public</gray>.</yellow>
# Message channel player is offline and channel closed
# Placeholders:
# <sender> - the username of the message sender
# <recipient> - the username of the message recipient
offline: <red>(!) Player <gray><recipient></gray> is offline. Your chat messages have been switched back to <gray>public</gray>.</red>
# Team chat channel created
# Placeholders:
# <sender> - the username of the message sender
# <team> - team display name
team-created: <green>(!) Your chat messages will now be sent as private team messages in <gray><team></gray>. To re-enable public messages, run <click:suggest_command:/teammsg><gray>/teammsg</gray></click></green>
# Team chat channel closed
# Same placeholders as created
team-closed: <yellow>(!) Your chat messages will now be <gray>public</gray>.</yellow>
# Name for console/server that should appear as <sender> or <recipient> in messages
console-name: Server
# Command usage format
# Placeholders:
# <command> - the command name
# <usage> - the command usage parameters
usage: <yellow>(!) Usage:</yellow> <white>/<command> <usage></white>
# Plugin reloaded
reloaded: <green>(!) Plugin successfully reloaded.</green>
toggle:
disable:
# Disable private messages
message: <yellow>(!) Receiving private messages is now disabled. Run again to re-enable.</yellow>
# Placeholders:
# <player> - the player's username
other: <green>(!) Receiving private messages now disabled for <gray><player></gray>.</green>
enable:
# Enable private messages
message: <green>(!) You can now receive private messages again.</green>
# Placeholders:
# <player> - the player's username
other: <green>(!) Re-enabled receiving of private messages for <gray><player></gray>.</green>
# Set custom global/public chat format. Disabled by default.
#
# Placeholders:
# <has-team:'if yes':'if no'> - show a different message based on whether the player is in a team
# <team> - the player's team display name (only works in <has-team>)
# <player> - the name of the player, when clicked suggests command `/tell` followed by the player's name
# <message> - the message being sent in chat
# <papi:…> - use a PlaceholderAPI placeholder, example `<papi:%player_displayname%>` or `<papi:player_displayname>`.
# Requires PlaceholderAPI to be installed.
#
# Example:
#chat-format: <has-team:'<dark_gray>[<white><team></white>]</dark_gray> '><white><player></white><dark_gray>:</dark_gray> <gray><message></gray>
chat-format: null
# Play a sound…
sound:
personal:
# …when receiving a private message
incoming:
# The ID of the sound.
# Set to null, none, or "" to disable.
sound: entity.chicken.egg
# Volume of the sound from 0.0 to 1.0. Decrease to be quieter.
volume: 1.0
# Pitch of the sound from 0.5 to 2.0.
# Optional: defaults to 1.0.
# Values below 1.0 lower the pitch and increase the duration;
# values above 1.0 raise the pitch and reduce the duration.
pitch: 0.82
# …when sending a private message
outgoing:
sound: null
team:
# …when receiving a team message
incoming:
sound: ui.hud.bubble_pop
pitch: .7
# …when sending a team message
outgoing:
sound: null
# Error messages
errors:
# No permission
no-permission: <red>(!) You don't have permission to use this command.</red>
# Player has no username (somehow)
invalid-player: <red>(!) Invalid player.</red>
# Player not found
# Placeholders:
# <player> - the player's username
player-not-found: <red>(!) Player <gray><player></gray> not found.</red>
message-yourself: <red>(!) You can't send a message to yourself.</red>
nobody-reply: <red>(!) You have no one to reply to.</red>
# The player that messaged you is no longer online
# Placeholders:
# <player> - the player's username
reply-offline: <red>(!) Player <gray><player></gray> is no longer online.</red>
# Only players can use this command
not-player: <red>(!) You must be a player to use this command.</red>
# That player is not ignored
# Placeholders:
# <player> - the player's username
not-ignored: <red>(!) You are not ignoring that player.</red>
# Player cannot be ignored
# Placeholders:
# <player> - the player's username
cannot-ignore: <red>(!) You cannot ignore <gray><player></gray>.</red>
# You are trying to ignore yourself
ignore-yourself: <red>(!) You cannot ignore yourself.</red>
# Target player has never joined the server
# Placeholders:
# <player> - the player's username
never-joined: <red>(!) <gray><player></gray> has never joined this server.</red>
# Target player have disabled their incoming private messages.
# Placeholders:
# <player> - the player's username
incoming-disabled: <red>(!) You cannot message <gray><player></gray> because they have disabled private messages.</red>
# Trying to message a team, but not in one
not-in-team: <red>(!) You are not in a team.</red>