About | Preview | Installation | How to use | Contribute | License | Disclaimer |
COCRPC is a Discord Rich Presence that shows on your profile your Clash of Clans statistics.
-
Open Clash of Clans and follow the steps to get your player tag:
-
Go to the
config.json
file and replace YOUR PLAYER TAG with your Clash of Clans player tag. -
Go to the Clash of Clans API Dashboard and create an account or log in to your account.
-
Create a new API key. You will need to allow your IP Address. To find out your IP Address, click here.
-
Go to the
config.json
file and replace YOUR API KEY with your API key. -
Open the CMD/Terminal and go to the place where you saved the files with the
cd
command. -
Install all the required dependencies:
npm install
-
Run the RPC:
node .
If you have a bug or an idea, browse the open issues before opening a new one.
If you know how to fix an issue, consider opening a pull request for it.
This project is licensed under the MIT license.
This material is unofficial and is not endorsed by Supercell. For more information see Supercell's Fan Content Policy: Supercell’s Fan Content Policy.