https://github.com/vsrstudio/areamusic
AreaMusic position
https://github.com/vsrstudio/areamusic
Last synced: about 1 year ago
JSON representation
AreaMusic position
- Host: GitHub
- URL: https://github.com/vsrstudio/areamusic
- Owner: VsrStudio
- License: mit
- Created: 2025-03-27T02:30:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-27T02:54:32.000Z (about 1 year ago)
- Last Synced: 2025-03-27T03:27:19.443Z (about 1 year ago)
- Language: PHP
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AreaMusic
**A PocketMine-MP Plugin**
## 📌 Description
**AreaMusic** is a **PocketMine-MP API 5** plugin that allows server owners to add background music to specific areas. The music will automatically play when a player enters the area and stop when they leave.
## 🚀 Features
✅ Automatically play music when a player enters a designated area.
✅ Stop the music when the player leaves the area.
✅ Supports multiple areas with different music.
✅ Easy configuration using in-game commands.
✅ No need to restart the server after adding a music area.
## 🎮 How to Use
Use the following commands to set up a music area:
| Command | Description |
|---------|------------|
| `/musicpos1` | Set **Pos1** of the music area. |
| `/musicpos2` | Set **Pos2** of the music area. |
| `/setmusicarea` | Save the music area from **Pos1** to **Pos2**. |
**Example Usage:**
1. Stand at one corner of the area and type:
`/musicpos1`
2. Stand at the opposite corner and type:
`/musicpos2`
3. Save the area with:
`/setmusicarea`
4. The music will start playing when a player enters the area.
## ⚙ Configuration (`music_areas.yml`)
This file stores the list of saved music areas.
```yaml
music_areas:
- pos1:
x: 100
y: 65
z: 200
pos2:
x: 120
y: 75
z: 220
```
# ❓ FAQ
- ❔ Will the music stop automatically when a player leaves the area?
- ✔ Yes, the music will stop automatically when the player exits the area.
- ❔ Can I set multiple music areas?
- ✔ Yes, you can define multiple areas with different music.
# 📜 License
This plugin is released under the MIT License.
# 💡 Credits
- 👨💻 Developer: VsrStudio
- 🌎 Website: vsrstudio.web.id
- 💌 Gmail: vsrstudio@xonefg.xyz
- 📂 GitHub Repository: VsrStudio/AreaMusic
Save this as `README.md` in your GitHub repository. Let me know if you need modifications!