Commit Graph

6362 Commits

Author SHA1 Message Date
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
Josh Roy
80bbf8c55b Add DiscordService#getRole & DiscordService#modifyMemberRoles 2022-12-26 01:24:17 +00:00
Josh Roy
376abc4aab Add DiscordService#getMemberById 2022-12-26 01:24:17 +00:00
Josh Roy
a7f4d6b16b Add InteractionMember#getAsMention 2022-12-26 01:24:17 +00:00
Josh Roy
e0d6040662 Add IUser#isFreeze & IUser#setFreeze 2022-12-26 01:24:17 +00:00
Josh Roy
6ec4c97ddd
Rewrite Inventory Handling (#5021)
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>

Complete refactor of inventory handling across the plugin. This simplifies various commands, and aims to resolve issues aon various different MC versions and inconsistencies between parts of the plugin.

Fixes https://github.com/EssentialsX/Essentials/issues/3810
Fixes https://github.com/EssentialsX/Essentials/issues/4248
2022-12-24 17:58:51 +00:00
diademiemi
db10678095
Add first join message type for Discord (#5160)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>

Add a new message type for when a player has joined for the first time.
2022-12-24 14:59:00 +00:00
Josh Roy
582a357752
Bump to 1.19.3 (#5179) 2022-12-07 21:47:13 -05:00
Bobcat00
8a1e7019a7
Fix incorect play time in /whois (#5177)
Co-authored-by: Bobcat00 <Bobcat00@users.noreply.github.com>
2022-12-06 09:02:20 -05:00
Josh Roy
4414eea513
Close discord webhook clients on shutdown (#5165) 2022-11-27 19:29:36 +00:00
Josh Roy
6e931b2b3b
Fix ConsoleInjector not getting reinjecting on reload (#5149) 2022-11-11 15:28:55 -08:00
Warrior
22a0d53cf2
Improve uuid cache load times (#5143) 2022-11-03 20:14:18 -04:00
Baylem
20011b9996
Added permission node for Nickname Prefix bypass (#4995)
Allow a permission to determine whether the nickname prefix gets applied to a group or user. It also removes a statement that is not true in the essentials config, the nickname prefix is NOT included in the nickname max length.

Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2022-10-25 07:44:05 +01:00
Josh Roy
879e70fb6b
Ignore NPCs in JailListener (#5130)
Co-authored-by: pop4959 <pop4959@gmail.com>
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>

Citizens NPCs cannot be jailed. This change prevents unnecessary lookups of NPC users.
2022-10-20 14:19:22 -04:00
Josh Roy
f91dfed5b4
Improve PlayerTarget code (#5131)
Co-authored-by: pop4959 <pop4959@gmail.com>
2022-10-15 00:41:21 +00:00
Josh Roy
767185ec32
Auto complete /mail clear indices (#5132) 2022-10-15 00:32:47 +00:00
Noah van der Aa
4aa93a43db
Add mutable "viewers" list to DiscordRelayEvent (#5080)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2022-10-14 22:26:01 +00:00
Lax
57529c4b7d
Update Bukkit wiki links in config (#5094) 2022-10-14 22:15:35 +00:00
MD
dc7fb91939
Make usermap non-player warnings configurable (#5125)
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
2022-10-11 01:06:54 +00:00
Josh Roy
e91ce0c44c
Fix Essentials#getUser not caching newly created NPC users (#5129) 2022-10-11 00:36:33 +00:00
Nassim Jahnke
f7cbc7b0d3
Add renamehome command (#5121) 2022-10-04 08:40:18 -04:00
MD
28d7abe642
Close any open inventories before showing shapeless recipes (#5122) 2022-10-02 18:43:13 -04:00
Josh Roy
0ca58ce4ba
Rewrite User storage and UUID cache (#4581)
Co-authored-by: triagonal <10545540+triagonal@users.noreply.github.com>
Co-authored-by: MD <1917406+mdcfe@users.noreply.github.com>
2022-09-09 15:49:43 -04:00
Josh Roy
d75d3cd001
Bump to 2.20 dev
Fourth time's a charm
2022-09-09 15:49:40 -04:00
MD
1eb5d8a459 Use Netlify CLI directly to deploy Javadocs 2022-09-05 18:46:09 +01:00
Josh Roy
b808511efe
Update discord bot authorization tutorial (#5098) 2022-09-02 09:43:09 -04:00
MD
0897ef71f2
Bump to 2.19.8 dev (#5085) 2022-08-22 10:17:33 -04:00
Josh Roy
f176893940
Release 2.19.7 2022-08-21 16:48:14 -04:00
Josh Roy
af18afad7a
Fix discord url link message (#5079) 2022-08-18 20:42:57 -07:00
Josh Roy
bdc5f4c830
Fix baltop not working in command blocks (#5078) 2022-08-18 18:37:15 +00:00