NBT tags in JSON

If you have to edit the JSON manually, make sure you NEVER remove the "BYTE:" or "STRING:" or any other 'CAPITALS:' part of a tag. This allows the json to be converted in NBT automatically.

ALWAYS HIT THE "Parse from Json" BUTTON after editing, YOUR CHANGES WILL BE OVERWRITTEN if you don't.

My advice: Don't do this manually.

Config options

These is an explanation of a simple json database file. You can fully customise this file.

Pro tip: Use this for all your json needs. Also handy: A Java compatible colour picker.

How rewards are selected:

A reward is selected based on the amount donated. The name of the reward or the message in paypal DO NOTHING.
If a donation matches no reward, a default message shows. (See .cfg file)

Variables

If you actually read all the things up to this point, you will have seen (Vars usable).
This means you can use $name, $amount and $note to represent the donators name, the amount donated and the message left in PayPal.
The streamers username can be inserted with $streamer.

Random tag

You can make random numbers or have it select a random value from a list.
This tag replaces any value in a the NBT.

Random Item

This is not a normal random tag! Its a type.
All the tags in data will be applie to the itemstack after a random one is picked.
This way you can still add names to items and so on.

Full example:

{
"type": "randomItem",
"data": {
"tag": {
"display": {
"Name": "STRING:$name"
}
}
}
}

Boolean (true or false)

Format: $random
Works with: BYTE (which can be a boolean)

Example

"Flicker": "BYTE:$random",

Range (random value between x and y)

Format: $random(x,y)
Works with: BYTE, SHORT, INT, LONG, FLOAT, DOUBLE

Example

"Type": "BYTE:$random(0,5)",

Values (random value from a list of values)

Format: $random[value1, value2, value3, value4, ..., valueN]
Works with: BYTE, SHORT, INT, LONG, FLOAT, DOUBLE, STRING

Example

"id": "SHORT:$random[276, 277, 278, 279]",

Random RGB (makes a list of random colors)

Only useful with leather armour or fireworks. (As far as I know)
Format: $randomRGB(amountOfColors)
Works with: INT[]

Example

"Colors": "INT[]:$randomRGB(2)",

Random Entity

Only useful with the simple entity really, it gives you a random entity name.
Format: $randomEntity
Works with: STRING

Example

"name": "STRING:$randomEntity",

Random Sound

Only useful with the sounds, you can pick which collection of sounds it needs to pick from
Format: $randomSound(x) where x is all, music, sounds and streaming. You can also use $randomSound or $randomSound() to pick from all.
Works with: STRING

Example

"soundName": "STRING:$randomSound(music)",

Example for random fireworks

This example spawns random fireworks. The flight hight, type of firework, the colour and all the possible attributes are random. {
"type": "fireworks",
"data": {
"id": "SHORT:401",
"Damage": "SHORT:0",
"Count": "BYTE:1",
"tag": {
"Fireworks": {
"Flight": "BYTE:$random(0,1)",
"Explosions": [
{
"Type": "BYTE:$random(0,5)",
"Flicker": "BYTE:$random",
"Colors": "INT[]:$randomRGB(2)",
"Trail": "BYTE:$random"
}
]
}
}
}
}