What is API keys and gow to use them

Last modified on 07 November 2024 in Other
  • 3 min read
  • 1948
  • 8
Valeriy Stereo

Valeriy Stereo

CCO, Creative Director

Hey Godlikers! In this guide we will be going over how to connect SRVControl (Discord Bot) to your Minecraft server hosting on Godlike Panel. This discord bot uses the Godlike Panel API to allow you to control your servers through Discord.

We can start by heading over to their website and inviting the bot to your discord server. Then once the bot is invited, go back to their website and click on "Dashboard" in the top right. Once you are at the dashboard, click manage on the server you invited the bot to and set the Panel URL to https://panel.godlike.host/. You can change the other settings if you please, but this is all that is required to get the bot to work.

After we have done this, we now want to create the API Key that SRVControl can use to access your servers. To do this, simply head over to the panel and once you are logged in, click Account scroll key down and look for Create API

Then click Create New and give it a relevant description so that you will remember what this API key is for. Do not put anything in allowed IPs as SRVControl does not state the IP address used for their bot. Once you are done, click create. Now there will be a list of API keys, in your case there will only be one so just click the key icon to reveal the long key and copy it.

CAUTION

Please keep this key secure as anyone with this API key can utilize it to do anything to the servers that you are on your account.

SRVControl is a reputable discord bot so I would trust them. However the choice to do this is always up to you.

After inviting it to your server with the proper permissions, go to your discord server and type <preifx>register (default prefix is .) in one of the channels. This will initiate the API key registration. The bot will DM you asking for your API key. Be aware you only have 60 seconds to send it, so just paste it and press enter. This will complete the API registration and you should receive a "Success" message if you followed this documentation correctly.

Now, back in your discord server you can type <prefix>help (default prefix is .) to show you all the commands you can do which interacts with your server.

You are now done! You are able to control your servers via the SRVControl discord bot in your discord server.

Rate the article on a 5-point scale

2.75 out of 5 based on 8 ratings
Find mistake? Select it and press Ctrl + Enter to let us know.
Demo
Game
Panel
×

Report a bug

Error text

Your choice