TabChannels
Description
Inspired by the Sponge community. This is a new idea of using the chat. The chat is splitted into channels. You can switch the channels easily by just clicking on the channel name at the bottom of the chat window. You can still receive chat messages. If a new message was sent and you are in a different channel you get notification and could see the number of unread messages next to the channel name.
Moreover you don't need to invoke a special command in order to write in a channel. If you switch to channel, you can start writing your message. The message will be sent to your current viewing channel.
Features
- Private chats
- A global channel
- Chat history for newly joining players
- Easy to use. Just click at the bottom on the channel name
- Displays unread messages as a number next to the channel name
Commands
- /switch <channel> - Switches between channels
- /private <playername> - Starts a private chat
Permissions
- tabchannels.command.private - Starts a private chat
- tabchannels.command.switch - Switches between channels
Source code
You don't have to decompile the plugin. You can find there the source code with comments and building utilities.
TabChannels is open source and hosted on GitHub; feel free to fork, star, or contribute by making pull requests and opening issues.
@games647
Any news/update on how supporting HeroChat is coming along? :)
Great idea and plugin! Thank you for your work! :D
@games647
Yeah, so that answers my question then. :P I wasn't sure how it was going to work, if it just checked for available channels and showed them or if it only showed ones that players could be joined into.
I was curious if players were going to see the Staff Channel tab for example, but never see anything appear in that tab. xD
And as far as Beton, if for whatever reason there was an incompatibility (we'd see it for sure), I'll be sure to bring it up. Though I think it'll be fine completely. :)
@sakura_blades
I thought that players who don't have the permission for a channel cannot join this channel and so it wouldn't show up. Do you mean this?
I guess it will be compatible with it.
@games647
With the tabs, do you think it's possible that the Tabs would only show if you had the permissions for that channel to begin with?
Or would it require another permission through TabChannels to prevent those from showing up? :P
EDIT: Also, do you think this would in anyway conflict with another plugin that interacts with click-able chat systems? We also use a plugin called BetonQuest, which allows players to click on a chat option while in a conversation with an NPC. These of course display in order as if they had been typed to the player and don't stick to the bottom of chat. (Which I assume is what TabChannels always does. :P)
@games647
:D I nearly jumped out of my chair for joy upon reading your message.
For some time now we've talked about how nice it would be to be able to "tab" our chat channels and you're going to make that possible for us! THANK YOU <3
@sakura_blades
I'm here to notify you that I'm nearly finished. Plugin message compatibility is added and now I only have to add support for HeroChat and that can be added fast.
@games647
That'd be great <3
I look forward to hearing more. :)
@sakura_blades
First I want to add the plugin message compatibility and then I'll do this.
@games647
I hope you add specific support for Herochat especially. :P Since I kind of have to use it now. xD
I think tabs would make chat life a whole lot easier for everyone, including myself. XD And this is so awesome. o.o
@HubToo
The alternatives I see are changing by command or by map or sign
@sakura_blades
As far as I know the plugin should be already compatible with EssentialsChat, because there no channels and this plugin tries to respect the chat format from other plugins. But you're right that would be a good idea.
@games647
Maybe add support for a few widely used chat plugins?
I specifically use HeroChat myself, and I've seen several other servers that have used it too. I think Towny Chat is still in use sometimes and Essentials Chat sometimes?
@games647
Ah, that's a pity, because your idea of clickable tabs is really cool!
Yet, It would still be interesting to keep the concept of message queues not mixing up in the chat. Players would just have to select the active channel otherwise. For example, by starting a chat line with just a channel name followed by a colon. I would also keep the line with the different channel names and messages queued.
Some ideas for an AltTabChannels fork for MC 1.7.10 servers :-)
@HubToo
OK then I was wrong.
The problem is that clickable chat is only possible since Mojang introduced the json text in 1.8. You would have to create a mod too.
Sent from mobile
@games647
Spigot is included in (K)Cauldron and you can modify its config in the provided spigot.yml file.
For the ideas:
Before stumbling on your work, I was thinking about developing my own multi channels chat plugin. Now, when I find the time, I think I will try adapting your code to MC 1.7.10 to use this with my LOTR mod server.
@sakura_blades
Indeed that would be great, but there is no way to hook into all plugins that exist. Maybe I find a way to work around it.
Oh if only this was more of an additional "Addon" for existing chat plugins. XD
I love the idea of clickable chat tabs for chat, but I cannot change the chat plugin I use as it is a Dependency for a plugin I use. o.O
Does this have to be the main chat plugin, or is it possible to use with other chat plugins to provide click-able tabs for those plugins channels?
@HubToo
As far as I know Cauldron just includes Forge and Craftbukkit. I took a quick look into the source code and I haven't seen any spigot components.
But as you already guessed it's a 1.8+ feature. Nevertheless I'm open for your ideas.
@games647
Hello! Actually, KCauldron is a bundle of Spigot, Minecraft Forge and CraftBukkit, in order to use both mods and plugins on a server, with high performances.
Perhaps the event there's a problem with is specific to 1.8.x Spigot?
Anyway, thanks for your time!
If you are interested, I have some ideas for the plugin development?
@HubToo
Ah you use MinecraftForge. Sorry currently Spigot is only supported server software. I'll try to look into it.