Commit Graph

56 Commits

Author SHA1 Message Date
Video
c39c632a67 Removes useless code 2022-04-15 05:03:41 -06:00
Video
e2ccd14eb3 Unsaves SavedFlags 2021-08-27 16:54:55 -06:00
Video
9dd0298f56
Bug fixes, improvements, and removals (FS-192) (#46)
* Three fixes

* Fixes /tempban throwing a NullPointerException when trying to get a player who isn't on the server but was in the past
* Fixes /tempban banning players for 24 hours regardless of the duration defined
* Fixes /list -t throwing a NullPointerException when performed from a non-player source (such as Telnet)

* Removes hubworld entriely

* Configurable blacklists for tag, muted commands, and wildcard

Changes:
* Moves globally blocked commands to the `global` subsection of the original `blocked_commands` section. You *will* need to update your configurations
* /wildcard's command blacklist is now configurable under the `wildcard` section in `blocked_commands`.
* The commands muted players can't use are now configurable under the `muted` section in `blocked_commands`.
* Removes some commented-out globally blocked command entries.

Co-authored-by: Ryan <Wild1145@users.noreply.github.com>
2021-05-09 16:42:31 +01:00
Paldiu
b03870c0aa SQL Fixes
:)
2021-03-19 10:39:58 -05:00
Paldiu
aa2836b29a Merge branch 'mbw-fix' into paldiu-local 2021-01-07 13:39:51 -06:00
speed
0a5ce5b9cc fix w/e in mbw 2020-12-31 13:06:05 -05:00
Paldiu
7a394e52e4 Codacy complacency 2020-12-29 22:06:12 -06:00
Paldiu
d71f5452ad Changed instance of SplittableRandom back to Random
Overridable methods required Random instead of SplittableRandom and caused a build failure in the previous commit. This should fix the build failure.
2020-12-26 10:30:30 -05:00
Paldiu
eb9759f2d8 Replaced All Instances of Random With SplittableRandom
SplittableRandom is faster (negligable) than Random and is also able to recursively return new instances of itself for an even more complex pseudo random generator compared to the default Random supplied by Java.
2020-12-25 15:57:10 -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
39d5b610a1 Update WorldRestrictions.java 2020-12-12 12:59:19 -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
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
43b266f17d Update NMS + Use PaperLib for teleportAsync 2020-08-30 19:13:46 -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
CoolJWB
560353e7cf
Merge pull request #258 from DragonSlayer2189/patch-1
Removed "Build" "break-block" and "place-block"
2020-08-08 00:36:12 +02:00
880b78e528 master 2020-08-05 02:01:21 -05:00
DragonSlayer2189
7224319fae
Removed "Build" "break-block" and "place-block"
removed these flags from restricted worlds due to it breaking gravity blocks, redstone, pistons, and various other things, blocks still cant be broken due to the onblockplace and onblockbreak event handlers

idk how to add this but /summon, /spawnmob, /etree, /ebigtree, and any of those commands aliases also need to be blocked due to them being able to bypass these restrictions
2020-08-04 19:13:35 -04:00
Super_
03b22ac326 make aw available to ops 2020-07-15 20:17:45 -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
abbadb55ee
revert shop to names, next up mysql 2020-04-29 16:29:43 -07:00
Super_
d0b64c6438 yet another command void fix 2019-12-13 22:17:34 -05:00
Super_
d78d28cc7a command void issue is no more 2019-12-10 16:23:30 -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
c7e0a7a288
resonance freqency of a cow 2019-07-17 12:35:36 -07:00
ZeroEpoch1969
5b2334c60f
Tab completion 2019-01-28 21:57:41 -07:00
Lemon
73cea831af
fix world generation once and for all
so xmax and ymax and zmax are now exclusive and not inclusive
2018-08-03 11:50:47 +05:00
ZeroEpoch1969
93e7957e25
It's ok, just gotta fine tune one commit at a time 2018-07-31 00:05:28 -07:00
ZeroEpoch1969
2716e2500b
Forgot class paths, remove things lombok covers, and optimize imports 2018-07-31 00:01:29 -07:00
ZeroEpoch1969
60c627c591
I'm tired of seeing prs that make small code reformats so im doing a commit to fix it all at once 2018-07-30 23:41:56 -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
Lemon
bf6e35238e it's something? actually generates worlds properly (slow though) 2018-07-26 15:28:35 +05:00
ZeroEpoch1969
48383af346
ew what is this formatting 2018-07-26 02:03:27 -07:00
ZeroEpoch1969
38e1769f0d
More 1.13 things 2018-07-25 14:23:23 -07:00
Telesphoreo
113ab62f0b Bug fixes (#92)
* Bug fixes

- Now checks if nothing was ejected
- Fix NPE in saconfig
- Module_permbans now checks if you are an admin

* Discord is better
2018-07-24 22:54:00 -07:00
ZeroEpoch1969
c0b43f26ea
This is why Lombok exists 2018-07-24 22:52:49 -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
ebb05fa6a6
Temporarily disable some things 2018-07-23 23:54:19 -07:00
ZeroEpoch1969
6853baebdd
Master Builder world 2018-05-13 12:49:13 -07:00