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

Set a player's default in-game nickname to their Discord Username #2

Open
CameronSWilliamson opened this issue Jul 20, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@CameronSWilliamson
Copy link
Owner

Add the ability to create a nickname and force that nickname to match with their discord username. This might require a !link <discord name> command to make sure that things get linked up properly. For now, it might be best if we store data in just a text file within the MinecraftServer folder. Later, if we decide it is necessary, we can add a SQL/Mongo connection to store this data.

@CameronSWilliamson CameronSWilliamson added the enhancement New feature or request label Jul 20, 2022
@CameronSWilliamson CameronSWilliamson self-assigned this Jul 20, 2022
@CameronSWilliamson
Copy link
Owner Author

We can probably use a SQLite database to store the mappings between Discord and Minecraft then cache the data while a player is on the server. Once the player leaves the server we can clear that player from the cache.

@CameronSWilliamson
Copy link
Owner Author

CameronSWilliamson commented Aug 4, 2022

it looks like the sqlite database will most likely be stored within the spigot/plugins/MinecraftDiscordChat folder but I am not entirely sure. More research definitely needs to be done before we can implement this.

todo:

  • Determine how to setup a nickname
  • Figure out SQLite database generation
  • Figure out SQLite library to use

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

No branches or pull requests

1 participant