Commit graph

242 commits

Author SHA1 Message Date
Telesphoreo
b7db18284a Remove rank references 2023-08-29 15:46:21 -05:00
Taah
15b12e6299 make our chat handler come first 2023-08-28 04:35:32 -07:00
Taah
b0a8b463cb Add SQL Generators
Add cache for table strings generated
Add legacy support for Tags and login messages by converting legacy color codes to minimessage tags
2023-08-26 06:59:29 -07:00
Taah
1f48dc1e60 Merge remote-tracking branch 'origin/master' 2023-08-26 06:19:30 -07:00
Taahh
95c4da338e
Merge pull request #63 from plexusorg/fix/use-legacy-colour-codes-in-signs
Use legacy colour codes in signs
2023-08-26 06:19:24 -07:00
Taah
cea84884fc Merge remote-tracking branch 'origin/master' 2023-08-26 06:18:54 -07:00
Eva
668460f486
Fix string sanitising (#62) 2023-08-25 23:03:37 +01:00
Allink
7336cc8feb
Use legacy colour codes in signs 2023-08-25 22:48:33 +01:00
allinkdev
bc5d0476ee
Properly cancel block explosions (#59) 2023-08-25 10:23:24 -05:00
Taah
7ff6bdb171 Remove rank system entirely and move developer title to being hardcoded 2023-08-25 04:07:56 -07:00
Taah
175c7db23d Bump the version to 1.4-SNAPSHOT
Remove every trace of MongoDB
Fix issue where notes were not being notified on a permissions based system
2023-08-25 01:30:41 -07:00
Taah
f97411ce09 Cache whether the server is on a proxy or not
Fix kick where ban message was displayed instead of kick message
2023-08-24 22:36:14 -07:00
Taah
b0240ef46e Remove extra space from prefixes 2023-08-24 21:24:14 -07:00
Taah
4887960463 This is supposed to be if it is not empty 2023-08-24 19:08:30 -07:00
Taah
295e16b6c5 This is supposed to be empty by default not null 2023-08-24 15:36:49 -07:00
Taah
72d9e0817c Merge remote-tracking branch 'origin/master' 2023-08-24 15:36:07 -07:00
Taah
28ec8e1d2d Add support for reasons 2023-08-24 15:35:59 -07:00
Telesphoreo
9d0e7bf6d6 Fix compile error 2023-08-24 15:52:51 -05:00
Telesphoreo
96b0c81fed Back to snapshot 2023-08-24 15:50:12 -05:00
Taah
7dea0bcb72 Make sure the TNT is removed 2023-08-24 02:41:57 -07:00
Taah
8344e3596e Remove checkTab and replace with silentCheckRank
add isCancelled checks for MobListener
Modify the plugin's YAML file to load before essentials
Modify the world command to support the TFM Extras module
Add more checks in WorldListener to prevent spawning entities and interacting with anything except openable things (doors, trapdoors, gates)
2023-08-24 02:40:52 -07:00
Taah
37a649fa7a This should teleport players to the world spawn 2023-08-23 19:44:27 -07:00
Taah
d7df923e5c Allow someone to modify the event before the renderer is set. This allows someone to edit the message before processing 2023-08-23 19:34:01 -07:00
Video
d54325304e
Fixes vulnerability related to command blocking in rank-based systems (#58)
Video contributing to Plex finally???
2023-08-23 15:23:30 -05:00
Taah
bc6dbb1052 Add bypass for command blocking and definite bans 2023-08-22 14:37:45 -07:00
Telesphoreo
ecbd9c02da
Release Plex v1.3 2023-07-22 20:00:25 -05:00
Telesphoreo
77dc95ae29
Add Folia support minus world generation 2023-07-21 20:01:59 -05:00
Telesphoreo
0c6091f06a
Convert Plex to a paper plugin 2023-07-10 21:43:21 -05:00
Telesphoreo
ffbad7928a
Update dependencies 2023-06-08 15:25:25 -05:00
Telesphoreo
7caa89539d Update Gradle and dependencies 2023-04-29 15:06:46 -05:00
Telesphoreo
ceb9a83eda Update Gradle and dependencies 2023-03-15 21:45:34 -05:00
Focusvity
a62bdef5b4
Add response HTTP status code check to update checker to improve efficiency 2023-03-09 17:16:14 +11:00
Telesphoreo
37649f1fdc
Closes #55 2023-03-08 19:29:30 -06:00
Telesphoreo
ea512487ac Reformat 2023-03-08 14:26:10 -06:00
Telesphoreo
41b0076f8f Make the list command work with the permission system 2023-03-08 14:23:10 -06:00
Focusvity
00b6473e4d
Let's actually remove these files 2023-03-08 22:48:51 +11:00
Focusvity
77be23faf0
Minor clean up 2023-03-08 22:45:47 +11:00
Focusvity
e39f882ea7
Fix out of bounds exception - closes #54 2023-03-08 21:46:27 +11:00
Telesphoreo
344d890877 Block translate tag 2023-03-08 00:45:41 -06:00
Telesphoreo
2c8c6353c1 Update build.gradle 2023-03-08 00:29:14 -06:00
Telesphoreo
8fa05e3838 Update dependencies and Gradle 2023-03-02 23:06:37 -06:00
Telesphoreo
b9c873beb3
Update dependencies 2022-11-27 22:14:27 -06:00
Telesphoreo
6e1fa15a6c
Remove redundant <red> 2022-11-27 16:40:55 -06:00
Telesphoreo
c216bdc5a4
Add permission check for the -o flag on the login message commands 2022-11-26 04:31:43 -06:00
Telesphoreo
ed638679b2
Use cache for toggling commandspy 2022-11-26 04:24:52 -06:00
Telesphoreo
76952e33b8
Use PlexCommand instead of PlexUtils 2022-11-26 04:24:38 -06:00
Telesphoreo
f3f7daaafb
Add customizable login messages 2022-11-26 04:24:12 -06:00
Telesphoreo
22199be335
Plex v1.2 2022-08-25 20:28:13 -05:00
Taah
517b829420 Merge remote-tracking branch 'origin/master' 2022-08-02 17:03:24 -07:00
Taah
7fa26f9a64 add admin chat redis support 2022-08-02 17:03:04 -07:00
Telesphoreo
09846f1d33 Switch to Component for CommandSpy 2022-08-02 18:57:12 -05:00
Telesphoreo
ed70a0ec8b Remove debug line 2022-08-02 17:29:39 -05:00
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
Telesphoreo
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
Telesphoreo
d896179f47 Block more tags 2022-08-01 19:36:43 -05:00
Telesphoreo
9dac0e799e Fix display name always being set in the config
Also, fix an unintentional double space
2022-08-01 19:23:57 -05:00
Telesphoreo
46de6dba84 Update Gradle and plugins 2022-08-01 16:45:41 -05:00
Telesphoreo
d2649508b3
*sigh* 2022-07-30 19:26:26 -05:00
Telesphoreo
dd8e22b676 Ok 2022-07-27 23:22:45 -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
Telesphoreo
4a14f94158 Use ComponentLogger + update dependencies 2022-06-29 18:11:03 -05:00
Telesphoreo
9c67911c1b Plex v1.1.1 2022-06-13 23:17:10 -05:00
Telesphoreo
f1ebbc3664 Fix incorrect permission 2022-06-09 21:12:19 -05:00
Telesphoreo
a1c009909d Lang to lang3 2022-06-08 15:09:42 -05:00
Telesphoreo
7d2c44975d Update for 1.19 2022-06-08 14:37:16 -05:00
Telesphoreo
5a9d6dd60d fix messages 2022-06-05 22:55:11 -05:00
Telesphoreo
84a9535123 ok so apparently this matters 2022-06-05 22:39:41 -05:00
Telesphoreo
41aff575d0 big think, it should be public 2022-06-05 22:34:16 -05:00
Telesphoreo
65b8188b37 Merge branch 'master' of https://github.com/plexusorg/Plex 2022-06-05 22:27:25 -05:00
Telesphoreo
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
Telesphoreo
5fe48cfd7f Allow toggling redstone 2022-06-04 22:48:18 -05:00
Telesphoreo
abf2aca0f2 Resolves #12 (major config changes)
Also allows more customization within the updater
2022-06-04 22:08:13 -05:00
Telesphoreo
dc4ac39fe4 Switch legacy to MiniMessage 2022-06-04 21:31:36 -05:00
Telesphoreo
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
Telesphoreo
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
Telesphoreo
53cd4b1306 Be more specific with the command blocker 2022-05-25 23:10:20 -05:00
Telesphoreo
d785ef31c8 CommandSpy now works with permissions 2022-05-25 22:16:31 -05:00
Telesphoreo
885f6196e8 Reformat and reduce complexity 2022-05-20 15:44:25 -05:00
Telesphoreo
9b0f928386 Fix (some) MongoDB errors
Co-Authored-By: taahanis <6778012+taahanis@users.noreply.github.com>
2022-05-19 22:22:31 -05:00
Telesphoreo
0bbe2d06f6 Fix mute not having a permissions check 2022-05-19 21:12:52 -05:00
Telesphoreo
ff16347981 Some improvements to the messages 2022-05-19 21:07:38 -05:00
Telesphoreo
b39ba8ed86 Resolves #33 2022-05-19 20:34:43 -05:00
Telesphoreo
f97649083a Fix errors 2022-05-19 16:32:31 -05:00
Telesphoreo
4d77d514fd Begin work on toggles 2022-05-19 16:11:45 -05:00
Telesphoreo
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
Telesphoreo
1190c612b3
Allow console to run plex update 2022-05-13 17:43:42 -05:00
Telesphoreo
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
Telesphoreo
bb8c34e0cd
Format 2022-05-10 00:08:45 -05:00
Telesphoreo
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
Telesphoreo
fd50589331 Allow not setting permissions 2022-05-06 16:58:56 -05:00
Telesphoreo
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
Telesphoreo
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
Telesphoreo
d55de3b4a8
Update dependencies 2022-04-25 19:07:55 -05:00
Taah
2bc943b4c8 make chat listener not parse events 2022-04-24 16:31:26 -07:00
Telesphoreo
bc3893e2db
add this back 2022-04-24 15:35:48 -05:00
Telesphoreo
6352975825
Oops 2022-04-24 13:10:46 -05:00
Telesphoreo
c665524078
Fix lockup 2022-04-24 01:21:19 -05:00
Telesphoreo
dd661a7304
Fix commandspy 2022-04-24 01:12:24 -05:00
Telesphoreo
d699f6de02
i hate essentials 2022-04-24 01:05:21 -05:00
Telesphoreo
07bc28fc48
override essentials 2022-04-24 00:58:36 -05:00
Telesphoreo
bfdce97271
just so i dont have to update the documentation lol 2022-04-24 00:43:54 -05:00
Telesphoreo
5fd22ba582
Fix publishing 2022-04-24 00:01:19 -05:00
Telesphoreo
ead38212d5
publish both artifacts 2022-04-23 23:42:01 -05:00
Telesphoreo
36877ae2f2
Give the JARs nicer names 2022-04-23 23:35:37 -05:00
Focusvity
c27ddc19a6
Remove build and actually add the folders to gitignore 2022-04-24 14:20:55 +10:00
Focusvity
f9a577035b
Move Plex to API-driven plugin and fix NoClassDefFoundError on startup 2022-04-24 14:16:14 +10:00