Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /menu:
- trigger:
- open chest with 1 rows named "&c闇ステータス" to player
- wait 1 tick
- format slot 4 of player with glass named "&a%player%さんのステータス" with lore "&e初参加: &f%{stats.join::%uuid of player%}%||&b当選回数: &f%{stats.big::%uuid of player%}%||&b当選金/支払金: &f%{stats.tousen::%uuid of player%}%/%{stats.siharai::%uuid of player%}%||&bDiscord: &c%{discord::%uuid of player%}%" to be unstealable
- on join:
- if {firstjoin.1::%uuid of player%} is true:
- stop
- else:
- set {stats.join::%uuid of player%} to "%now%"
- set {stats.big::%uuid of player%} to 0
- set {stats.tousen::%uuid of player%} to 0
- set {stats.siraharai::%uuid of player%} to 0
- set {discord::%uuid of player%} to "&c未設定"
- command /discord:
- trigger:
- if {discord.t::%uuid of player%} is true:
- message "&cDiscordは設定済みです。"
- else:
- message "&eチャットにDiscordリンクを送信してください。"
- set {discord.d::%uuid of player%} to true
- on chat:
- if {discord.d::%uuid of player%} is true:
- cancel event
- set {discord.t::%uuid of player%} to true
- set {discord.d::%uuid of player%} to false
- message "&eデーターを読み込み中…"
- wait 1 second
- message "&b設定しました!"
- set {discord::%uuid of player%} to "&f%message%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement