daffyyyy / CS2-SimpleAdmin

Manage your Counter-Strike 2 server by simple commands :)
https://cs2-simpleadmin.daffyy.love
GNU General Public License v3.0
105 stars 37 forks source link

how i do it ? #37

Closed Kamii193 closed 8 months ago

Kamii193 commented 8 months ago

what i change in this folder ?? u said i need to configure plugin in addons/counterstrikesharp/configs/plugins/CS2-SimpleAdmin/CS2-SimpleAdmin.json

// This configuration was automatically generated by CounterStrikeSharp for plugin 'CS2-SimpleAdmin', at 2024/01/22 02:00:43 { "Version": 2, "DatabaseHost": "", "DatabasePort": 3876, "DatabaseUser": "", "DatabasePassword": "", "DatabaseName": "", "KickTime": 10, "DisableDangerousCommands": true, "ConfigVersion": 2 } i have no idea what i do here !

lostsoul6 commented 8 months ago

@Kamii193

You must enter your database information . have you set up mysql database for your server?

Kamii193 commented 8 months ago

@lostsoul6 No not yet , im finding it so haaard , my head is turning around it syas i need mysql and to host i need xmpp (its free) so youtube is planty with it but im not sure what im loking for i installed mysql and thats it IM LOST !

lostsoul6 commented 8 months ago

@Kamii193 , first using ssh you need to set mysql root password . after that if you have troubles working with mysql in command line , you can install phpmyadmin and manage your database and users with phpmyadmin .

Kamii193 commented 8 months ago

@lostsoul6 I think i did it , i used mysql set database name mydb and used latin1 and latin1_bin it seems working but is there is better data base settings i should use ?

daffyyyy commented 8 months ago

utf8mb4_general_ci