8000 PlayerArgument and OfflinePlayerArgument javadoc should highlight performance issue and potential misuse · Issue #587 · CommandAPI/CommandAPI · GitHub
[go: up one dir, main page]

Skip to content 8000
PlayerArgument and OfflinePlayerArgument javadoc should highlight performance issue and potential misuse #587
Open
@XHawk87

Description

@XHawk87

Description

Following this discussion on Discord

Relating to #586

PlayerArgument and OfflinePlayerArgument have a small performance impact that should be noted in the javadocs, and include a suggestion to use EntitySelectorArgument.OnePlayer instead.

They can also be potentially misused by a malicious player to cause a server to stall by spamming it repeatedly. This risk should be noted, and a suggestion to add appropriate permissions included.

Expected code

No response

Extra details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0