-
Notifications
You must be signed in to change notification settings - Fork 1
/
mniuzo.sc
51 lines (46 loc) · 1.19 KB
/
mniuzo.sc
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
global_scripts = [
'betteritemframes',
'debugstick',
'floatingladders',
'endermannogrief',
'light',
'lookme',
'pillagerleash',
'placeableplants',
'prunedplants',
'silkyblockstates',
'skull',
'sitanywhere',
'specialnametags',
'swapitem',
'treecapitator',
'villagerleash',
];
global_scriptpack = map(global_scripts, {'source' -> 'https://raw.githubusercontent.com/BisUmTo/scarpet/master/'+_+'.sc'});
__config() -> {
'requires' -> {
'carpet' -> '>=1.4.33',
'minecraft' -> '>=1.17'
},
'command_permission' -> 'ops',
'libraries' -> global_scriptpack,
'commands' -> {
'uninstall' -> 'uninstall'
}
};
global_app_name = system_info('app_name');
print(format('l Script Pack "'+global_app_name+'" loaded'));
uninstall() -> (
for(global_scripts,
run('script remove '+_);
);
run('script remove '+global_app_name);
run('script unload '+global_app_name);
print(format('r Script Pack "'+global_app_name+'" uninstalled'))
);
//__on_close() -> (
// for(global_scripts,
// run('script unload '+_);
// );
// print(format('r Script Pack "'+global_app_name+'" unloaded'))
//)