Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status of a newly added player is set to "WHITELISTED" #2

Open
Shotix opened this issue Feb 16, 2024 · 1 comment · Fixed by #1
Open

Status of a newly added player is set to "WHITELISTED" #2

Shotix opened this issue Feb 16, 2024 · 1 comment · Fixed by #1
Assignees
Labels
enhancement New feature or request

Comments

@Shotix
Copy link
Owner

Shotix commented Feb 16, 2024

Issue: Default Status of Added Player is Set to "WHITELISTED"

Description

Currently, when a player is added using the cwv2 addplayer command, the default status of the player is set to "WHITELISTED". This does not allow for flexibility in setting the initial status of the player to other values such as "BANNED".

Expected Behavior

When a player is added, moderators should have the ability to set the initial status of the player to any valid status, not just "WHITELISTED".

Steps to Reproduce

  1. Use the cwv2 addplayer command to add a new player.
  2. Observe that the player's status is automatically set to "WHITELISTED".

Suggested Solution

Modify the addplayer command to accept an additional argument specifying the initial status of the player. This argument should default to "WHITELISTED" if not provided.

Impact

This change will provide moderators with greater control over the initial status of added players, improving the flexibility and usability of the cwv2 addplayer command.

@Shotix Shotix self-assigned this Feb 16, 2024
@Shotix Shotix added the enhancement New feature or request label Feb 16, 2024
@Shotix Shotix linked a pull request Feb 16, 2024 that will close this issue
@Shotix
Copy link
Owner Author

Shotix commented Mar 29, 2024

  • Adding a player to the whitelist is not working atm. Working on a fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant