patison234

SimplyMobs v Beta 2.0 [Skript 2.0.2]

Dec 17th, 2013
651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.63 KB | None | 0 0
  1. # # # # # # # # # # # # # # # #
  2. # Script by PatisonPlayGames  #
  3. # Name: SimplyMobs            #
  4. # Version: Beta 2.0           #
  5. # Skript: 2.0.2               #
  6. # # # # # # # # # # # # # # # #
  7.  
  8.  
  9.  
  10. #=============================================#
  11. #  Licencja SimplyMobs by PatisonPlayGames!   #
  12. # + Nie zezwalam na:                          #
  13. # - Usuwanie tresci o autorze!                #
  14. # - Udostepnaniu skryptu innym!               #
  15. # - Podszywanie sie pod autora!               #
  16. # - Uzywanie kodu skryptu w swoich skryptach! #
  17. # - Zarabianie na skrypcie!                   #
  18. # + Zezwalam na:                              #
  19. # - Dodawanie kodu na swoja potrzebe!         #
  20. # - Modyfikowanie wiadomosci!                 #
  21. #=============================================#
  22.  
  23. options:
  24. # # # # # # # # # # # # # # #
  25. #                           #
  26. #       General Config      #
  27. #                           #
  28. # # # # # # # # # # # # # # #
  29.  
  30.  
  31.  
  32.     # Komenda uzywana w skrypcie:  
  33.     komenda: SimplyMobs
  34.     # Skroty do komendy wyzej: 
  35.     aliasy: sm, mobs, simply
  36.     # Tag wyswietlany przed wiadomosciami skryptu! 
  37.     tag: &8[&6SimplyMobs&8]
  38.     #Nazwa pliku sk.Zanim wgrasz plik i zmieniles nazwe zmien ja takze tutaj i dopiero wgraj plik!:
  39.     sk: SimplyMobs
  40.  
  41.    
  42. # # # # # # # # # # # # # #
  43. #                         #
  44. #       Permissions       #
  45. #                         #
  46. # # # # # # # # # # # # # #
  47.  
  48.  
  49.  
  50.     # Wiadomosc przy braku uprawnienia:
  51.     permission: &4Nie masz uprawnien by uzywac tej komendy!
  52.  
  53.  
  54.    
  55. # Autor Config
  56.     version: Beta 2.0
  57.    
  58. command /{@komenda} [<text>] [<text>]:
  59.     aliases: {@aliasy}
  60.     trigger:
  61.         if arg 1 is "wersja" or "version":
  62.             send "&7--------------------------------------------------------"
  63.             send " &8Nazwa: &aSimplyMobs"
  64.             send " &8Wersja: &a&n{@version}"
  65.             send "&7--------------------------------------------------------"
  66.             stop
  67.         if arg 1 is "author" or "autor":
  68.             send "&7--------------------------------------------------------"
  69.             send " &8Autor: &aPatisonPlayGames"
  70.             send " &8Nazwa: &aSimplyMobs"
  71.             send "&8 &8&nYou&4&nTube:&a &nwww.youtube.com/PatisonPlayGames"
  72.             send "&7--------------------------------------------------------"
  73.             stop
  74.         if arg 1 is "moby":
  75.             if player has permission "simplymobs.list" or "simplymobs.admin":
  76.                 send "&8====&6Lista Mobow&8===="
  77.                 send "&6chicken - &aKurczak"
  78.                 send "&6cow - &akrowa"
  79.                 send "&6ocelot - &aocelot!"
  80.                 send "&6pig - &aswinia"
  81.                 send "&6sheep - &aowca"
  82.                 send "&6horse - &akon"
  83.                 send "&6squid - &asquid"
  84.                 send "&6enderdragon - &asmok"
  85.                 send "&6bat - &anietoperz"
  86.                 send "&6wither - &awither"
  87.                 send "&6villager - &aosadnik"
  88.                 send "&6mooshroom - &a grzybowa krowa"
  89.                 send "&6cavespider - &apajak jaskiniowy"
  90.                 send "&6enderman - &a enderman"
  91.                 send "&6spider - &apajak"
  92.                 send "&6wolf - &awilk"
  93.                 send "&6irongolem - &agolem"
  94.                 send "&6giant - &agiant"
  95.                 send "&6snowgolem - &abalwan"
  96.                 send "&6blaze - &ablaze"
  97.                 send "&6creeper - &acreeper"
  98.                 send "&6ghast - &aghast"
  99.                 send "&6magmacube - &amagmacube"
  100.                 send "&6silverfish - &asilverfish"
  101.                 send "&6skeleton - &aszkielet"
  102.                 send "&6slime - &aslime"
  103.                 send "&6witherskeleton - &awitherskeleton"
  104.                 send "&6zombie - &azombie"
  105.                 stop
  106.             else:
  107.                 send "{@tag} {@permission}"
  108.                 stop
  109.         if arg 1 is "reload" or "przeladuj":
  110.             if player has permission "simplymobs.reload" or "simplymobs.admin":
  111.                 execute console command "/skript reload {@sk}"
  112.                 send "{@tag} &aPrzeladowano"
  113.                 stop
  114.             else:
  115.                 send "{@tag} {@permission}"
  116.                 stop
  117.         if arg 1 is not set:
  118.             send "&8=======&6{@komenda}&8========="
  119.             send "&6{@komenda} - &aPokazuje liste komend!"
  120.             send "&6{@komenda} [Typ_Moba] [Imie] - &aRespi moba o danej nazwie!"
  121.             send "&6{@komenda} moby - &aPokazuje wszystkie moby!"
  122.             send "&6{@komenda} reload - &aPrzeladowywuje skrypt!"
  123.             send "&6{@komenda} wersja - &aPokazuje wersje skryptu!"
  124.             send "&6{@komenda} autor - &aPokazuje info o autorze!"
  125.             stop
  126.         if arg 1 is "help" or "pomoc":
  127.             send "&8=======&6{@komenda}&8========="
  128.             send "&6{@komenda} - &aPokazuje liste komend!"
  129.             send "&6{@komenda} [Typ_Moba] [Imie] - &aRespi moba o danej nazwie!"
  130.             send "&6{@komenda} moby - &aPokazuje wszystkie moby!"
  131.             send "&6{@komenda} reload - &aPrzeladowywuje skrypt!"
  132.             send "&6{@komenda} wersja - &aPokazuje wersje skryptu!"
  133.             send "&6{@komenda} autor - &aPokazuje info o autorze!"
  134.             stop
  135.         if player has permission "simplymobs.name.mob" or "simplymobs.admin":
  136.             if arg 1 is "chicken":
  137.                 if arg 2 is set:
  138.                     set {_loc} to location of player
  139.                     spawn chicken at {_loc}
  140.                     set display name of the last spawned entity to "%colored arg 2%"
  141.                     send "{@tag} &aZrespiono kurczaka o nazwie %colored arg 2%"
  142.                     stop
  143.                 else:
  144.                     send "{@tag} &cPodaj nazwe moba!"
  145.                     stop
  146.             if arg 1 is "cow":
  147.                 if arg 2 is set:
  148.                     set {_loc} to location of player
  149.                     spawn cow at {_loc}
  150.                     set display name of the last spawned entity to "%colored arg 2%"
  151.                     send "{@tag} &aZrespiono krowe o nazwie %colored arg 2%"
  152.                     stop
  153.                 else:
  154.                     send "{@tag} &cPodaj nazwe moba!"
  155.                     stop
  156.             if arg 1 is "ocelot":
  157.                 if arg 2 is set:
  158.                     set {_loc} to location of player
  159.                     spawn ocelot at {_loc}
  160.                     set display name of the last spawned entity to "%colored arg 2%"
  161.                     send "{@tag} &aZrespiono ocelota o nazwie %colored arg 2%"
  162.                     stop
  163.                 else:
  164.                     send "{@tag} &cPodaj nazwe moba!"
  165.                     stop
  166.             if arg 1 is "pig":
  167.                 if arg 2 is set:
  168.                     set {_loc} to location of player
  169.                     spawn pig at {_loc}
  170.                     set display name of the last spawned entity to "%colored arg 2%"
  171.                     send "{@tag} &aZrespiono swinie o nazwie %colored arg 2%"
  172.                     stop
  173.                 else:
  174.                     send "{@tag} &cPodaj nazwe moba!"
  175.                     stop
  176.             if arg 1 is "sheep":
  177.                 if arg 2 is set:
  178.                     set {_loc} to location of player
  179.                     spawn sheep at {_loc}
  180.                     set display name of the last spawned entity to "%colored arg 2%"
  181.                     send "{@tag} &aZrespiono owce o nazwie %colored arg 2%"
  182.                     stop
  183.                 else:
  184.                     send "{@tag} &cPodaj nazwe moba!"
  185.                     stop
  186.             if arg 1 is "horse":
  187.                 if arg 2 is set:
  188.                     set {_loc} to location of player
  189.                     spawn horse at {_loc}
  190.                     set display name of the last spawned entity to "%colored arg 2%"
  191.                     send "{@tag} &aZrespiono konia o nazwie %colored arg 2%"
  192.                     stop
  193.                 else:
  194.                     send "{@tag} &cPodaj nazwe moba!"
  195.                     stop
  196.             if arg 1 is "squid":
  197.                 if arg 2 is set:
  198.                     set {_loc} to location of player
  199.                     spawn squid at {_loc}
  200.                     set display name of the last spawned entity to "%colored arg 2%"
  201.                     send "{@tag} &aZrespiono squida o nazwie %colored arg 2%"
  202.                     stop
  203.                 else:
  204.                     send "{@tag} &cPodaj nazwe moba!"
  205.                     stop
  206.             if arg 1 is "enderdragon":
  207.                 if arg 2 is set:
  208.                     set {_loc} to location of player
  209.                     spawn enderdragon at {_loc}
  210.                     set display name of the last spawned entity to "%colored arg 2%"
  211.                     send "{@tag} &aZrespiono smoka o nazwie %colored arg 2%"
  212.                     stop
  213.                 else:
  214.                     send "{@tag} &cPodaj nazwe moba!"
  215.                     stop
  216.             if arg 1 is "bat":
  217.                 if arg 2 is set:
  218.                     set {_loc} to location of player
  219.                     spawn bat at {_loc}
  220.                     set display name of the last spawned entity to "%colored arg 2%"
  221.                     send "{@tag} &aZrespiono nietoperza o nazwie %colored arg 2%"
  222.                     stop
  223.                 else:
  224.                     send "{@tag} &cPodaj nazwe moba!"
  225.                     stop
  226.             if arg 1 is "wither":
  227.                 if arg 1 is set:
  228.                     set {_loc} to location of player
  229.                     spawn wither at {_loc}
  230.                     set display name of the last spawned entity to "%colored arg 2%"
  231.                     send "{@tag} &aZrespiono wither o nazwie %colored arg 2%"
  232.                     stop
  233.                 else:
  234.                     send "{@tag} &cPodaj nazwe moba!"
  235.                     stop
  236.             if arg 1 is "villager":
  237.                 if arg 2 is set:
  238.                     set {_loc} to location of player
  239.                     spawn villager at {_loc}
  240.                     set display name of the last spawned entity to "%colored arg 2%"
  241.                     send "{@tag} &aZrespiono osadnika o nazwie %colored arg 2%"
  242.                     stop
  243.                 else:
  244.                     send "{@tag} &cPodaj nazwe moba!"
  245.                     stop
  246.             if arg 1 is "mooshroom":
  247.                 if arg 2 is set:
  248.                     set {_loc} to location of player
  249.                     spawn mooshroom at {_loc}
  250.                     set display name of the last spawned entity to "%colored arg 2%"
  251.                     send "{@tag} &aZrespiono mooshroom o nazwie %colored arg 2%"
  252.                     stop
  253.                 else:
  254.                     send "{@tag} &cPodaj nazwe moba!"
  255.                     stop
  256.             if arg 1 is "cavespider":
  257.                 if arg 2 is set:
  258.                     set {_loc} to location of player
  259.                     spawn cavespider at {_loc}
  260.                     set display name of the last spawned entity to "%colored arg 2%"
  261.                     send "{@tag} &aZrespiono pajaka jaskiniowego o nazwie %colored arg 2%"
  262.                     stop
  263.                 else:
  264.                     send "{@tag} &cPodaj nazwe moba!"
  265.                     stop
  266.             if arg 1 is "enderman":
  267.                 if arg 2 is set:
  268.                     set {_loc} to location of player
  269.                     spawn enderman at {_loc}
  270.                     set display name of the last spawned entity to "%colored arg 2%"
  271.                     send "{@tag} &aZrespiono endermana o nazwie %colored arg 2%"
  272.                     stop
  273.                 else:
  274.                     send "{@tag} &cPodaj nazwe moba!"
  275.                     stop
  276.             if arg 1 is "spider":
  277.                 if arg 2 is set:
  278.                     set {_loc} to location of player
  279.                     spawn spider at {_loc}
  280.                     set display name of the last spawned entity to "%colored arg 2%"
  281.                     send "{@tag} &aZrespiono pajaka o nazwie %colored arg 2%"
  282.                     stop
  283.                 else:
  284.                     send "{@tag} &cPodaj nazwe moba!"
  285.                     stop
  286.             if arg 1 is "wolf":
  287.                 if arg 2 is set:
  288.                     set {_loc} to location of player
  289.                     spawn wolf at {_loc}
  290.                     set display name of the last spawned entity to "%colored arg 2%"
  291.                     send "{@tag} &aZrespiono wilka o nazwie %colored arg 2%"
  292.                     stop
  293.                 else:
  294.                     send "{@tag} &cPodaj nazwe moba!"
  295.                     stop
  296.             if arg 1 is "irongolem":
  297.                 if arg 2 is set:
  298.                     set {_loc} to location of player
  299.                     spawn iron golem at {_loc}
  300.                     set display name of the last spawned entity to "%colored arg 2%"
  301.                     send "{@tag} &aZrespiono golema o nazwie %colored arg 2%"
  302.                     stop
  303.                 else:
  304.                     send "{@tag} &cPodaj nazwe moba!"
  305.                     stop
  306.             if arg 1 is "giant":
  307.                 if arg 2 is set:
  308.                     set {_loc} to location of player
  309.                     spawn giant at {_loc}
  310.                     set display name of the last spawned entity to "%colored arg 2%"
  311.                     send "{@tag} &aZrespiono gianta o nazwie %colored arg 2%"
  312.                     stop
  313.                 else:
  314.                     send "{@tag} &cPodaj nazwe moba!"
  315.                     stop
  316.             if arg 1 is "snowgolem":
  317.                 if arg 2 is set:
  318.                     set {_loc} to location of player
  319.                     spawn snow golem at {_loc}
  320.                     set display name of the last spawned entity to "%colored arg 2%"
  321.                     send "{@tag} &aZrespiono balwana o nazwie %colored arg 2%"
  322.                     stop
  323.                 else:
  324.                     send "{@tag} &cPodaj nazwe moba!"
  325.                     stop
  326.             if arg 1 is "blaze":
  327.                 if arg 2 is set:
  328.                     set {_loc} to location of player
  329.                     spawn blaze at {_loc}
  330.                     set display name of the last spawned entity to "%colored arg 2%"
  331.                     send "{@tag} &aZrespiono blaze o nazwie %colored arg 2%"
  332.                     stop
  333.                 else:
  334.                     send "{@tag} &cPodaj nazwe moba!"
  335.                     stop
  336.             if arg 1 is "creeper":
  337.                 if arg 2 is set:
  338.                     set {_loc} to location of player
  339.                     spawn creeper at {_loc}
  340.                     set display name of the last spawned entity to "%colored arg 2%"
  341.                     send "{@tag} &aZrespiono creepera o nazwie %colored arg 2%"
  342.                     stop
  343.                 else:
  344.                     send "{@tag} &cPodaj nazwe moba!"
  345.                     stop
  346.             if arg 1 is "ghast":
  347.                 if arg 2 is set:
  348.                     set {_loc} to location of player
  349.                     spawn ghast at {_loc}
  350.                     set display name of the last spawned entity to "%colored arg 2%"
  351.                     send "{@tag} &aZrespiono ghasta o nazwie %colored arg 2%"
  352.                     stop
  353.                 else:
  354.                     send "{@tag} &cPodaj nazwe moba!"
  355.                     stop
  356.             if arg 1 is "magmacube":
  357.                 if arg 2 is set:
  358.                     set {_loc} to location of player
  359.                     spawn magma cube at {_loc}
  360.                     set display name of the last spawned entity to "%colored arg 2%"
  361.                     send "{@tag} &aZrespiono magmacube o nazwie %colored arg 2%"
  362.                     stop
  363.                 else:
  364.                     send "{@tag} &cPodaj nazwe moba!"
  365.                     stop
  366.             if arg 1 is "silverfish":
  367.                 if arg 2 is set:
  368.                     set {_loc} to location of player
  369.                     spawn silverfish at {_loc}
  370.                     set display name of the last spawned entity to "%colored arg 2%"
  371.                     send "{@tag} &aZrespiono silverfisha o nazwie %colored arg 2%"
  372.                     stop
  373.                 else:
  374.                     send "{@tag} &cPodaj nazwe moba!"
  375.                     stop
  376.             if arg 1 is "skeleton":
  377.                 if arg 2 is set:
  378.                     set {_loc} to location of player
  379.                     spawn skeleton at {_loc}
  380.                     set display name of the last spawned entity to "%colored arg 2%"
  381.                     send "{@tag} &aZrespiono szkieleta o nazwie %colored arg 2%"
  382.                     stop
  383.                 else:
  384.                     send "{@tag} &cPodaj nazwe moba!"
  385.                     stop
  386.             if arg 1 is "slime":
  387.                 if arg 2 is set:
  388.                     set {_loc} to location of player
  389.                     spawn slime at {_loc}
  390.                     set display name of the last spawned entity to "%colored arg 2%"
  391.                     send "{@tag} &aZrespiono slima o nazwie %colored arg 2%"
  392.                     stop
  393.                 else:
  394.                     send "{@tag} &cPodaj nazwe moba!"
  395.                     stop
  396.             if arg 1 is "witch":
  397.                 if arg 2 is set:
  398.                     set {_loc} to location of player
  399.                     spawn witch at {_loc}
  400.                     set display name of the last spawned entity to "%colored arg 2%"
  401.                     send "{@tag} &aZrespiono wiedzme o nazwie %colored arg 2%"
  402.                     stop
  403.                 else:
  404.                     send "{@tag} &cPodaj nazwe moba!"
  405.                     stop
  406.             if arg 1 is "witherskeleton":
  407.                 if arg 2 is set:
  408.                     set {_loc} to location of player
  409.                     spawn wither skeleton at {_loc}
  410.                     set display name of the last spawned entity to "%colored arg 2%"
  411.                     send "{@tag} &aZrespiono wither szkieleta o nazwie %colored arg 2%"
  412.                     stop
  413.                 else:
  414.                     send "{@tag} &cPodaj nazwe moba!"
  415.                     stop
  416.             if arg 1 is "zombie":
  417.                 if arg 2 is set:
  418.                     set {_loc} to location of player
  419.                     spawn zombie at {_loc}
  420.                     set display name of the last spawned entity to "%colored arg 2%"
  421.                     send "{@tag} &aZrespiono zombie o nazwie %colored arg 2%"
  422.                     stop
  423.                 else:
  424.                     send "{@tag} &cPodaj nazwe moba!"
  425.                     stop               
  426.             send "{@tag} &cTen typ moba nie istnieje!"
  427.             stop
  428.         else:
  429.             send "{@tag} {@permission}"
  430.             stop
  431.  
  432.            
  433. on skript start:
  434.     send "&8SimplyMobs wymaga wersji Skript 2.0.2 ..." to the console
  435.     wait 1 seconds
  436.     send "&8Serwer pracuje na wersji: %skript version%" to the console
  437.     send "" to the console
  438.     send "&8--------------------------------------------------------------" to the console
  439.     send "&8|                                                            |" to the console
  440.     send "&8|                  Enable &9SimplyMobs                     &8|" to the console
  441.     send "&8|                                                            |" to the console
  442.     send "&8--------------------------------------------------------------" to the console
  443.     send "" to the console
  444.     send "&8Autor: &ePatisonPlayGames" to the console
  445.     send "&8Version: &7{@version}" to the console
  446.     send "" to the console
Advertisement
Add Comment
Please, Sign In to add comment