Commit Graph

179 Commits

Author SHA1 Message Date
Taah
16e29b80a7 make getPlayer a function because mongo doesnt call constructors 2022-08-02 15:23:54 -07:00
Focusvity
d6b44863aa
Remove the API component - closes #51 2022-08-02 22:08:52 +10:00
f806470fd5 Actually fix colors in nicknames
Co-Authored-By: Taahh <9047036+Taahh@users.noreply.github.com>
2022-08-01 23:38:18 -05:00
Allink
3611148b4c
Remove non-ASCII characters from tags & chat messages (closes #48) 2022-08-02 03:23:08 +01:00
Allink
a014a38e2f
Check if array is empty in disabled effect (closes #50) 2022-08-02 02:48:25 +01:00
d896179f47 Block more tags 2022-08-01 19:36:43 -05:00
9dac0e799e Fix display name always being set in the config
Also, fix an unintentional double space
2022-08-01 19:23:57 -05:00
d2649508b3
*sigh* 2022-07-30 19:26:26 -05:00
Allink
b26e489e83
Fix whitespace bypassing command blocker 2022-07-24 03:44:54 +01:00
Allink
5f64e02cae
Fix NPE in PlexCommand 2022-07-24 01:12:30 +01:00
4a14f94158 Use ComponentLogger + update dependencies 2022-06-29 18:11:03 -05:00
f1ebbc3664 Fix incorrect permission 2022-06-09 21:12:19 -05:00
a1c009909d Lang to lang3 2022-06-08 15:09:42 -05:00
5a9d6dd60d fix messages 2022-06-05 22:55:11 -05:00
84a9535123 ok so apparently this matters 2022-06-05 22:39:41 -05:00
41aff575d0 big think, it should be public 2022-06-05 22:34:16 -05:00
65b8188b37 Merge branch 'master' of https://github.com/plexusorg/Plex 2022-06-05 22:27:25 -05:00
c8a35c8e0e Add the ability to add messages into Plex
Code originally from TFMExtras by taah
2022-06-05 22:27:24 -05:00
Allink
13acf7ba9d
Properly disable explosions (#45)
* Remove unused import

* Properly disable explosions
2022-06-05 15:29:49 -05:00
5fe48cfd7f Allow toggling redstone 2022-06-04 22:48:18 -05:00
abf2aca0f2 Resolves #12 (major config changes)
Also allows more customization within the updater
2022-06-04 22:08:13 -05:00
dc4ac39fe4 Switch legacy to MiniMessage 2022-06-04 21:31:36 -05:00
7dc3ab1d6b Fix failing javadoc task 2022-05-28 21:17:53 -05:00
Taah
9f19bd14ca fix NPE and codec issues 2022-05-28 19:12:18 -07:00
d0b1d09f38 Minor improvements
- Add /toggles as an alias for /toggle
- We now use docs.plex.us.org again
2022-05-26 00:31:37 -05:00
53cd4b1306 Be more specific with the command blocker 2022-05-25 23:10:20 -05:00
d785ef31c8 CommandSpy now works with permissions 2022-05-25 22:16:31 -05:00
885f6196e8 Reformat and reduce complexity 2022-05-20 15:44:25 -05:00
9b0f928386 Fix (some) MongoDB errors
Co-Authored-By: taahanis <6778012+taahanis@users.noreply.github.com>
2022-05-19 22:22:31 -05:00
0bbe2d06f6 Fix mute not having a permissions check 2022-05-19 21:12:52 -05:00
ff16347981 Some improvements to the messages 2022-05-19 21:07:38 -05:00
b39ba8ed86 Resolves #33 2022-05-19 20:34:43 -05:00
f97649083a Fix errors 2022-05-19 16:32:31 -05:00
4d77d514fd Begin work on toggles 2022-05-19 16:11:45 -05:00
92c07f89fe i prefer this 2022-05-19 13:59:16 -05:00
Focusvity
a775d258e9
Make sure playerCache variable is initalised on enable 2022-05-18 20:40:29 +10:00
Focusvity
7efa151157
A bit more work on the API 2022-05-18 20:31:15 +10:00
Luna
ce9b70bc98
Make getNonNullPlayer work with UUIDs too (#43)
* Make getNonNullPlayer work with UUIDs too

* allman
2022-05-17 12:24:58 -05:00
1190c612b3
Allow console to run plex update 2022-05-13 17:43:42 -05:00
8ab337d0a6
Allow server owners to use plex update 2022-05-12 22:45:17 -05:00
Taah
ebfba89994 check if rsp is null 2022-05-10 23:06:56 -07:00
Taah
b78f71c238 make vault optional and automatically enable if a server is using vault 2022-05-10 22:48:47 -07:00
bb8c34e0cd
Format 2022-05-10 00:08:45 -05:00
770fe65f98
Reduce code duplication 2022-05-10 00:00:48 -05:00
Taah
9284ec3409 add plugin messaging to proxies for kicking players 2022-05-09 18:05:31 -07:00
Taah
7d709319c6 oops 2022-05-08 17:59:01 -07:00
Taah
0f76222f90 add option to load extra data when retrieving by username 2022-05-08 17:56:06 -07:00
Taah
9557737915 add messageComponent that takes a component parameter 2022-05-07 17:37:47 -07:00
Taah
5e1475dfb5 add messageComponent that takes a component parameter 2022-05-07 17:34:41 -07:00
Taah
884a4ed1ec remove missing javadoc parameter 2022-05-07 17:23:23 -07:00
Taah
ae098410c1 Merge remote-tracking branch 'origin/master' 2022-05-07 17:13:17 -07:00
Allink
b65c1ccd6d
Don't allow events in books 2022-05-08 01:12:47 +01:00
Taah
4450427d4e add the ability to override the chat
safe serialize minimessage methods
2022-05-07 17:11:19 -07:00
fd50589331 Allow not setting permissions 2022-05-06 16:58:56 -05:00
74faaf2d74
Add Darthfish command. (#40)
* Add Darthfish command.

* You can't simpy do that.

You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that. You can't simpy do that.

* It's not about credit or discredit

It's about copyright of TFM.

Co-authored-by: Business Goose <arclicious@vivaldi.net>
Co-authored-by: Allink <44676012+allinkdev@users.noreply.github.com>
2022-05-06 14:25:36 -05:00
Taah
38b18e5867 add the ability to overide the chat 2022-05-05 21:27:32 -07:00
Taah
048518dc49 properly unregister module cmds 2022-05-05 19:13:47 -07:00
Taah
8fc2f74275 optionally register command 2022-05-05 18:54:08 -07:00
Taah
c9da0177ad add option to enable extra data such as punishments (default is yes) 2022-05-05 18:41:11 -07:00
Taah
b23b7c0c1b have modules enable last in onEnable 2022-05-05 17:30:37 -07:00
Taah
f52c8462ae actually indent array types in toml
add a default config file instead of generation for commenting purposes
add a random gradient placeholder and a converter for legacy colorcodes
2022-05-05 00:49:03 -07:00
457b6f4124
Resolves #17 2022-05-04 18:23:04 -05:00
Business Goose
0e3eeaeac3
Allow books and signs to use SafeMiniMessage 2022-05-04 17:40:58 +01:00
Business Goose
45b338fd9b
Make a safe mini message class with a custom tag resolver 2022-05-04 17:08:35 +01:00
Business Goose
3604add18a
Add getting text from component to PlexUtils 2022-05-04 16:30:37 +01:00
Business Goose
d716f77ac0
Use a variable for the chat component & if they have a prefix, append the prefix to that variable instead of using else if 2022-05-04 16:08:52 +01:00
Business Goose
cbbdb0248f
Allow players to use MiniMessage 2022-05-04 16:04:52 +01:00
Business Goose
8592978be2
Use PlexUtils.mmDeserialize instead of MiniMessage.miniMessage().deserialize in ChatListener 2022-05-04 15:50:37 +01:00
Allink
303f81d5cd
Add me to dev list (I am epic) 2022-05-04 07:13:43 +01:00
Business Goose
0af3603354
Spawn dispenser mobs the same way Bukkit does, closes #18 2022-05-02 08:38:11 +01:00
Business Goose
63fcd3a2b1
Use replaceText to replace URLs with correct components for them (closes #34) 2022-05-02 07:35:22 +01:00
Business Goose
e484130d84
Cancel PlayerTeleportEvent for frozen players (closes #31) 2022-05-02 06:08:30 +01:00
Taah
2bc943b4c8 make chat listener not parse events 2022-04-24 16:31:26 -07:00
bc3893e2db
add this back 2022-04-24 15:35:48 -05:00
c665524078
Fix lockup 2022-04-24 01:21:19 -05:00
dd661a7304
Fix commandspy 2022-04-24 01:12:24 -05:00
d699f6de02
i hate essentials 2022-04-24 01:05:21 -05:00
07bc28fc48
override essentials 2022-04-24 00:58:36 -05:00
Focusvity
f9a577035b
Move Plex to API-driven plugin and fix NoClassDefFoundError on startup 2022-04-24 14:16:14 +10:00