Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {lvl.%player%} = 0
- {xp.%player%} = 0
- options:
- #-----------------------------------Log-------------------------------------
- log: &8[&6System&8] &7&l|
- #---------------------------------------------------------------------------
- #---------------------------------------------------------------------------
- #-----------------------------------Types-----------------------------------
- playerleveling: true
- #---------------------------------------------------------------------------
- #---------------------------------------------------------------------------
- #---------------------------------PLeveling---------------------------------
- xpforlvlup: 500
- maxlvl: 500
- #---------------------------------------------------------------------------
- on any movement:
- if {@playerleveling} is true:
- if {xp.%player%} is greater or equal to {@xpforlvlup}:
- if {lvl.%player%} is greater or equal to {@maxlvl}:
- stop
- else:
- remove {@xpforlvlup} from {xp.%player%}
- add 1 to {lvl.%player%}
- send "{@log} &e&lレベルUP!現在の&a&lLV: &b%{lvl.%player%}%" to player
- stop
- on any movement:
- set {suffix::%uuid of player%} to " &7|&8[&aLv&e:&6%{lvl.%player%}%&8]"
- #---------------------------------------------------------
- on chat:
- cancel event
- if {prefix::%uuid of player%} is set:
- if {suffix::%uuid of player%} is set:
- broadcast "%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}% &f≫ %message%"
- else:
- broadcast "%{prefix::%uuid of player%}%%player% &f≫ %message%"
- else:
- if {suffix::%uuid of player%} is set:
- broadcast "&7%player%%{suffix::%uuid of player%}% &f≫ %message%"
- else:
- broadcast "&7%player% &f≫ %message%"
- command /prefix [<offline player>] [<text>]:
- permission: admin
- permission message: あなたは権限を持っていません。
- trigger:
- set {prefix::%uuid of arg-1%} to colored arg-2
- send "&b%arg 1% の前を %colored arg 2% &bにしました!"
- command /clearprefix [<offline player>]:
- permission: admin
- permission message: あなたは権限を持っていません。
- trigger:
- clear {prefix::%uuid of arg-1%}
- send "&b%arg 1% の称号をリセットしました。"
- command /suffix [<offline player>] [<text>]:
- permission: admin
- permission message: あなたは権限を持っていません。
- trigger:
- set {suffix::%uuid of arg-1%} to coloured arg-2
- send "&b%arg 1% の称号を%colored arg 2% &bにしました!"
- command /clearsuffix [<offline player>]:
- permission: admin
- permission message: あなたは権限を持っていません。
- trigger:
- clear {suffix::%uuid of arg-1%}
- send "&b%arg 1% の称号をリセットしました。"
- command /prefixhelp:
- permission: skript.admin
- permission message: あなたは権限を持っていません。
- trigger:
- send "&b&m================================="
- send "&b&lPREFIX &eSKRIPT Version:1.12.2 "
- send "&b&l/prefix (名前) (称号) "
- send "&b&l/clearprefix (名前) "
- send "&b&l/suffix (名前) (称号) "
- send "&b&l/clearsuffix (名前)"
- send "&b&l/playerrank (名前)"
- send "&b&m================================="
- command /playerrank [<offline player>]:
- trigger:
- if arg-1 is not set:
- send " &e&l %player%"
- send " &a&lランク≫ %{prefix::%uuid of player%}%"
- send " &a"
- if arg-1 is set:
- send " &e&l %arg-1%"
- send " &a&lランク≫ %{prefix::%uuid of arg-1%}%"
- send " &a"
- #-----------------------------------------------------------------------
- command /status [<offline player>]:
- trigger:
- if arg-1 is not set:
- send "&f"
- send " &6%player%&f-&estatus"
- send "&6--------------------"
- send "&bLV:%{lvl.%player%}% "
- send "&aXP:%{xp.%player%}% "
- send "&eLVUP:{@xpforlvlup}"
- send "&6--------------------"
- send "&f"
- if arg-1 is set:
- send "&f"
- send " &6%arg-1%&f-&estatus"
- send "&6--------------------"
- send "&bLV:%{lvl.%arg-1%}% "
- send "&aXP:%{xp.%arg-1%}% "
- send "&eLVUP:{@xpforlvlup}"
- send "&6--------------------"
- send "&f"
- command /status-reset [<offline player>]:
- permission: farming
- trigger:
- if arg-1 is not set:
- set {lvl.%player%} to 1
- set {xp.%player%} to 0
- send "{@log}&e%player%&aさんのステータスをリセットしました。"
- if arg-1 is set:
- set {lvl.%arg-1%} to 1
- set {xp.%arg-1%} to 0
- send "{@log}&e%arg-1%&aさんのステータスをリセットしました。"
- on rightclick with wooden_hoe on carrot_plant:7:
- chance of 100%:
- drop 1 carrot
- add 1 to {xp.%player%}
- chance of 50%:
- drop 1 carrot
- chance of 1%:
- drop 5 carrot
- chance of 1%:
- drop 1 golden_carrot
- on rightclick with stone_hoe on carrot_plant:7:
- chance of 100%:
- drop 1 carrot
- add 2 to {xp.%player%}
- chance of 66%:
- drop 1 carrot
- chance of 33%:
- drop 2 carrot
- chance of 1%:
- drop 6 carrot
- chance of 1%:
- drop 2 golden_carrot
- on rightclick with iron_hoe on carrot_plant:7:
- chance of 100%:
- drop 1 carrot
- add 3 to {xp.%player%}
- chance of 75%:
- drop 2 carrot
- chance of 50%:
- drop 2 carrot
- chance of 25%:
- drop 3 carrot
- chance of 1%:
- drop 7 carrot
- chance of 1%:
- drop 3 golden_carrot
- on rightclick with diamond_hoe on carrot_plant:7:
- chance of 100%:
- drop 1 carrot
- add 4 to {xp.%player%}
- chance of 75%:
- drop 2 carrot
- chance of 50%:
- drop 3 carrot
- chance of 25%:
- drop 4 carrot
- chance of 1%:
- drop 8 carrot
- chance of 1%:
- drop 4 golden_carrot
- on rightclick with golden_hoe on carrot_plant:7:
- chance of 100%:
- drop 2 carrot
- add 5 to {xp.%player%}
- chance of 75%:
- drop 3 carrot
- chance of 50%:
- drop 4 carrot
- chance of 25%:
- drop 5 carrot
- chance of 1%:
- drop 10 carrot
- chance of 1%:
- drop 5 golden_carrot
- on rightclick with wooden_hoe on potato_plant:7:
- chance of 100%:
- drop 1 potato
- add 1 to {xp.%player%}
- chance of 50%:
- drop 1 potato
- chance of 1%:
- drop 5 potato
- chance of 1%:
- drop 1 poisonous_potato
- on rightclick with stone_hoe on potato_plant:7:
- chance of 100%:
- drop 1 potato
- add 2 to {xp.%player%}
- chance of 66%:
- drop 1 potato
- chance of 33%:
- drop 2 potato
- chance of 1%:
- drop 6 potato
- chance of 1%:
- drop 2 poisonous_potato
- on rightclick with iron_hoe on potato_plant:7:
- chance of 100%:
- drop 1 potato
- add 3 to {xp.%player%}
- chance of 75%:
- drop 2 potato
- chance of 50%:
- drop 2 potato
- chance of 25%:
- drop 3 potato
- chance of 1%:
- drop 7 potato
- chance of 1%:
- drop 3 poisonous_potato
- on rightclick with diamond_hoe on potato_plant:7:
- chance of 100%:
- drop 1 potato
- add 4 to {xp.%player%}
- chance of 75%:
- drop 2 potato
- chance of 50%:
- drop 3 potato
- chance of 25%:
- drop 4 potato
- chance of 1%:
- drop 8 potato
- chance of 1%:
- drop 4 poisonous_potato
- on rightclick with golden_hoe on potato_plant:7:
- chance of 100%:
- drop 2 potato
- add 5 to {xp.%player%}
- chance of 75%:
- drop 3 potato
- chance of 50%:
- drop 4 potato
- chance of 25%:
- drop 5 potato
- chance of 1%:
- drop 10 potato
- chance of 1%:
- drop 5 poisonous_potato
- on rightclick with wooden_hoe on wheat:7:
- chance of 100%:
- drop 1 wheat
- add 1 to {xp.%player%}
- chance of 50%:
- drop 1 wheat
- chance of 1%:
- drop 5 wheat
- on rightclick with stone_hoe on wheat:7:
- chance of 100%:
- drop 1 wheat
- add 2 to {xp.%player%}
- chance of 66%:
- drop 1 wheat
- chance of 33%:
- drop 2 wheat
- chance of 1%:
- drop 6 wheat
- on rightclick with iron_hoe on wheat:7:
- chance of 100%:
- drop 1 wheat
- add 3 to {xp.%player%}
- chance of 75%:
- drop 2 wheat
- chance of 50%:
- drop 2 wheat
- chance of 25%:
- drop 3 wheat
- chance of 1%:
- drop 7 wheat
- on rightclick with diamond_hoe on wheat:7:
- chance of 100%:
- drop 1 wheat
- add 4 to {xp.%player%}
- chance of 75%:
- drop 2 wheat
- chance of 50%:
- drop 3 wheat
- chance of 25%:
- drop 4 wheat
- chance of 1%:
- drop 8 wheat
- on rightclick with golden_hoe on wheat:7:
- chance of 100%:
- drop 2 wheat
- add 5 to {xp.%player%}
- chance of 75%:
- drop 3 wheat
- chance of 50%:
- drop 4 wheat
- chance of 25%:
- drop 5 wheat
- chance of 1%:
- drop 10 wheat
Add Comment
Please, Sign In to add comment