qbcore-framework / qb-multicharacter

Multi-Character System Used With QB-Core :man: :woman:
GNU General Public License v3.0
33 stars 237 forks source link

[SUGGESTION] add an admin command #76

Closed Mryococo91 closed 2 years ago

Mryococo91 commented 2 years ago

Is your feature request related to a problem? Please describe. I noticed that you can't delete the character of a player in admin

Describe the feature you'd like I would like to have a command to delete a player's character. for example, in a roleplay server, the player's character deserves an RP death. we can say that the player in question will delete his character, but there may be people who will not do it because of divert reason

Also, it would be nice to have an option in the configuration to replace the delete button with a delete request, if possible the request would be a webhook discord. This would prevent people from creating 15 characters in the same day.

nullvariable commented 2 years ago

you can now disable the delete button for players, so they cannot delete them on their own with the EnableDeleteButton setting. I don't believe that we can support a delete request ability at this time, however when this issue for loading an offline player is merged, we should be able to implement an admin command to handle deletes

Z3rio commented 2 years ago

This issue should now be resolved after pushing these two PR's: https://github.com/qbcore-framework/qb-core/pull/815 https://github.com/qbcore-framework/qb-multicharacter/pull/141

Z3rio commented 2 years ago

This issue is now fully fixed and implemented!