Josh Roy
26c016fea2
Add config option to allow webhooks/bots to send commands ( #4442 )
...
```yml
# Console relay settings
# The console relay sends every message shown in the console to a Discord channel.
console:
...
# Set to true if bots/webhooks should be able to send commands through the command relay.
bot-command-relay: false
```
2021-08-09 18:48:01 +00:00
Josh Roy
b6a08ec712
Fix force-disable-teleport-safety enforcing world border ( #4371 )
2021-08-09 18:44:13 +00:00
Josh Roy
9179c6c1e2
Update EssXDiscord tutorial for new developer mode location ( #4409 )
2021-08-09 19:38:04 +01:00
Josh Roy
3f9aceb922
Add DiscordService#sendChatMessage
...
Allows plugins to send messages to the chat channel via API using the format from our config
2021-08-07 17:37:02 -07:00
Josh Roy
3da8efae49
Fix incorrect parameter name for allowGroupMentions
2021-08-07 17:37:02 -07:00
Josh Roy
b84207f955
Fix regression in invalid home check ( #4425 )
2021-08-02 11:23:40 -04:00
1stGlitch
f57de40668
Fix invalid mob data in spawnmob on versions < 1.17 ( #4376 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2021-08-02 10:33:49 -04:00
Daniil Z
e95df57642
Fix barrier considered as unsafe block to teleport ( #4348 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2021-08-02 10:22:07 -04:00
Josh Roy
aaddb2af1f
Fix remaining Configurate nullability issues ( #4370 )
2021-08-02 12:32:41 +00:00
Josh Roy
082950cc18
Fix bStats becoming a transitive dependency ( #4426 )
2021-08-02 13:21:53 +01:00
triagonal
90828965df
Fix NPE during reload with invalid discord bot tokens ( #4417 )
2021-07-31 10:19:20 -04:00
Josh Roy
17e026f9aa
Require MessageType's start with a letter
...
May cause issues with YML serialization as it can get finicky with keys starting with numbers.
2021-07-28 16:24:09 -07:00
Josh Roy
f1d7e50dc0
Don't warn about unregistered channel-id based MessageType's
...
You shouldn't be registering these, there is no point for a user to configure where these go because it would be ignored.
2021-07-28 16:24:09 -07:00
Josh Roy
e2cb7b2102
Fix advanced relay breaking when multiple channels were defined
2021-07-28 16:24:09 -07:00
Josh Roy
28578a5d8a
Fix some typos in the tutorial
2021-07-28 16:24:09 -07:00
Josh Roy
0d8e90b8da
Move FakeServer to 1.8 provider ( #4395 )
...
Moving this removes the need to needlessly update the FakeServer class with new methods when upstream changes it.
2021-07-27 21:23:20 +01:00
Josh Roy
1556b911b2
Fix webhook messages being parsed unnecessarily ( #4346 )
...
This wasted CPU time parsing responses from Discord that we will never use, plus caused problems when parsing webhooks that our library couldn't parse correctly (MinnDevelopment/discord-webhooks#36 ).
2021-07-11 20:36:46 +01:00
MD
eed73e3157
Cache overridden-commands and player-commands in Settings ( #4345 )
2021-07-11 12:25:25 -04:00
triagonal
c020526b1e
Strip formatting in webhook name ( #4344 )
2021-07-11 09:57:46 -04:00
Josh Roy
cca98e817f
Add show-displayname option
2021-07-10 11:08:51 -04:00
Josh Roy
46a8a7d04c
Remove join/quit message null checks
...
If you don't want to see them, don't configure them.
2021-07-10 11:08:51 -04:00
Josh Roy
d4ddc87d81
Fix less strict length check on messageQueue add rather than iteration
2021-07-10 11:08:51 -04:00
Chew
b473460ffc
Use native Discord timestamps for console timestamps
2021-07-10 11:08:51 -04:00
Josh Roy
db027bced3
Add option to log channels to console
2021-07-10 11:08:51 -04:00
Josh Roy
12cc0b99f9
Fix some minor grammer issues in config
2021-07-10 11:08:51 -04:00
Josh Roy
15cac529c5
Improve death message validation
...
Now takes gamerules in to account and will not send blank or null death messages.
2021-07-10 11:08:51 -04:00
Josh Roy
feed2d6a45
Fix improper bitwise logic in DiscordUtil#getRoleColorFormat
2021-07-10 11:08:51 -04:00
Josh Roy
b516db669c
Fix prefixes/suffixes not stripping hex format
2021-07-10 11:08:51 -04:00
Josh Roy
3bc58264ea
Add advancement message type
2021-07-10 11:08:51 -04:00
Josh Roy
0a0416ae38
Fix disabling a single command causing all commands to be disabled
2021-07-10 11:08:51 -04:00
Josh Roy
d244956b4b
Ensure no JDA code is called during invalid shutdown
2021-07-10 11:08:51 -04:00
Josh Roy
37e3730e9d
Add fake vanish join/leave + exclude vanished messages
2021-07-10 11:08:51 -04:00
triagonal
48532a0ae6
Fix NPE in UserData#getLogoutLocation ( #4341 )
2021-07-10 09:17:26 -04:00
Josh Roy
0b6b0f9c61
Fix NPE with custom join messages ( #4334 )
...
This fixes a bug in #4290 in which custom join messages would throw a NullPointerException if the user hasn't changed their username.
2021-07-09 16:33:44 +00:00
Josh Roy
435ac80ff9
Fix delay not working in /spawn ( #4335 )
2021-07-09 11:55:52 -04:00
triagonal
a098055fc9
Fix NPE when teleporting offline players ( #4332 )
2021-07-08 09:24:40 -04:00
T41US
cba5063b33
Add config option to change discord show-avatar url ( #4330 )
...
Co-authored-by: T41US <adityakomp@gmail.com>
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2021-07-07 19:55:43 +00:00
Ansandr
3787b80286
Add UserTeleportSpawnEvent ( #4328 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2021-07-07 14:52:49 -04:00
pop4959
2858bd3784
Add role placeholder to Discord message format ( #4329 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2021-07-07 11:55:25 -04:00
Olivia
ff58d8e443
Add config option for new username join messages ( #4290 )
...
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2021-07-07 15:46:54 +00:00
Josh Roy
5e178943a0
Update to Minecraft 1.17.1 ( #4324 )
2021-07-06 18:34:40 +01:00
triagonal
33ca3b2981
Fix behavior of itemdb command on legacy versions ( #4320 )
2021-07-05 21:29:24 -07:00
triagonal
8c8c85d753
Fix server shutdown not setting logout location ( #4318 )
2021-07-05 15:47:42 -04:00
Josh Roy
6535edf4e0
Fix MailMessageSerializer not handling null UUIDs ( #4314 )
2021-07-03 19:32:34 -04:00
Josh Roy
7e25570344
Remove usage of java.awt.Color ( #4312 )
...
This fixes issues on headless JREs which lack java.awt classes.
2021-07-03 20:46:09 +01:00
Josh Roy
409210ccde
Fix issues with 3rd-party Vault economy providers ( #4303 )
...
Turns out that when you depend on a plugin, get this, the plugin will load before you. So we need to rework how we do things here.
Fixes #4075
Fixes #4304
2021-07-03 16:54:01 +01:00
Josh Roy
555a62c582
Fix baltop something having a null name for offline players
2021-07-03 01:04:59 -04:00
Josh Roy
36a070be4c
Fix Configurate conversions not saving
2021-07-03 01:04:59 -04:00
Josh Roy
d903e40a53
Fix weird behavior with legacy mails ( #4307 )
2021-07-02 21:52:49 -07:00
Josh Roy
d78729f343
Disallow empty discord filters ( #4298 )
2021-07-01 15:59:35 -07:00