MelodyMine Release 1.2.0
What's Changed
- SSL Support by @Vallerian in Pull Request #4
- Added SSL support to the Website and WebSocket Server. It's now possible to run your sites on (Apache or Nginx), but it's recommended to use these servers.
- Fixed some issues by @Vallerian in Pull Request #5
- ️ Resolved some of the issues related to SSL support.
- Released version 1.2.0 by @Vallerian in Pull Request #6
- This marks the release of version 1.2.0.
Full Changelog:
Compare 1.1.0...1.2.0
Plugin Updates
- Added config.yml forceMessage
- ➕ Introduced the ability to include a custom message for forceVoice in the configuration, allowing for personalized messages.
- Added force voice title and subtitle
- ➕ Now, you can configure the title and subtitle for forceVoice in the configuration. Customize title, subtitle, or use default values, and modify messages in the config.yml.
- Added command /melodymine control
- ➕ Implemented the /melodymine control command, enabling control of mute and deafen features directly from your Minecraft server via the website.
- Added shortcut (Shift + F) for toggle mute in the website
- ➕ Added the option to use a shortcut (Shift + F) for toggling mute on your server directly from the website.
New Placeholders
- %melodymine_self_mute%
- This placeholder indicates whether a player has self-muted or not, and you can customize the message in the config.yml.
- %melodymine_deafen%
- This placeholder indicates whether a player has self-deafened or not, and you can customize the message in the config.yml.
- %melodymine_control%
- ️ This placeholder reveals the current control state of the player, whether they are muted, unmuted, deafened, or undeafened.
New Permission
- melodymine.control
- This permission is required for accessing the /melodymine control command and using shortcuts.
melodymine.control:
description: player can change mute / deafen in website
default: true
New API
- PlayerChangeControlWebEvent
- This event is triggered when a player mutes or deafens themselves on the website.
- PrePlayerSetSelfMuteEvent
- This event occurs before a player mutes or unmutes themselves in the Minecraft server, and it can be canceled.
- PostPlayerSetSelfMuteEvent
- This event occurs after a player mutes or unmutes themselves in the Minecraft server.
- PrePlayerSetDeafenEvent
- This event occurs before a player deafens or undeafens themselves in the Minecraft server, and it can be canceled.
- PostPlayerSetDeafenEvent
- This event occurs after a player deafens or undeafens themselves in the Minecraft server.
New MelodyManager Methods
- setPlayerSelfMute
- Used for muting a player on the website.
- setPlayerDeafen
- Used for deafening a player on the website.
New config.yml Values
- mute-toggle-shortcut
- A Boolean option that allows you to enable or disable the shortcut mute feature for players.
mute-toggle-shortcut: true
- placeholder-self-mute
- ➕ The message displayed in the self-mute placeholder.
placeholder-self-mute: "Mute"
- placeholder-self-unmute
- ➕ The message displayed in the self-unmute placeholder.
placeholder-self-unmute: "unMute"
- placeholder-self-deafen
- ➕ The message displayed in the deafen placeholder.
placeholder-self-deafen: "Deafen"
- placeholder-self-undeafen
- ➕ The message displayed in the undeafen placeholder
placeholder-self-undeafen: "UnDeafen"
- force-voice-title
- A Boolean option that allows you to customize the title and subtitle when force voice is enabled.
force-voice-title: true
- force-voice-title-message
- ➕ The title message for force voice.
- force-voice-subtitle-message
- ➕ The subtitle message for force voice.
Website Updates
- Added self-mute and deafen icons
- ➕ Icons for mute and deafen have been added to the website, making it clear when a player has self-muted or self-deafened.
- Fixed some bugs in WebSocket events
- Fixed several bugs related to WebSocket events, especially those related to the "Support Authme with the Username" update.