This repository has been archived by the owner on Jan 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.sk
1706 lines (1603 loc) · 67.8 KB
/
script.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#Developer Server Code - CamCraft Core 1.0 by Cam - LOBBY SCRIPT
#permission message: {@denied}
options:
ADMIN: &c&lAdmin
OWNER: &6&lOwner
MODERATOR: &9&lMod
DEV: &b&lDev
HB: &a&lH&1&lB
BUILDER: &3&lBT
YT: &6&lYT
version: 1.0
report: ddddd
TA: &c&lTrialAdmin
TM: &9&lTrialMod
denied: &6&lCamCraft&7> &lInvalid Permission, contact an admin if this is wrong.
WONDERFUL: &d&LWONERFUL
OPERATOR: &d&lOperator
JRMOD: &9&lJrMod
SRMOD: &9&lSrMod
HBOPERATOR: &a&lH&1&lB &d&lOperator
command /cos:
trigger:
open chest with 1 rows named "&6&lCosmetics" to player
wait 1 tick
format slot 1 of player with head named "&6&lEmotes" with lore "&cWear cool emotes!" to close then run "/buy emotes"
on damage:
if victim is player:
cancel event
on join:
set {_p} to player
if {coins.%player%} is not set:
set {coins.%player%} to 1000
if {tabname.rank.player.%player%} is true:
set {_p} tab name to "&2&lPlayer &7%player%"
if {tabname.rank.owner.%player%} is true:
set {_p} tab name to "{@OWNER} &7%player%"
if {tabname.rank.admin.%player%} is true:
set {_p} tab name to "{@ADMIN} &7%player%"
if {tabname.rank.moderator.%player%} is true:
set {_p} tab name to "{@MODERATOR} &7%player%"
if {tabname.rank.dev.%player%} is true:
set {_p} tab name to "{@DEV} &7%player%"
if {tabname.rank.hb.%player%} is true:
set {_p} tab name to "{@HB} &7%player%"
if {tabname.rank.yt.%player%} is true:
set {_p} tab name to "{@YT} &7%player%"
if {tabname.rank.builder.%player%} is true:
set {_p} tab name to "{@BUILDER} &7%player%"
if {tabname.rank.ta.%player%} is true:
set {_p} tab name to "{@TA} &7%player%"
if {tabname.rank.tm.%player%} is true:
set {_p} tab name to "{@TM} &7%player%"
if {tabname.rank.operator.%player%} is true:
set {_p} tab name to "{@OPERATOR} &7%player%"
if {tabname.rank.hbop.%player%} is true:
set {_p} tab name to "{@HBOPERATOR} &7%player%"
if {tabname.rank.wondeful.%player%} is true:
set {_p} tab name to "{@WONDERFUL} &7%player%"
if {tabname.rank.jrmod.%player%} is true:
set {_p} tab name to "{@JRMOD} &7%player%"
if {tabname.rank.srmod.%player%} is true:
set {_p} tab name to "{@SRMOD} &7%player%"
else:
if {nicked.%player%} is true:
set {_p} to player
if {nicked.rank.%player%} is "&2&lPlayer":
set {_p} tab name to "&2&lPlayer &7%{nicked.name.%player%}%"
if {nicked.rank.%player%} is "{@OWNER} &f(Nicked Rank)":
set {_p} tab name to "{@OWNER} &7%{nicked.name.%player%}%"
if {nicked.rank.%player%} is "{@ADMIN} &f(Nicked Rank)":
set {_p} tab name to "{@ADMIN} &7%{nicked.name.%player%}%"
if {nicked.rank.%player%} is "{@TM} &f(Nicked Rank)":
set {_p} tab name to "{@TM} &7%{nicked.name.%player%}%"
if {nicked.rank.%player%} is "{@JRMOD} &f(Nicked Rank)":
set {_p} tab name to "{@JRMOD} &7%{nicked.name.%player%}%"
if {nicked.rank.%player%} is "{@SRMOD} &f(Nicked Rank)":
set {_p} tab name to "{@SRMOD} &7%{nicked.name.%player%}%"
if {nicked.rank.%player%} is "{@HB} &f(Nicked Rank)":
set {_p} tab name to "{@HB} &7%{nicked.name.%player%}%"
if {nicked.rank.%player%} is "{@DEV} &f(Nicked Rank)":
set {_p} tab name to "{@DEV} &7%{nicked.name.%player%}%"
if {nicked.rank.%player%} is "{@YT} &f(Nicked Rank)":
set {_p} tab name to "{@YT} &7%{nicked.name.%player%}%"
if {nicked.rank.%player%} is "{@MODERATOR} &f(Nicked Rank)":
set {_p} tab name to "{@MODERATOR} &7%{nicked.name.%player%}%"
command /buyt <text>:
trigger:
if arg 1 is "emotes":
open chest with 1 rows named "&6&lEmote Cosmetics" to player
wait 1 tick
format slot 1 of player with head named "&a&lSmile Emote" with lore "&cSmile Emote!" to close then run [make player execute command "/emote smile"]
format slot 2 of player with wood named "&a&lRage Emote" with lore "&cRage Emote!" to close then run [make player execute command "/emote rage"]
format slot 3 of player with dirt named "&a&lCool Emote" with lore "&cCool Emote!" to close then run [make player execute command "/emote cool"]
if arg 1 is "part":
open chest with 1 rows named "&c&lParticle Cosmetics" to player
wait 1 tick
format slot 1 of player with diamond named "&9&lNote Particle" with lore "&cSmile Emote!" to close then run [make player execute command "/part note"]
command /part <text>:
trigger:
if arg 1 is "nyancat":
if {boughtnyan.%player%} is not set:
if {coins.%player%} is above 450:
drawNyanCat center player, id "%player%", visibleRange 30
set {boughtnyan.%player%} to true
subtract 450 from {coins.%player%}
message "&6&lCamCraft&7> You have applied the &9Nyan Cat Particle"
else:
message "&6&lCamCraft&7> Not enough coins! Ask a admin for more! ;)"
if {boughtnyan.%player%} is true:
message "&6&lCamCraft&7> You have applied the &9Nyan Cat Particle"
drawNyanCat center player, id "%player%", visibleRange 30
if arg 1 is "earth":
if {boughtearth.%player%} is not set:
if {coins.%player%} is above 450:
drawPlanet particle1 "redstone", RGB 255, 204, 51, particle2 "redstone", RGB2 255, 255, 0, center location of player, id "%player%", rotation true, plane "xz", rotationSpeed 5, radius .50, density 200, precision 50, bumpHeight .25, visibleRange 30, tps 1, second 2
set {boughtearth.%player%} to true
subtract 450 from {coins.%player%}
message "&6&lCamCraft&7> You have applied the &9Earth Particle"
else:
message "&6&lCamCraft&7> Not enough coins! Ask a admin for more! ;)"
if {boughtearth.%player%} is true:
message "&6&lCamCraft&7> You have applied the &9Earth Particle"
drawPlanet particle1 "redstone", RGB 255, 204, 51, particle2 "redstone", RGB2 255, 255, 0, center location of player, id "%player%", rotation true, plane "xz", rotationSpeed 5, radius .50, density 200, precision 50, bumpHeight .25, visibleRange 30, tps 1, second 2
if arg 1 is "stop":
stop all particle effects
command /guide:
permission: cc.guide
trigger:
message "&bStep 1: &6When you inspect hackers, please use /staff and make sure you're in vanish. You may use the tools in your hotbar to inspect them."
message "&bStep 2: &6Next, when you see them hack, ban them."
message "&bStep 3: &6You're done. Congrats!"
on damage:
if damage was caused by fall:
cancel event
on right click holding chest:
if player is in world "world":
open chest with 6 rows named "&6Cosmetics" to player
wait 1 tick
format slot 11 of player with head named "&9&lParticles" with lore "&aClick here to access particles. Each one ||&ais &e450 CamCraft Coins." to be unstealable
if clicked item is a a head:
close player's inventory
make player execute command "/particles"
command /particles:
trigger:
if player is in world "world":
open chest with 6 rows named "&6Cosmetics" to player
format slot 11 of player with apple named "&9&lNyan Cat" with lore "&eCosts 450 CamCraft Coins ||You have %{coins.%player%}%" to close then run [make player execute command "/part nyancat"]
format slot 12 of player with emerald named "&9&lEarth" with lore "&eCosts 450 CamCraft Coins ||You have %{coins.%player%}%" to close then run [make player execute command "/part earth"]
command /emote <text>:
trigger:
if arg 1 is "smile":
if {boughtsmile.%player%} is not set:
if {coins.%player%} is above 450:
emote smile on player
set {boughtsmile.%player%} to true
subtract 450 from {coins.%player%}
message "&6&lCamCraft&7> You have applied the &eSmile Emote"
else:
message "&6&lCamCraft&7> Not enough coins! Ask a admin for more! ;)"
if {boughtsmile.%player%} is true:
message "&6&lCamCraft&7> You have applied the &eSmile Emote"
emote smile on player
if arg 1 is "rage":
if {boughtrage.%player%} is not set:
if {coins.%player%} is above 450:
emote rage on player
set {boughtrage.%player%} to true
subtract 450 from {coins.%player%}
message "&6&lCamCraft&7> You have applied the &eRage Emote"
else:
message "&6&lCamCraft&7> Not enough coins! Ask a admin for more! ;)"
if {boughtrage.%player%} is true:
message "&6&lCamCraft&7> You have applied the &eRage Emote"
emote rage on player
if arg 1 is "cool":
if {boughtcool.%player%} is not set:
if {coins.%player%} is above 450:
emote cool on player
set {boughtcool.%player%} to true
subtract 450 from {coins.%player%}
message "&6&lCamCraft&7> You have applied the &eCool Emote"
else:
message "&6&lCamCraft&7> Not enough coins! Ask a admin for more! ;)"
if {boughtcool.%player%} is true:
message "&6&lCamCraft&7> You have applied the &eCool Emote"
emote cool on player
on right click holding a nether star:
if player is in world "world":
wait 1 tick
make player execute command "/buyt emotes"
on right click holding redstone:
if player is in world "world":
wait 1 tick
make player execute command "/buyt part"
on shoot:
if projectile is an arrow:
if difference between {shoot.%shooter%} and now is less than 2 ticks:
add 1 to {fastbow.%shooter%}
if {fastbow.%shooter%} is greater than 5:
kick shooter due to "&c&lCamCraftAnticheat&7> &cYou have been kicked due to fastbow!"
set {shoot.%shooter%} to now
wait 5 seconds
clear {fastbow.%shooter%}
stop
set {shoot.%shooter%} to now
on join:
clear {fastbow.%player%}
command /coins <text> [<text>] [<offline player>]:
permission: cc.coins
trigger:
if arg 1 is "reset":
if player has permission "coins.admin":
set {coins.%arg 3%} to 1000
send "&6&lCamCraft &e&lCoins&7> &eYour coins has been &creset &eto &61000&e." to arg 3
else:
message "You don't have permission to use this command."
if arg 1 is "add":
message "Use /coinsadd to add coins to a user."
if arg 1 is "bal" or "balance":
message "&b&l======================"
message "&9&l=========%{coins.%player%}%========="
if arg 1 is "see" or "check":
if player has permission "coins.admin":
message "&b&l======================"
message "&9&l=========%{coins.%arg 2%}%========="
else:
message "You don't have permission to use this command."
command /bal:
trigger:
make player execute command "/coins bal"
command /balance:
trigger:
make player execute command "/coins bal"
command /fuck:
trigger:
message "Your mother wouldn't be happy!"
command /resetcount:
trigger:
set {players.online} to 1
command /giveadmin:
trigger:
message "Nice try, lol."
command /cadd <offline player> <integer>:
permission: coins.admin
usage: /coins
trigger:
add argument 2 to {coins.%arg 1%}
send "&6&lCamCraft &e&lCoins&7> &e%player% has added &6%arg 2% coins to your account." to arg 1
command /corever:
trigger:
message "&6&lVersion"
message "&7Running CamCraft &aPUBLIC &7version &a1.0 &7by Cam"
command /setwarp <text>:
permission: cc.setwarp
description: Create an Location
trigger:
set {essentials.%argument 1%.warp} to location of player
message "&e&lWarp set"
command /warp <text>:
permission: cc.warp
description: Warp to an Warppoint
trigger:
teleport player to {essentials.%argument 1%.warp}
message "&e&lWarped you to %argument 1%"
command /social:
trigger:
message "&6&lSocial Media"
message "&9&lTwitter: &7@Camnation407"
message "&c&lYoutube: &7camnooten110"
command /rc <text>:
trigger:
set {players.online} to arg-1
command /staffgui:
permission: cc.staffmode
trigger:
open chest with 1 rows named "&c&lStaff Tools" to player
wait 1 tick
format slot 0 of player with stone sword named "&c&lVanish" with lore "&fWhen you enable this players will not be able||&fto see you in any shape or form." to close then run [make player execute command "/vanish"]
if player has permission "rank.owner" or "rank.dev":
format slot 1 of player with stone sword named "&6&lReload Skript Skripts" with lore "&fWhen you click this this will reload the||&ffollowing skripts:||&fScript.sk||&fCCEvents.sk||&fKPVP.sk" to close then run [make player execute command "/sk reload all"]
command /vanish:
permission: cc.vanish
trigger:
if {vanish.%player%} is true:
set {vanish.%player%} to false
message "&6&lCamCraft&7> All players can now see you."
reveal the player from all players
stop
if {vanish.%player%} is false:
set {vanish.%player%} to true
message "&6&lCamCraft&7> &cVanish is now enabled and players cannot see you."
hide the player from all players
stop
else:
if {vanish.%player%} is not set:
set {vanish.%player%} to true
message "&6&lCamCraft&7> &cVanish is now enabled and players cannot see you."
hide the player from all players
stop
on right click on sign:
if line 1 of target blocks is "CTPLOT":
make player execute command "/plot auto"
if line 1 of target blocks is "CREATE_PLOT":
make player execute command "/plot tp"
#Broadcast
on script load:
broadcast "&6&lCamCraft Core &9{@version} &eloaded. &fCheck console for any errors."
#JOIN
on join:
if {nicked.%player%} is false:
teleport player to {spawn}
send player title "&6&lCamCraft" with subtitle "&bWelcome back, %player%!" for 3.5 seconds
wait 3 seconds
send player title "&6&lCamCraft" with subtitle "&9Have a good time! ;)"
set tab header to "&6&lCamCraft Server Network" and footer to "&f&lCheck out cool stuff at http://camcraftchillin.enjin.com/" for player
set slot 4 of player's inventory to chest named "&6Cosmetics"
message "&6✭&f━━━━━━━━━━━━━━━━━━━━&6✭"
message "&r "
message "&6&l Welcome back,"
message "&6&l %player%"
message "&r "
message "&6✭&f━━━━━━━━━━━━━━━━━━━━&6✭"
else:
teleport player to {spawn}
send player title "&6&lCamCraft" with subtitle "&bWelcome back, %{nicked.name.%player%}%!" for 3.5 seconds
wait 3 seconds
send player title "&6&lCamCraft" with subtitle "&9Have a good time! ;)"
set tab header to "&6&lCamCraft Server Network" and footer to "&f&lCheck out cool stuff at http://camcraftchillin.enjin.com/" for player
set slot 4 of player's inventory to chest named "&6Cosmetics"
message "&6✭&f━━━━━━━━━━━━━━━━━━━━&6✭"
message "&r "
message "&6&l Welcome back,"
message "&6&l %{nicked.name.%player%}%"
message "&r "
message "&6✭&f━━━━━━━━━━━━━━━━━━━━&6✭"
on first join:
make console execute command "/spawn %player%"
broadcast "&6&lCamCraft&7>%player% joined."
send player title "&6&lCamCraft" with subtitle "&bWelcome, %player%!" for 3.5 seconds
wait 3 seconds
send player title "&6&lCamCraft" with subtitle "&9Have a good time! ;)"
set tab header to "&6&lCamCraft Server Network" and footer to "&f&lCheck out cool stuff at http://camcraftchillin.enjin.com/" for player
set slot 4 of player's inventory to chest named "&6Cosmetics"
on quit:
if {nicked.%player%} is false:
set quit message to "&6&lCamCraft&7> %player% left."
else:
set quit message to "&6&lCamCraft&7> %{nicked.name.%player%}% left."
else:
if {nicked.%player%} is not set:
set quit message to "&6&lCamCraft&7> %player% left."
on join:
if {nicked.%player%} is true:
set join message to "&6&lCamCraft&7> %{nicked.name.%player%}% joined."
set {_p} to player
set {_p} tab name to "&2&lPlayer &7%{nicked.name.%player%}%"
loop all players:
if loop-player has permission "cc.p.alert":
send "&c[CC] &6%player% &ajoined with the nickname %{nicked.name.%player%}%" to loop-player
else:
set join message to "&6&lCamCraft&7> %player% joined."
command /hello:
trigger:
message "&6Hey! &bWhat's up? Here, take a cookie."
give player a cookie named "&6Your own cookie"
command /read:
trigger:
message "Who do you think you are? You're playing Minecraft, you idiot. Here, take this L."
give player a paper named "&cL" with lore "This is for you, take it."
command /setspawn:
permission: cc.setspawn
permission message: {@denied}
trigger:
set {spawn} to location of player
message "&6&lCamCraft&7> Spawn set for everyone, to go back type /spawn"
command /spawn [<player>]:
trigger:
if {spawn} isn't set:
message "&4Error:&c spawn is not set!"
stop
else:
if arg-1 is not set:
teleport player to {spawn}
message "&3Welcome to spawn."
else:
if sender has permission "cc.spawn.others":
if argument is online:
teleport argument to {spawn}
if sender is a player:
message "&3You have been teleported to spawn by &a%player%&3." to argument 1
if sender is not a player:
message "&3You have been teleported to spawn by &aConsole&3." to argument 1
teleport player to {spawn}
command /delspawn:
permission: cc.delspawn
permission message: {@denied}
trigger:
delete {spawn}
message "&6&lCamCraft&7> Spawn deleted for everyone, type /setspawn to set it back."
#Chat
on chat:
cancel event
if {muted.%player%} is true:
cancel event
message "&cYou're muted. &aDetails&f:"
message "&cTime of Mute: &a%{muted.time.%player%}%"
message "&cReason: &a%{muted.reason.%player%}%"
loop all players:
if loop-player has permission "cc.p.alert":
send "&c[CC] &6%player% &ctried to chat, but failed! &8(&b%message%&8)" to loop-player
else:
if {nicked.%player%} is true:
broadcast "%{nicked.rank.%player%}% &7%{nicked.name.%player%}%&f: %{chatcolor.%player%}% %message%"
else:
broadcast "%{rank.%player%}% &7%player%&f: %{chatcolor.%player%}% %message%"
else:
if {antiswear} is true:
if message contains "bitch", "fuck", "nig", "niga", "asshole", "dumbass", or "cunt":
cancel event
message "&cYou may not swear!"
command /antiswear:
permission: cc.antiswear
trigger:
if {antiswear} is true:
set {antiswear} to false
broadcast "&9AntiSwear Filter &8>> Disabled"
stop
if {antiswear} is false:
set {antiswear} to true
broadcast "&9AntiSwear Filter &8>> Enabled"
stop
else:
if {antiswear} is not set:
set {antiswear} to true
broadcast "&9AntiSwear Filter &8>> Disabled"
on join:
if {chatcolor.%player%} is not set:
execute console command "/firstchatcolor %player%"
command /firstchatcolor <player>:
permission: cc.chatcolor
trigger:
set {chatcolor.%arg 1%} to "&d"
command /chatcolor [<text>]:
permission: cc.chatcolor
trigger:
if arg 1 is not set:
message "&d&lChatColor Options:"
message "&6Colors &8- &6Orange&8, &dPink&8, &aGreen, &eYellow&8, &7Gray&8, &4Red&8, &cLightRed&8, &1Blue&8, &bLightBlue&8, &0Black&8."
message "&eTip: &7Add <color>_bold to make your chatcolor bold!"
if arg 1 is "Orange":
set {chatcolor.%player%} to "&6"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &6Orange."
if arg 1 is "Pink":
set {chatcolor.%player%} to "&d"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &dPink."
if arg 1 is "Green":
set {chatcolor.%player%} to "&a"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &aGreen."
if arg 1 is "Yellow":
set {chatcolor.%player%} to "&e"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &eYellow."
if arg 1 is "Gray":
set {chatcolor.%player%} to "&7"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &7Gray."
if arg 1 is "Red":
set {chatcolor.%player%} to "&4"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &4Red."
if arg 1 is "LightRed":
set {chatcolor.%player%} to "&c"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &cLightRed."
if arg 1 is "Blue":
set {chatcolor.%player%} to "&1"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &1Blue."
if arg 1 is "LightBlue":
set {chatcolor.%player%} to "&b"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &bLightBlue."
if arg 1 is "Black":
set {chatcolor.%player%} to "&0"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &0Black."
#
if arg 1 is "Orange_Bold":
set {chatcolor.%player%} to "&6&l"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &6&lBold Orange."
if arg 1 is "Pink_Bold":
set {chatcolor.%player%} to "&d&l"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &d&lBold Pink."
if arg 1 is "Green_Bold":
set {chatcolor.%player%} to "&a&l"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &a&lBold Green."
if arg 1 is "Yellow_Bold":
set {chatcolor.%player%} to "&e&l"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &e&lBold Yellow."
if arg 1 is "Gray_Bold":
set {chatcolor.%player%} to "&7&l"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &7&lBold Gray."
if arg 1 is "Red_Bold":
set {chatcolor.%player%} to "&4&l"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &4&lBold Red."
if arg 1 is "Blue_Bold":
set {chatcolor.%player%} to "&1&l"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &1&lBold Blue."
if arg 1 is "LightBlue_Bold":
set {chatcolor.%player%} to "&b&l"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &b&lBold LightBlue."
if arg 1 is "Black_Bold":
set {chatcolor.%player%} to "&0&l"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &0&lBlack Bold."
if arg 1 is "LightRed_Bold":
set {chatcolor.%player%} to "&c&l"
message "&d&lChatColor &8>> &7You have changed your chatcolor to &c&lBold LightRed."
command /unick:
permission: cc.nick
trigger:
if {nicked.%player%} is true:
set {_p} to player
set {nicked.%player%} to false
set {rank.%player%} to "%{temprank.nicked.%player%}%"
set {_p} tab name to "%{temprank.nicked.%player%}% &7%player%"
make player execute command "/undis"
message "&6Nickname Manager &8>> &7Unnicked, simple. Re-log to see your normal rank in tab."
else:
message "&cYou are not nicked!"
command /nick [<text>] [<text>]:
permission: cc.nick
trigger:
if arg 1 is not set:
message "&cYou must specify a name!"
stop
if arg 1 is "dick":
message "&cYou may not nick as this name as it is blacklisted."
stop
if arg 1 is "fuck":
message "&cYou may not nick as this name as it is blacklisted."
stop
if arg 1 is "cunt":
message "&cYou may not nick as this name as it is blacklisted."
stop
if arg 1 is "penis":
message "&cYou may not nick as this name as it is blacklisted."
stop
if arg 1 is "IntelCoreEye7":
message "&cYou may not nick as this name as it is inpersination."
stop
if arg 1 is "VodikFlare" or "Vodik":
message "&cYou may not nick as this name as it is inpersination."
stop
if arg 1 is "tiger0327":
message "&cYou may not nick as this name as it is inpersination."
stop
if arg 1 is "ChrisHD":
message "&cYou may not nick as this name as it is inpersination."
stop
if arg 1 is "Voja" or "VojaFTW_":
message "&cYou may not nick as this name as it is inpersination."
stop
else:
if arg 2 is not set:
if {nicked.%player%} is false:
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
set {nicked.rank.%player%} to "&2&lPlayer"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&2&lPlayer"
set {_p} tab name to "&2&lPlayer &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
else:
set {nicked.%player%} to false
set {rank.%player%} to "%{temprank.nicked.%player%}%"
message "&6Nicknamed Manager &8>> &7Unnicked, simple. Re-log to see your normal rank in tab."
else:
if {nicked.%player%} is not set:
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
set {nicked.rank.%player%} to "&2&lPlayer"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&2&lPlayer"
set {_p} tab name to "&2&lPlayer &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
else:
if {nicked.%player%} is false:
if arg 2 is "-player":
make player execute command "/nick %arg 2%"
if arg 2 is "-trialmod":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&9&lTrailMod &f(Nicked Rank)"
set {nicked.rank.%player%} to "&9&lTrialMod"
set {_p} tab name to "&9&lTrailMod &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-jrmod":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&9&lJrMod &f(Nicked Rank)"
set {nicked.rank.%player%} to "&9&lJrMod"
set {_p} tab name to "&9&lJrMod &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-srmod":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&9&lSrMod &f(Nicked Rank)"
set {nicked.rank.%player%} to "&9&lSrMod"
set {_p} tab name to "&9&lSrMod &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-moderator":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&9&lMod &f(Nicked Rank)"
set {nicked.rank.%player%} to "&9&lMod"
set {_p} tab name to "&9&lMod &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-admin":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&c&lAdmin &f(Nicked Rank)"
set {nicked.rank.%player%} to "&c&lAdmin"
set {_p} tab name to "&c&lAdmin &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-yt":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&6&lYT &f(Nicked Rank)"
set {nicked.rank.%player%} to "&6&lYT"
set {_p} tab name to "&6&lYT &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-dev":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&b&lDev &f(Nicked Rank)"
set {nicked.rank.%player%} to "&b&lDev"
set {_p} tab name to "&b&lDev &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-owner":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&6&lOwner &f(Nicked Rank)"
set {nicked.rank.%player%} to "&6&lOwner"
set {_p} tab name to "&6&lOwner &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-hb":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&a&lH&1&lB &f(Nicked Rank)"
set {nicked.rank.%player%} to "&a&lH&1&lB"
set {_p} tab name to "&a&lH&1&lB &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-wonderful":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&d&lWONDERFUL &f(Nicked Rank)"
set {nicked.rank.%player%} to "&d&lWONDERFUL"
set {_p} tab name to "&d&lWONDERFUL &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
else:
if {nicked.%player%} is not set:
if arg 2 is "-player":
make player execute command "/nick %arg 2%"
if arg 2 is "-trialmod":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&9&lTrailMod &f(Nicked Rank)"
set {nicked.rank.%player%} to "&9&lTrialMod"
set {_p} tab name to "&9&lTrailMod &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-jrmod":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&9&lJrMod &f(Nicked Rank)"
set {nicked.rank.%player%} to "&9&lJrMod"
set {_p} tab name to "&9&lJrMod &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-srmod":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&9&lSrMod &f(Nicked Rank)"
set {nicked.rank.%player%} to "&9&lSrMod"
set {_p} tab name to "&9&lSrMod &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-moderator":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&9&lMod &f(Nicked Rank)"
set {nicked.rank.%player%} to "&9&lMod"
set {_p} tab name to "&9&lMod &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-admin":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&c&lAdmin &f(Nicked Rank)"
set {nicked.rank.%player%} to "&c&lAdmin"
set {_p} tab name to "&c&lAdmin &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-yt":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&6&lYT &f(Nicked Rank)"
set {nicked.rank.%player%} to "&6&lYT"
set {_p} tab name to "&6&lYT &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-dev":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&b&lDev &f(Nicked Rank)"
set {nicked.rank.%player%} to "&b&lDev"
set {_p} tab name to "&b&lDev &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-owner":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&6&lOwner &f(Nicked Rank)"
set {nicked.rank.%player%} to "&6&lOwner"
set {_p} tab name to "&6&lOwner &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-hb":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&a&lH&1&lB &f(Nicked Rank)"
set {nicked.rank.%player%} to "&a&lH&1&lB"
set {_p} tab name to "&a&lH&1&lB &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
if arg 2 is "-wonderful":
set {_p} to player
set {nicked.%player%} to true
set {nicked.name.%player%} to "%arg 1%"
set {temprank.nicked.%player%} to "%{rank.%player%}%"
make player execute command "/dis player %arg 1%"
set {rank.%player%} to "&d&lWONDERFUL &f(Nicked Rank)"
set {nicked.rank.%player%} to "&d&lWONDERFUL"
set {_p} tab name to "&d&lWONDERFUL &7%arg 1%"
message "&6Nickname Manager &8>> &7You are now nicknamed as %arg 1%. Abuse will result in a demotion. Use /unick to unick."
command /stafflist:
trigger:
message "==========="
message "&r "
message "Gavin (VodikFlare, Vodik) - Owner"
message "Cameron (IntelCoreEye7) - Owner/Developer"
message "Voja (VojaFTW_, Voja) - Developer"
message "Braedan (tiger0327, tiger) - Admin"
message "vaporbork - BT"
message "Lucy (waddleslover2000) - HB"
message "Chris (ChrisHD, Chris, Notch) - Moderator"
message "ASUS3 (Wolfy) - Moderator"
message "OhTheir - Resigned Moderator"
message "Hypekyuu - TrialMod"
message "Cuber - TrialMod"
message "ImLovinq_It - TrialMod"
message "PandaBombDotCom - TrialMod"
message "&r "
message "==========="
command /reset <offline player>:
trigger:
set {warnings.%arg 1%} to 0
message "&6&lCamCraft&7> You have unbanned %arg 1%."
execute console command "pardon %arg 1%"
command /gamemode <text>:
permission: cc.gamemode
permission message: {@denied}.
trigger:
if arg 1 is "c" or "creative":
set the player's gamemode to creative
message "&6&lCamCraft&7> Your gamemode has been updated to Creative."
if arg 1 is "s" or "survival":
set the player's gamemode to survival
message "&6&lCamCraft&7> Your gamemode has been updated to Survival."
command /creativegamemode:
permission: cc.cgm
trigger:
if player is in world "PLOTS_WORLD":
set the player's gamemode to creative
message "&6&lCamCraft&7> Your gamemode has been updated to Creative."
else:
message "&6&lCamCraft&7> You must be in Creative to use gamemode commands."
command /gmc:
permission: cc.gamemode
permission message: {@denied}.
trigger:
make player execute command "/gamemode c"
command /gms:
permission: cc.gamemode
permission message: {@denied}.
trigger:
make player execute command "/gamemode s"
on weather change:
cancel event
on explode:
cancel event
command /slap-war <text>:
trigger:
loop 200 times:
make player execute command "/adminfun slap %arg-1%"
command /now:
trigger:
broadcast "Current server time: %{rank.%player%}%"
#
#Ranks
command /rank-update <offline player> <text>:
permission: cc.rank
aliases: /rank-set
permission message: {@denied}
trigger:
set {_p} to arg 1
if arg 2 is "Owner":
if player has permission "rank.owner":
execute console command "manuadd %arg 1% Owner"
send "&6&lCamCraft&7>&9Your rank has been updated to Owner!" to arg 1
set {_p} tab name to "{@OWNER} &7%arg-1%"
set {tabname.rank.owner.%arg 1%} to true
set {tabname.rank.admin.%arg 1%} to false
set {tabname.rank.player.%arg 1%} to false
set {tabname.rank.moderator.%arg 1%} to false
set {tabname.rank.dev.%arg 1%} to false
set {tabname.rank.hb.%arg 1%} to false
set {tabname.rank.builder.%arg 1%} to false
set {tabname.rank.hbop.%arg 1%} to false
set {tabname.rank.ta.%arg 1%} to false
set {tabname.rank.tm.%arg 1%} to false
set {tabname.rank.operator.%arg 1%} to false
set {tabname.rank.wonderful.%arg 1%} to false
set {tabname.rank.yt.%arg 1%} to false
set {abovehead.rank.builder.%arg 1%} to false
set {tabname.rank.jrmod.%arg 1%} to false
set {abovehead.rank.owner.%arg 1%} to true
set {tabname.rank.srmod.%arg 1%} to false
set {abovehead.rank.moderator.%arg 1%} to false
set {abovehead.rank.dev.%arg 1%} to false
set {abovehead.rank.hb.%arg 1%} to false
set {abovehead.yt.admin.%arg 1%} to false
set {abovehead.rank.player.%arg 1%} to false
set {abovehead.rank.admin.%arg 1%} to false
set {rank.%arg 1%} to "&6&lOwner"
stop
else:
message "{@denied}"
if arg 2 is "Wonderful":
execute console command "manuadd %arg 1% Wonderful"
send "&6&lCamCraft&7>&9Your rank has been updated to Wonderful!" to arg 1
set {_p} tab name to "{@WONDERFUL} &7%arg-1%"
set {tabname.rank.owner.%arg 1%} to false
set {tabname.rank.ownerhb.%arg 1%} to false
set {tabname.rank.hbop.%arg 1%} to false
set {tabname.rank.admin.%arg 1%} to false
set {tabname.rank.player.%arg 1%} to false
set {tabname.rank.moderator.%arg 1%} to false
set {tabname.rank.dev.%arg 1%} to false
set {tabname.rank.hb.%arg 1%} to false
set {tabname.rank.builder.%arg 1%} to false
set {tabname.rank.ta.%arg 1%} to false
set {tabname.rank.wonderful.%arg 1%} to true
set {tabname.rank.ta.%arg 1%} to true
set {tabname.rank.tm.%arg 1%} to false
set {tabname.rank.operator.%arg 1%} to false
set {tabname.rank.srmod.%arg 1%} to false
set {tabname.rank.yt.%arg 1%} to false
set {abovehead.rank.builder.%arg 1%} to false
set {abovehead.rank.owner.%arg 1%} to true
set {abovehead.rank.moderator.%arg 1%} to false
set {abovehead.rank.dev.%arg 1%} to false
set {tabname.rank.jrmod.%arg 1%} to false
set {abovehead.rank.hb.%arg 1%} to false
set {abovehead.yt.admin.%arg 1%} to false
set {abovehead.rank.player.%arg 1%} to false
set {abovehead.rank.admin.%arg 1%} to false
set {rank.%arg 1%} to "&d&lWonderful"
stop
if arg 2 is "HBOPERATOR":
execute console command "manuadd %arg 1% HBOPERATOR"
send "&6&lCamCraft&7>&9Your rank has been updated to Owner!" to arg 1
set {_p} tab name to "{@HBOPERATOR} &7%arg-1%"
set {tabname.rank.owner.%arg 1%} to false
set {tabname.rank.ownerhb.%arg 1%} to true
set {tabname.rank.hbop.%arg 1%} to true
set {tabname.rank.admin.%arg 1%} to false
set {tabname.rank.player.%arg 1%} to false
set {tabname.rank.moderator.%arg 1%} to false
set {tabname.rank.wonderful.%arg 1%} to false
set {tabname.rank.dev.%arg 1%} to false
set {tabname.rank.hb.%arg 1%} to false
set {tabname.rank.builder.%arg 1%} to false
set {tabname.rank.ta.%arg 1%} to false
set {tabname.rank.tm.%arg 1%} to false
set {tabname.rank.operator.%arg 1%} to false
set {tabname.rank.yt.%arg 1%} to false
set {abovehead.rank.builder.%arg 1%} to false
set {abovehead.rank.owner.%arg 1%} to true
set {tabname.rank.srmod.%arg 1%} to false
set {abovehead.rank.moderator.%arg 1%} to false
set {abovehead.rank.dev.%arg 1%} to false
set {tabname.rank.jrmod.%arg 1%} to false
set {abovehead.rank.hb.%arg 1%} to false
set {abovehead.yt.admin.%arg 1%} to false
set {abovehead.rank.player.%arg 1%} to false
set {abovehead.rank.admin.%arg 1%} to false
set {rank.%arg 1%} to "&a&lH&1&lB &d&lOperator"
stop
if arg 2 is "Admin":
execute console command "manuadd %arg 1% Admin"
send "&6&lCamCraft&7>&9Your rank has been updated to Admin!" to arg 1