You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, the /ban and /banip commands are missing from the default command set in BDS.
Describe the solution you'd like
Implement the /ban and /banip commands to ban online players.
Add the ability to ban offline players who have previously joined the server.
Additional context
BDS stores player data using their UUID as the key in leveldb with the prefix player_. To be able to ban offline players by name, we need to maintain a mapping between player names and their UUIDs. This mapping should be stored in a separate file, which should be updated each time a player joins the server. In Bukkit, a similar file called usercache.json exists so we could potentially use a similar format.
Once we have access to player data from leveldb using the username, we will also need to store additional data (e.g., last seen IP address). This could be stored in an additional compound tag, possibly named endstone.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
Is your feature request related to a problem? Please describe.
Currently, the
/ban
and/banip
commands are missing from the default command set in BDS.Describe the solution you'd like
/ban
and/banip
commands to ban online players.Additional context
BDS stores player data using their UUID as the key in leveldb with the prefix
player_
. To be able to ban offline players by name, we need to maintain a mapping between player names and their UUIDs. This mapping should be stored in a separate file, which should be updated each time a player joins the server. In Bukkit, a similar file calledusercache.json
exists so we could potentially use a similar format.Once we have access to player data from leveldb using the username, we will also need to store additional data (e.g., last seen IP address). This could be stored in an additional compound tag, possibly named
endstone
.The text was updated successfully, but these errors were encountered: