What we need:
Simple plugin with a command /webregister
This command will generate a custom generated string specific to that user (Maybe hash+personal salt to make it user personal)
When the command gets executed the second time the code will not change but display the previously generated code.
This code should be click to copy using the tellraw format ingame
We want a small config where we can specify the text that will be given with the key.
So 2 lines in the config file with: - first-attempt: "This is a sample message on the first command attempt using key {key}" - other-attempts: "The key {key} has already been created copy this key by clicking on the key."
The {key} variable should be filled with the user key ingame
These codes should be stored in a mysql database with the columns:
- ID
- minecraft username
- uuid
- generatedkey
- time of first creation
Simple plugin with a command /webregister
This command will generate a custom generated string specific to that user (Maybe hash+personal salt to make it user personal)
When the command gets executed the second time the code will not change but display the previously generated code.
This code should be click to copy using the tellraw format ingame
We want a small config where we can specify the text that will be given with the key.
So 2 lines in the config file with: - first-attempt: "This is a sample message on the first command attempt using key {key}" - other-attempts: "The key {key} has already been created copy this key by clicking on the key."
The {key} variable should be filled with the user key ingame
These codes should be stored in a mysql database with the columns:
- ID
- minecraft username
- uuid
- generatedkey
- time of first creation
