Commit Graph

554 Commits

Author SHA1 Message Date
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
de496970d9 remove reddit system
jraw free 🦀🦀🦀
2020-12-24 13:09:42 -05:00
speed
c356ecd168 formatting & rename stuff 2020-12-14 19:05:13 -05:00
SupItsDillon
50643eb9ff
Update Command_verify.java
ood code again
2020-12-09 16:03:40 +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
6441deceab
Update Command_playerverification.java
codacy is being fussy
2020-12-08 19:35:02 +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
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
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
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
de0d6853b7
revert calebs broken patch 2020-11-19 23:22:00 -06:00
2c19ce5c65 Adds https://tracker.telesphoreo.me/d/4-mbconfig-clearip 2020-11-09 21:05:33 -06:00
609053e13f oops 2020-11-09 20:16:26 -06:00
a3837a0e06 Resolves https://tracker.telesphoreo.me/d/3-fix-mb-config 2020-11-09 20:11:21 -06:00
9a7cc52e03 Fix players being marked as an impostor when the Discord verification system is disabled 2020-11-08 20:05:54 -06:00
8ac5bc827a Rename gchat to gsay 2020-11-07 22:21:06 -06:00
43c2df58c7 knew there'd be a nms update 2020-11-02 23:33:04 -06:00
e3a6f5127f fix wildcard and add back some beloved commands 2020-10-29 21:24:06 -05:00
e1e046b16b lol whos the idiot who made this embarassing command 2020-10-29 20:47:23 -05:00
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
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
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
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
ac3d0fca88
Allow executives to manage the shop 2020-09-18 18:04:21 -07:00
Seth
81eb333b6a
Pterodactyl 2020-09-14 02:36:25 -07:00
3057421d6d Fixed the last bug for now 2020-09-12 14:42:12 -05:00
9cb96e81ac Fix all the bugs 2020-09-11 22:27:26 -05:00
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
43b266f17d Update NMS + Use PaperLib for teleportAsync 2020-08-30 19:13:46 -05: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
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
DragonSlayer2189
7e8a519c87
Update src/main/java/me/totalfreedom/totalfreedommod/command/Command_kick.java
Co-authored-by: Nathan Curran <30569566+Focusvity@users.noreply.github.com>
2020-08-17 19:00:07 -04:00
DragonSlayer2189
388e1fd52d
Update src/main/java/me/totalfreedom/totalfreedommod/command/Command_ban.java
Co-authored-by: Nathan Curran <30569566+Focusvity@users.noreply.github.com>
2020-08-17 18:59:26 -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
7a810519f3 fuck intellij 2020-08-15 17:44:50 -05:00
53038ca3b2 fuck intellij 2020-08-15 17:42:46 -05:00
e77d92407c Revert "forgot to pull"
This reverts commit e4c9ea656e.
2020-08-15 17:41:26 -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
63570d61d6 admins are seniors 2020-08-15 13:06:58 -04: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
f42e047723
Merge pull request #267 from speedxx/development
fix exceptions, properly teleport player in /ride
2020-08-14 22:10:09 -05:00
speedxx
e79145ee54 fix exceptions, properly teleport player in /ride
- fixes ArrayIndexOutOfBoundsException in /ride
- teleport sender properly if target is in different world for /ride
- fixes IllegalArgumentException in /stopsound
2020-08-14 21:56:04 -04:00
DragonSlayer2189
6dbc99690a
added "kicked (user) quietly" msg
once again, did i do this right
2020-08-14 00:34:01 -04:00
DragonSlayer2189
8628e88e3a
added "banned (user) quietly" message
did i do this right, idk java
2020-08-14 00:29:50 -04:00
51e1191816 Increase range on tpr 2020-08-13 22:14:12 -05:00
e294ef8312 Reimplement vanish command
- SuperVanish has a wack permission system, and it didn't work in some rare circumstances. Added back TFMs vanish with the SuperVanish API
- Fixed the permission nodes so admins can see other admins, like how it was in TFM
2020-08-13 14:34:03 -05:00
Seth
9f006325b4
This is no longer needed 2020-08-09 22:25:16 -07:00
Seth
aab4f55b7d
UUID definite bans 2020-08-09 22:25:04 -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
speedxx
087e4a0d9c fix adminchat bug 2020-08-08 23:20:06 -04:00
Seth
2ecde80b5f
AMP automation 2020-08-07 22:51:09 -07:00
Seth
075299dbd9
Merge pull request #261 from speedxx/development
-q arg for more commands
2020-08-07 18:45:00 -07:00
speedxx
30d5a1d888 -q arg for more commands
- add `-q` arg for tban, warn, and tempban
- add reasons to tban
(#259)
2020-08-07 20:51:47 -04:00
CoolJWB
b6746acb44
Merge pull request #255 from Focusvity/pr/modifyitem-fix
Fixed modifyitem command
2020-08-08 00:38:59 +02:00
speedxx
877c174e2d I hate PacksGamingHD. 2020-08-06 16:17:18 -04: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
ca8758cbb1 oup 2020-08-04 17:31:17 -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
Nathan Curran
4561641d2b
Plugin-specific registration fix 2020-08-04 18:14:42 +10: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
Nathan Curran
c826afe399
Removed some imports 2020-08-04 11:44:01 +10:00
Nathan Curran
ae57573eeb
Fixed modifyitem command 2020-08-04 11:39:59 +10:00
speed
bb4f8d1fc6
replace private constructors & new attribute names 2020-08-03 13:50:44 -04:00
Seth
a0b29c1d01
We dont use javadoc & format fixes 2020-08-01 17:46:14 -07:00
Seth
76bb2d08ac
Split gcmd sub cmds out n other stuff 2020-07-31 21:10:44 -07:00
William Bergh
4de1fe454d Fixed oopsie 2020-07-31 21:48:22 +02:00
William Bergh
80e39d3db1 Hex color for nc
Made sure that hex colors are cleared correctly.
2020-07-31 21:46:44 +02:00
speedxx
0ae835aa04 weSmart
sourcetype fixes; making sure in game commands work only in game
2020-07-28 23:14:58 -04:00
Seth
ab660a7ca7
Merge pull request #243 from vJayyy/patch-4
Format change (/cmdspy)
2020-07-28 14:38:39 -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
vJayyy
582acdb176
It's late lol
derp
2020-07-28 02:33:42 -04:00
Joe H
05f94920d9
Format change (/cmdspy)
While executing this during administration I noticed the ratio between execution and response was rather delayed, and I realized it's because the command is waiting for all the tables and grab methods to run before sending the player the enabled/disabled message. This creates a false sense of lag and is as simple as making the message run before anything else, given that the methods run and tables save almost instantly, this won't negatively affect the module or command.
2020-07-28 02:12:30 -04:00
speed
8e8daa457b
fix clearchat 2020-07-27 23:37:10 -04:00
speedxx
6f2d5aa08d add magical saddle to shop 2020-07-25 22:59:37 -04:00
speedxx
4ad7fd874f separate unblocking commands from bcmd 2020-07-24 23:24:14 -04:00
speedxx
db414164dc fix nickclean not being registered
also allow for ops/non-ops to run /opme, there isn't any reason as to why this command should be limited to  admins only
2020-07-23 19:05:38 -04:00
speedxx
7593fbda9e revamp vanish 2020-07-22 17:40:58 -04:00
speed
113350b228
fix this too 2020-07-21 23:56:18 -04:00
speed
a1f64ef912
oop 2020-07-21 23:54:56 -04:00
Seth
75e50582e9
Kuper forgot db stuff 2020-07-20 07:05:00 -07:00
speed
3f75712732
readd console checks for saconfig 2020-07-19 22:10:51 -04:00
speed
2ce1a3d1d3
remove aw guest from tab complete
& fix the description
2020-07-18 13:56:13 -04:00
Seth
cef2d8cec4
Let sender know votes were changed. 2020-07-17 21:04:22 -07:00
speedxx
cb1c67e568 mute & unmute improvements
- fix muted player messages being sent to discord
- fix mute sending 2 messages
- tell sender target has been unmuted
2020-07-17 19:54:46 -04:00
Super_
5a41632654 typo type beat 2020-07-17 16:00:27 -04:00
Super_
cde24b748a make discord chat toggleable from in-game 2020-07-17 15:58:15 -04:00
Super_
0e63857ae0 lol 2020-07-17 00:40:10 -04:00
Super_
b8e5de2080 real smart nathan 2020-07-16 22:55:57 -04:00
Nathan Curran
c4124de781
Fix Issue #228 - unvanishing doesn't show admins 2020-07-17 12:02:22 +10:00
Super_
30fd3ea6a1 increase login char limit 2020-07-16 00:45:44 -04:00
Super_
6435078703 /sit 2020-07-16 00:06:58 -04:00
Super_
03b22ac326 make aw available to ops 2020-07-15 20:17:45 -04:00
Super_
114567a302 randomized gradients and /playtime 2020-07-15 00:23:26 -04:00
Super_
067180d2cf add defaulting for command permissions 2020-07-14 19:07:46 -04:00
super
4973318249
Merge pull request #226 from CoolJWB/development
Better potionspy
2020-07-14 18:34:50 -04:00
a7d386e6be
Personally, I think this alias is very useful 2020-07-14 14:56:36 -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
Super_
eea17a24bc i'm gonna cry this is amazing x2 2020-07-13 20:52:53 -04:00
Super_
7d6370da23 i'm gonna cry this is amazing 2020-07-13 20:41:44 -04:00
CoolJWB
cb108e0c13 Fix tempban reason issues
Tempban won't cut off reasons that take the durations argument place anymore.
2020-07-13 01:34:39 +02:00
Seth
6ca7f6ba24
:) 2020-07-11 23:53:40 -07:00
Seth
c7c567a14f
Version change & hot update so I can restore shop data
also fuck cbtool
2020-07-11 23:53:11 -07:00
Seth
da1bec6cc0
2 MB bug fixes 2020-07-10 02:09:47 -07:00
Seth
f6bf485c0d
fix merging fuck up, fuck squashing 2020-07-10 01:13:18 -07:00
Seth
58872e2c32
Merge branch 'server' into development 2020-07-10 01:04:02 -07:00
Seth
00450e5732
i dislike people 2020-07-10 00:58:52 -07:00
Seth
98f4af7fab
Hot fixes 2020-07-09 22:43:10 -07:00
Seth
7b7f09e457
1.16 Update (#219) 2020-07-09 17:07:03 -07:00
Seth
4a297a237c
Fix teams not being removed for ops if they were offline
also forgot to update the display of donators
2020-07-09 16:22:12 -07: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
Super_
f6ee9271c6 yeah no 2020-07-09 14:11:36 -04:00
Super_
3fd7147fc2 i hate /campfire 2020-07-03 13:55:46 -04:00
Super_
8a60ae2235 respawn anchor place prevention 2020-07-02 08:13:20 -04:00
Seth
19ed60d407
Bossbar reactions and stacking potato 2020-07-02 01:42:27 -07:00
Seth
aac791d768
Removal of premium 2020-07-02 01:41:40 -07:00
Super_
1357ac7e09 are you kidding kelly 2020-07-01 20:29:06 -04:00
Super_
5421de0c2f fix wildcard and clean up command executor 2020-07-01 12:45:09 -04:00
Super_
e4d1d6ff9e yeah smart 2020-06-30 23:55:52 -04:00
Super_
3eec04ec1c quality control 2020-06-30 23:38:29 -04:00
Super_
357eddf51a bug fixing 2020-06-30 23:21:44 -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