-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Guide
-
Install the mod into your server's
modsfolder. -
Start the server once.
-
CloudChat will automatically generate a config file at:
config/cloudchat/cloudchat.properties
-
Open the config file.
-
Replace the Worker URL and API secret with your own Cloudflare Worker AI endpoint.
Example:
worker_url=https://your-worker.workers.dev api_secret=your_api_secret
api_secretis your API password/token ( And yes, you can name it anything like banana123 or whatever you want, don't need to generate from CloudFlare ), not the Worker URL. -
(Optional) Change the AI model in the config.
Example:
model=@cf/meta/llama-3.1-8b-instructDefault model:
@cf/meta/llama-3.1-8b-instruct
-
Restart the server.
-
Use the command in-game:
/cloudchat Hello!
-
Create a Cloudflare account.
-
Go to:
https://dash.cloudflare.com/
-
Open:
Workers & Pages
-
Create a new Worker.
-
Replace the default Worker code with the CloudChat Worker template.
-
Deploy the Worker.
-
Copy the Worker URL.
Example:
https://cloudchat.yourname.workers.dev
-
Put the Worker URL into your CloudChat config:
worker_url=https://cloudchat.yourname.workers.dev -
Restart the server.