Closed Ozymandog closed 2 years ago
By reinstalling you've updated to the latest version - make sure your config.json
is up to date with config.example.json
, it looks like you're missing this block:
"express": {
"enabled": false,
"port": 8880,
"authorization": "authorizationHeaderString"
}
By reinstalling you've updated to the latest version - make sure your
config.json
is up to date withconfig.example.json
, it looks like you're missing this block:"express": { "enabled": false, "port": 8880, "authorization": "authorizationHeaderString" }
What is that? What do I need to add to that?
By reinstalling you've updated to the latest version - make sure your
config.json
is up to date withconfig.example.json
, it looks like you're missing this block:"express": { "enabled": false, "port": 8880, "authorization": "authorizationHeaderString" }
What's the authorization and api port where do I find that?
You need to make sure the keys from the config.example.json
file also exists in your config.json
file, the keys being express
, enabled
, port
, authorization
, the values is customizable and can be changed to anything you'd like.
The port you set is the port the API will be running on, and the authorization value you set is what is required to be in the request header when you try communicating with the API, if you don't want to use the API you can just copy the keys and values into your config but leave the enabled
key at false, so the API is never started, and the other values aren't used.
You need to make sure the keys from the
config.example.json
file also exists in yourconfig.json
file, the keys beingexpress
,enabled
,port
,authorization
, the values is customizable and can be changed to anything you'd like.The port you set is the port the API will be running on, and the authorization value you set is what is required to be in the request header when you try communicating with the API, if you don't want to use the API you can just copy the keys and values into your config but leave the
enabled
key at false, so the API is never started, and the other values aren't used.
okay, thank you
Haha hey again. This error shows up when I try to run the bot. It's on my old pc that used to have it but I deleted it and now I'm reinstalling it
aa is just what I renamed hypixel-discord-chat-bridge-master