Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /newarea <text> <integer> <integer> <integer> <integer> <integer> <integer> <text>:
- permission: skript.admin
- trigger:
- set {prison.area.%arg 1%::pos1x} to arg 2
- set {prison.area.%arg 1%::pos1y} to arg 3
- set {prison.area.%arg 1%::pos1z} to arg 4
- set {prison.area.%arg 1%::pos2x} to arg 5
- set {prison.area.%arg 1%::pos2y} to arg 6
- set {prison.area.%arg 1%::pos2z} to arg 7
- set {prison.area.%arg 1%::setopt} to arg 8
- message "エリア【%arg 1%】に設定しました"
- command /cleararea <text>:
- trigger:
- clear {prison.area.%arg 1%::*}
- message "エリア【%arg 1%】の設定を初期化しました"
- command /mine [<player>]:
- trigger:
- if arg 1 is not set:
- set {_player} to player
- set {_player} to arg 1
- wait a tick
- open chest with 2 rows named "&b&lF&3&lever&b&lP&3&lrison&7&l: &a&lM&2&lenu" to {_player}
- wait a tick
- format slot 10 of {_player} with totem of undying named "&a&lQuick &d&lMenu" with lore "&eクイックメニュー&bへと移動します||&b色々な所へ楽にアクセスできます" to run "mine.quick %{_player}%"
- format slot 2 of {_player} with diamond ore named "&6&lArea &e&lList" with lore "&e採掘場リスト&bへ移動します||&d採掘場のリセット&bもここで行います" to run "mine.area %{_player}%"
- format slot 12 of {_player} with feather named "&d&lPlayer &c&lSetting" with lore "&e設定画面&bへ移動します" to run "mine.opt %{_player}%"
- format slot 4 of {_player} with item_frame named "&7&lInformation" with lore "&b運営からの&eお知らせ&bです" to run "mine.info %{_player}%"
- format slot 8 of {_player} with gold_nugget named "&4&lY&c&lour &4&lS&c<atus" with lore "" to be unstealable
- command /mine.area [<player>]:
- trigger:
- if arg 1 is not set:
- set {_player} to player
- set {_player} to arg 1
- wait a tick
- open chest with 6 rows named "&6&lArea &e&lList" to {_player}
- wait a tick
- format slot 45 of {_player} with arrow named "&7&lBack" with lore "&bメインメニューへ戻ります" to run "mine %{_player}%"
- format slot 1 of {_player} with nether star named "&6&lオルセラ区ラクレット村 旧採掘所" with lore "&9ID: Orrcela &7/ &cUnlock Rank: 0||&bラクレット周辺の住民の減少により廃れた採掘所。||&b稀にエメラルドが採れるが、基本的に石や石炭等しか出てこない。" to be unstealable
- format slot 10 of {_player} with iron ore named "&a&l鉱&b&l石&a&l出&b&l現&a&lテ&b&lー&a&lブ&b&lル" with lore "&d70%% &b石ブロック||&d15%% &b安山岩||&d10%% &b苔丸石||&d4.9%% &b石炭||&6&l0.1%% &cエメラルド" to be unstealable
- format slot 19 of {_player} with ender pearl named "&d&lこの採掘場へ行く" to run "jumparea %{_player}% orrcela"
- format slot 28 of {_player} with flint named "&b&lこの採掘場をホームに設定する" with lore "&bホームに設定すると||&eクイックメニュー&bから素早く移動することができます" to run "sethomearea %{_player}% orrcela"
- format slot 37 of {_player} with gold ingot named "&6&lオルセラの売却所へ" to run "sale %{_player}% orrcela"
- command /sethomearea <player> <text>:
- permission: skript.admin
- trigger:
- set {prison.player.%arg 1%::home} to arg 2
- message "&aホームの採掘所に設定しました!" to arg 1
- command /clearhomearea <player>:
- permission: skript.admin
- trigger:
- clear {prison.player.%arg 1%::home}
- message "&aホームの採掘所をリセットしました!" to arg 1
- wait a tick
- command "mine.quick %arg 1%"
- command /mine.quick [<player>]:
- trigger:
- if arg 1 is not set:
- set {_player} to player
- set {_player} to arg 1
- wait a tick
- open chest with 4 rows named "&a&lQuick &d&lMenu" to {_player}
- wait a tick
- format slot 27 of {_player} with arrow named "&7&lBack" with lore "&bメインメニューへ戻ります" to run "mine %{_player}%"
- if {prison.player.%arg 1%::home} is not set:
- format slot 1 of {_player} with stained_glass_pane:14 named "&7&lホーム" with lore "&7未設定" to be unstealable
- format slot 10 of {_player} with stained_glass_pane:14 named "&7&lホームへ行く" to be unstealable
- format slot 19 of {_player} with stained_glass_pane:14 named "&7&l売却所へ" to be unstealable
- format slot 28 of {_player} with stained_glass_pane:14 named "&7&lホームをリセット" to be unstealable
- else:
- if {prison.player.%arg 1%::home} is "orrcela":
- format slot 1 of {_player} with nether star named "&e&lホーム" with lore "&6オルセラ区ラクレット村 旧採掘所||&9売却所: オルセラ" to be unstealable
- format slot 10 of {_player} with ender pearl named "&d&lホームへ行く" to run "jumparea %{_player}% %{prison.player.%player%::home}%"
- format slot 19 of {_player} with gold ingot named "&6&l売却所へ" to run "jumparea %{_player}% %{prison.player.%player%::home}%"
- format slot 28 of {_player} with tnt named "&7&lホームをリセット" to close then run "clearhomearea %{_player}%"
- command /athle [<player>]:
- trigger:
- if arg 1 is not set:
- set {_player} to player
- set {_player} to arg 1
- wait a tick
- open chest with 2 rows named "&a&lF&2&lever&a&lP&2&larkour&7&l: &9&lM&1&lenu" to {_player}
- wait a tick
- format slot 4 of {_player} with barrier named "&7&l???" with lore "&b実装を待ってね" to close
- command /pvp [<player>]:
- trigger:
- if arg 1 is not set:
- set {_player} to player
- set {_player} to arg 1
- wait a tick
- open chest with 2 rows named "&9&lF&1&lever&9&lP&1&lollute&7&l: &b&lM&3&lenu" to {_player}
- wait a tick
- format slot 4 of {_player} with barrier named "&7&l???" with lore "&b実装を待ってね" to close
Advertisement
Add Comment
Please, Sign In to add comment