Setup:
Setup Cloudflare Workers up and running:
-
Go to Cloudflare Workers playground with MCCL Workers preset.
-
It should took you to the account sign up if you don't have one logged in.
-
After that, Cloudflare should take you to this page, if not, just go back to step 2.

-
Change name to whatever you want, then go ahead and click
Deploybottom right.

-
Now, in the menu, go to
KV, it should be insideWorkers & Pages.

-
Click on
Create a namespace, you get to choose the name on this one, I'll namemccl, then add it.

-
Now the KV has been created, let's go ahead and navigate to
R2and create a bucket to actually store our server, if you don't see it, just scroll down in the menu.

-
Then it will ask for banking information, this in place to charges you money when you go over the limit, you can use PayPal or debit card, don't worry, MCCL won't go over that limit easily.

-
After you done with all that, it should allows you to
Create bucket.

-
You get to choose the name again, in this one, I'm also go for
mccl.

-
Scroll down, you'll see
KV Namespace Bindings. Press onEdit variables, then binds our created KV to this. Variable name MUST be "KV"

-
Click
Deployto save changes. -
Right under
KV Namespace Bindings, we'll seeR2 Bucket Bindings, just like KV binding, but variable name MUST be "BUCKET".

-
And there you go, you have successfully deployed an MCCL Worker.
Setup MCCL Client.
-
Then add name and key and token as value to KV like this, you can generate token from here.

-
Create as many as you want, anyone with this pair of name and token can access and has full control over the server, you can revoke it anytime by deleting their entry.
-
There are some MCCL's internal variables when using, that is
lastRunandsessionHostOwner, do not edit it unless you know what you're doing. -
Everything on MCCL Workers is now done 🚀. You can proceed to setup MCCL Client.






