self-host-csmm-support

textPage 2 of 373
50 messages on this page
Thursday, January 30, 2025
Avatar for 8b8ed4b1bec9ce320e0779167bf6d03cb4547b0ff5e460fc9eeb4248beb9d5bc
User 8b8ed4
Roger. Thank you
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
You can turn off rich messages for Discord, that will make the (dis)connect messages much smaller
Avatar for 8b8ed4b1bec9ce320e0779167bf6d03cb4547b0ff5e460fc9eeb4248beb9d5bc
User 8b8ed4
With the discord integration, is it possible to ONLY relay chat messages? It seems like if I set the chat channel, player joins and disconnects all come through as well. Trying to setup a discord channel that just sends and receives chat so that people can talk even when they can't be online - but nothing else. Then have an admin channel for all of the statistics, etc.
Wednesday, January 29, 2025
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
It is for the command to give object, something simple. Although I suppose it will first check that the user has the correct amount of economy and then take that amount away to execute the give command.
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
Someone might need to correct me but I was only able to exececute console commands in discord.
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
I've seen a server that can do that and I guess it will be done with csmm.
Avatar for 2bffa0f5cab2a92d04b2e63aae81661c79638a7959c6e2f44f576d976e0aa78a
User 2bffa0
Hi! can i create custom commands in discord and have them run on the server?
Avatar for 8b8ed4b1bec9ce320e0779167bf6d03cb4547b0ff5e460fc9eeb4248beb9d5bc
User 8b8ed4
Thank you. That helped me pinpoint the problem and I'm up and running now!
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
After starting it in pm2, try
pm2 monit
, it'll show you logs, stats, a bunch of info to debug
Avatar for 8b8ed4b1bec9ce320e0779167bf6d03cb4547b0ff5e460fc9eeb4248beb9d5bc
User 8b8ed4
I'm ALMOST there on self-hosted setup. Got it up and running but I seem to be stuck on the daemonizing process. I installed pm2 and then ran the command to start CSMM - "pm2 start npm --name "CSMM" -- start" . It says it's running, however I cannot access the web url. If I manually start it with "NODE_ENV=production npm run start", then its accessible again. Am I missing something in my pm2 setup?
Saturday, January 25, 2025
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
This has been a lot of fun πŸ™‚
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
aa great well done πŸ™‚
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Thank you for your help though! Sorry to clutter up chat 😦
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
No content
image.png

image.png

PNG β€’ 17.6 KB

Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Restarting it fixed it
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Change
DISCORDCLIENTID
with your new server discord id in the .env
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
do you think I should restart the docker container for CSMM? Maybe it pulls discord guilds upon boot?
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Yes exactly
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Just a different discord server
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
But your using the same bot as before?
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Rebuilt?
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
I'm running CSMM inside docker
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
No content
image.png

image.png

PNG β€’ 26.6 KB

Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Have you re built your csmm?
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Yes I'm hosting and have been using CSMM and discord integration already and it's working well. I just added another server and want it to work with that one but the only discord guild that shows up is my current guild. I've already invited my bot over to the new discord server as well. do I need to edit the .env again?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
In the .env you have
DISCORDOWNERIDS

DISCORDBOTTOKEN

DISCORDCLIENTSECRET
make sure your properly filling those
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
You mean your self hosting csmm correct?
Avatar for d551c3c8e8f5a27ae9ec3a4a09c236c2da7cc3ae19d1a07e369d4577dc9ad25a
User d551c3
I bought the member pack but I’m not sure what I typed wrong the ports and ip is right
Avatar for d551c3c8e8f5a27ae9ec3a4a09c236c2da7cc3ae19d1a07e369d4577dc9ad25a
User d551c3
I can’t seem to get my server up
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
I just created a new server and in the CSMM discord settings I invited my bot (which works on my other server) to my new discord. Though I do not have the option to select my new discord server under the set guild drop down menu. Does this take some time to populate? I'm able to run commands on my original discord server for my new 7 days server.. if that makes sense.
Friday, January 24, 2025
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
install Nginx Proxy Manager via docker. you can get an ssl cert through that using Lets Encrypt.
Avatar for f3900169d6b05ff8fa6ce5fa96f3361c98c80cd6d7bdd38e40c65c0f4a12c03b
User f39001
Good time,
Is there a guide that will help me easily install an SSL certificate.
I don't know much about linux.
I use Docker. But the information on the site has not been rolled out and nothing is working.
Sunday, January 19, 2025
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Great πŸ˜„
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
But it's now working, tysm for replying
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
πŸ”΄ something unexpected went wrong while executing this command 😦 If this problem persists, please join the support server and report this issue.
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Now that I look at it, may have just been gremlins
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Here just a sec
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Other commands worked at the time
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
No, I'm currently on the server
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
In all seriousness, could the server have been offline when you tried?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Quantum bug, it behaves differently when observed πŸ˜„
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Didn't before. Sorry!
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Okay what the heck, me and my other admin tried that several times... And now it just worked
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
I'll show you one without quotes just a sec
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
No quotes in this example
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
πŸ€”
Avatar for 76be4d0a56a584df6bb681ac45277a351d0c422b938c243c68f81c53cae09fad
User 76be4d
No content
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Thanks for the reply! That's what I get
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
No content
SmartSelect_20250119_044727_Discord.jpg

SmartSelect_20250119_044727_Discord.jpg

JPG β€’ 24.5 KB

Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
How are you doing it exactly? Can you screenshot? Using quotes should work, I just tested with
say "hi from dc"