self-host-csmm-support

textPage 9 of 373
50 messages on this page
Thursday, August 22, 2024
Avatar for c66f411827d0d81315c4c713bc24db8830ee32fad441841b7030d011e3cc6051
User c66f41
Is it possible for Discord to set a players role in CSMM?
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
so you could have roles based on donation level linked to csmm roles
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
so csmm links to discord. if you use patreon, that also links to discord. like how your yellow here
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
ok so donations
Avatar for c66f411827d0d81315c4c713bc24db8830ee32fad441841b7030d011e3cc6051
User c66f41
otherwise i just assign a role manually after a player donates. Very slow process and not fair to client
Avatar for c66f411827d0d81315c4c713bc24db8830ee32fad441841b7030d011e3cc6051
User c66f41
type in a command and the items get delivered. If I could somehow automate role assignment from an external or internal action that would be nice
Avatar for c66f411827d0d81315c4c713bc24db8830ee32fad441841b7030d011e3cc6051
User c66f41
like a kit of goods players get for donating to the server.
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
what do you mean buy packages
Avatar for c66f411827d0d81315c4c713bc24db8830ee32fad441841b7030d011e3cc6051
User c66f41
sorry for blowing up the chat
Avatar for c66f411827d0d81315c4c713bc24db8830ee32fad441841b7030d011e3cc6051
User c66f41
ok that makes sense. My end goal is to have packages that players buy on another site and they will then be able to type the command that I created in CSMM to get their items. Ideally I would like their role to assigned to them automatically when they purchase. Is anyone aware of a way to auto role assignment to players?
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
csmm permissions are done by role and what you set that role to what permission level you decide. When you create custom cmds, you assign them a permission level, i.e. 500. whoever has a role = or < than 500 can use it. 0 perm being server owner, 1000 being generic player. so 500 to 0 can use a cmd with a 500 permission level.
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
no csmm permissons are different then in game permissions
Avatar for c66f411827d0d81315c4c713bc24db8830ee32fad441841b7030d011e3cc6051
User c66f41
I would like to create groups within 7 days to die that grant a player access to various csmm commands. Once I enter player in and out of the group with in game commands the player would have access to the commands I create in csmm
Avatar for c66f411827d0d81315c4c713bc24db8830ee32fad441841b7030d011e3cc6051
User c66f41
Are CSMM Role permission levels the same as in game permission level? Basically if I create a role where a user has permission level 3000 in csmm that person will have in game permission level of 3000? Or is the CSMm Level equivalent and gives the same access but can not be used interchangably with the in game permission level. Hope this makes sense.
Sunday, August 18, 2024
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
The best place to look is the CSMM logs. Open the logs, do the thing that's not working and then check for any errors
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
hi, there is no other way to debug this ?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Was Caddy able to provision a proper TLS certificate? Do you see any more error details in the Caddy logs?
Avatar for ccda5ea685f0c6daa6214bbf23f340c82aaf7fb99cf0ebfee739d7d85dee0946
User ccda5e
Thank you
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
There isn't, no.
Avatar for ccda5ea685f0c6daa6214bbf23f340c82aaf7fb99cf0ebfee739d7d85dee0946
User ccda5e
Is there a guide to set up and self host CSMM on windows?
Saturday, August 17, 2024
Avatar for ab9cabad01c2b98fe40debf9039864c010c012071a7ad49098372e0b01708550
User ab9cab
Im using caddy, and have the Caddyfile configured like the instructions told me to
Avatar for ab9cabad01c2b98fe40debf9039864c010c012071a7ad49098372e0b01708550
User ab9cab
I am having one heck of a time with the reverse proxy. I have everything set up, i think. But i cannot get logged in. I keep getting a "SSL_ERROR_INTERNAL_ERROR_ALERT"
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
Did you verify the redirect in the discord devbot section is pointed back at your CSMM instance so it can continue on after verification?
Avatar for ab9cabad01c2b98fe40debf9039864c010c012071a7ad49098372e0b01708550
User ab9cab
I get nothing after I log into steam, it just stays at the steam page where is notifies you that CSMM isn’t affiliated with Valve
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
(just in case -> yes it's blank here, but i had all information in my conf.yml)
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
maybe i should take ride of it ?
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
No content
image.png

image.png

PNG5.5 KB

Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
in the documentation there is this part ->
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
hum still don't work
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
You can connect to redis and execute the FLUSHALL command, that'll be the simplest way
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Can you delete your Redis data so that CSMM will refetch it?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Okay, the response for guilds is probably just cached then
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
and i can see the bot now in my discord
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
yes i have done it
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Have you logged in with Discord on CSMM so your profile is linked?
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
the thing is -> i cannot select a guild of course.
But i can "Add bot to my server"
The bot got:
  • Privileged Gateway Intents
  • Presence Intent
  • Server Members Intent
image.png

image.png

PNG25.2 KB

Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
Hum there is no error in CSMM about de database, so i think you are right.
But if the database is running well, then i got a another problem haha
I cannot "Select discord guild to associate with this server" in the discord settings.
I was wondering "maybe it's cause the database cannot store something about the discord bot ?
But if the database run well 😮 ?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Is there anything erroring in CSMM? I think these messages are just warnings. You can address them but it's not required
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
i have done this step this morning, once u logging there is no redirection ? not even a blank page or error ?
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
Hi, here i am !
i meet another problem (:
Hope u can help me !
When i do a docker-compose ps : i see the database is Up but Unhealthy.
When i check the log in this docker i see :
 2024-08-17 17:22:54 47 [Warning] Aborted connection 47 to db: 'csmm' user: 'csmm' host: '172.23.0.4' (Got an error reading communication packets)
db_1               | 2024-08-17 17:24:02 54 [Warning] Aborted connection 54 to db: 'csmm' user: 'csmm' host: '172.23.0.4' (Got an error reading communication packets)
what can i do to correct this ?
this is a known issue ?
Avatar for ab9cabad01c2b98fe40debf9039864c010c012071a7ad49098372e0b01708550
User ab9cab
Hello, I am having issues signing into the website for the first time, i get the redirect to the steam login page, but once i log in, It just refreshes the page and then nothing happens
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
Hey, i m Back.
It works perfectly with now.
I had to replace "localhost" by the ipv4 of my server.
thank U for your time !
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Yep! You want that local address indeed, not localhost ;)
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
i m gonna try and come back here 🙂
Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
maybe i should change "localhost by the ipv4 adresse ?
Cause when i try to donnect there is ->
image.png

image.png

PNG22.8 KB

Avatar for eae269ad8189908ea2ebad6df0ecc8840575c54aa7d264d7924739e51714dd56
User eae269
a local one
image.png

image.png

PNG29.2 KB

Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
How did you go to you CSMM dashboard? What URL is that on?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Make sure the port is correct too?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
For localhost, you don't want to use https but http
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Hmm well something is not right there because you get
Localhost refused to connect.