/wm – 禁用/启用欢迎音乐。
/musicto <Player> <MusicURL> <MusicDuration> – 为目标播放器播放音乐(需要 welcomemusic.toplayer 权限)。
/musicall <MusicURL> <MusicDuration> – 为所有播放器播放音乐(需要 welcomemusic.toplayer 权限)。
/testwm – 测试欢迎音乐(不需要重新加入服务器 | 只需要管理员)。
配置
配置
{
"Permission Name": "welcomemusic.use",
"Need Permission": true,
"Welcome Music List": [
{
"Need Permission (Empty = none)": "",
"Music URL": "https://github.com/blgarust/music/raw/main/WelcomeToOurServer.mp3",
"Music Duration (sec)": 5.0,
"Welcome Message (Empty = No Message)": "Welcome To Our Server, Now playing music for you~ (You can use command /wm to disable)"
},
{
"Need Permission (Empty = none)": "welcomemusic.vip",
"Music URL": "https://github.com/blgarust/music/raw/main/NeverGonnaGiveYouUp.mp3",
"Music Duration (sec)": 30.0,
"Welcome Message (Empty = No Message)": "Never Gonna Give You Up ~"
}
],
"Only first-time join the server": false,
"(First-time) Music URL (Empty = none)": "",
"(First-time) Music Duration (sec)": 15.0,
"Music Delay (sec)": 5.0,
"Players can disable the WelcomeMusic (/wm)": false
}