Commit Graph

6341 Commits

Author SHA1 Message Date
Josh Roy
84fd45bd09
Bump JDA 4 version (#5328)
Bumping this for 2.20 release as  JDA 5 still not out of beta

Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
2023-04-29 18:14:36 +00:00
Josh Roy
01883a6b18
Truncate command and argument descriptions (#5314)
Fixes #5315.
2023-04-29 19:00:40 +01:00
Josh Roy
4256909eee
Fix folia init tasks never getting called LOLW 2023-04-26 21:28:33 -04:00
Josh Roy
9133dce3eb
Merge branch '2.x' into refactor/folia 2023-04-15 20:34:56 -04:00
Josh Roy
fd49b70a69
Fix top command not sending messages (#5302)
my three year old refactors still haunt me
2023-04-13 06:22:47 +00:00
Josh Roy
3a737480ec
Remove unneeded sanitization in webhook names (#5311)
Regression from 384f63bf92
2023-04-13 07:15:48 +01:00
Josh Roy
ec5007c07e
fix wrong period/timeunit for folia scheduling 2023-04-12 18:45:22 -04:00
diademiemi
384f63bf92
Allow configuring Discord webhook name (#5159)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2023-04-10 00:27:36 +00:00
Joel Otero
77dc87bb8e
Add /bottom command (#5292)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2023-04-09 21:05:53 +00:00
MD
c716fc8236
Bump runServer task to Paper 1.19.4 (#5269) 2023-04-06 00:15:15 +00:00
Flask Bot
c52c1fea9d
New Crowdin updates (#5244) 2023-04-04 21:49:43 -07:00
Josh Roy
4cb861badc
Run interaction commands async for now (hopefully okay) 2023-04-02 21:11:55 -04:00
Josh Roy
7279be7850
allow DiscordMessageEvent calls from any context 2023-04-02 20:58:56 -04:00
Josh Roy
e7c56b32a4
Fix sulk sensors detecting vanished players (#5262) 2023-04-02 22:29:29 +00:00
Josh Roy
11e6d3ca7b
Fix /mail sendall not working (#5263) 2023-04-02 22:12:04 +00:00
Josh Roy
75481925f7
Update display names before formatting chat messages (#5282) 2023-04-02 22:08:38 +00:00
Josh Roy
ecb1850451
Add message for unknown last location for /tpo (#5290) 2023-04-02 22:04:36 +00:00
Josh Roy
0f4af9e735
Use strict comparison for potions in trade signs (#5260) 2023-04-02 21:45:46 +00:00
Josh Roy
2ba1eb0cf9
fix "Fix moo" 2023-04-01 17:42:38 -04:00
Josh Roy
7216fddfbe
Add helper methods for ensuring thread contexts 2023-03-30 13:40:13 -04:00
Josh Roy
2d8cc827b9
Add method for checking the global thread 2023-03-30 13:31:16 -04:00
Josh Roy
4ff9286a79
Move over some discord things 2023-03-30 13:28:41 -04:00
Josh Roy
9a5ac3cad8
Fix tests 2023-03-30 13:20:29 -04:00
Josh Roy
05a8aa8883
Switch to Paper repo 2023-03-30 13:06:35 -04:00
Josh Roy
1d93ebfddd
Fix moo 2023-03-29 19:59:30 -04:00
Josh Roy
04683ee43b
Fix async entity dismounts 2023-03-29 19:57:57 -04:00
Josh Roy
a649f978c5
Add some thread checking helper methods
pending PaperMC/Folia#5 for global region helpers
2023-03-28 21:57:24 -04:00
Josh Roy
20882940c5
Actually fire init tasks in Folia 2023-03-28 21:30:51 -04:00
Josh Roy
07fbf93001
Ensure nuke commands runs on correct threads 2023-03-28 21:23:27 -04:00
Josh Roy
0e4bab24cb
Get like 70% of the plugin to work 2023-03-27 23:31:39 -04:00
Josh Roy
15c48d457a
Add Folia providers 2023-03-27 23:29:42 -04:00
Josh Roy
bf14b88600
Bump to 1.19.4 (#5273)
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
2023-03-17 18:54:33 +00:00
Josh Roy
43d84de2b2
Move feature requests back to issues (#5251)
* Create request-a-feature.yml

* Update config.yml
2023-02-17 12:11:21 +00:00
Josh Roy
25ad8ac9bd
Add per-command command cooldown bypass permissions (#4759)
Adds the permission `essentials.commandcooldowns.bypass.<command name>` to bypass the cooldown for a specific command.

Closes #4747.

Co-authored-by: pop4959 <pop4959@gmail.com>
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
2023-02-13 23:19:52 +00:00
Sasha Sorokin
17051eab73
Add separate events for local and global chat (#4683)
This commit adds two new events: GlobalChatEvent and LocalChatEvent,
which allow other plugin developers to know whether the message sent is
a global or local one and act accordingly. If either of those events is
cancelled, then the source event is cancelled too.

Since all chat-related events share the same structure, a new abstract
class ChatEvent is created with change made for LocalChatSpyEvent to use
it without breaking its API.

Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
2023-02-13 23:15:15 +00:00
Flask Bot
4dc994df3c
New Crowdin updates (#5051) 2023-02-05 04:58:49 -08:00
Warrior
996285c0e3
Fix doubles not working in console for /tppos (#5231)
Closes https://github.com/EssentialsX/Essentials/issues/5230
2023-01-22 16:32:47 -05:00
Josh Roy
312d1699a8
Use metadata for tnt from /nuke (#5222)
Fixes https://github.com/EssentialsX/Essentials/issues/5219
2023-01-12 10:51:13 -05:00
Josh Roy
b3238605cc
Fix inventory size for 1.8.8 servers (#5212) 2023-01-05 19:13:16 +00:00
Josh Roy
b7a4bea52e
Revert dual hand behavior from /hat (#5205)
Fixes https://github.com/EssentialsX/Essentials/issues/5202
2022-12-30 18:30:52 -05:00
Josh Roy
ca71d93963
Fix discord permission issues with link module (#5197) 2022-12-27 21:07:47 +00:00
Josh Roy
0936fe80bd Discord Link Module 2022-12-26 01:24:17 +00:00
Josh Roy
520e8f991f Add DiscordService#getInviteUrl 2022-12-26 01:24:17 +00:00
Josh Roy
3131cadf65 Add UserMailEvent 2022-12-26 01:24:17 +00:00
Josh Roy
bfae6c5c69 Add IPermissionsHandler#addToGroup & IPermissionsHandler#removeFromGroup 2022-12-26 01:24:17 +00:00
Josh Roy
52c500ee6d Add InteractionRole#getAsMention + InteractionRole#canInteract 2022-12-26 01:24:17 +00:00
Josh Roy
ba5a8becfc Add support for role arguments in slash commands 2022-12-26 01:24:17 +00:00
Josh Roy
2a1957229f Add InteractionMember#hasRole convince methods 2022-12-26 01:24:17 +00:00
Josh Roy
e6af246170 Add IPermissionsHandler#getGroups to fetch all groups 2022-12-26 01:24:17 +00:00
Josh Roy
939e5c5a55 Add InteractionRole#isPublicRole 2022-12-26 01:24:17 +00:00