CloudNetService / CloudNet

A modern application that can dynamically and easily deliver Minecraft oriented software
https://cloudnetservice.eu
Apache License 2.0
369 stars 115 forks source link

Exclude tasks from the SyncProxy tablist #1385

Open DinoMarlir opened 3 months ago

DinoMarlir commented 3 months ago

Describe the new feature

It would be nice if you could exclude tasks from the tablist configuration.

Why do you need this feature?

Because some services have their own tablist (plugins, etc)

Alternatives

there are no alternatives

Other

No response

Issue uniqueness

0utplay commented 3 months ago

Do you have any implementation ideas? As far as I can tell this would require us to only set the tablist when a player is connected to a service from a specific task. But we also have to reset the tablist when the player connects to a task which is excluded. Wouldn't this create the problem that we would overwrite already set tablists from other plugins by resetting?

DasBabyPixel commented 3 months ago

Clear the tablist before server change. No service can have set a tablist at that point Velocity: ServerPreConnectEvent. Bungee: ServerConnectEvent Waterdog: PreTransferEvent

0utplay commented 3 months ago

If some is willing to implement this properly I'm open to merge that.

DinoMarlir commented 3 months ago

@0utplay I'm working on it. 👍

0utplay commented 2 months ago

is there any progress on this @DinoMarlir ?