kangarko / ChatControl-Pro

The ultimate chat solution. Prevent spam, ads, swears and even bots on your server. Replaced by ChatControl Red: https://mineacademy.org/chatcontrol-red
Other
65 stars 8 forks source link

1.8.8: Cannot get channels to work. #2153

Closed iwentafk closed 3 years ago

iwentafk commented 3 years ago

I'm having issues getting channels to work, my players are getting the message "You have no channel to write into. Type /ch for help.

I have allocated the following perms to them:

chatcontrol.channel.autojoin.global.write chatcontrol.channel.global.join.write

However, they still get the error, my configs are default since I'm testing the channel feature. But I cannot seem to get it to work.

I'm using ChatControl Pro Version: 8.9.4

Thanks!

kangarko commented 3 years ago

Can they join global with "/channel join global"? If not then give them the perms required to join that channel - they should see what these are in their perms message

iwentafk commented 3 years ago

I can try, but I want them to be able to auto join so they're not having to type that every time a new person joins.

iwentafk commented 3 years ago

Alright, so I've gotten it to automatically place users in the channel. But I'm trying to link with DiscordSRV, however, when I send a message in the channel on the server, it sends it to Discord, but sending a message to Discord does not send anything to Minecraft, instead gives me this error:

[15:37:25 INFO]: [discord] > Message not being sent to admin chat (configuration requires admin chat name: admin) [15:37:25 INFO]: [Discord->ChatControl] Ignoring Discord message from channel 'factions-feed'. Available ChatControl channels: [admin, discord, global, ranged, standard]

To better understand, I'm starting up a network, with multiple servers, each server will have their own feed in the Discord, to keep everything seperate, I'm naming my feeds these names, however, I just want the #factions-feed Discord channel to send messages into the "discord" chat channel on the Minecraft server. However, as you can see, it isn't. Just completely negates the message altogether.

iwentafk commented 3 years ago

Actually, I figured it out. Was fully reading the Discord info, they have to be the same names.

Edit: It's still giving me the [discord] > Message not being sent to admin chat (configuration requires admin chat name: admin) error when I send messages from Discord. Does this have to do with the fact that I have the "Owner" role?

kangarko commented 3 years ago

If you are using Admin_Chat, then you need to ensure your Discord channel is named exactly "admin".

We will solve this limitation in ChatControl Red: https://github.com/kangarko/ChatControl-Red

TomLewis commented 2 years ago

@iwentafk how did you do this? I too have followed the Wiki setup guide and it does not explain how to make it actually work past the 2 initial permissions that you stated in the first ticket.

kangarko commented 2 years ago

@TomLewis what is it you're looking for, specifically? Happy to help, I just need to know more, probably see your debug file which we now provide with one click, /chc debug, and probably your permissions too

TomLewis commented 2 years ago

@kangarko I figured it out, I stared moving from ChatControl 8 to Red today, doing setup from scratch and Ive found a few bugs!

This one, I was going to create a bunch of tickets with my findings after I was done, this one was a simple fix, it just wasted a lot of time with trial and error.

On the Channels page https://github.com/kangarko/ChatControl-Red/wiki/Channels it does not say that its required to have the chatcontrol.channel.global permission on top of the two suggested ones chatcontrol.channel.join.global.write and chatcontrol.channel.autojoin.global.write for setting up a basic Global channel for to be auto joined.

So if this isn't expected behavior, then I found a bug where you require this extra permission to get new players auto joining a channel, or if it is expected behavior then chatcontrol.channel.global is missing from the initial channel setup Wiki, its missing from the /chc perms and its missing from the permissions page on the Wiki, this is why it took me a lot of time to get started today! Lots of time in the Discord chat channel to figure this out! Luckily one of your users knew this issue!

I did find one way to "solve" it without that permission, and that is to toggle Ignore_Autojoin_If_Left to false. For some reason, without chatcontrol.channel.global Chat Control Red thinks that I have "left" a channel, when I have never even joined the brand new server, never used the leave command!

So its kind of solved for me, but not for any other new users following the startup guide.

kangarko commented 2 years ago

Unfortunately I was not able to reproduce this bug, these are the perms I had: a

We do not require the chatcontrol.channel.global permission nor is it located anywhere in the code. Did you do a clean setup or attempted to migrate something from Pro?