self-host-csmm-support

textPage 54 of 373
50 messages on this page
Sunday, July 9, 2023
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Oh wait you have only a single role?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Can you screenshot please?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
it's not good πŸ˜›
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
i exec a command using a random discord
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Can people use the exec command without a role?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Some of those commands are meant to be public
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
still people can use all bot commands
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
i removed all roles and left admin. I linked it directly to me which is the only person with that role
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
No content
image.png

image.png

PNG β€’ 6.8 KB

Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Possibly.
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
I think it's because i haven't linked the roles
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Roles and permssions in settings.
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
where is this located?
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Which ones do you see as a regular player that shouldn't be?
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
The admin commands get enabled in the roles/permissions.
image.png

image.png

PNG β€’ 10.5 KB

Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
How can i disabled slash commands of the discord bot. I logged in with a user which is not an admin and i could use them as well
Avatar for f886ee27f67c019056175f2224c381145fdaa20dc06e30c8c64b84928c9a8ff5
User f886ee
If anyone needs docker-compose for any operating system, I can give it. did recently. there a couple of moments you need to register with your hands and it works right away. affairs for 5 minutes
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
no worries :D
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
appreciate all the help
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
thanks xD
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Oh and to make code blocks on discord, use ` backticks πŸ˜„
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
You're looking for the
hccp
console command, that'll hide messages
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
mvw {{ player.entityId }} lobby this works aswell, thanks Catalysm for your help, one other thing, after typing /lobby in the chat /lobby is also sent as a message to the server on top of acting as the command, is there an easy fix for stoping that happening?
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
this is what i did to get something working.. and i'll try you final test now
image.png

image.png

PNG β€’ 10.4 KB

Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
As a final test, can we try
mvw {{ player.entityId }} lobby
?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
but that's on me I think :p
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
I see that the last execution (before the switch to teleportplayer) was just doing 'mv lobby'
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Aha nice
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
so i just tried using the vanilla coords teleport instead of mvw {{ entityId }} lobby and it works perfectly
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
works for admin
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
it denys that command for this user as permission needs to be 0
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Maybe mvw doesnt work with entity Id πŸ€”
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Thanks, can you try
mvw <your entity id> lobby
in the console?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
can you give me that please?
Avatar for aee541746e268e44e47a2c9b5a7d9236a76b59837f2dad43622fd77182acd4d8
User aee541
No content
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
as admin i can tp to the wp with ftw lobby
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
Yeah, i can send people to the waypoint via console
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Okay, have you created the 'lobby' waypoint?
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
ok then nope
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
No restart needed
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
I have to restart the server for these changes to take effect right?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
So with the modified code for the custom command, does that do anything now?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Alrighty that's good
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
csmm said PONG back
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Did you set the CSMM prefix to / aswell? Can you try the
/ping
chat command from CSMM to see if that's working?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Oh my bad sorry
mvw {{ entityId }} lobby
forgot the waypoint name
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
did I do this right? still isn't doing anything 😦
image.png

image.png

PNG β€’ 14.7 KB

image.png

image.png

PNG β€’ 36.2 KB

image.png

image.png

PNG β€’ 79.3 KB

Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Ah just do
lobby
. No need to have the prefix in there, CSMM already takes care of that.
Also, for custom commands, it executes console commands, not chat commands so
/ftw
wont work in there, you'll need the console variant of that command. Try changing the command itself to
mvw {{ entityId }}
?
Avatar for 7280a2b7b3c307378168be3604eb552ef5bfec0f90043211794d0d18ccfb4112
User 7280a2
prefix is set to /