Verification System #32
Labels
No labels
bug
cog
cog
Aurora
cog
Backup
cog
Bible
cog
EmojiInfo
cog
Nerdify
cog
Pterodactyl
cog
SeaUtils
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
#34 Command Placeholders}
cswimr/SeaCogs
#33 Configuration Overhaul
cswimr/SeaCogs
Reference: cswimr/SeaCogs#32
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What cog is your feature request for?
Pterodactyl
Is your feature request related to a problem? Please describe.
Currently, Minecraft server plugins like DiscordSRV allow for server administrators to require players to verify with their Discord accounts inside of a Discord server. My Pterodactyl cog doesn't currently have a system like this, and it seems pretty trivial to add.
Describe the solution you'd like
Here's a mermaid diagram explaining my plans for this system.
And for the actual verification system itself:
Describe alternatives you've considered
No response
Screenshots
No response
Additional context
No response
So just my notes from the conversation we had from discord:
to make running commands on users in game (ie for automation purposes) storing all the info in a database on the bot seems like the best way to go, and then if possible having them be able to be used as a variable.
Example: User buys an apple from reds bot shop, which runs the command
pterodactyl command give $USER apple 1
so we don't have to have staff get involved on every transaction a user goes through.I'm unsure how to implement this so that it works with other cogs though.
(Assume unless explicitly stated otherwise that any mentions of "Pterodactyl" are referring to my Pterodactyl cog, and not the Pterodactyl Panel.)
Okay so, I would already be using Red's config to store all of this data. Basically a json database included with Red that any other cog can access. I could use a Sqlite3 database for it, like my Aurora cog does, but I don't think it's necessary tbh. Fault tolerance and stuff is nice yeah but it's just storing verification status, so not really a big deal imo.
Yeah, this is easy. Pterodactyl already has a basic placeholder system that it uses for chat commands and topics, and I can reuse that for this. If
.$U
is present in the command, it can substitute that placeholder for a user id provided by an optional argument before the actual command. I don't think that'd be too hard to implement.If the shop/economy cog you're using supports running arbitrary commands on purchase, this solution will work fine. Otherwise, you should contact the maintainer of the cog you're using and ask for that feature.
Additionally, I think dynamic commands like you're talking about are a bit out of scope of this issue, so I'll be creating a new issue to handle those, as well as one for handling role syncing which you also brought up in our Discord conversation.
Edit: Created, see #34
[Pterodactyl] Verification Systemto Verification Systemmasterto pterodactyl-v3