Silent flag for /gtfo (-q) doesn't message the sender - Bug Report

Please Note: The TotalFreedom Forum has now been put into a read-only mode. Total Freedom has now closed down and will not be returning in any way, shape or form. It has been a pleasure to lead this community and I wish you all the best for your futures.
  • This is weird.

    • Date and Time (please include the timezone):
    • Describe the bug or exploit: When you run /gtfo -q, it should be expected that the sender of the command be displayed a message that the player was banned successfully. This is not the case. I included a video showing what happened when I banned a griefer with this flag. Unless you verify they're banned via the punishment log, you cannot tell if someone is actually banned if done silently.
      https://cdn.discordapp.com/attachments/41…/zbjuahOtHj.mp4
    • Plugin(s) impacted: TotalFreedomMod
    • Expected behaviour (if known): Banning a player silently should inform the sender that they were banned successfully along with displaying the ban reason they set.
    • Step to reproduce: Ban a player using the -q flag, no response will be displayed to the sender (you.) informing that the player has been banned with X reason (if applicable).
    • Server where the bug occurred: Freedom-01
    • Can the bug or exploit be reproduced on another server within the network? No, since this is only a TFM problem.

    javaw_VqNRNZdU6Q.png
    image.png
    image.png

  • I see the problem - Alco is performing a quiet ban on a player who is offline. The code that's supposed to send the message only executes if the target player is currently online. This is definitely an oversight that should be addressed.
    https://github.com/AtlasMediaGrou…n.java#L66-L125

    image.png