Commit Graph

85 Commits

Author SHA1 Message Date
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
Nathan Curran
d047cfc8ff
Calculate the player count without offline players (FS-247) (#68)
Co-authored-by: Ryan <Wild1145@users.noreply.github.com>
2021-05-22 15:40:55 +01:00
Nathan Curran
f240a15af3
Force the count to be zero if the value is negative (FS-216) (#56) 2021-05-01 23:58:03 +10:00
Nathan Curran
d11d55b218
Vanished admins are no longer being counted (FS-148) (#41) 2021-04-24 14:06:28 +10:00
Paldiu
830daab8f4 Fix Daemon Error
Reflection issue when initializing the daemon; trying to call a constructor with one argument using two arguments.

Removed an unused constructor.
2021-01-08 17:32:54 -06:00
speed
9688827a39 formatting 2021-01-08 10:10:54 -05:00
Paldiu
3464a33678 NPE on Thread.join() possible fix
This bug is hard to decipher mainly due to the thread being terminated somewhere before the thread.join is called. this may be due to the safeClose method defined with serverSocket, but again, I'm not too sure what's up here. This may also be because something failed to execute in one of the try catch statements, causing the thread to never be initialized in the first place.
2021-01-08 00:25:46 -06:00
Paldiu
260368585e reformat 2021-01-07 13:29:47 -06:00
Paldiu
323fd1a031 Should be fine now 2021-01-04 18:27:57 -06:00
Paldiu
c7b0f77910 Merge branch 'development' into paldiu-local 2021-01-04 13:14:53 -06:00
Paldiu
a4e23dc03f Codacy Complacency Part 2 2020-12-29 22:14:57 -06:00
Paldiu
7a394e52e4 Codacy complacency 2020-12-29 22:06:12 -06:00
Paldiu
9352a48650 Finalized lombok removal
Finally removed all lomboks, also reduced npath complexity for FreedomCommand.FCommand#execute and removed empty constructor from Discord
2020-12-29 21:37:50 -06:00
speed
b9606fa0e3 admin chat discord formatting (FS-59) 2020-12-26 18:54:15 -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
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
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
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
Seth
533e4fe369
Login messages for players. Still need to come up with login messaghes 2020-10-02 02:27:06 -07:00
59831ef1f3 Finish the job 2020-09-27 22:17:01 -05:00
54e6e2f9b1 relying on someone else to look this over to see if i missed anything 2020-09-27 21:51:15 -05:00
Seth
81eb333b6a
Pterodactyl 2020-09-14 02:36:25 -07:00
speedxx
24575aba88 index httpd module 2020-08-17 18:17:45 -04:00
7b9920dbc4
Merge pull request #268 from speedxx/development
stuff seth missed
2020-08-15 19:24:47 -05: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
speedxx
78b73b3b63 stuff seth missed
admin -> staff
2020-08-15 12:35:48 -04:00
Seth
3f4d34d172
Forgot to actually make sure this compiles lol 2020-08-14 23:48:31 -07: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
Seth
00f94e47f1
github is a love hate relationship 2020-08-09 17:49:52 -07:00
Seth
44b7307e4d
Revert "Revert "Permbans are now indefinite bans.""
This reverts commit 54df0e08f5.
2020-08-09 17:49:35 -07:00
Seth
54df0e08f5
Revert "Permbans are now indefinite bans."
This reverts commit 4003db6dd9.
2020-08-09 17:49:20 -07:00
Seth
4003db6dd9
Permbans are now indefinite bans. 2020-08-09 17:48:42 -07:00
4555a7e3f2 [WIP / DO NOT USE ON PRODUCTION!!] Begin implementing support for SuperVanish and fix bugs
- Update dependencies in pom.xml
- Replace TotalFreedomMod's vanish system with SuperVanish. It's widely supported by many major plugins and does a better job vanishing players
- Fixed a typo in the SQL command for creating admin tables, where the table would not be created on a clean install of TFM
- Update bStats Metrics to latest version
- Remove the VanishHandler
- Sync the permissions.yml from whats on the server. Entries for Essentials and SuperVanish will be added soon

KNOWN BUG:
- Plugins override TFM commands (e.g. Essentials takes over /list instead of giving it to TFM). I noticed that there is a semicolon before every TFM command. (:/ban, :/list), which is the actual TFM command. I have no idea where / how this bug came from. Urgently needs to be fixed.
2020-08-04 01:31:26 -05:00
speedxx
7593fbda9e revamp vanish 2020-07-22 17:40:58 -04: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
c49abd1f4a
got bored 2020-04-23 04:18:03 -07:00
ZeroEpoch1969
a523cc313c
wftgeuhjor 2020-04-22 01:23:51 -07:00
ZeroEpoch1969
bc8ff3cd7f
permission system 2020-04-13 23:40:22 -07:00
ZeroEpoch1969
af935cb824
shops stuffs 2020-04-07 19:20:01 -07:00
ZeroEpoch1969
07e0b4e2c8
and I must do this to trigger people 2019-11-24 11:59:55 -07:00
ZeroEpoch1969
ea93b069df
but i must purposely forget to change a line to keep my fuckup streak going 2019-11-24 11:58:52 -07:00
ZeroEpoch1969
e0bbbbdda8
assistant executive title now exists 2019-11-24 11:56:32 -07:00