Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /hack <player>:
- permission: skript.admin
- permission message: &4権限がないためこのコマンドは使用できません。
- trigger:
- set {hack.%arg-1%} to true
- send "&f%arg-1%を止めます"
- wait 3 second
- execute player command "/effect %arg-1% minecraft:slowness 100000 255 true"
- execute player command "/effect %arg-1% minecraft:jump_boost 100000 226 true"
- execute player command "/effect %arg-1% minecraft:weakness 100000 255 true"
- execute player command "/effect %arg-1% minecraft:hunger 100000 255 true"
- execute player command "/effect %arg-1% minecraft:glowing 100000 255 true"
- send "&e正常に止まりました"
- command /nohack <player>:
- permission: skript.admin
- permission message: &4権限がないためこのコマンドは使用できません。
- trigger:
- set {hack.%arg-1%} to false
- send "&e止めたのを解除しました"
- execute player command "/effect %arg-1% clear"
- on leftclick with wood axe:
- if clicked block is air:
- stop
- else:
- message "<magenta>%floor(x-coordinate of targeted block)%,%floor(y-
- coordinate of targeted block)%,%floor(z-coordinate of targeted block)%"
- command /adjust <text>:
- trigger:
- if argument contains "x":
- set {_x} to x-coordinate of targeted block
- else:
- set {_x} to "~0"
- if argument contains "y":
- set {_y} to ceil(y-coordinate of targeted block)
- else:
- set {_y} to "~0"
- if argument contains "z":
- set {_z} to z-coordinate of targeted block
- else:
- set {_z} to "~0"
- execute console command "/tp %player% %{_x}% %{_y}% %{_z}%"
- options:
- foot : stone
- command /foot:
- trigger:
- block 1 blocks below player's location is air
- set block 1 blocks below player's location to {@foot}
- on damage:
- chance of 10%:
- execute attacker command "/playsound random.successful_hit @p ~0 ~0 ~0 1 0"
- set damage to damage*2
- command /timer <number>:
- trigger:
- loop all players:
- set loop-player's level to arg
- loop arg times:
- wait 1 second
- loop all players:
- set loop-player's level to arg - loop-number
- broadcast "stop"
- on entity target:
- target is sneaking
- cancel event
- options:
- ( )count: 5
- command /ranking:
- ( )trigger:
- ( )( )set {_high} to 0
- ( )( )loop {list::*}:
- ( )( )( )set {_list::%loop-index%} to loop-value
- ( )( )loop {@count} times:
- ( )( )( )loop {_list::*}:
- ( )( )( )( )loop-value-2 > {_high}
- ( )( )( )( )set {_high} to loop-value-2
- ( )( )( )( )set {_highplayer} to loop-index
- ( )( )( )message "%loop-number%位%{_highplayer}%さんの%{_high}%ポイント!"
- ( )( )( )set {_high} to 0
- ( )( )( )delete {_list::%{_highplayer}%}
- on level change:
- ( )add 1 to {level.%player%}
- on rightclick with nether star:
- ( )execute console command "/applyskill %player%"
- command /applyskill <player>:
- ( )trigger:
- ( )( )open chest with 1 row named "<green>ステータス振り" to arg
- ( )( )wait 1 tick
- ( )( )format slot 0 of arg with iron sword named "<pink>攻撃力" to close then run "upskill 攻撃力 %arg%"
- ( )( )format slot 1 of arg with iron chestplate named "<aqua>防御力" to close then run "upskill 防御力 %arg%"
- ( )( )format slot 2 of arg with blaze rod named "<purple>魔力" to close then run "upskill 魔力 %arg%"
- ( )( )format slot 3 of arg with book named "<yellow>知力" to close then run "upskill 知力 %arg%"
- ( )( )format slot 4 of arg with emerald named "<lime>運" to close then run "upskill 運 %arg%"
- ( )( )format slot 7 of arg with {level.%arg%} of nether star named "<pink>残りポイント" to run ""
- ( )( )format slot 8 of arg with barrier named "<magenta>キャンセル" to close
- ( )( )
- command /upskill <string> <player>:
- ( )trigger:
- ( )( ){level.%arg 2%} > 0
- ( )( )remove 1 from {level.%arg 2%}
- ( )( )if arg 1 is "攻撃力":
- ( )( )( )add 1 to {str.%arg 2%}
- ( )( )if arg 1 is "防御力":
- ( )( )( )add 1 to {def.%arg 2%}
- ( )( )if arg 1 is "魔力":
- ( )( )( )add 1 to {mag.%arg 2%}
- ( )( )if arg 1 is "知力":
- ( )( )( )add 1 to {int.%arg 2%}
- ( )( )if arg 1 is "運":
- ( )( )( )add 1 to {luk.%arg 2%}
- ( )( )if {level.%arg 2%} > 1:
- ( )( )( )wait 1 tick
- ( )( )( )execute console command "applyskill %arg 2%"
- command /showskill:
- ( )trigger:
- ( )( )message "<gray>%player%のスキル"
- ( )( )message "<pink>攻撃力:%{str.%player%}%"
- ( )( )message "<aqua>防御力:%{def.%player%}%"
- ( )( )message "<purple>魔力:%{mag.%player%}%"
- ( )( )message "<yellow>知力:%{int.%player%}%"
- ( )( )message "<lime>運:%{luk.%player%}%"
- on click on enchantment table:
- ( )block under the event-block is beacon block
- ( )cancel event
- ( )execute console command "/spawnpoint %player%"
- ( )set player's health to player's max health
- ( )set player's food level to 10
- ( )message "<magenta>リスポーンポイントを更新しました"
Add Comment
Please, Sign In to add comment