서버에 개인 BGM을 구현하기 위해 개발했음.
cds:
cd_rock1:
name: Rock 1
sound: BLOCK_NOTE_BLOCK_BASS
cd_jazz1:
name: Jazz 1
sound: BLOCK_NOTE_BLOCK_FLUTE
cd_pop1:
name: Pop 1
sound: BLOCK_NOTE_BLOCK_BELL
test:
name: test
sound: minecraft:ambient.cave
abcd:
name: abcd
sound: 노래이름
duration: 30
다음과 같이 yml로 저장되고
players:
asdaddw2ae-317a-dsadb-dsajdbkadkd2:
registered_cds:
- cd_jazz1
- test
이런식으로 유저별 가지고 있는 음악이 저장된다.
댓글 0