View difference between Paste ID: Fxm7zN0E and T2Z8GSMa
SHOW: | | - or go back to the newest paste.
1
command /sponsor:
2
	permission: sponsor.use
3
	trigger:
4
		loop blocks in radius 1 around player:
5
			loop-block is air
6
			set loop-block to chest
7
			send "&5Tu a recus ton sponsor"
8
#Liste des ITEMS ===============>
9
			chance of 10%
10
			add 2 diamond to {random.item.list::*}
11
			add 1 diamond sword to {random.item.list::*}
12
			add 10 wood to {random.item.list::*}
13
			add 1 diamond chestplate to {random.item.list::*}
14
			chance of 30%
15
			add 1 diamond to {random.item.list::*}
16
			add 1 iron sword to {random.item.list::*}
17
			add 1 iron chestplate to {random.item.list::*}
18
			add 10 arrow to {random.item.list::*}
19
			add 1 bow to {random.item.list::*}
20
			chance of 60%
21
			add 16 stone to {random.item.list::*}
22
			add 4 stick to {random.item.list::*}
23
			add 1 stone sword to {random.item.list::*}
24
			chance of 90%
25
			add 8 steak to {random.item.list::*}
26
			add 5 apple to {random.item.list::*}
27
			add 1 wooden sword to {random.item.list::*}
28
			set {randomitem} to random element out of {random.item.list::*}
29-
			add a random item out of {randomitem} to the targeted chest inventory
29+
			add a random item out of {randomitem} to the targeted block's inventory