Before we get started, let’s make sure you meet these following requirements:
First, you need to install and configuring the plugin on your cs2 servers.
You can download the plugin from the following link
Place the plugin in the game/csgo/addons/counterstrikesharp/plugins
folder
Navigate to your addons/counterstrikesharp/configs/plugins/CSS-Panel
directory and edit the CSS-Panel.json
file with the following settings
Choose the best way to run the panel on your server, you can choose between running the panel on Docker, linux machine with node.js, or Vercel (for free).
Why not web hosting?
Since the panel is made with next.js and uses server-side rendering and also a fully functional back-end along with the panel, it's not possible to run the panel on web hosting, as web hosting only supports static websites (.html, .css, .js, etc. files)
This is the most recommended way to run the panel, as it's the easiest and fastest way to get the panel up and running without much effort, and also connect it to a domain or subdomain with ssl easily.
Requirements:
- Linux VPS with Easypanel installed.
1. Create a new Project on Easypanel.
2. Create a new App (App service), name it whatever you want.
3. In the "Source" tab, set the following settings:
- Owner: ShiNxz
- Repository: CSS-Panel
- Branch: main
- Build path: /
(note that you should use this configuration in order to keep your panel up to date and follow our updates)
4. Hit Save.
5. In the "Build" section, select "Nixpacks" and hit "Save".
6. Head over to the "Environment" tab and add the following environment variables, and edit them accordingly.
7. Head over to "Domains" and add your domain or subdomain.
8. Hit "Deploy" and wait for the deployment to finish.
Important Notes:
- On every new release, please click on "Deploy" to update the panel to the latest version.
- You can also add a custom domain or subdomain with SSL easily from the "Domains" tab.
This is also a recommended way to run the panel, as it's very easy and also free, and also connect it to a domain or subdomain with ssl easily.
Requirements:
- Account on Vercel
1. Head over to the import page on Vercel.
2. Click on the "Import Third-Party Git Repository →" option below the repository list.
3. Enter the following repository URL:
$ https://github.com/ShiNxz/CSS-Panel
* Make sure you have node.js installed on your server / pc.
* Make sure you have pnpm installed on your server / pc.
1. After downloading the panel, navigate to the panel directory and install the dependencies using the following command:
$ pnpm install
.env.example
file and add your database credentials and Steam API key, then rename it to .env
$ pnpm build
$ pnpm start
* The panel should log into your db and create the necessary tables on the first run, if it didn't, make sure your db credentials are correct.
* The panel should pull all the admin users from your SimpleAdmin db, you can login into the panel using steam if you're an admin,
and you can also add more admins from the panel.