Skip to content

Ban reason expression #8288

@furiouswhqle

Description

@furiouswhqle

Suggestion

I looked everywhere on the documentation but I couldn't find an expression for the ban reason of a player.
The expression could look something like this:

on connect:
    if player is banned:
        kick player due to player's ban reason

Why?

It would make it easier to have custom ban kick messages without having to rely on something like variables. This feature would also be useful for making a custom /banlist command.

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR availableIssues which have a yet-to-be merged PR resolving itfeaturePull request adding a new feature.

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions