Skip to content

[FR] Manually set API key/Do not auto-grab API key #8

@ThatHypedPerson

Description

@ThatHypedPerson

Describe the feature

Whenever first using this mod it attempts to automatically generate a new API key. This is really annoying if someone were to have other mods/programs using a Hypixel API key, like myself. Since generating a new API key disabled any previous keys, someone running this program for the first time would have to fix everything else that uses their API key.

In the past when I tried to use this mod it constantly generated a new API key whenever I logged onto the server, so I stopped using it until I tried it again recently. However, when I try it now it constantly fails to grab a new key (probably a bug in itself) due to other mods sending enough commands to cause a "You are sending commands too fast" message. Luckily setting the API key manually in the config file seemed to fix this (I had a whole rant about not being able to set an API key manually before until I figured this out, so uh, yeah i really dislike this mod generating keys itself).

I personally think the best thing to do is add a command to add an API key or tell the user to run /api new themselves rather than auto-generate the key for them. Other mods implement API keys this way, and the extra QoL from automatically generating a key does not outweigh the issues it causes.

Date of submittion

October 18, 2022

Before submitting a feature request

  • This feature wasn't already requested.
    (I have checked every feature request on GitHub)

  • I agree to this repository's prerequisites.
    (I have read and agree to the License, Code of Conduct, and Contributing Guidelines)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions