Skip to content

Allow use of SteamIDs in !xban when user has ulx ban but not ulx banid #225

@JoshuaLeivers

Description

@JoshuaLeivers

Steps to reproduce

  1. Have access to ulx ban, but not ulx banid
  2. Use !xban
  3. See that the SteamID field is greyed out and inaccessible

Expected behavior

The field is accessible, but only lets you ban people as if you ran it via ulx ban $STEAM_BLAH, rather than ulx banid STEAM_BLAH - i.e. no offline bans, and with permission checking.

Actual behavior

Field is inaccessible, as it only allows the use of ulx banid, and so is only enabled if the user has permission to use that.

image

Version

ULib v2.71d (08/05/22)
ULX v3.81d (03/24/24)

Notes

This is more a feature request than a bug, despite what this format suggests. It would be nice to allow people to use SteamIDs via xban, as you already can use SteamIDs via ulx ban $ID, it's just not exactly the same as ulx banid.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions