This repository was archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadvancements.sk
122 lines (114 loc) · 5.03 KB
/
advancements.sk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
command /testname [<text>]:
permission: admin
trigger:
set {_name} to arg-1
set player's display name to "&e%{_name}% &a%player%"
send "changed ur name" to player
command /resettestname:
permission: admin
trigger:
reset display name of player
send "reset" to player
#command /suicide:
# trigger:
# send "&c5秒後に死ぬヨ" to player
# wait 5 seconds
# kill player
# send "&cシンダヨ" to player
command /testadvancements:
trigger:
create an advancement tab named "my_tab":
create an advancement named "my_root":
set background of advancement to oak log
set title of advancement to "&bMCSV-TEST"
# description list (since 1.5.0)
set description of advancement to "&6製作ちゅー", "やってみてね!"
set frame of advancement to goal
set toast of advancement to true
set announcement of advancement to true
set root of advancement to true
build advancement
create an advancement named "my_advancement":
set parent of advancement to "my_tab/my_root"
set row of advancement to 1
set column of advancement to 1
set title of advancement to "&aおまえをpanしてやるっ!"
set description of advancement to "&d/panコマンドを使用する。"
set max progression of advancement to 1
set icon of advancement to stick of mending
build advancement
create an advancement named "my_advancement1":
set parent of advancement to "my_tab/my_advancement"
set row of advancement to 1
set column of advancement to 2
# set frame of advancement to challenge
set title of advancement to "&a一生panしてやるっ!"
set description of advancement to "&d/panコマンドを100回使用する。"
set max progression of advancement to 100
set icon of advancement to wooden sword of mending
build advancement
create an advancement named "my_advancement2":
set max progression of advancement to 3
set parent of advancement to "my_tab/my_root"
set row of advancement to 2
set column of advancement to 1
set title of advancement to "&a芸術家への一歩"
set description of advancement to "&d/artコマンドを使用する。"
set max progression of advancement to 1
set icon of advancement to dirt of mending
build advancement
create an advancement named "my_advancement3":
set max progression of advancement to 3
# multi-parent advancement (since 1.5.0)
# multi-parent advancements cannot have a parent that is a root advancement
# set parent of advancement to "my_tab/my_advancement2"
set parent of advancement to "my_tab/my_root"
# set parent of advancement to "my_tab/my_advancement" and "my_tab/my_advancement2"
set row of advancement to 3
set column of advancement to 1
set title of advancement to "&bばいばい所持金"
set description of advancement to "&d所持金が1000円以下になる"
set max progression of advancement to 1
set icon of advancement to golden ingot of mending
build advancement
create an advancement named "my_advancement4":
set max progression of advancement to 3
# multi-parent advancement (since 1.5.0)
# multi-parent advancements cannot have a parent that is a root advancement
set parent of advancement to "my_tab/my_root"
# set parent of advancement to "my_tab/my_advancement" and "my_tab/my_advancement2"
set row of advancement to 4
set column of advancement to 1
set title of advancement to "&b4つめの実績"
set description of advancement to "&dまだ何もないよ"
set max progression of advancement to 1
set icon of advancement to diamond of mending
build advancement
build tab
command /toastsk:
trigger:
display toast using diamond, "toast" and challenge to player
#on join:
# add the custom advancement "my_tab/my_root" to custom advancements of player
on command "/pan":
add 1 to progress of the custom advancement "my_tab/my_advancement" for player
add 1 to progress of the custom advancement "my_tab/my_advancement1" for player
on command "/art":
add 1 to progress of the custom advancement "my_tab/my_advancement2" for player
every tick:
loop all players:
if loop-player's money is lower than 1001:
add 1 to progress of the custom advancement "my_tab/my_advancement3" for loop-player
# create an advancement tab named "mcsv-test":
# build tab
# create advancement named "test":
# set root of advancement to true
# set background of advancement to obsidian
# build advancement
#command /removeadvancements:
# trigger:
# add the custom advancement "my_tab/my_root" to custom advancements of player
# remove the custom advancement "my_tab/my_root" from custom advancements of player
# remove the custom advancement "my_tab/my_advancement" from custom advancements of player
# remove the custom advancement "my_tab/my_advancement2" from custom advancements of player
# remove the custom advancement "my_tab/my_advancement3" from custom advancements of player