Описание
# Plasmo Voice Messages
Plasmo Voice Messages adds voice messages to the Minecraft chat with Plasmo Voice integration.
Requires both the **client mod** and the **server plugin**.
## Installation
### Client
1. Install Fabric Loader
2. Install Fabric API
3. Install Plasmo Voice
4. Install Voice Messages mod
### Server
1. Install Voice Messages plugin in `plugins/` folder
2. Install Plasmo Voice server plugin
3. Restart server
## Configuration
**config.yml**
```yaml
# Local message radius (blocks)
local-radius: 100
# Max message duration (seconds)
max-duration: 60.0
# Cooldown between messages (milliseconds)
cooldown: 3000
# Max messages per minute (spam protection)
max-messages-per-minute: 10
```
## Permissions
**Sending:**
- `voicemessages.send.global` — Send global messages (default: everyone)
- `voicemessages.send.local` — Send local messages (default: everyone)
- `voicemessages.send.private` — Send private messages (default: everyone)
**Receiving:**
- `voicemessages.receive` — Receive and listen messages (default: everyone)
**Bypass:**
- `voicemessages.bypass.cooldown` — No cooldown (default: op)
- `voicemessages.bypass.duration` — No duration limit (default: op)
**Custom duration limits:**
- `voicemessages.duration.10` — Max 10 seconds
- `voicemessages.duration.30` — Max 30 seconds
- `voicemessages.duration.60` — Max 60 seconds (default: everyone)
- `voicemessages.duration.120` — Max 120 seconds
- `voicemessages.duration.300` — Max 300 seconds
---
## ✨ Features
### **Core**
- Voice messages directly in the chat
- Uses Plasmo Voice for audio recording
- Works with a client mod + server plugin
---
## 🔊 Message Types
- **Global** — heard by all players
- **Local** — heard by players within a configurable radius
- **Private** — sent to a specific player
---
## 💬 Chat Interface
- Custom chat widget instead of plain text
- Waveform visualization
- Playback progress bar
- Color indicators for message types (green/yellow/pink)
- ✉ icon for private messages
---
## 🎙 Recording Widget
- Opens inside the chat
- Recording indicator with timer
- Preview before sending
- Message type selection
- Player search for private messages
---
## ⚙ Server Configuration
- Maximum duration limit (default: 60 seconds)
- Cooldown between messages
- Anti‑spam protection
- Local message radius
- Automatic cleanup of old messages
---
## 🔐 Permissions System
- Permissions for each message type
- Custom duration limits via permissions
- Cooldown bypass for VIP/admins
- Permission to receive messages
- Compatible with LuckPerms and other permission plugins
---
## 🛠 Technical
- Chunked audio transfer for large messages
- Hot‑reloadable configuration