This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
-fishroyale.sk
2423 lines (2146 loc) · 94.3 KB
/
-fishroyale.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
#FishRoyale V0.4
#By LananasBleu
#For FishRoyale 04/12/2020
command /freebuild:
trigger:
if player's world is not "ul_world":
stop
wait 2 ticks
open chest with 6 rows named " &e" to player
if {sfb1} is "&aOnline":
format slot 10 of player with green wool named "&eFB-1" with lore "&eFreeBuild 1" to run [make player execute command "/join fb1"]
else:
format slot 10 of player with red wool named "&eFB-1" with lore "&eFreeBuild 1" to run [make server execute command "/sudo %player% §zm"]
format slot 4 of player with red bed named "&6&lLobby" with lore "&7Players: &f%{lobby}%/150" to run [make server execute command "/mvpt %player% ul_world"]
format slot 0 of player with black stained glass pane named "" to be unstealable
format slot 1 of player with black stained glass pane named "" to be unstealable
format slot 2 of player with black stained glass pane named "" to be unstealable
format slot 3 of player with black stained glass pane named "" to be unstealable
format slot 5 of player with black stained glass pane named "" to be unstealable
format slot 6 of player with black stained glass pane named "" to be unstealable
format slot 7 of player with black stained glass pane named "" to be unstealable
format slot 8 of player with black stained glass pane named "" to be unstealable
format slot 9 of player with black stained glass pane named "" to be unstealable
format slot 17 of player with black stained glass pane named "" to be unstealable
format slot 18 of player with black stained glass pane named "" to be unstealable
format slot 53 of player with black stained glass pane named "" to be unstealable
format slot 26 of player with black stained glass pane named "" to be unstealable
format slot 27 of player with black stained glass pane named "" to be unstealable
format slot 36 of player with black stained glass pane named "" to be unstealable
format slot 35 of player with black stained glass pane named "" to be unstealable
format slot 44 of player with black stained glass pane named "" to be unstealable
format slot 45 of player with black stained glass pane named "" to be unstealable
format slot 46 of player with black stained glass pane named "" to be unstealable
format slot 47 of player with black stained glass pane named "" to be unstealable
format slot 48 of player with black stained glass pane named "" to be unstealable
format slot 50 of player with black stained glass pane named "" to be unstealable
format slot 51 of player with black stained glass pane named "" to be unstealable
format slot 52 of player with black stained glass pane named "" to be unstealable
format slot 49 of player with barrier named "&cClose Menu" to close
on join:
if player does not have permission "MODERATOR":
set {mod.%player%} to false
on join:
add 1 to {onlineplayers}
on quit:
remove 1 from {onlineplayers}
every 3 second:
if {onlineplayers} is less than 5:
set {OP2} to false
set {OP3} to false
set {OP4} to false
set {OP5} to false
if {OP1} is true:
stop
make server execute command "/se load br1"
if {game.br2} is false:
make server execute command "/se unload br2"
if {game.br3} is false:
make server execute command "/se unload br3"
if {game.br4} is false:
make server execute command "/se unload br4"
if {game.br5} is false:
make server execute command "/se unload br5"
if {game.br6} is false:
make server execute command "/se unload br6"
send "&6&lSERVICES &7>> &cPlayer count is now less than 5 Servers Br1 was started!" to all players where [input has permission "HELPER"]
set {OP1} to true
every 5 second:
if {onlineplayers} >= 5:
set {OP3} to false
if {OP2} is true:
stop
make server execute command "/se load br2"
make server execute command "/se load br3"
if {game.br4} is false:
make server execute command "/se unload br4"
send "&6&lSERVICES &7>> &cPlayer count is now 5! Servers Br2 were started!" to all players where [input has permission "HELPER"]
set {OP2} to true
set {OP1} to false
every 10 second:
if {onlineplayers} >= 10:
set {OP4} to false
if {OP3} is true:
stop
make server execute command "/se load br4"
if {game.br5} is false:
make server execute command "/se unload br5"
send "&6&lSERVICES &7>> &cPlayer count is now 10! Servers Br3 were started!" to all players where [input has permission "HELPER"]
set {OP3} to true
every 15 second:
if {onlineplayers} >= 15:
set {OP5} to false
if {OP4} is true:
stop
make server execute command "/se load br5"
if {game.br6} is false:
make server execute command "/se unload br6"
send "&6&lSERVICES &7>> &cPlayer count is now 15! Servers Br4 were started!" to all players where [input has permission "HELPER"]
set {OP4} to true
every 25 second:
if {onlineplayers} >= 20:
if {OP5} is true:
stop
make server execute command "/se load br6"
send "&6&lSERVICES &7>> &cPlayer count is now 20! Servers Br6 and Br5 were started!" to all players where [input has permission "HELPER"]
set {OP5} to true
options:
fishroyale: &b&lFish&e&lRoyale &7>>
#/// PARACHUTE ///
on right click with leather:
if name of player's tool contains "&6&lParachute":
if {game.%player's world%} is false:
send "&cWait the game to start to use your parachute!"
stop
if the block below the player is air:
the player is not riding a chicken:
remove 1 of the tool from the player
spawn a chicken at the player's location
make server execute command "/effect give @e[type=chicken] invisibility 9999 2"
make the spawned chicken ride the player
set the spawned chicken's max health to 9999
set the spawned chicken's health to 9999
spawn a chicken at the player's location
make server execute command "/effect give @e[type=chicken] invisibility 9999 2"
hide spawned chicken to all players
make the player ride the spawned chicken
set the spawned chicken's max health to 9999
set the spawned chicken's health to 9999
every 5 tick:
loop all players:
if block 4 under loop-player is not air:
loop chickens in radius 3 around loop-player:
kill loop-chicken
on death of chicken:
delete drops
on world change:
if {mod.%player%} is true:
stop
make server execute command "/minecraft:clear %player%"
on drop:
if {game.%player's world%} is false:
cancel event
send "&cYou can't do this now!"
on damage:
if {game.%victim's world%} is false:
cancel event
send "&cYou can't PvP now!" to attacker
command /citem [<text>] [<number>]:
permission: ADMIN
trigger:
if arg 1 is "parachute":
if arg 2 is set:
give player 1 leather named "&6&lParachute" with lore "&6Right-Click With This In Mid-Air To Prevent Fall Damage."
send "&aSucess!" to player
if arg 1 is not set:
send "&cERROR: &6/citem (&eparachute,jumppad,smed,bmed,ssw,isw,gsw,dsw,esw,wsw,sandstone,stone,sponge,begg,epearl,abspot,shield,kbstick,flyf,lstick&6) NUMBER" to player
if arg 1 is "jumppad":
if arg 2 is set:
give player 1 slime block named "&a&lJump Pad" with lore "&6Place it and jump on it to get high in the air ! &cHaving a parachute is recommended !"
send "&aSucess!" to player
if arg 1 is "smed":
if arg 2 is set:
make server execute command "/give %player% healingpotion 1"
send "&aSucess!"
if arg 1 is "bmed":
if arg 2 is set:
make server execute command "/give %player% healingleveliipotion 1"
send "&aSucess!"
if arg 1 is "ssw":
if arg 2 is set:
give player 1 stone sword
send "&aSucess!"
if arg 1 is "isw":
if arg 2 is set:
give player 1 iron sword
send "&aSucess!"
if arg 1 is "wsw":
if arg 2 is set:
give player 1 wooden sword
send "&aSucess!"
if arg 1 is "gsw":
if arg 2 is set:
give player 1 golden sword
send "&aSucess!"
if arg 1 is "dsw":
if arg 2 is set:
give player 1 diamond sword
send "&aSucess!"
if arg 1 is "esw":
if arg 2 is set:
send "&cERROR!"
if arg 1 is "sandstone":
if arg 2 is set:
give player 64 sandstone with lore "&6Build, build , build and build more!"
send "&aSucess!"
if arg 1 is "stone":
if arg 2 is set:
give player 64 stone with lore "&6Build, build , build and buikd more!"
send "&aSucess!"
if arg 1 is "sponge":
if arg 2 is set:
give player 10 sponge with lore "&6Push all players around the sponge!"
send "&aSucess!"
if arg 1 is "abspot":
if arg 2 is set:
make server execute command "/effect give %player% absorption 999999 5"
send "&cNo respond..."
if arg 1 is "shield":
if arg 2 is set:
give player 1 shield with lore "&6Protect your self against other players!"
send "&aSucess!"
if arg 1 is "begg":
if arg 2 is set:
give player 16 egg named "&7Brige Egg" with lore "&6Throw it to make a bridge !"
send "&aSucess!"
if arg 1 is "epearl":
if arg 2 is set:
give player 16 ender pearl named "&5Ender Pearl" with lore "&6Throw it and get teleported!"
send "&aSucess!"
if arg 1 is "kbstick":
if arg 2 is set:
make server execute command "/give %player% 1 stick knockback:5 named:&c&lKnock_Knock lore:&6Who's_here_?"
send "&aSucess!"
if arg 1 is "flyf":
if arg 2 is set:
give player 1 feather named "&f&lWhoosh" with lore "&6Fly to pointed direction!"
send "&aSucess!"
if arg 1 is "lstick":
if arg 2 is set:
give player 1 stick named "&e&lLightning Stick" with lore "&cNeeds [ADMIN] or higher to use it!"
send "&aSucess!"
on right click with stick:
if name of player's tool is "&e&lLightning Stick":
if player has permission "lstick":
make server execute command "/smite *"
push player upwards at speed 3
send "&aKABOOM !"
on right click with feather:
if name of player's tool is "&f&lWhoosh":
remove 1 of player's tool from player's inventory
push player forwards at speed 5
send "&aWhooosh !"
command /server:
permission: ADMIN
trigger:
send "&6&lServers Status:"
send ""
send "&ebr1: &a%{br1}%/100"
send "&ebr2: &a%{br2}%/100"
send "&ebr3: &a%{br3}%/100"
send "&ebr4: &a%{br4}%/100"
send ""
send "&eOnline Players: &a%{onlineplayers}%/20"
command /serverob:
permission: op
trigger:
set {onlineplayers} to 1
send "Done"
on shoot:
if projectile is not egg:
stop
loop 200 times:
wait 1 tick
set block under projectile to sandstone
on block place:
if block is sponge:
remove 1 of player's tool from player's inventory
cancel event
loop all players in radius 10 around player:
push loop-player backwards at speed 2
set {flylegit.%loop-player%} to true
every 1 second:
loop all players:
if loop-player is on ground:
set {flylegit.%loop-player%} to false
on step on slime block:
push player forwards at speed 1
push player upwards at speed 3
set {flylegit.%player%} to true
#/// CORE ///
options:
GiftItem1: 1 wooden sword named "&2Wooden Sword"
GiftItem2: 1 stone sword named "&aStone Sword"
GiftItem3: 1 golden sword of sharpness 2 named "&6Golden Sword"
GiftItem4: 1 diamond sword named "&cDiamond Sword"
GiftItem5: 2 ender pearl named "&5Ender Pearl"
GiftItem6: 1 slime block named "&aJump Pad"
GiftItem7: 2 egg named "&7Bridge Egg"
GiftItem8: 1 bow named "&eBow"
GiftItem9: 1 iron leggings of protection 1
GiftItem10: 1 iron chestplate of protection 2
GiftItem11: 8 arrow
GiftItem12: 1 health potion named "&dSmall Med Kit"
GiftItem39: 1 health potion named "&dSmall Med Kit"
GiftItem38: 1 health potion named "&dSmall Med Kit"
GiftItem13: 32 sandstone
GiftItem14: 32 stone
GiftItem15: 1 iron pickaxe of efficiency 5
GiftItem16: 1 leather helmet
GiftItem17: 1 leather chestplate
GiftItem18: 1 leather leggings
GiftItem19: 1 leather boots
GiftItem20: 1 iron helmet
GiftItem21: 1 iron boots
GiftItem22: 1 diamond helmet
GiftItem23: 1 diamond chestplate
GiftItem24: 1 diamond leggings
GiftItem25: 1 diamond boots
GiftItem26: 2 sponge named "&6Sponge Pusher"
GiftItem48: 2 sponge named "&6Sponge Pusher"
GiftItem27: 1 fishing rod
GiftItem28: 1 wooden sword named "&2Wooden Sword"
GiftItem29: 1 stone sword named "&aStone Sword"
GiftItem30: 1 iron sword named "&eIron Sword"
GiftItem47: 1 iron sword named "&eIron Sword"
GiftItem31: 1 leather helmet
GiftItem32: 1 leather chestplate
GiftItem33: 1 leather leggings
GiftItem34: 1 leather boots
GiftItem35: 1 iron helmet
GiftItem36: 1 iron boots
GiftItem37: 16 snowball named "&f&lLet It Snow, let it snow..." with lore "&fHit your enemies with snow !"
GiftItem38: 5 experience bottle
GiftItem39: 10 lapis lazuli
GiftItem40: 1 leather named "&6&lParachute"
GiftItem41: 2 ender pearl named "&5Ender Pearl"
GiftItem42: 1 slime block named "&aJump Pad"
GiftItem43: 2 egg named "&7Bridge Egg"
GiftItem44: 1 bow named "&eBow"
GiftItem45: 32 sandstone
GiftItem46: 32 stone
GiftItem47: 5 experience bottle
GiftItem48: 10 lapis lazuli
GiftItem49: 1 leather named "&6&lParachute"
GiftItem50: 2 ender pearl named "&5Ender Pearl"
GiftItem51: 1 slime block named "&aJump Pad"
GiftItem52: 2 egg named "&7Bridge Egg"
GiftItem53: 1 bow named "&eBow"
GiftItem54: 32 sandstone
GiftItem55: 32 stone
on right click on chest:
cancel event
set clicked block to air
add {@GiftItem1} to {_recompense.list::*}
add {@GiftItem2} to {_recompense.list::*}
add {@GiftItem3} to {_recompense.list::*}
add {@GiftItem4} to {_recompense.list::*}
add {@GiftItem5} to {_recompense.list::*}
add {@GiftItem6} to {_recompense.list::*}
add {@GiftItem7} to {_recompense.list::*}
add {@GiftItem8} to {_recompense.list::*}
add {@GiftItem9} to {_recompense.list::*}
add {@GiftItem10} to {_recompense.list::*}
add {@GiftItem11} to {_recompense.list::*}
add {@GiftItem12} to {_recompense.list::*}
add {@GiftItem13} to {_recompense.list::*}
add {@GiftItem14} to {_recompense.list::*}
add {@GiftItem15} to {_recompense.list::*}
add {@GiftItem16} to {_recompense.list::*}
add {@GiftItem18} to {_recompense.list::*}
add {@GiftItem19} to {_recompense.list::*}
add {@GiftItem20} to {_recompense.list::*}
add {@GiftItem21} to {_recompense.list::*}
add {@GiftItem22} to {_recompense.list::*}
add {@GiftItem23} to {_recompense.list::*}
add {@GiftItem24} to {_recompense.list::*}
add {@GiftItem25} to {_recompense.list::*}
add {@GiftItem26} to {_recompense.list::*}
add {@GiftItem27} to {_recompense.list::*}
add {@GiftItem28} to {_recompense.list::*}
add {@GiftItem29} to {_recompense.list::*}
add {@GiftItem30} to {_recompense.list::*}
add {@GiftItem31} to {_recompense.list::*}
add {@GiftItem32} to {_recompense.list::*}
add {@GiftItem33} to {_recompense.list::*}
add {@GiftItem34} to {_recompense.list::*}
add {@GiftItem35} to {_recompense.list::*}
add {@GiftItem36} to {_recompense.list::*}
add {@GiftItem37} to {_recompense.list::*}
add {@GiftItem38} to {_recompense.list::*}
add {@GiftItem39} to {_recompense.list::*}
add {@GiftItem40} to {_recompense.list::*}
add {@GiftItem41} to {_recompense.list::*}
add {@GiftItem42} to {_recompense.list::*}
add {@GiftItem43} to {_recompense.list::*}
add {@GiftItem44} to {_recompense.list::*}
add {@GiftItem45} to {_recompense.list::*}
add {@GiftItem46} to {_recompense.list::*}
add {@GiftItem47} to {_recompense.list::*}
add {@GiftItem48} to {_recompense.list::*}
add {@GiftItem49} to {_recompense.list::*}
add {@GiftItem50} to {_recompense.list::*}
add {@GiftItem51} to {_recompense.list::*}
add {@GiftItem52} to {_recompense.list::*}
add {@GiftItem53} to {_recompense.list::*}
add {@GiftItem54} to {_recompense.list::*}
add {@GiftItem55} to {_recompense.list::*}
set {_recompense1} to a random element out of {_recompense.list::*}
give {_recompense1} to player
set {_recompense2} to a random element out of {_recompense.list::*}
give {_recompense2} to player
set {_recompense3} to a random element out of {_recompense.list::*}
give {_recompense3} to player
send "&eNice loot ! You got &6%{_recompense3}%&e, &6%{_recompense1}%&e, &6%{_recompense2}%"
play sound "entity.experience_orb.pickup" with volume 1 and pitch 2 at player for player
on join:
if player's world is not "ul_world":
remove 1 from {%player's world%}
make server execute command "/mvtp %player% ul_world"
add 1 to {lobby}
on quit:
remove 1 from {%player's world%}
command /spawn:
trigger:
wait 2 ticks
set {_world} to player's world
if player's world is "ul_world":
make server execute command "/mvspawn %player% ul_world"
stop
if {game.%player's world%} is false:
remove 1 from {%{_world}%}
make server execute command "/mvtp %player% ul_world"
add 1 to {lobby}
if {death.%player%} is false:
send "&cYou can't use this command here!"
stop
if {death.%player%} is true:
make server execute command "/mvtp %player% ul_world"
#-------------------------------------------------------------------------------------------------------------------------
#------------------------------------------------ADDITIONAL CORE --------------------------------------------------------
on projectile hit:
if shooter's world is not "ul_world":
stop
push shooter backwards at speed 1
on world change:
if player has permission "BUILDER":
stop
if player's world is "br":
kick player due to "&cYour not allowed to be here !"
on world change:
if player's world is "ul_br":
kick player due to "&cYour not allowed to be here !"
on world change:
if player's world is "backup":
kick player due to "&cYour not allowed to be here !"
command /build:
permission: BUILDER
trigger:
send "&eTeleporting... This can take 3 seconds." to player
make server execute command "/mvload br"
wait 1 second
make server execute command "/mvtp %player% br"
wait 5 ticks
make server execute command "/gmc %player%"
send "&aSucess! Telported!" to player
set {br.down} to false
command /plugins:
trigger:
send "Plugins (2): &aFishRoyale &8&o(Skript)&f, &aDragonChaser &8&o(Skript)"
command /pl:
trigger:
send "Plugins (2): &aFishRoyale &8&o(Skript)&f, &aDragonChaser &8&o(Skript)"
command /bukkit:pl:
trigger:
send "Plugins (2): &aFishRoyale &8&o(Skript)&f, &aDragonChaser &8&o(Skript)"
command /bukkit:plugins:
trigger:
send "Plugins (2): &aFishRoyale &8&o(Skript)&f, &aDragonChaser &8&o(Skript)"
command /minecraft:me:
trigger:
stop
#/// PING / ANTIPINGSPOOF ///
command /ping [<player>]:
aliases: /p
trigger:
if arg 1 is not set:
send "&ePing &6» &a%player's ping%"
else:
send "&ePing &6» &a%player-arg's ping%"
#/// ANTISPAM ///
command /cooldownchat [<time span>]:
permission: SMODERATOR
trigger:
if arg 1 is not set:
send "&cSyntaxe incorecte : /cooldownchat <TimeSpan>"
stop
set {cdchat} to arg 1
send "&a[CoolDown] Temps définis à %arg 1%"
command /cooldownchatp [<text>]:
permission: ADMIN
trigger:
if arg 1 is not set:
send "&cSyntaxe incorecte : /cooldownchatp <permission>"
stop
set {cdperm} to arg 1
send "&a[CoolDown] Permission définie à %arg 1%"
on load:
if {cdperm} is not set:
set {cdperm} to op
if {cdchat} is not set:
set {cdchat} to 3 seconds
on chat:
player doesn't have permission "%{cdperm}%"
set {_cd} to difference between {lastchat.%player%} and now
if {_cd} < {cdchat}:
send "{@fishroyale} &cWait a bit before talking again !"
cancel event
stop
set {lastchat.%player%} to now
#/// STAFFCHAT ///
command /sc:
trigger:
player has permission "HELPER":
{staffchat::%player's uuid%} = false:
set {staffchat::%player's uuid%} to true
send "&7Now talking in staff chat"
else:
set {staffchat::%player's uuid%} to false
send "&7No longer talking in staff chat"
else:
send "&7No permissions"
chat:
{staffchat::%player's uuid%} = true:
cancel event
send "&6&lSTAFFCHAT &7>> &c%player%:&f %message%" to all players where [input has permission "HELPER"]
on world change:
if {mod.%player%} is true:
set fly mode of player to true
command /mod:
permission: MODERATOR
trigger:
set {mod.%player%} to true
clear player's inventory
send "&d&lModerator Mode: &aON" to player
give player 1 feather named "&fVelocity Vertical"
make server execute command "/give %player% woodensword 1 name:&fKnockback_I knockback:1"
make server execute command "/give %player% woodensword 1 name:&fKnockback_II knockback:2"
give player 1 golden sword named "&fSword"
give player 1 barrier named "&4Close Moderator Mode"
give player 1 iron hoe named "&fVanish 10 Ticks"
give player 1 golden hoe named "&fVanish Toggle"
give player 1 iron axe named "&cBan Hammer"
give player 1 feather named "&fVelocity Horizontal"
set {vanish.%player%} to true
hide player from all players
set fly mode of player to true
on damage:
if {mod.%victim%} is true:
cancel event
send "&d[Damage] &6%attacker% &fdamage 1.0" to victim
on right click with iron hoe:
if {mod.%player%} is true:
cancel event
if name of player's tool is "&fVanish 10 Ticks":
send "&dVisible: &aYes" to player
set {vanish.%player%} to false
reveal player from all players
wait 10 ticks
set {vanish.%player%} to true
send "&dVisible: &cNo" to player
hide player from all players
on right click with golden hoe:
if {mod.%player%} is true:
if name of player's tool is "&fVanish Toggle":
if {vanish.%player%} is false:
set {vanish.%player%} to true
send "&dVisible: &cOFF"
hide player from all players
stop
if {vanish.%player%} is true:
set {vanish.%player%} to false
send "&dVisible: &aON"
reveal player to all players
stop
cancel event
on right click with barrier:
if {mod.%player%} is true:
cancel event
clear player's inventory
set fly mode of player to false
make player execute command "/vanish"
send "&d&lModerator Mode: &cOFF"
set {mod.%player%} to false
on right click on player:
if {mod.%player%} is true:
if player has permission "MODERATOR":
if name of player's tool is "&cBan Hammer":
set {_name} to clicked player
wait 2 tick
open chest with 2 row named "&c&l&oBan Hammer &7> &c&l&oBan &7 > &6&l&o%{_name}%" to player
format slot 0 of player with golden sword named "&cCheating" with lore "&6Ban %{_name}% for: &cCheating" to close then run [make player execute command "/dcban %clicked player% 30 day"]
format slot 1 of player with player head named "&4Impersonating" with lore "&6Ban %{_name}% for: &cImpersonating" to close then run [make player execute command "/ban %clicked player% Impersonating"]
format slot 3 of player with diamond axe named "&6Boosting" with lore "&6Ban %{_name}% for: &cBoosting" to close then run [make player execute command "/ban %clicked player% Boosting"]
format slot 5 of player with iron bar named "&cAlts / VPN" with lore "&6Ban %{_name}% for: &cAlts / VPN" to close then run [make player execute command "/ban %clicked player% Ban Evading / VPN"]
format slot 2 of player with nametag named "&6Inapropriate Skin / Name" with lore "&6Ban %{_name}% for: &cInapropriate Skin / Name" to close then run [make player execute command "/ban %{_name}% Inapropriate Skin or Minecraft Username"]
format slot 4 of player with barrier named "&4Threads" with lore "&6Ban %{_name}% for: &cThreads" to close then run [make player execute command "/ban %clicked player% Threads"]
format slot 6 of player with iron pickaxe named "&eExploits" with lore "&6Ban %{_name}% for: &cExploits" to close then run [make player execute command "/ban %clicked player% Exploits"]
format slot 7 of player with feather named "&eOther" with lore "&6Ban %{_name}% for: &cOther" to close then run [make player execute command "/ban %clicked player% Not Specified"]
format slot 12 of player with arrow named "&aCancel" with lore "&aClose Banning menu." to close
on right click with feather:
if {mod.%player%} is true:
if name of player's tool is "&fVelocity Vertical":
if player has permission "MODERATOR":
set {_targetedplayer} to targeted entity
if {_targetedplayer} isn't set:
stop
make player execute command "/velocity %{_targetedplayer}%"
on right click with feather:
if {mod.%player%} is true:
if name of player's tool is "&fVelocity Horizontal":
if player has permission "MODERATOR":
set {_targetedplayer} to targeted entity
if {_targetedplayer} isn't set:
stop
make player execute command "/velocityh %{_targetedplayer}%"
#/// ///
command /alert [<text>]:
permission: ADMIN
trigger:
if arg 1 is set:
broadcast "{@fishroyale} &f%arg 1%"
stop
if arg 1 is not set:
send "{@fishroyale} &cUsage: /alert MESSAGE"
stop
command /warn [<player>] [<text>]:
permission: HELPER
trigger:
if arg 1 is set:
if arg 2 is set:
add 1 to {warn.%arg 1%}
send "&b&lFishFisher &e&l>> &cYou have been warned ! Reason: &e%arg 2% &cThis is your %{warn.%arg 1%}% &cwarn !" to arg 1
send "{@fishroyale} &a%arg 1% has been warned for &e%arg 2%" to player
if {warn.%arg 1%} = 3:
make server execute command "/mute %arg 1% 1h 3 warns"
if {warn.%arg 1%} = 4:
make server execute command "/kick %arg 1% 4 Warns"
if {warn.%arg 1%} = 5:
make server execute command "/tempban %arg 1% 1d 5 Warns"
if {warn.%arg 1%} = 6:
make server execute command "/ban %arg 1% 6 Warns"
stop
if arg 1 is set:
if arg 2 is not set:
add 1 to {warn.%arg 1%}
send "&b&lFishFisher &e&l>> &cYou have been warned !&cThis is your %{warn.%arg 1%}% &cwarn !" to arg 1
send "{@fishroyale} &a%arg 1% has been warned for &e%arg 2%" to player
if {warn.%arg 1%} = 3:
make server execute command "/mute %arg 1% 1h 3 warns"
if {warn.%arg 1%} = 4:
make server execute command "/kick %arg 1% 4 Warns"
if {warn.%arg 1%} = 5:
make server execute command "/tempban %arg 1% 1d 5 Warns"
if {warn.%arg 1%} = 6:
make server execute command "/ban %arg 1% 6 Warns"
stop
if arg 1 is not set:
send "{@fishroyale} &cUsage /warn PLAYER REASON" to player
stop
command /removewarn [<player>]:
permission: MODERATOR
trigger:
if arg 1 is set:
remove 1 from {warn.%arg 1%}
send "{@fishroyale} &a1 warn have been removed ! Be happy :D" to arg 1
send "{@fishroyale} &aRemoved 1 warn from &e%arg 1%" to player
if arg 1 is not set:
send "{@fishroyale} &cUsage /removedwarn PLAYER"
every 2 second:
loop all players:
if loop-player's ping is greater than 1000:
send action bar "&e&lThe connection is unstable." to loop-player
every 1 second:
loop all players:
add 1 to {sec.%loop-player%}
if {sec.%loop-player%} = 60:
remove 60 from {sec.%loop-player%}
add 1 to {min.%loop-player%}
if {min.%loop-player%} = 60:
remove 60 from {min.%loop-player%}
add 1 to {he.%loop-player%}
if {he.%loop-player%} = 24:
remove 24 from {he.%loop-player%}
add 1 to {day.%loop-player%}
command /playtime [<offline player>]:
trigger:
if arg 1 is not set:
if {day.%player%} is not set:
set {day.%player%} to 0
if {he.%player%} is not set:
set {he.%player%} to 0
if {min.%player%} is not set:
set {min.%player%} to 0
send "{@fishroyale} &a%{day.%player%}% &aDays &a%{he.%player%}% &aHours &a%{min.%player%}% &aMinute&a %{sec.%player%}% &aSeconds"
if arg 1 is set:
send "{@fishroyale} &a%{day.%arg 1%}% &aDays &a%{he.%arg 1%}% &aHours &a%{min.%arg 1%}% &aMinute&a %{sec.%arg 1%}% &aSeconds"
command /discord:
trigger:
make server execute command "/msg %player% https://discord.gg/4Z27HnU"
#/// AUTOMESSAGES / SAVE ///
every 2 second:
loop all players:
if {vanish.%loop-player%} is true:
send action bar "{@fishroyale} &aYou are currently vanished !" to loop-player
every 1 minutes:
make server execute command "/save-all"
loop all players:
if loop-player has permission "op":
send "&6&lSERVICES &7>> &aServers saved" to loop-player
every 10 minutes:
broadcast "{@fishroyale} &c&lHackers ? Bugs ? /report them ! Or report them pn the discord server !"
wait 2 minutes
broadcast "{@fishroyale} &aWant to support the server ? Do /buy or /vote !"
wait 2 minutes
broadcast "{@fishroyale} &cServer is in &eALPHA &cexept some bugs."
wait 2 minutes
broadcast "{@fishroyale} &cHacking is &4&l&oNOT &callowed on &b&lFish&e&LRoyale"
wait 2 minutes
broadcast "{@fishroyale} &aJoin us on discord with /discord !"
wait 2 minutes
#/// USEFULL COMMANDS ///
on join:
set join message to "&7[&2&l+&7] &e%player%"
on join:
set join message to "&7[&2&l+&7] &e%player%"
on quit:
set quit message to "&7[&4&l-&7] &e%player%"
on quit:
set quit message to "&7[&4&l-&7] &e%player%"
command /debug:
permission: ADMIN
trigger:
if {debug.%player%} is not set:
set {debug.%player%} to false
if {debug.%player%} is false:
set {debug.%player%} to true
send "{@fishroyale} &aYour now in debug mode"
make server execute command "/se disable debug"
stop
if {debug.%player%} is true:
set {debug.%player%} to false
send "{@fishroyale} &cYou are no longer in debug mode"
make server execute command "/se enable debug"
stop
command /ban [<offline player>] [<text>]:
permission: MODERATOR
trigger:
if arg 1 is set:
if arg 2 is not set:
if arg 1 has permission "ban.bypass":
send "{@fishroyale} &cYou can't ban this person !" to player
stop
make server execute command "/smite %arg 1%"
add 1 to {bans.%arg 1%}
set {_banr::*} to "&cYou are permanently banned from &b&lFish&e&lRoyale&c.", "&7Reason: &cNot Specified", "&cBy: &2[Moderator] %player%" and "&6If you think this is a mistake then please appeal here: &bhttps://discord.gg/HjEVzx28P9"
ban arg 1 due to "%{_banr::*}%"
kick arg 1 due to "%{_banr::*}%"
send "{@fishroyale} &c%arg 1% &ahas been succecfuly banned!" to player
add arg 1 to {banlist::*}
stop
if arg 1 is set:
if arg 2 is set:
if arg 1 has permission "ban.bypass":
send "{@fishroyale} &cYou can't ban this person !" to player
stop
make server execute command "/smite %arg 1%"
add 1 to {bans.%arg 1%}
set {_banr::*} to "&cYou are permanently banned from &b&lFish&e&lRoyale&c.", "&7Reason: &c%arg 2%", "&cBy: &2[Moderator] %player%" and "&6If you think this is a mistake then please appeal here: &bhttps://discord.gg/HjEVzx28P9"
ban arg 1 due to "%{_banr::*}%"
kick arg 1 due to "%{_banr::*}%"
send "{@fishroyale} &c%arg 1% &ahas been succecfuly banned for &6%arg 2%" to player
add arg 1 to {banlist::*}
stop
if arg 1 is not set:
send "{@fishroyale} &cUsage /ban PLAYER REASON" to player
stop
command /bans:
permission: HELPER
trigger:
send "&cBanned Players: &f%{banlist::*}%" to player
command /unban [<text>]:
permission: SMODERATOR
trigger:
if arg 1 is set:
make server execute command "/pardon %arg 1%"
send "{@fishroyale} &aYou succecfuly unbanned &e%arg 1%"
remove arg 1 from {banlist::*}
add 1 to {unbans.%arg 1%}
stop
if arg 1 is not set:
send "{@fishroyale} &cUsage: /unban PLAYER"
stop
command /alt [<offline player>]:
permission: MODERATOR
trigger:
if arg 1 is not set:
send "&cUsage : /alt <player>"
stop
if {ip.%arg 1%} is not set:
send "{@fishroyale} &cError: &4This player never joinned the server !"
stop
if {firstalt.%{ip.%arg 1%}%} is not set:
send "{@fishroyale} &cError: &4This player never joinned the server !"
stop
else:
send "{@fishroyale} &9Alts of %arg 1% : &c%{altip.%{ip.%arg 1%}%::*}%&9 First Account : &c%{firstalt.%{ip.%arg 1%}%}% &9Ip of the player : &c%{ip.%arg 1%}%"
on join:
if {ip.%player%} is not set:
remove player from {altip.%ip of player%::*}
wait 1 tick
add player to {altip.%ip of player%::*}
set {ip.%player%} to ip of player
if {firstalt.%ip of player%} is not set:
remove player from {altip.%ip of player%::*}
wait 1 tick
add player to {altip.%ip of player%::*}
set {firstalt.%ip of player%} to player's name
else:
remove "%player%" from {altip.%ip of player%::*}
wait 1 tick
add player to {altip.%ip of player%::*}
if {firstalt.%ip of player%} is set:
set {_name} to player's name
if {_name} is {firstalt.%ip of player%}:
stop
else:
loop all players:
if loop-player has permission "alt.see":
send "{@fishroyale} &c%{_name}% is an alt of %{firstalt.%ip of player%}%" to loop-player
loop {altip.%ip of player%::*}:
if loop-value is banned:
ban player due to "&cBan evading"
kick player due to "&cAlt of %loop-value%"
broadcast "{@fishroyale} &9The player &c%player% &9has been banned for &cBan Evading '&cAlt of %loop-value%'"
command /suspend [<offline player>] [<text>]:
permission: SMODERATOR
trigger:
if arg 1 is set:
if arg 2 is set:
if arg 1 has permission "ban.bypass":
send "{@fishroyale} &cYou can't ban this person !" to player
stop
send "{@fishroyale} &a%arg 1% has been suspended!" to player
make server execute command "/banip %arg 1% &cYour IP has been suspended from {@fishroyale} &c Reason: %arg 2%! Think its an error ? Contact the support on discord, &bhttps://discord.gg/CJqfbZF"
make server execute command "/ban %arg 1% &cYour IP has been suspended from {@fishroyale} &c Reason: %arg 2%! Think its an error ? Contact the support on discord, &bhttps://discord.gg/CJqfbZF"
broadcast "{@fishroyale} &c%arg 1% IP got suspended from the server! Reason: &e%arg 2%"
add arg 1 to {banlist}
stop
if arg 1 is set:
if arg 2 is not set:
if arg 1 has permission "ban.bypass":
send "{@fishroyale} &cYou can't ban this person !" to player
stop
send "{@fishroyale} &a%arg 1% has been suspended!" to player
make server execute command "/banip %arg 1% %arg 1% &cYour IP has been suspended from {@fishroyale} &c! Think its an error ? Contact the support on discord, &bhttps://discord.gg/CJqfbZF"
make server execute command "/ban %arg 1% &cYour IP has been suspended from {@fishroyale} &c! Think its an error ? Contact the support on discord, &bhttps://discord.gg/CJqfbZF"
broadcast "{@fishroyale} &c%arg 1% IP got suspended from the server!"
add arg 1 to {banlist}
stop
if arg 1 is not set:
send "{@fishroyale} &cUsage: /sespend NAME REASON" to player
on chat:
if message contain "shutup":
cancel event
send "{@fishroyale} &cYou message has been blocked!" to player
if {iv.%player%} = 3:
make server execute command "/mute %player% 5min Banned Words Servals Times"
on chat:
if message contain "shut up":
cancel event
send "{@fishroyale} &cYou message has been blocked!" to player
if {iv.%player%} = 3:
make server execute command "/mute %player% 5min Banned Words Servals Times"
on chat:
if message contain "nigga":
cancel event
send "{@fishroyale} &cYou message has been blocked!" to player
if {iv.%player%} = 3:
make server execute command "/mute %player% 5min Banned Words Servals Times"
on chat:
if message contain "nigger":
cancel event
send "{@fishroyale} &cYou message has been blocked!" to player
if {iv.%player%} = 3:
make server execute command "/mute %player% 5min Banned Words Servals Times"
on chat:
if message contain "niga":
cancel event
send "{@fishroyale} &cYou message has been blocked!" to player
if {iv.%player%} = 3:
make server execute command "/mute %player% 5min Banned Words Servals Times"
on chat:
if message contain "niger":
cancel event
send "{@fishroyale} &cYou message has been blocked!" to player
if {iv.%player%} = 3:
make server execute command "/mute %player% 5min Banned Words Servals Times"
on chat:
if message contain "fuck":
cancel event
send "{@fishroyale} &cYou message has been blocked!" to player
if {iv.%player%} = 3:
make server execute command "/mute %player% 5min Banned Words Servals Times"
on chat:
if message contain "suck":
cancel event
send "{@fishroyale} &cYou message has been blocked!" to player
if {iv.%player%} = 3:
make server execute command "/mute %player% 5min Banned Words Servals Times"
on chat:
if message contain "dick":
cancel event
send "{@fishroyale} &cYou message has been blocked!" to player
if {iv.%player%} = 3:
make server execute command "/mute %player% 5min Banned Words Servals Times"