Status of a newly added player is set to "WHITELISTED"
Shotix opened this issue ยท 1 comments
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
- Use the
cwv2 addplayer
command to add a new player. - 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.