Skip to content

Instantly share code, notes, and snippets.

@David4i
Last active January 25, 2024 01:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save David4i/bb4a8eb51b0e8254049178266503944e to your computer and use it in GitHub Desktop.
Save David4i/bb4a8eb51b0e8254049178266503944e to your computer and use it in GitHub Desktop.
NPCBands config file
{
"General Settings": {
"Chat command": "npcbands",
"Force immediate stop? (recommended if you want NPC's to stop playing quickly)": false,
"Disable chat messages?": false,
"Notifications plugin (empty = disabled)": "toastify",
"Sync the notifications ID of the plugin you are using with the keywords below": {
"Info": "success",
"Error": "error"
}
},
"UI Settings": {
"Button settings": {
"Anchor": "1 0.5 1 0.5",
"Offset": "-44 64 -12 96",
"Background color": ".54 .75 .54 1",
"Icon URL": "https://i.ibb.co/XCrRXs4/image.png",
"Icon color": "1 1 1 1",
"Icon size": 16.0
},
"Control box settings": {
"Anchor": "1 0.5 1 0.5",
"Offset": "-240 32 -44 96",
"Offset without controls": "-240 64 -44 96",
"Background color": ".44 .65 .44 1",
"Header color": ".54 .75 .54 1",
"Header height": 32.0,
"Play icon": {
"Anchor": "0.5 0 0.5 0",
"Offset": "-8 8 8 24",
"Background color": "0 0 0 0",
"URL": "https://i.ibb.co/gP7MHp5/image.png",
"Color": "1 1 1 1",
"Size": 16.0
},
"Stop icon": {
"Anchor": "0.5 0 0.5 0",
"Offset": "-8 8 8 24",
"Background color": "0 0 0 0",
"URL": "https://i.ibb.co/4tGLkPv/image.png",
"Color": "1 1 1 1",
"Size": 16.0
},
"Previous icon": {
"Anchor": "0.5 0 0.5 0",
"Offset": "-34 8 -18 24",
"Background color": "0 0 0 0",
"URL": "https://i.ibb.co/Qkk8xyW/image.png",
"Color": "1 1 1 1",
"Size": 16.0
},
"Next icon": {
"Anchor": "0.5 0 0.5 0",
"Offset": "18 8 34 24",
"Background color": "0 0 0 0",
"URL": "https://i.ibb.co/SRJ2ZXm/image.png",
"Color": "1 1 1 1",
"Size": 16.0
}
}
},
"Bands": {
"example1": {
"Band name": "Example Band 1",
"Type (0 = automatic | 1 = proximity)": 0,
"Interval between tracks": 10.0,
"Radius": 10.0,
"Stop playing when no one is nearby": true,
"Singers": [
{
"NPC name": "Rabbit",
"Attire": [
{
"Short name": "hat.rabbitmask",
"Skin ID": 0
}
],
"Spawn position": {
"x": -2.0,
"y": 0.0,
"z": 0.0
},
"Instrument name": "Piano",
"Notes filter": []
},
{
"NPC name": "Dragon",
"Attire": [
{
"Short name": "hat.dragonmask",
"Skin ID": 0
}
],
"Spawn position": {
"x": 0.0,
"y": 0.0,
"z": 1.0
},
"Instrument name": "Guitar",
"Notes filter": []
},
{
"NPC name": "Tiger",
"Attire": [
{
"Short name": "hat.tigermask",
"Skin ID": 0
}
],
"Spawn position": {
"x": 2.0,
"y": 0.0,
"z": 0.0
},
"Instrument name": "Xylophone",
"Notes filter": []
}
],
"Tracks": [
"happy_birthday_to_you"
]
},
"example2": {
"Band name": "Example Band 2",
"Type (0 = automatic | 1 = proximity)": 1,
"Interval between tracks": 10.0,
"Radius": 10.0,
"Stop playing when no one is nearby": true,
"Singers": [
{
"NPC name": "John",
"Attire": [],
"Spawn position": {
"x": -1.0,
"y": 0.0,
"z": 0.0
},
"Instrument name": "Piano",
"Notes filter": []
},
{
"NPC name": "Din",
"Attire": [],
"Spawn position": {
"x": 1.0,
"y": 0.0,
"z": 0.0
},
"Instrument name": "Trumpet",
"Notes filter": []
}
],
"Tracks": [
"happy_birthday_to_you"
]
}
},
"Debug mode": false,
"Version": {
"Major": 1,
"Minor": 1,
"Patch": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment