CustomWhitelistV2

CustomWhitelistV2

267 Downloads

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

Shotix opened this issue ยท 1 comments

commented

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.

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