Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # LapisNetWork - Proxy System [v2.0]
- on first join:
- command "/gamemode 2 %player%"
- set {Profile.Rank.%player%} to "Default"
- set {Profile.Level.%player%} to "1"
- set {Profile.LapisLazuli.%player%} to "0"
- set {Profile.Coin.%player%} to "1"
- set {Profile.Achivement.%player%} to "未実装"
- set {FFA.Star.%player%} to "0"
- set {FFA.Gold.%player%} to "0"
- on join:
- set join message to "&9[LapisNetWork] &e%player% さんがサーバーに参加しました"
- command "/clear %player%"
- command "/effect %player% clear"
- command "/tp %player% 982 54 977 -90 0"
- set {Profile.Location.%player%} to "Lobby1"
- if {Profile.Rank.%player%} is not set:
- set {Profile.Rank.%player%} to "Default"
- set {Profile.Prefix.%player%} to "&7[デフォルト]"
- set {Permission.%player%} to "Default"
- else:
- stop
- on quit:
- set quit message to "&9[LapisNetWork] &e%player% さんがサーバーから抜けました"
- on chat:
- cancel event
- broadcast " %{Profile.Prefix.%player%}% %player% &f: &f%message%"
- on death of player:
- if {Profile.Location.%player%} is "FFA":
- force victim to respawn
- command "/clear %player%"
- command "/effect clear %player%"
- command "/tp %player% 937 8 196 0 0"
- command "/give %player% diamond_sword"
- command "/give %player% golden_apple 12"
- command "/give %player% diamond_helmet"
- command "/give %player% diamond_chestplate"
- command "/give %player% diamond_leggings"
- command "/give %player% diamond_boots"
- give golden apple to attacker
- add 1 to {FFA.Star.%attacker%}
- add 10 to {FFA.Gold.%attacker%}
- send "&6+10 Gold!" to attacker
- else:
- force victim to respawn
- command "/tp %player% 937 8 196 0 0"
- command /rank [<text>] [<player>] [<text>]:
- permission: Server.Admin
- permission message: &9[LapisNetWork] &cこのコマンドを使用するには管理者又は管理者以上のランクを所持している必要があります
- trigger:
- if arg 1 is not set:
- send "&9[LapisNetWork] &c/Rank Help で使用方法を確認してください"
- if arg 1 is "Help":
- send "&9[LapisNetWork] Proxy.Rank.Help"
- send "&e/Rank Help &8/ &3ランクシステムのヘルプを表示します"
- send "&e/Rank List &8/ &3全てのランク、RankIDを確認します"
- send "&c・未実装 &e/Rank Reload &8/ &3ランクシステムをリロードします &4&l(バグ又は緊急時以外使用しないでください)"
- send "&e/Rank Set (プレイヤー) (ランク) &8/ &3プレイヤーにランク・各ランクで使用可能な権限を与えます"
- send "&e/Rank Remove (プレイヤー) &8/ &3プレイヤーのランクをデフォルトに設定します"
- if arg 1 is "List":
- send "&9[LapisNetWork] Proxy.Rank.List"
- send "&7[デフォルト] &8/ &e1"
- send "&a[VIP] &8/ &e2"
- send "&3[ヘルパー] &8/ &e3"
- send "&c[管理者] &8/ &e4"
- if arg 1 is "Set":
- if arg 2 is not set:
- send "&9[LapisNetWork] &cプレイヤー名を選択してください。 (/Rank Set (プレイヤー名) (ランク名)"
- if arg 2 is set:
- if arg 3 is "1":
- send "&9[LapisNetWork] &c%arg 2%さんのランクを &7デフォルト &cに設定しました"
- set {Profile.Rank.%arg 2%} to "Default"
- set {Profile.Prefix.%arg 2%} to "&7[デフォルト]"
- set {Permission.%arg 2%} to "Default"
- if arg 3 is "2":
- send "&9[LapisNetWork] &c%arg 2%さんのランクを &aVIP &cに設定しました"
- set {Profile.Rank.%arg 2%} to "VIP"
- set {Profile.Prefix.%arg 2%} to "&a[VIP]"
- set {Permission.%arg 2%} to "VIP"
- if arg 3 is "3":
- send "&9[LapisNetWork] &c%arg 2%さんのランクを &3ヘルパー &cに設定しました"
- set {Profile.Rank.%arg 2%} to "Helper"
- set {Profile.Prefix.%arg 2%} to "&3[ヘルパー]"
- set {Permission.%arg 2%} to "Helper"
- if arg 3 is "4":
- send "&9[LapisNetWork] &c%arg 2%さんのランクを &c管理者 &cに設定しました"
- set {Profile.Rank.%arg 2%} to "Admin"
- set {Profile.Prefix.%arg 2%} to "&c[管理者]"
- set {Permission.%arg 2%} to "Admin"
- every 1 seconds:
- loop all players:
- if {Profile.Location.%loop-player%} is "Lobby1":
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&9 Lapis&aNetWork "
- set score "&a" in sidebar of loop-player to 10
- set score "&cランク &f: %{Profile.Rank.%loop-player%}%" in sidebar of loop-player to 9
- set score "&bレベル &f: %{Profile.Level.%loop-player%}%" in sidebar of loop-player to 8
- set score "&9ラピスラズリ &f: %{Profile.LapisLazuli.%loop-player%}%" in sidebar of loop-player to 7
- set score "&a功績 &f: %{Profile.Achivement.%loop-player%}%" in sidebar of loop-player to 6
- set score "&6コイン &f: %{Profile.Coin.%loop-player%}%" in sidebar of loop-player to 5
- set score "&b" in sidebar of loop-player to 4
- set score "&fLocation : Lobby1" in sidebar of loop-player to 3
- set score "&c" in sidebar of loop-player to 2
- set score "&9www.lapisnetwork.net" in sidebar of loop-player to 1
- if {Profile.Location.%loop-player%} is "FFA":
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&9 Lapis&aNetWork &cFFA "
- set score "&a" in sidebar of loop-player to 7
- set score "&bスター &f: ☆ %{FFA.Star.%loop-player%}% " in sidebar of loop-player to 6
- set score "&6ゴールド &f: %{FFA.Gold.%loop-player%}% " in sidebar of loop-player to 5
- set score "&b" in sidebar of loop-player to 4
- set score "&7状態 &f: ノーマル" in sidebar of loop-player to 3
- set score "&c" in sidebar of loop-player to 2
- set score "&9www.lapisnetwork.net" in sidebar of loop-player to 1
- command /Warp [<text>]:
- trigger:
- if arg 1 is not set:
- send "&9[LapisNetWork] &c行きたい場所を指定してください Lobby 又は FFA"
- if arg 1 is "Lobby":
- set {Profile.Location.%player%} to "Lobby1"
- command "/tp %player% 982 52 977 -90 0"
- command "/clear %player%"
- command "/effect clear %player%"
- if arg 1 is "FFA":
- set {Profile.Location.%player%} to "FFA"
- command "/tp %player% 937 8 196 0 0"
- command "/clear %player%"
- command "/effect clear %player%"
- command /Level [<text>] [<player>] [<text>]:
- permission: Server.Admin
- permission message: &9[LapisNetWork] &cこのコマンドを使用するには管理者又は管理者以上のランクを所持している必要があります
- trigger:
- if arg 1 is not set:
- send "&9[LapisNetWork] &c/Level Help で使用方法を確認してください"
- if arg 1 is "Help":
- send "&9[LapisNetWork] Proxy.Level.Help"
- send "&e/Level Help &8/ &3レベルシステムのヘルプを表示します"
- send "&e/Level Set (プレイヤー) (レベル) &8/ &3プレイヤーのレベルを設定します"
- if arg 1 is "Set":
- if arg 2 is not set:
- send "&9[LapisNetWork] &cプレイヤー名を選択してください (/Level Set (プレイヤー名) (レベル)"
- if arg 2 is set:
- if arg 3 is not set:
- send "&9[LapisNetWork] &cレベルの数値を指定してください (/Level Set (プレイヤー名) (レベル)"
- if arg 3 is set:
- send "&9[LapisNetWork] &c%arg 2% さんのレベルを &b%arg 3% &cに設定しました"
- set {Profile.Level.%arg 2%} to arg 3
- command /LapisLazuli [<text>] [<player>] [<text>]:
- permission: Server.Admin
- permission message: &9[LapisNetWork] &cこのコマンドを使用するには管理者又は管理者以上のランクを所持している必要があります
- trigger:
- if arg 1 is not set:
- send "&9[LapisNetWork] &c/LapisLazuli Help で使用方法を確認してください"
- if arg 1 is "Help":
- send "&9[LapisNetWork] Proxy.LapisLazuli.Help"
- send "&e/LapisLazuli Help &8/ &3ラピスラズリシステムのヘルプを表示します"
- send "&e/LapisLazuli Set (プレイヤー) (ラピスラズリ) &8/ &3プレイヤーのラピスラズリを設定します"
- if arg 1 is "Set":
- if arg 2 is not set:
- send "&9[LapisNetWork] &cプレイヤー名を選択してください (/LapisLazuli Set (プレイヤー名) (ラピスラズリ)"
- if arg 2 is set:
- if arg 3 is not set:
- send "&9[LapisNetWork] &cラピスラズリの数値を指定してください (/LapisLazuli Set (プレイヤー名) (ラピスラズリ)"
- if arg 3 is set:
- send "&9[LapisNetWork] &c%arg 2% さんのラピスラズリを &b%arg 3% &cに設定しました"
- set {Profile.LapisLazuli.%arg 2%} to arg 3
- command /Achivement [<text>] [<player>] [<text>]:
- permission: Server.Admin
- permission message: &9[LapisNetWork] &cこのコマンドを使用するには管理者又は管理者以上のランクを所持している必要があります
- trigger:
- if arg 1 is not set:
- send "&9[LapisNetWork] &c/Achivement Help で使用方法を確認してください"
- if arg 1 is "Help":
- send "&9[LapisNetWork] Proxy.Achivement.Help"
- send "&e/Achivement Help &8/ &3功績システムのヘルプを表示します"
- send "&e/Achivement Set (プレイヤー) (功績) &8/ &3プレイヤーの功績を設定します"
- if arg 1 is "Set":
- if arg 2 is not set:
- send "&9[LapisNetWork] &cプレイヤー名を選択してください (/Achivement Set (プレイヤー名) (功績)"
- if arg 2 is set:
- if arg 3 is not set:
- send "&9[LapisNetWork] &c功績の数値を指定してください (/Achivement Set (プレイヤー名) (功績)"
- if arg 3 is set:
- send "&9[LapisNetWork] &c%arg 2% さんの功績を &b%arg 3% &cに設定しました"
- set {Profile.Achivement.%arg 2%} to arg 3
- command /ffa-player-join [<player>]:
- permission: Server.Admin
- trigger:
- if arg 1 is not set:
- stop
- if arg 1 is set:
- command "/tp %arg 1% 496 54 467 0 0"
- command "/effect %arg 1% minecraft:resistance 5 10"
- command "/give %arg 1% diamond_sword"
- command "/give %arg 1% golden_apple 12"
- command "/give %arg 1% diamond_helmet"
- command "/give %arg 1% diamond_chestplate"
- command "/give %arg 1% diamond_leggings"
- command "/give %arg 1% diamond_boots"
- command /FFAShop:
- trigger:
- if {Profile.Location.%player%} is "FFA":
- open chest with 1 rows named "&cFFAShop" to player
- set slot 4 of player's current inventory to Diamond Sword named "&bDiamond Sword&c[Sharp 1]" with lore "&610Gold"
- else:
- stop
- on inventory click:
- if name of player's current inventory contain "&cFFAShop":
- cancel event
- if clicked slot is 4:
- if {FFA.Gold.%player%} is 0:
- send "&cGoldが足りません!このアイテムを買うには10Gold必要です!"
- else:
- remove 10 from {FFA.Gold.%player%}
- command "/give %player% minecraft:diamond_sword 1 0 {ench:[{id:16,lvl:1}]}"
Add Comment
Please, Sign In to add comment