Post by Subelectronite on Sept 8, 2020 17:31:07 GMT
What area of New Blood are you suggesting this for?
Discord
What is your suggestion and how will it work?
.who should be altered to display an embed of online players.
This is the current implementation in our IRC:
This is the embed in the NA2 IRC:
I personally find the appearance of the embed to be a lot neater than the current implementation. The embed additionally doesn't show up in server chat (I think).
(I also think that the IRC bot image could be changed to something better but that's minor.)
What are the advantages of your suggestion?
The embed is a more visually appealing and organised display of online players. Currently the ZS and MB lists are muddled together, making it difficult to see who is in which server.
The embed doesn't show up in server chat, so server chat isn't clogged up whenever someone types .who.
What are the disadvantages of your suggestion?
Coding work, as expected.
The embed occupies more space in Discord, but I believe that this is compensated for by the more user-friendly appearance.
While this isn't impossible to do, it's would be extremely difficult. The reason why NA2 can have an embed for .who is that they don't use IRC at all. 123DMWM coded a plugin that directly connects the classicube server to the discord server. So why don't we just do that, you might ask. What makes it extremely difficult is that we have two servers connected into one IRC channel. IRC is the only way to communicate between map build and zombie survival, so if there was no IRC used on new blood, you wouldn't be able to see the messages from the other server. Of course there are ways to work around every issue, but it would most likely not be as convenient as the current IRC implementation. It could be possible, but it would take a lot of effort and re-designing the whole message system.
Another way it could be done is modifying .who to send a special string the IRC bot can decode. This has the advantage of not having to modify the current IRC system that much. Only downside is that it'd still be hard to program due to technical limitations with the IRC protocol (splitting string into multiple messages due to character limit)
It's a lot of work, especially for just a bit fancier embed. I really like the idea but I doubt it'll happen any time soon.
Probably gonna hold off on this, at least for now. Embedding .who would take some time and I'm not sure its worth it tbh.
I have built an experimental bot which connects ZS to Discord directly but it hasn't been made live yet. Though it doesn't currently embed the player list, it would probably be easier to modify it to do so that then current bot if we decide to do it
If anything I'd suggest simplifying the current format, for example, who really cares about the player ranks? All people really care about is who's online, and that's it, which could compress the current information into at least a smaller area
Just clearing up the Suggestions board, as you are aware MCGalaxy added a Discord Bot with a functional .who embedded message. This has been added as two separate bots for the Map Build and Zombie Survival servers.