Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===============================================
- #ベッドリスポ設定
- #===============================================
- on rightclick on bed:
- set {pl-status.respoint.%player%} to location of player
- message "&6&lリスポーンポイント&e&lを設定しました!"
- execute console command "/execute %player% ~ ~ ~ spawnpoint %player% ~ ~ ~"
- play sound "block.note.pling" with pitch 1.5 at player
- play sound "block.note.snare" with pitch 1 at player
- play sound "block.note.basedrum" with pitch 1 at player
- wait 1 minecraft ticks
- play sound "block.note.pling" with pitch 1.2 at player
- play sound "block.note.basedrum" with pitch 1 at player
- wait 1 minecraft ticks
- play sound "block.note.pling" with pitch 1.5 at player
- play sound "block.note.snare" with pitch 0.5 at player
- play sound "block.note.basedrum" with pitch 1 at player
- command /respoint:
- description: 設定したリスポーンポイントへTPします
- usage: &e/rsp
- aliases: /rsp
- trigger:
- teleport player to the location {pl-status.respoint.%player%}
- play sound "block.note.pling" with pitch 1 at player
- play sound "block.note.snare" with pitch 1 at player
- play sound "block.note.basedrum" with pitch 1 at player
- #===============================================
- #レベルスクリプト
- #===============================================
- #command /entryenemy <text> <number>:
- # description: 運営用のコマンドです
- # usage: &e/ee
- # aliases: /ee
- # trigger:
- # add 1 to {entry-enemy-amount}
- # set {entry-enemy.name.%{entry-enemy-amount}%} to arg 1
- # set {entry-enemy.exp.%{entry-enemy-amount}%} to arg 2
- #on death:
- # loop {entry-enemy-amount} times:
- # if name of victim is {entry-enemy.name.%loop-number%}:
- # add {entry-enemy.exp.%loop-number%} to {pl-status.exp.%attacker%}
- #every minecraft tick:
- # loop all players:
- # if {pl-status.level.%loop-player%} is not set:
- # set {pl-status.level.%loop-player%} to 0
- # if {pl-status.level.%loop-player%} is more than -1:
- # if {pl-status.level.%loop-player%} is less than 17:
- # set {_levelup-exp} to 6*{pl-status.level.%loop-player%}+15
- # if {pl-status.exp.%loop-player%} is more than {_levelup-exp}:
Add Comment
Please, Sign In to add comment