Advertisement
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
- 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"
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement