KaspianDev / AntiPopup

Plugin giving back privacy that server owners deserve.
GNU General Public License v3.0
150 stars 20 forks source link

[BUG] Chat bug on servers with AntiPopup and DiscordSRV installed at the same time #75

Closed Jumala9163 closed 10 months ago

Jumala9163 commented 11 months ago

Describe the bug

When AntiPopup and DiscordSRV are installed at the same time, the same message is sent twice when a message from Minecraft is sent to Discord Disabling AntiPopup has prevented this from happening image

To Reproduce

1.Install AntiPopup and DiscordSRV on the server

  1. Send chats in the Miencraft server

Expected behavior

The same statement is sent twice in Discord chat

Operating System

Docker(Pterodactyl)

Server Software

Patina(https://github.com/PatinaMC/Patina)

Server Version

Not Listed

Proxy Type

Bungeecord

Plugin List

AntiPopup, ArmorStandEditor, AuxProtect, BCLogs, BlueMap, Chairs, ClickHarvest, CoreProtect, CoreProtectTNT, DiscordSRV, Elevatorm, EntityDetection, FastAsyncWorldEdit, GeyserSkinManager, HamsterAPI, HolographicDisplays, LightHeadPlugin, LuckPerms, LunaChat, Minepacks, MobStacker, OfflineEveryone, OpenInv, OreNotifier, PlaceholderAPI, Plan, PlugManX, Polymart, ProtocolLib, SetSpawn, SitEverywhere, SneakGrow, spark, SuperVanish, TabTPS, UltimateHomes, UltimateTimber, VeinMiner, ViaBackwards, ViaVersion, WorldEditSUI, WorldGuard

Server logs

https://pastebin.com/0QjYxufT

MrNonno commented 11 months ago

I think the issue is some conflict with other plugins

KaspianDev commented 11 months ago

Hmm... I used discordsrv with antipopup personally. Can you send your antipopup config here?

Jumala9163 commented 11 months ago

This is the config.

config-version: 31

# Should we collect anonymous data about your server?
# false by default.
bstats: true

# Should we remove [Not Secure] from /say?
# There is a very small chance of catching something
# that should not be caught. If that happens report the
# incident to Github issues of AntiPopup.
filter-not-secure: true

# We dont need that packet if
# we dont sign messages.
dont-send-header: true

# Should setup be ran on first start?
# Useful for all kinds of setups or server hosts.
auto-setup: false

# Should reporting chat messages be prevented?
# Only works for versions above 1.19(.0).
block-chat-reports: true

# Readd clickable URLs in messages.
# Could cause incompabilities!
clickable-urls: true

# Location of server.properties file relative to server's folder.
# Do not change unless needed.
properties-location: server.properties

# Do not touch ones below!
first-run: false
ask-bstats: false
setup-mode: true
KaspianDev commented 11 months ago

Disable clickable urls, most likely that's at fault.

Jumala9163 commented 11 months ago

Thank you very much. I will change the settings and see what happens. I will report back if there is any progress.

mrjasonn commented 11 months ago

Disable clickable urls, most likely that's at fault.

But clickable URLs should be improved then as it's something people would want to be able to have while having No Chat Reports and to still be able to use with other software that uses chat

Jumala9163 commented 10 months ago

It has been a while since then. As a result, I had version 7.1 installed on my server, so I updated to 7.2 to try it out, and for some reason it seems to work fine with clickable-urls enabled in 7.2.

K4sum1 commented 8 months ago

I have this issue with EssentialsX Discord. If you were able to fix it with DiscordSRV in 7.2, could you fix it with EssentialsX Discord too?

KaspianDev commented 8 months ago

I have this issue with EssentialsX Discord. If you were able to fix it with DiscordSRV in 7.2, could you fix it with EssentialsX Discord too?

I recommend disabling clickable-urls if it's on. It's a very tricky system so it causes incompabilities with such plugins, a chat plugin with the feature will do a better job.

K4sum1 commented 8 months ago

I recommend disabling clickable-urls if it's on. It's a very tricky system so it causes incompabilities with such plugins, a chat plugin with the feature will do a better job.

Yeah I have it off, just would prefer to have it on if possible. I prefer EssentialsX Discord over DiscordSRV.

KaspianDev commented 8 months ago

message me on discord, i'll see what i can do