Commit graph

737 commits

Author SHA1 Message Date
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
William Bergh 6a7a6e74e3 Update code 2020-08-18 09:37:19 +02:00
William Bergh 1e36b484ac Merge branch 'development' of https://github.com/TFPatches/TotalFreedomMod into development
 Conflicts:
	src/main/java/me/totalfreedom/totalfreedommod/Monitors.java
2020-08-18 09:32:05 +02: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
Nathan Curran 3f68677d99
Don't send empty messages 2020-08-18 15:52:19 +10:00
Telesphoreo f4007a7c9d Fix long standing bug with player notes 2020-08-17 23:53:21 -05:00
Telesphoreo f3a655d40d Merge branch 'development' of https://github.com/TFPatches/TotalFreedomMod into development 2020-08-17 21:21:21 -05:00
Telesphoreo 6b3a765c90 shorten Administrator 2020-08-17 21:21:13 -05: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
speedxx 24575aba88 index httpd module 2020-08-17 18:17:45 -04:00
Telesphoreo 090c445aa9 seth kelly 2020-08-16 22:33:35 -05:00
Telesphoreo c936759b6c oup 2020-08-15 21:18:47 -05:00
Telesphoreo 36fc1a00b6 bru 2020-08-15 19:32:25 -05:00
Telesphoreo 7b9920dbc4
Merge pull request #268 from speedxx/development
stuff seth missed
2020-08-15 19:24:47 -05:00
speed b0daf2066a
supervanish is gone 2020-08-15 20:17:54 -04:00
Telesphoreo ed5d18c0df rip supervanish 2020-08-15 18:03:26 -05:00
Telesphoreo 04a7b633a4 it compiles now 2020-08-15 17:58:48 -05:00
Telesphoreo 7a810519f3 fuck intellij 2020-08-15 17:44:50 -05:00
Telesphoreo 53038ca3b2 fuck intellij 2020-08-15 17:42:46 -05:00
Telesphoreo e77d92407c Revert "forgot to pull"
This reverts commit e4c9ea656e.
2020-08-15 17:41:26 -05:00
Telesphoreo 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
Telesphoreo 4407e9e6ec Merge branch 'development' of https://github.com/TFPatches/TotalFreedomMod into development 2020-08-15 17:09:03 -05:00
Telesphoreo e4c9ea656e forgot to pull 2020-08-15 17:08:39 -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
William Bergh d74846cde6 Fixed my bad code 2020-08-15 15:33:29 +02: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
Telesphoreo 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
Telesphoreo 51e1191816 Increase range on tpr 2020-08-13 22:14:12 -05:00
Telesphoreo 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
Telesphoreo 306c8bc8b9 ok 2020-08-12 18:51:10 -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
Seth f4f25c1590
useless 2020-08-09 17:47:53 -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
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
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
Telesphoreo 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
Telesphoreo 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
Telesphoreo b73d1df350 baddev 2020-08-04 15:05:43 -05:00
Telesphoreo 299b31a75b
Merge pull request #256 from Focusvity/pr/command-fix
Plugin-specific registration fix
2020-08-04 14:29:38 -05:00
speed abe3b68480
Update permissions.yml 2020-08-04 15:28:40 -04:00
speedxx 5c50f8f27d silent joining and leaving fixes 2020-08-04 15:11:16 -04:00
Nathan Curran 4561641d2b
Plugin-specific registration fix 2020-08-04 18:14:42 +10:00
Telesphoreo 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
William Bergh 073a618035 Hotfix to potion spy
Note to self: don't do crack cocain when you code, this will actually announce the potion splashes to admins (also fixed a spell issue).
2020-08-04 00:07:50 +02:00
speed 3f942613d7
add missing mobs here too why not 2020-08-03 13:52:49 -04:00
speed bb4f8d1fc6
replace private constructors & new attribute names 2020-08-03 13:50:44 -04:00
Telesphoreo 25bf79bdb1 this was causing issues 2020-08-02 19:06:45 -05: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
William Bergh c04e944466 A bridge for TF-FAWE
Made a bridge for a TotalFreedom version of FastAsyncWorldEdit that will work better with our needs and not collide with other plugins.
2020-07-29 02:45:16 +02:00
Seth 27f7276698
Dont have my pc, have to do this from github
2/2
2020-07-28 14:56:45 -07:00
Seth 9ecfe703cb
Dont have my pc, have to do this from github
1/2
2020-07-28 14:55:38 -07: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
speed 37c65a85d4
Update FUtil.java 2020-07-23 23:03:53 -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
speedxx 2bf78bcccf fix guildchat being sent to discord 2020-07-21 15:21:51 -04:00
Seth 8c93da758a
Forgot question mark 2020-07-20 07:07:20 -07:00
Seth 75e50582e9
Kuper forgot db stuff 2020-07-20 07:05:00 -07:00
Seth d92f661f12
2 new devs 2020-07-20 06:27:37 -07:00
speed 3f75712732
readd console checks for saconfig 2020-07-19 22:10:51 -04:00
speed 588a2f1eba
fix npe in /myinfo 2020-07-18 19:51:17 -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
super 62aa46f856
Merge pull request #229 from Focusvity/patch-1
Fix Issue #228 - unvanishing doesn't show admins
2020-07-16 22:54:44 -04:00
speedxx c1f0d81fcc remove this blocked string & don't send messages containing discord.gg to server-chat 2020-07-16 22:24:59 -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
Seth a1418eb516
Fixed reactions 2020-07-15 01:40:48 -07:00
Seth 7a08152c14
Some adjustments 2020-07-15 01:22:32 -07:00
Super_ bf6ef152d9 add zoglin and piglin spawn eggs to the egg list 2020-07-15 00:45:57 -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
Telesphoreo 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
Super_ f9e8a4c8ba set command feedback to automatically be false 2020-07-12 12:13:41 -04: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 d12a121300
useless 2020-07-09 15:29:00 -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
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
Seth d74eeec113
Guess I had to modify LibsDisguises after all 2020-07-07 01:36:29 -07:00
Seth c333a6ee39
2 bug fixes
- Fix votifier being non-existent breaking shop
- Fix plugin breaking error
2020-07-06 22:21:35 -07:00
Super_ 3fd7147fc2 i hate /campfire 2020-07-03 13:55:46 -04: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
CoolJWB 556dfa7233
Fixed Flatlands generation & Discord bot not actually disabled (#215) 2020-07-02 02:08:57 -07: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
Seth 9d7e0cdefc
Mojang fixed this, resolves #207 2020-07-01 03:28:33 -07: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