Repository navigation
Midnight Channels
Midnight Channels is a tool designed for Minecraft servers that provides enhanced control over in-game communication.
As part of the Midnight library, its purpose is to make managing your server's chat functions easier and more efficient. The main goal of Midnight Channels is to offer a centralized API for all chat-related actions. This allows everything from the creation of chat channels to message filtering and chat logging to be handled in one place, providing a consistent and manageable system for server administrators.
A key feature of Midnight Channels is that it allows plugins to set up custom communication channels.
This functionality provides flexibility in structuring your server's chat:
- Global Channels: For regular server-wide chat.
- Private Channels: For private one-on-one communication.
- Group Channels: For group-specific discussions, suitable for teams or any groups needing a separate chat.
- Staff Channels: For staff-only communications, accessible only by those with required permissions.
Midnight Channels also offers customization options for each channel. You can adjust settings to suit your server's needs:
- Filters: Choose which filters are applied to each channel, allowing different levels of moderation.
- Message Format: Define the format of each channel. You can customize how chat appears in different channels.
- Message Logging: Toggle on or off message logs for each channel.
Midnight Channels offers a comprehensive range of storage features, providing you with flexible options to meet your server's needs.
Midnight Channels provides support for multiple database systems, including PostgreSQL, MySQL, and SQLite. This flexibility allows you to choose the database system that best fits your needs. With the support for SQLite, you can get started right away, without the need for setting up a separate database.
Midnight Channels keeps a detailed record of player data. This includes the player's join date, last login time, nickname, mute status (including mute duration), ignored players, and the last player they messaged. This helps to keep track of each player's activity, providing valuable insights and aiding in moderating player behavior.
If you choose to enable logging for a channel, every message sent in that channel will be recorded. This includes the channel where the message was sent, who sent the message, and the exact time it was sent. This provides a clear context for each message and makes it easier to understand the flow of conversations when reviewing logs.
All these storage operations are carried out asynchronously, ensuring the chat logging process does not impact the performance of your server. This means your Minecraft gameplay remains smooth, while Midnight Channels works quietly in the background.