AntiPopup - No chat reports and Popup!

AntiPopup - No chat reports and Popup!

148 Downloads

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

Jumala9163 opened this issue ยท 11 comments

commented

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
2. 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

commented

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?

commented

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.

commented

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.

commented

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

commented

I think the issue is some conflict with other plugins

commented

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

commented

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

commented

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

commented

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

commented

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

commented

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.