Commit Graph

113 Commits

Author SHA1 Message Date
Video
f190bbeac1 FS-292 2021-11-23 00:27:57 -07:00
Video
62fe72d99b Code quality and consistency improvements
Here's all the changes I've made in this commit:
- Resolves FS-44 (AutoEject.java)
- Resolves FS-45 (BlockBlocker.java)
- Resolves FS-47 and FS-48 (InteractBlocker.java)
- Resolves FS-49 (Command_cage.java)
- Resolves FS-50 (Command_manageshop.java)
- Resolves FS-51 (Command_notes.java)
- Resolves FS-52 (Command_potion.java)
- Resolves FS-53 (Command_tag.java)
- Resolves FS-55 (ItemFun.java)
- Resolves FS-56 (Module_list.java)
- Resolves FS-57 (Module_players.java)
- Removes redundant code from InteractBlocker.java
- Misc. code consistency corrections (global)
2021-06-16 21:10:08 -06:00
Video
2cdf1e66a6
Disables block gravity and makes it togglable (FS-89) (#50)
* Disables block gravity by default (FS-89)

* Combine these checks as Codacy ever so kindly suggested
2021-04-19 17:34:36 +10:00
Ivan
0367d9fd3a my end of the bargain 2021-02-25 16:42:30 -05:00
Paldiu
260368585e reformat 2021-01-07 13:29:47 -06:00
Paldiu
c7b0f77910 Merge branch 'development' into paldiu-local 2021-01-04 13:14:53 -06:00
speed
b9606fa0e3 admin chat discord formatting (FS-59) 2020-12-26 18:54:15 -05:00
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
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
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
0adee3582b d 2020-11-08 21:08:44 -06:00
43c2df58c7 knew there'd be a nms update 2020-11-02 23:33:04 -06:00
54e6e2f9b1 relying on someone else to look this over to see if i missed anything 2020-09-27 21:51:15 -05:00
43b266f17d Update NMS + Use PaperLib for teleportAsync 2020-08-30 19:13:46 -05:00
speedxx
1c487a6a60 fix spectral arrows bypassing pvp blocking 2020-08-27 14:55:39 -04:00
04a7b633a4 it compiles now 2020-08-15 17:58:48 -05:00
53038ca3b2 fuck intellij 2020-08-15 17:42:46 -05:00
da80f1b69e Revert "Merge branch 'development' of https://github.com/TFPatches/TotalFreedomMod into development"
This reverts commit 4407e9e6ec, reversing
changes made to e4c9ea656e.
2020-08-15 17:41:23 -05:00
Seth
f5b5fcd5ef
Admins are now known as staff
To other developers: If you find places where staff are refered to as only admins pls fix it for me.
2020-08-14 23:44:57 -07:00
880b78e528 master 2020-08-05 02:01:21 -05:00
Seth
9ecfe703cb
Dont have my pc, have to do this from github
1/2
2020-07-28 14:55:38 -07:00
speedxx
106e457fa7 fix beds exploding in new nether biomes
add end biomes too since beds explode there aswell & fix the stupid "(amount) entitiess removed." shit too
2020-07-28 16:24:41 -04:00
Seth
7a08152c14
Some adjustments 2020-07-15 01:22:32 -07:00
CoolJWB
6e622ad2f3 Potionspy remake
Remade the entire potionspy and monitor class to avoid spam in the chat.

Furthermore, there is now a way to look at a history of potions thrown (individually and globally) however this history is limited to avoid too much useless data in the memory.
2020-07-14 21:00:22 +02:00
Seth
4328a13eaf
Bad imports 2020-07-07 19:18:09 -07:00
Seth
8b4a91b2e6
Fix command blocker 2020-07-07 19:10:21 -07:00
CoolJWB
adfd55b419
Redstone blocker fix (#217)
* Redstone blocker fix

The redstone blocker caused severe crashes in some cases such as when redstone torches and targets were connected to wire.
The event used to block redstone is not efficient in any means so this should be reverted when (or if) it is fixed internally.

* Delete encodings.xml

* Delete compiler.xml
2020-07-03 11:03:08 -04:00
Super_
2a88e05021 honestly confused?? 2020-07-02 20:40:08 -04:00
Super_
8a60ae2235 respawn anchor place prevention 2020-07-02 08:13:20 -04:00
Seth
9d7e0cdefc
Mojang fixed this, resolves #207 2020-07-01 03:28:33 -07:00
Super_
3eec04ec1c quality control 2020-06-30 23:38:29 -04:00
Super_
9d71a7f4ae removal of aero 2020-06-30 21:51:06 -04:00
Seth
eb58419a3a
1.16, overhaul of player data 2020-06-30 00:25:38 -07:00
ZeroEpoch1969
4ddcc3b8d7
SQL DB is a WIP 2020-05-29 03:14:21 -07:00
ZeroEpoch1969
abbadb55ee
revert shop to names, next up mysql 2020-04-29 16:29:43 -07:00
ZeroEpoch1969
321d9f97e0
coder of the year award goes to me 2020-04-22 01:29:27 -07:00
ZeroEpoch1969
a523cc313c
wftgeuhjor 2020-04-22 01:23:51 -07:00
ZeroEpoch1969
af935cb824
shops stuffs 2020-04-07 19:20:01 -07:00
Ivan
925fe4a4b2 Revert command blocker as the one pushed was not working whatsoever 2020-03-27 19:53:00 -04:00
Nathan Curran
ecc907b535
The command blocker is now functioning as per normal (#187) 2020-02-26 22:31:21 -05:00
ZeroEpoch1969
2d7353c076
block beehives 2020-02-08 21:52:43 -07:00
Deauthorized
56d5a669cf fishhooks can bypass pvp blocking (#178)
add fishhook to the list
2020-01-15 17:44:51 -05:00
Super_
939e0730fd realtime and the superior sword 2020-01-12 09:51:29 -05:00
Super_
fbcb6da30d shop and grappling hook 2020-01-07 15:13:59 -05:00
Super_
1181de8ed4 i hate video ass smash 2020-01-04 18:35:41 -05:00
Super_
a7de5edfcb god fucking damnit fleek 2020-01-04 01:16:54 -05:00
Super_
446f658c13 section exploit patch 2020-01-02 19:58:52 -05:00
Nathan Curran
a2404d1bc6 Restrict the owner length to 16 instead of blocking them (#170)
* Restrict the owner length to 16

* no assertion thank u

Co-authored-by: super
2020-01-02 18:26:51 -05:00
Super_
eb3a266bf6 fixed the pi exploit for normal placement 2020-01-01 23:37:20 -05:00
ZeroEpoch1969
7cffdac400
1.15 2019-12-14 13:39:57 -07:00