Commit Graph

52 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
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
Seth
82d92565e7
lol 2020-10-13 13:37:11 -07:00
speedxx
642725252b fix tossmob not working, toggle stuff
- fix tossmob not working, sorta revamp it (#259)
- make tossmob and a few other config things toggleable with /toggle (note mp44 and landmines still don't work, i'll probably try and fix those too)
- replace if else statements with switch and catch (yandere dev code type beat)
2020-08-06 16:05:17 -04:00
880b78e528 master 2020-08-05 02:01:21 -05:00
Seth
81df3103b6
Some updates
- Added Reddit flair sync
- Removed magical saddle because the stacking potato does the same thing
- Some internal improvements
- Fixed bug where if a service throws an error while starting or stopping it breaks the entire plugin
2020-08-04 15:16:11 -07:00
speedxx
6f2d5aa08d add magical saddle to shop 2020-07-25 22:59:37 -04:00
Seth
c87e1b3d64
Read description lol
- Re-added premium
- Made the clown fish a shop item
- Thank fuck I caught this DB bug with setting null values
2020-07-09 15:18:29 -07:00
Seth
19ed60d407
Bossbar reactions and stacking potato 2020-07-02 01:42:27 -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
abbadb55ee
revert shop to names, next up mysql 2020-04-29 16:29:43 -07:00
ZeroEpoch1969
af935cb824
shops stuffs 2020-04-07 19:20:01 -07:00
Super_
046bebe54c shop updates 2020-02-05 17:07:16 -05:00
Super_
7940313dd1 ivan u never commit 2020-01-12 20:56:31 -05:00
Super_
1ee1cbca2b fixed cooldowns and shortened them 2020-01-12 11:18:41 -05:00
Super_
939e0730fd realtime and the superior sword 2020-01-12 09:51:29 -05:00
Super_
81621d260d grammatical genius 2020-01-09 06:43:11 -05:00
Super_
5bb489e8ba new item 2020-01-08 18:00:15 -05:00
Super_
fbcb6da30d shop and grappling hook 2020-01-07 15:13:59 -05:00
Robinson Gallego
233632eaf1 this is what happens when you force push 2019-11-03 17:40:58 -05:00
ZeroEpoch1969
1d932e2c7b
oop 2019-11-03 14:43:29 -07:00
ZeroEpoch1969
b525e53348
cubev3.com 2019-11-03 14:40:05 -07:00
Ivan
aad33958f0 hubworld is no longer necessary 2019-11-01 21:35:13 -04:00
Ivan
7d0ea0837e Fixes, added /hub, removed CONSOLE restrictions on some commands 2019-08-18 21:06:47 -04:00
Robinson Gallego
521825024e omg maga tease
Signed-off-by: Robinson Gallego <robinson.leal7@gmail.com>
2019-07-28 02:04:16 -04:00
ZeroEpoch1969
591b8644cb
fuck you super there is development 2019-07-10 19:13:57 -07:00
Lemon
a77e53932b Merge remote-tracking branch 'origin/TFM-1.13' into TFM-1.13 2019-02-09 14:45:56 +05:00
Lemon
b4bb2cf4d8 //UNTESTED: add personal jumppads 2019-02-09 14:45:37 +05:00
ZeroEpoch1969
3d7d363e30
yay more things 2019-01-27 18:49:07 -07:00
ZeroEpoch1969
2716e2500b
Forgot class paths, remove things lombok covers, and optimize imports 2018-07-31 00:01:29 -07:00
Telesphoreo
9c2f181ab9 sIgNifICanT buG FixEs (#105)
- Ignore totalfreedom.iml (people who clone from Git get this instead of TotalFreedomMod)
- Essentials check before running /denick
- Revise grammar in /invis
- WorldEdit check for /setl (since W/E is no longer a required dependency)
- WorldEdit check for /gtfo
- WorldEdit check for /unban
- Refactor -> LibsDisguiseBridge: isPluginEnabled -> isEnabled
- Remove unneccesary ChatColor in /wiperegions
- Use BlockData in Trailer
- Revise /wiewarps grammar
2018-07-28 00:11:48 -07:00
Telesphoreo
519b456807 Update CoreProtect and masterbuilder restrictions (#100)
* Update CoreProtect and masterbuilder restrictions

* intellij is gay shit
2018-07-27 02:08:48 +05:00
ZeroEpoch1969
d2d93ec76a
Permission adjustments and this triggered my OCD 2018-07-26 00:40:28 -07:00
Telesphoreo
25aa28194b Even more bug fixes (#94)
- Clean up /commandlist
- /ov now displays proper unknown command message
- /toggle doesnt check for case
- Trailer will now check if CoreProtect is enabled before trying to log
- Temporarily disable master builder world restrictions, causing spam in console everytime a command is one
2018-07-25 15:09:35 -07:00
ZeroEpoch1969
f671f3c3fa
this was my fault for messing up the pr attempting to resolve the conflicts, im so stupid smh 2018-07-24 19:47:04 -07:00
Telesphoreo
7278176143 asdf (#91) 2018-07-24 19:44:00 -07:00
ZeroEpoch1969
7170b1c999
More progress towards 1.13 2018-07-24 19:08:29 -07:00
ZeroEpoch1969
e8eda42295
lotta commands 2018-07-21 17:45:56 -07:00
ZeroEpoch1969
f167134a3a
VS now ops players, more security measures for MBW 2018-07-12 15:25:18 -07:00
Nathan Curran
7b1a8cb527 Added some missing stuff for MB World (#61)
* Added some missing stuff for MB World

* Fix isExecutive method
2018-05-14 23:11:24 -07:00
marcocorriero
a10a0cbef9
Update Trailer.java 2017-11-22 20:48:45 +01:00
marcocorriero
cba204d9f3
Applying requested changes 2017-11-17 14:12:21 +01:00
marcocorriero
3babdf88a2
Update Trailer.java 2017-11-16 14:54:53 +01:00
marcocorriero
25ad80be60
Makes Trail loggeable to coreprotect. 2017-11-16 14:48:54 +01:00
Jerom van der Sar
aca3398d21 TotalFreedomMod Electrum
Version 5.0

This TotalFreedomMod release implements many changes. Most notably, the
internals have been completely revamped. TotalFreedomMod now relies on the
Aero library for core mechanics such as command handling and services.

Another important change is the UUID system. In TotalFreedomMod Electrum,
it has been completely removed. The core reason for this is that the
system as a whole was very bugged. Additionally, it did not solve the
primary reason for its conception: preserving player data when the player
changes their username. This is because TotalFreedomMod servers usually
run in offline-mode. This meaning that some of the players joining do not
have a registerd Mojang UUID whatsoever. All in all, the UUID system was
buggy, and it did not fix the reason it was implemented, so it has been
completely removed. The admin list and the ban list now use usernames and
IPs again.

Lastly, many smaller changes have been implemented. Due to the amount of
changes, they have not been named individualy. Please refer to the issues
below for more details.

Fixes #342
Fixes #350
Fixes #380
Fixes #684
Fixes #704
Fixes #716
Fixes #735
Fixes #745
Fixes #784
Fixes #765
Fixes #791
Fixes #805
Fixes #826
Fixes #883
Fixes #1524
Fixes #1534
Fixes #1536
Fixes #1538
Fixes #1545
Fixes #1546
Fixes #1568
Fixes #1627
Resolves #403
Resolves #435
Resolves #597
Resolves #603
Resolves #628
Resolves #690
Resolves #708
Resolves #747
Resolves #748
Resolves #749
Resolves #764
Resolves #767
Resolves #782
Resolves #809
Resolves #803
Resolves #811
Resolves #813
Resolves #830
Resolves #848
Resolves #856
Resolves #876
Resolves #908
Resolves #992
Resolves #1018
Resolves #1432
Resolves #1446
Resolves #1494
Resolves #1501
Resolves #1526
Resolves #1540
Resolves #1550
Resolves #1560
Resolves #1561
Resolves #1578
Resolves #1613
2016-05-12 21:51:58 +02:00
JeromSar
055973aa37 Many changes for TFM 5.0
Refractoring
Reworked /saconfig
Reworked part of the command system
Removed unused config sections
Refractored part of the config
Fixed bugs with admin list
Actually allow CONSOLE to have senior perms
2016-03-02 20:28:01 +01:00
JeromSar
e93ac11172 Use custom service abstraction in favour of Aero's AbstractService
Use Aero's YamlConfig in favour of FConfig
Refractoring
Small edits
2016-03-01 17:47:01 +01:00