Описание
# Bamboo Music in Minecraft
A full service song plugin.
This project is the third party fork of [AllMusic](https://github.com/Coloryr/AllMusic_Server).
一个全服点歌插件
原来叫做 `allmusic - local api`,但是这个名字太具有误导性了,我对此表示抱歉。
**本插件/模组与 AllMusic 冲突。**
本项目是 [AllMusic](https://github.com/Coloryr/AllMusic_Server) 的第三方分支。
**请注意**:本模组与 AllMusic 原模组无关!
**配置API**:[https://github.com/wifi-left/bamboo-music-web/](https://github.com/wifi-left/bamboo-music-web/)
NOTICE: This plugin also requires the client to install the [client mod](https://modrinth.com/mod/allmusic-modified-client/versions). (Also work with AllMusic client)
注:需要配合[客户端Mod](https://modrinth.com/mod/allmusic-modified-client/versions)使用(AllMusic客户端也可以)
**Download Client-side mod on Modrinth**: https://modrinth.com/mod/allmusic-modified-client
Supported Server (This Fork):
- Fabric
- Folia
- Forge (Please download the source code to compile)
- Spigot/Bucket/Paper
- Bungeecord/Waterfall/Velocity
## How to use
1. Install AllMusic Plugin on your server
2. Create the API using [This Project](https://github.com/wifi-left/bamboo-music-web/)
3. Set UrlRoot to `apis/local/local.php` (or your own's API) in `allmusic/config.json`
4. Install client-side mod on your clients
## API
Please refer to [https://github.com/wifi-left/bamboo-music-web/](https://github.com/wifi-left/bamboo-music-web/)
### Requests
API: `?value=${VALUE}&type=${TYPE}`
- ${VALUE} The content (Like search keywords or music id)
- ${TYPE}:
- For searching, it should be `search`
- For getting music url, it should be `url`
- For getting music information, it should be `info`
- For getting album infomation, it should be `album`
## PlaceHolder API variable
- %allmusic_now_music_name% Name of the song
- %allmusic_now_music_al% Album of songs
- %allmusic_now_music_alia% Original song
- %allmusic_now_music_author% The songwriter
- %allmusic_now_music_call% who requested songs
- %allmusic_now_music_info% All information about the song
- %allmusic_list_size% Queue size
- %allmusic_music_list% Queue songs
- %allmusic_lyric% Lyrics
- %allmusic_tlyric% Translated lyrics