Command Placeholders #34

Open
opened 2024-11-01 12:38:04 -04:00 by cswimr · 0 comments
Owner

What cog is your feature request for?

Pterodactyl

Currently, the Pterodactyl cog doesn't offer a way to run commands "dynamically" i.e. with placeholders. This makes integration with other cogs more difficult, as their developers would have to specifically build compatibility in for the Pterodactyl cog.

Describe the solution you'd like

I think the simplest solution is to reuse the concept of the other placeholder systems in the cog, such as the topic placeholders and chat command placeholders, along with Discord.py's FlagConverter system.

One could, for example, run the following command (if #32 is completed and 294518358420750336 is linked to the Minecraft user cswimr):
[p]pterodactyl command user: 294518358420750336 luckperms user .$N parent set Administrator
The command ran on the game server:
luckperms user cswimr parent set Administrator

Describe alternatives you've considered

No response

Screenshots

No response

Additional context

No response

### What cog is your feature request for? Pterodactyl ### Is your feature request related to a problem? Please describe. Currently, the Pterodactyl cog doesn't offer a way to run commands "dynamically" i.e. with placeholders. This makes integration with other cogs more difficult, as their developers would have to specifically build compatibility in for the Pterodactyl cog. ### Describe the solution you'd like I think the simplest solution is to reuse the concept of the other placeholder systems in the cog, such as the topic placeholders and chat command placeholders, along with Discord.py's [FlagConverter](https://discordpy.readthedocs.io/en/stable/ext/commands/commands.html#flagconverter) system. One could, for example, run the following command (if #32 is completed and `294518358420750336` is linked to the Minecraft user `cswimr`): `[p]pterodactyl command user: 294518358420750336 luckperms user .$N parent set Administrator` The command ran on the game server: `luckperms user cswimr parent set Administrator` ### Describe alternatives you've considered _No response_ ### Screenshots _No response_ ### Additional context _No response_
cswimr added this to the Pterodactyl V3 milestone 2024-11-01 12:38:04 -04:00
cswimr added the
enhancement
cog
Pterodactyl
labels 2024-11-01 12:38:04 -04:00
cswimr self-assigned this 2024-11-01 12:38:04 -04:00
cswimr added a new dependency 2024-11-01 12:38:12 -04:00
Sign in to join this conversation.
No description provided.