#%bungee_total% Placeholder Returning Double the Actual Online Player Count

1 messages · Page 1 of 1 (latest)

thorn locust
#

The %bungee_total% placeholder from PlaceholderAPI is reporting twice the number of online players across the proxy network. I expected this value to mirror the actual total count of players connected, but instead it consistently shows a value that is exactly double the real amount. I have verified that all connected clients are counted once, so I’m not sure why this duplication is occurring.

Environment:

Paper Server Version: 1.21.4

Proxy Software: xCord (latest available build)

Spigot/Bukkit Plugins (on the Paper Server):
ajQueue
BungeeGuard
Citizens
CommandSync
ItemsAdder
LPX
LuckPerms
Matrix
nLogin
PhoenixLobby
PlaceholderAPI
ProtocolLib
TAB
UltimateReport
UltraCosmetics
Vault
ViaBackwards
ViaVersion
WorldEdit
WorldGuard

Proxy Plugins (on xCord Proxy):
ajQueue-2.7.0.jar
BungeeGuard.jar
CommandSync-2.8.4-RELEASE.jar
HubCommand.jar
LiteBans.jar
LuckPerms-Bungee-5.5.0.jar
nLogin Premium.jar
RedirectPlus-2.12.0.jar
SkinsRestorer.jar
UltimateReportProxy-1.0.jar

shrewd widget
thorn locust
#

So thanks @shrewd widget

shrewd widget
#

Or does it return the correct player counts per server and just the total is messed up?

thorn locust
shrewd widget
thorn locust
#

Yes

shrewd widget
#

To install it go to plugins/PlaceholderAPI/expansions, remove the following file Expansion-bungee.jar and put this one in its place. A simple /papi reload should be fine after but if it doesn't register the expansion, try a server restart.

#

Whenever %bungee_total% is being parsed, it should log in the console where each player count is coming from.

thorn locust
#

[20:41:59 INFO]: [+] WhiteOmbrah_
[20:41:59 INFO]: WhiteOmbrah_[/MyIp] logged in with entity id 6 at ([EngineMc_Hub]-3.5, 31.0, -48.5)
[20:41:59 INFO]: [Matrix] (Via) Player WhiteOmbrah_ joined with (1.21.X/769) client
[20:42:11 INFO]: WhiteOmbrah_ issued server
command: /papi parse me %bungee_total%

#

the console only shows me this

#

i uploaded your file

#

I'm alone on the server and it shows me 2

#

/papi parse me %bungee_total%

shrewd widget
#

Strange that it did not print anything to the logs. This build might show some warnings as well but it should at least print the debugging stuff

thorn locust
#

but player doubled

#

It seems like all and the lobby add up

shrewd widget
thorn locust
#

How can I help you send more material to be fixed?

#

Why can't you just use it? It always duplicates by 2.

shrewd widget
#

It just doesn't do this for me. What Proxy server do you use?

thorn locust
#

xCord

shrewd widget
# thorn locust xCord

I'm sorry to hear. Well, this seems to be a bug specific to your proxy server. I could get you a build that fixes this issue for you but I don't think this is something we'll be adding directly into the Bungee expansion.

thorn locust
#

it seems ok