SHARE
TWEET

Untitled

K2Rk1o Dec 6th, 2018 (edited) 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. variables:
  2.     {lvl.%player%} = 0
  3.     {xp.%player%} = 0
  4.  
  5.  
  6. options:
  7.     #-----------------------------------Log-------------------------------------
  8.     log: &8[&6System&8] &7&l|
  9.     #---------------------------------------------------------------------------
  10.    
  11.     #---------------------------------------------------------------------------
  12.     #-----------------------------------Types-----------------------------------
  13.     playerleveling: true
  14.     #---------------------------------------------------------------------------
  15.    
  16.     #---------------------------------------------------------------------------
  17.     #---------------------------------PLeveling---------------------------------
  18.     xpforlvlup: 500
  19.     maxlvl: 500
  20.     #---------------------------------------------------------------------------
  21.  
  22. on any movement:
  23.     if {@playerleveling} is true:
  24.         if {xp.%player%} is greater or equal to {@xpforlvlup}:
  25.             if {lvl.%player%} is greater or equal to {@maxlvl}:
  26.                 stop
  27.             else:
  28.                 remove {@xpforlvlup} from {xp.%player%}
  29.                 add 1 to {lvl.%player%}
  30.                 send "{@log} &e&lレベルUP!現在の&a&lLV: &b%{lvl.%player%}%" to player
  31.                 stop
  32.  
  33. on any movement:
  34.     set {suffix::%uuid of player%} to " &7|&8[&aLv&e:&6%{lvl.%player%}%&8]"
  35.  
  36. #---------------------------------------------------------
  37. on chat:
  38.     cancel event
  39.     if {prefix::%uuid of player%} is set:
  40.         if {suffix::%uuid of player%} is set:
  41.             broadcast "%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}% &f≫ %message%"
  42.         else:
  43.             broadcast "%{prefix::%uuid of player%}%%player% &f≫ %message%"
  44.     else:
  45.         if {suffix::%uuid of player%} is set:
  46.             broadcast "&7%player%%{suffix::%uuid of player%}% &f≫ %message%"
  47.         else:
  48.             broadcast "&7%player% &f≫ %message%"
  49.  
  50. command /prefix [<offline player>] [<text>]:
  51.     permission: admin
  52.     permission message: あなたは権限を持っていません。
  53.     trigger:
  54.         set {prefix::%uuid of arg-1%} to colored arg-2
  55.         send "&b%arg 1% の前を %colored arg 2% &bにしました!"
  56.  
  57. command /clearprefix [<offline player>]:
  58.     permission: admin
  59.     permission message: あなたは権限を持っていません。
  60.     trigger:
  61.         clear {prefix::%uuid of arg-1%}
  62.         send "&b%arg 1% の称号をリセットしました。"
  63.  
  64. command /suffix [<offline player>] [<text>]:
  65.     permission: admin
  66.     permission message: あなたは権限を持っていません。
  67.     trigger:
  68.         set {suffix::%uuid of arg-1%} to coloured arg-2
  69.         send "&b%arg 1% の称号を%colored arg 2% &bにしました!"
  70.  
  71. command /clearsuffix [<offline player>]:
  72.     permission: admin
  73.     permission message: あなたは権限を持っていません。
  74.     trigger:
  75.         clear {suffix::%uuid of arg-1%}
  76.         send "&b%arg 1% の称号をリセットしました。"
  77.  
  78. command /prefixhelp:
  79.     permission: skript.admin
  80.     permission message: あなたは権限を持っていません。
  81.     trigger:
  82.         send "&b&m================================="
  83.         send "&b&lPREFIX &eSKRIPT Version:1.12.2   "
  84.         send "&b&l/prefix (名前) (称号)             "
  85.         send "&b&l/clearprefix (名前)               "
  86.         send "&b&l/suffix (名前) (称号)          "
  87.         send "&b&l/clearsuffix (名前)"
  88.         send "&b&l/playerrank (名前)"
  89.         send "&b&m================================="
  90.  
  91. command /playerrank [<offline player>]:
  92.     trigger:
  93.         if arg-1 is not set:
  94.             send " &e&l %player%"
  95.             send " &a&lランク≫ %{prefix::%uuid of player%}%"
  96.             send " &a"
  97.         if arg-1 is set:
  98.             send " &e&l %arg-1%"
  99.             send " &a&lランク≫ %{prefix::%uuid of arg-1%}%"
  100.             send " &a"
  101. #-----------------------------------------------------------------------
  102.  
  103. command /status [<offline player>]:
  104.     trigger:
  105.         if arg-1 is not set:
  106.             send "&f"
  107.             send " &6%player%&f-&estatus"
  108.             send "&6--------------------"
  109.             send "&bLV:%{lvl.%player%}% "
  110.             send "&aXP:%{xp.%player%}%  "
  111.             send "&eLVUP:{@xpforlvlup}"
  112.             send "&6--------------------"
  113.             send "&f"
  114.         if arg-1 is set:
  115.             send "&f"
  116.             send " &6%arg-1%&f-&estatus"
  117.             send "&6--------------------"
  118.             send "&bLV:%{lvl.%arg-1%}% "
  119.             send "&aXP:%{xp.%arg-1%}%  "
  120.             send "&eLVUP:{@xpforlvlup}"
  121.             send "&6--------------------"
  122.             send "&f"
  123.  
  124.  
  125.  
  126. command /status-reset [<offline player>]:
  127.     permission: farming
  128.     trigger:
  129.         if arg-1 is not set:
  130.             set {lvl.%player%} to 1
  131.             set {xp.%player%} to 0
  132.             send "{@log}&e%player%&aさんのステータスをリセットしました。"
  133.         if arg-1 is set:
  134.             set {lvl.%arg-1%} to 1
  135.             set {xp.%arg-1%} to 0
  136.             send "{@log}&e%arg-1%&aさんのステータスをリセットしました。"
  137.  
  138.  
  139. on rightclick with wooden_hoe on carrot_plant:7:
  140.     chance of 100%:
  141.         drop 1 carrot
  142.         add 1 to {xp.%player%}
  143.     chance of 50%:
  144.         drop 1 carrot
  145.     chance of 1%:
  146.         drop 5 carrot
  147.     chance of 1%:
  148.         drop 1 golden_carrot
  149.  
  150. on rightclick with stone_hoe on carrot_plant:7:
  151.     chance of 100%:
  152.         drop 1 carrot
  153.         add 2 to {xp.%player%}
  154.     chance of 66%:
  155.         drop 1 carrot
  156.     chance of 33%:
  157.         drop 2 carrot
  158.     chance of 1%:
  159.         drop 6 carrot
  160.     chance of 1%:
  161.         drop 2 golden_carrot
  162.  
  163. on rightclick with iron_hoe on carrot_plant:7:
  164.     chance of 100%:
  165.         drop 1 carrot
  166.         add 3 to {xp.%player%} 
  167.     chance of 75%:
  168.         drop 2 carrot
  169.     chance of 50%:
  170.         drop 2 carrot
  171.     chance of 25%:
  172.         drop 3 carrot
  173.     chance of 1%:
  174.         drop 7 carrot
  175.     chance of 1%:
  176.         drop 3 golden_carrot
  177.  
  178. on rightclick with diamond_hoe on carrot_plant:7:
  179.     chance of 100%:
  180.         drop 1 carrot
  181.         add 4 to {xp.%player%}
  182.     chance of 75%:
  183.         drop 2 carrot
  184.     chance of 50%:
  185.         drop 3 carrot
  186.     chance of 25%:
  187.         drop 4 carrot
  188.     chance of 1%:
  189.         drop 8 carrot
  190.     chance of 1%:
  191.         drop 4 golden_carrot
  192.  
  193. on rightclick with golden_hoe on carrot_plant:7:
  194.     chance of 100%:
  195.         drop 2 carrot
  196.         add 5 to {xp.%player%}
  197.     chance of 75%:
  198.         drop 3 carrot
  199.     chance of 50%:
  200.         drop 4 carrot
  201.     chance of 25%:
  202.         drop 5 carrot
  203.     chance of 1%:
  204.         drop 10 carrot
  205.     chance of 1%:
  206.         drop 5 golden_carrot
  207.  
  208. on rightclick with wooden_hoe on potato_plant:7:
  209.     chance of 100%:
  210.         drop 1 potato
  211.         add 1 to {xp.%player%}
  212.     chance of 50%:
  213.         drop 1 potato
  214.     chance of 1%:
  215.         drop 5 potato
  216.     chance of 1%:
  217.         drop 1 poisonous_potato
  218.  
  219. on rightclick with stone_hoe on potato_plant:7:
  220.     chance of 100%:
  221.         drop 1 potato
  222.         add 2 to {xp.%player%}
  223.     chance of 66%:
  224.         drop 1 potato
  225.     chance of 33%:
  226.         drop 2 potato
  227.     chance of 1%:
  228.         drop 6 potato
  229.     chance of 1%:
  230.         drop 2 poisonous_potato
  231.  
  232. on rightclick with iron_hoe on potato_plant:7:
  233.     chance of 100%:
  234.         drop 1 potato
  235.         add 3 to {xp.%player%}
  236.     chance of 75%:
  237.         drop 2 potato
  238.     chance of 50%:
  239.         drop 2 potato
  240.     chance of 25%:
  241.         drop 3 potato
  242.     chance of 1%:
  243.         drop 7 potato
  244.     chance of 1%:
  245.         drop 3 poisonous_potato
  246.  
  247. on rightclick with diamond_hoe on potato_plant:7:
  248.     chance of 100%:
  249.         drop 1 potato
  250.         add 4 to {xp.%player%}
  251.     chance of 75%:
  252.         drop 2 potato
  253.     chance of 50%:
  254.         drop 3 potato
  255.     chance of 25%:
  256.         drop 4 potato
  257.     chance of 1%:
  258.         drop 8 potato
  259.     chance of 1%:
  260.         drop 4 poisonous_potato
  261.  
  262. on rightclick with golden_hoe on potato_plant:7:
  263.     chance of 100%:
  264.         drop 2 potato
  265.         add 5 to {xp.%player%}
  266.     chance of 75%:
  267.         drop 3 potato
  268.     chance of 50%:
  269.         drop 4 potato
  270.     chance of 25%:
  271.         drop 5 potato
  272.     chance of 1%:
  273.         drop 10 potato
  274.     chance of 1%:
  275.         drop 5 poisonous_potato
  276.  
  277. on rightclick with wooden_hoe on wheat:7:
  278.     chance of 100%:
  279.         drop 1 wheat
  280.         add 1 to {xp.%player%}
  281.     chance of 50%:
  282.         drop 1 wheat
  283.     chance of 1%:
  284.         drop 5 wheat
  285.  
  286. on rightclick with stone_hoe on wheat:7:
  287.     chance of 100%:
  288.         drop 1 wheat
  289.         add 2 to {xp.%player%}
  290.     chance of 66%:
  291.         drop 1 wheat
  292.     chance of 33%:
  293.         drop 2 wheat
  294.     chance of 1%:
  295.         drop 6 wheat
  296.  
  297. on rightclick with iron_hoe on wheat:7:
  298.     chance of 100%:
  299.         drop 1 wheat
  300.         add 3 to {xp.%player%}
  301.     chance of 75%:
  302.         drop 2 wheat
  303.     chance of 50%:
  304.         drop 2 wheat
  305.     chance of 25%:
  306.         drop 3 wheat
  307.     chance of 1%:
  308.         drop 7 wheat
  309.  
  310. on rightclick with diamond_hoe on wheat:7:
  311.     chance of 100%:
  312.         drop 1 wheat
  313.         add 4 to {xp.%player%}
  314.     chance of 75%:
  315.         drop 2 wheat
  316.     chance of 50%:
  317.         drop 3 wheat
  318.     chance of 25%:
  319.         drop 4 wheat
  320.     chance of 1%:
  321.         drop 8 wheat
  322.  
  323. on rightclick with golden_hoe on wheat:7:
  324.     chance of 100%:
  325.         drop 2 wheat
  326.         add 5 to {xp.%player%}
  327.     chance of 75%:
  328.         drop 3 wheat
  329.     chance of 50%:
  330.         drop 4 wheat
  331.     chance of 25%:
  332.         drop 5 wheat
  333.     chance of 1%:
  334.         drop 10 wheat
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top