Commit graph

771 commits

Author SHA1 Message Date
Paldiu 97edce0a67 Fixes for Codacy;
These fixes are designed to satisfy codacy.

However, codacy reports a NPath Complexity of 649, whereas the current, recommended, and standardized threshold is 200.

This is caused by FreedomCommand#execute(CommandSender, String, String[]);
2020-12-25 15:35:33 -05:00
Paldiu 361aa4ee04 Bugfix on Commit #5c0f77c
A mismatched argument count during constructor initialization in Module_logs.class was fixed in this patch.
2020-12-25 15:20:34 -05:00
Paldiu 5c0f77c7c5 Removal of Lombok
Lombok implementation removal.

I have also gone through and replaced things with inline methods and variables, lambdas, and simplified loops down, removed unnecessary guard clauses, and overall cleaned up every single class. This took a long time, please do remember to follow proper naming conventions, don't include unnecessary guard clauses, follow exception rules and comment rules, and please PLEASE remember to use the DIAMOND OPERATOR rather than just inferring RAW TYPES!!!

Thank you!!
2020-12-25 14:46:43 -05:00
speed 210b0f8b43 unnecessary 2020-12-24 20:07:09 -05:00
speed 585fdb7992 fix verification toggle breaking everything (FS-39) 2020-12-24 19:48:52 -05:00
speed de496970d9 remove reddit system
jraw free 🦀🦀🦀
2020-12-24 13:09:42 -05:00
speed c8ec171b11 Update Discord.java 2020-12-23 20:13:26 -05:00
speed caf126f543 elmon
fix underscore italic thing
2020-12-23 20:09:57 -05:00
speed a717cce3b5 fix admins being able to see senior commands 2020-12-18 21:43:24 -05:00
speed ce32490b4d Update Module_list.java 2020-12-16 17:46:27 -05:00
Elmon11 5d882d9052
Update Module_list.java 2020-12-16 23:42:44 +01:00
Elmon11 7dfd6c0b8b
Update Module_list.java 2020-12-16 23:37:14 +01:00
Ryan fa5c774f45
Remove developer who has been suspended indefintely. 2020-12-15 20:53:07 +00:00
speed c356ecd168 formatting & rename stuff 2020-12-14 19:05:13 -05:00
SupItsDillon f8ce64d6c3
Merge pull request #8 from SupItsDillon/development
FS-5 Allow the verification system to be enabled / disabled in config (2)
2020-12-14 19:09:57 +00:00
speed 39d5b610a1 Update WorldRestrictions.java 2020-12-12 12:59:19 -05:00
SupItsDillon 50643eb9ff
Update Command_verify.java
ood code again
2020-12-09 16:03:40 +00:00
SupItsDillon 687166e0a4
Update Discord.java
formatting screwed up
2020-12-09 16:00:18 +00:00
SupItsDillon 98ead06355
Update Command_manuallyverify.java
ood file
2020-12-09 15:59:12 +00:00
SupItsDillon cbc3795ef2
Update Command_playerverification.java
i should really keep my files updates
2020-12-09 15:55:45 +00:00
SupItsDillon b9d608222e
Update Command_playerverification.java
fixed codacy issue
2020-12-09 15:48:27 +00:00
SupItsDillon 777a66f8da
Update Discord.java
correct updated file
2020-12-09 15:37:31 +00:00
SupItsDillon 6441deceab
Update Command_playerverification.java
codacy is being fussy
2020-12-08 19:35:02 +00:00
SupItsDillon 1fedb1fad3
Update Discord.java
forgot to change this aswell
2020-12-08 19:28:47 +00:00
SupItsDillon 8b1cef3b83
Update Discord.java
whoops i did change something i didnt want to
2020-12-08 19:26:00 +00:00
SupItsDillon 81ef3d624a
Update Discord.java
cant remember if i changed anything since last commit
2020-12-08 19:17:06 +00:00
SupItsDillon b0c0f17043
Update Command_manuallyverify.java
discord verify enable disable
2020-12-08 19:16:28 +00:00
SupItsDillon fb3cdf3603
Update Command_playerverification.java
discord enable disable verification
2020-12-08 19:15:55 +00:00
SupItsDillon 950c975e8f
Update Command_verify.java
discord verification config
2020-12-08 19:15:17 +00:00
SupItsDillon 7a11c9062d
Update ConfigEntry.java
config option for verification
2020-12-08 16:09:26 +00:00
SupItsDillon 2037775276
Update Discord.java
stuff to disable or enable discord verification
2020-12-08 16:08:31 +00:00
Elmon11 e98682a1af
Delete Command_gsay.java
https://forum.totalfreedom.me/d/114-why-is-gchat-now-gsay-back/13
2020-12-05 22:05:29 +01:00
speed 695ccd0e71 /list -a
/list -s still exists
2020-12-04 10:37:40 -05:00
speed 0be2aa718f ok 2020-12-03 20:50:30 -05:00
speed b3b9c2ef43 \ 2020-12-03 20:46:10 -05:00
speed 293ea04c56 staff -> admins
* rename everything containing staff back to admin (as requested by ryan i've renamed commands like slconfig to saconfig but left "slconfig" as an alias)
* format almost every file correctly
* a few other improvements
2020-12-03 19:28:53 -05:00
speed 8ed35aba2b add "Interaction" result action string check
fixes container interactions being logged as block removals
2020-12-01 18:53:28 -05:00
Elmon11 4898bcf7b5
Merge pull request #2 from AtlasMediaGroup/Elmon11-patch-1
reordered response object and reformat
2020-12-02 00:16:39 +01:00
Elmon11 42199f9923
Update Command_opall.java 2020-12-01 23:45:32 +01:00
Elmon11 03a6f18d18
checks if a player is OP before opping them
response to
338fc81b7f (r533706741)
2020-12-01 23:44:00 +01:00
Elmon11 aff12edb03
reordered response object and reformat
reordered response object and changed senioradmins & masterbuilders to senior_admins & master_builders for consistency with the bot
2020-12-01 23:10:01 +01:00
speed 28576a9e8b new developers ! ! ! 2020-11-30 19:03:51 -05:00
speed c1d4e126a3 add block inspector for ops
* adds /inspect (or /ins) as a /co i replacement command for OPs. container and sign logging are still a WIP for this command.
* replaces "Rank must be Trial Mod or higher." with "Rank must be Admin or higher." in slconfig
* replaces "scripthead is the owner of TotalFreedom." with "Wild1145 is the owner of TotalFreedom." in the config
2020-11-30 18:17:27 -05:00
speed 6cd995ff52 sql fixes & more
fixes slconfig sql error
fixes nickclean npe
fixes a few command inconsistensies
2020-11-24 11:53:37 -05:00
Telesphoreo de0d6853b7
revert calebs broken patch 2020-11-19 23:22:00 -06:00
Telesphoreo 5cdbae0166 Update ActivityLogEntry.java 2020-11-14 20:26:49 -06:00
Telesphoreo a537183545 Add adminchat channel 2020-11-14 20:13:59 -06:00
Telesphoreo 2c19ce5c65 Adds https://tracker.telesphoreo.me/d/4-mbconfig-clearip 2020-11-09 21:05:33 -06:00
Telesphoreo 609053e13f oops 2020-11-09 20:16:26 -06:00
Telesphoreo a3837a0e06 Resolves https://tracker.telesphoreo.me/d/3-fix-mb-config 2020-11-09 20:11:21 -06:00
Telesphoreo 0adee3582b d 2020-11-08 21:08:44 -06:00
Telesphoreo 08bfd73eec Delete FAWEBridge 2020-11-08 20:09:49 -06:00
Telesphoreo 9a7cc52e03 Fix players being marked as an impostor when the Discord verification system is disabled 2020-11-08 20:05:54 -06:00
Telesphoreo 11984bc46f Update BukkitTelnetBridge.java 2020-11-08 19:26:52 -06:00
Telesphoreo 8ac5bc827a Rename gchat to gsay 2020-11-07 22:21:06 -06:00
Telesphoreo 366287eb24 Fix reports being logged multiple times to console 2020-11-07 21:00:49 -06:00
Telesphoreo 43c2df58c7 knew there'd be a nms update 2020-11-02 23:33:04 -06:00
Telesphoreo e3a6f5127f fix wildcard and add back some beloved commands 2020-10-29 21:24:06 -05:00
Telesphoreo e1e046b16b lol whos the idiot who made this embarassing command 2020-10-29 20:47:23 -05:00
Telesphoreo fadcb9ad5d TotalFreedomMod 2020.11 2020-10-29 18:47:53 -05:00
speed 9bcdb2bcdc fix ride request expire messages
fixes /ride sending request expired message even after accepting & properly remove player from map after accepting, #291
2020-10-28 18:06:12 -04:00
speed adf71cb020
Update RankManager.java 2020-10-25 13:24:41 -04:00
Seth 6e84fdad23
Login messages
Last commit from me. Don't have the power but to me Packs is the new Lead Developer
2020-10-25 09:27:56 -07:00
Telesphoreo 2ecfd9610f br 2020-10-19 19:07:44 -05:00
Telesphoreo bb33778fc9 [Maven] FAWE 2020-10-16 22:33:33 -05:00
Nathan Curran 5a96204f1b
Tidy things up a bit 2020-10-16 17:51:21 +11:00
Nathan Curran 3bd72dacda
Enable media tag to be included in messages 2020-10-16 17:33:58 +11:00
Telesphoreo 586fa98c32
Merge pull request #286 from Focusvity/pr/discord-media
Use Component API for attachments
2020-10-15 21:37:15 -05:00
Nathan Curran a8f95bcb19
Use Component API for attachments 2020-10-16 13:20:20 +11:00
Seth 82d92565e7
lol 2020-10-13 13:37:11 -07:00
Seth 533e4fe369
Login messages for players. Still need to come up with login messaghes 2020-10-02 02:27:06 -07:00
Seth f8304aecd7
fix 24 hour bans 2020-09-29 23:54:17 -07:00
Seth ac6e58ff9e
and this is why I approve things before it goes on the server 2020-09-29 17:24:28 -07:00
Telesphoreo 4be2a1e05b throwback thursday 2020-09-27 22:53:11 -05:00
Telesphoreo 59831ef1f3 Finish the job 2020-09-27 22:17:01 -05:00
Telesphoreo 54e6e2f9b1 relying on someone else to look this over to see if i missed anything 2020-09-27 21:51:15 -05:00
Telesphoreo d203772a9a This somehow got reverted back to the old version
Reblocks bigtree in the plotworld as it is used to grief. Players can still use the /tool tree comamnd from WorldEdit to achieve the same thing
2020-09-26 14:52:13 -05:00
Seth ac3d0fca88
Allow executives to manage the shop 2020-09-18 18:04:21 -07:00
Telesphoreo eb6514332e fix the config issues 2020-09-14 21:58:46 -05:00
Seth 81eb333b6a
Pterodactyl 2020-09-14 02:36:25 -07:00
Telesphoreo 3057421d6d Fixed the last bug for now 2020-09-12 14:42:12 -05:00
Telesphoreo 9cb96e81ac Fix all the bugs 2020-09-11 22:27:26 -05:00
Telesphoreo d67189e170 e 2020-09-07 15:14:30 -05:00
William Bergh 7af53448be Potion command fix and refreshment
The potion command didn't work for OPs due to some misstake that made it think that all commands were executed on other players (a staff only feature).
It now instead uses switches to execute for better performance and readability.
2020-09-06 21:25:15 +02:00
William Bergh 2072c89f77 Merge branch 'development' of https://github.com/TFPatches/TotalFreedomMod into development 2020-09-06 18:52:04 +02:00
Telesphoreo 43b266f17d Update NMS + Use PaperLib for teleportAsync 2020-08-30 19:13:46 -05:00
Telesphoreo c61f7e78fd Update for 1.16.2 2020-08-30 14:39:07 -05:00
William Bergh 14ab1e95b5 Merge branch 'development' of https://github.com/TFPatches/TotalFreedomMod into development 2020-08-30 00:27:13 +02:00
speedxx 1c487a6a60 fix spectral arrows bypassing pvp blocking 2020-08-27 14:55:39 -04:00
William Bergh 6f4cc8d4b5 Optimized FAWE bridge 2020-08-24 22:44:45 +02:00
speed 4c81c94702
:) 2020-08-22 13:04:03 -04:00
speedxx 72322f2e56 use UUIDs for developers 2020-08-19 21:19:15 -04:00
speedxx d38ddac311 fix vanish bug 2020-08-18 22:56:32 -04:00
William Bergh ff42713f92 Mistakes were made 2020-08-18 17:22:43 +02:00
Nathan Curran 34a0dae305
Make sure you check the code @CoolJWB 2020-08-18 18:23:19 +10:00
William Bergh 6a7a6e74e3 Update code 2020-08-18 09:37:19 +02:00
William Bergh 1e36b484ac Merge branch 'development' of https://github.com/TFPatches/TotalFreedomMod into development
 Conflicts:
	src/main/java/me/totalfreedom/totalfreedommod/Monitors.java
2020-08-18 09:32:05 +02:00
CoolJWB efae9e314f
Merge pull request #264 from DragonSlayer2189/patch-4
added "kicked (user) quietly" msg
2020-08-18 09:29:35 +02:00
CoolJWB ea946fe14f
Merge pull request #265 from DragonSlayer2189/patch-3
added "banned (user) quietly" message
2020-08-18 09:29:14 +02:00
Nathan Curran 3f68677d99
Don't send empty messages 2020-08-18 15:52:19 +10:00