Skip to content

Implement something like matchExpression for Lists. #4116

@kyngs

Description

@kyngs

Is your feature request related to a problem? Please describe.
I want to send a player to a different lobby than they're on. I've got a list named players where I put all UUIDs of the connected players on the server.

Describe the solution you'd like
Ideally, there would be a way to negate the containsValue in the list selector.

Describe alternatives you've considered
Repeating the allocation x times until the returned server is not the same one as the one the player is on.

Additional context
The GameServerAllocation documentation kinda suggests that this should already be possible.

lists (Beta, “CountsAndLists” feature flag) enables filtering based on game server List status, such as allowing for inclusion or exclusion of specific players. Optional.

The exclusion of specific players seems exactly like what I'm looking for here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-maintainerBlock issues from being stale/obsolete/closedkind/featureNew features for AgonesstalePending closure unless there is a strong objection.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions