Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- #Log and Permission
- perm: LostOfStories.admin
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- #Prefix
- system: &9≫
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- #TAB
- tab_top: %nl%&9- &8&lLost&2Of&6Stories &9-%nl%
- tab_under: %nl%&6%number of all players%&8/&950%nl%&ePing&9: &a%ping of player%%nl%
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- #Death Message
- pvpdeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker% &8| &f%name of attacker's tool%
- notooldeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker%
- pvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker's name%&8&l]
- nonamepvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker%&8]
- otherdeathmessage: &8[&4Death&8] &c%victim%
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- variables:
- {lvl::%player%} = 1
- {str::%player%} = 0
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- every 2 second:
- loop all players:
- send action bar "&2[&6Level&9: &a%{lvl::%loop-player%}%&2]" to loop-player
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&9- &cLost&2Of&6Stories &9-"
- set score "&9" in sidebar of loop-player to 9
- set score "&e-&c=&bDISCORD&c=&e-" in sidebar of loop-player to 8
- set score "&7https://discord.gg/48wbQ8t" in sidebar of loop-player to 7
- set score "&9" in sidebar of loop-player to 6
- set score "&8- &2&l&oお知らせ &8-" in sidebar of loop-player to 5
- set score "&e製作中です(´・ω・`)" in sidebar of loop-player to 3
- set score "&e何にも無いんです" in sidebar of loop-player to 2
- set score "&e勘弁してください" in sidebar of loop-player to 1
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- On any movement:
- if {prefix::%uuid of player%} is set:
- if {suffix::%uuid of player%} is set:
- set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}%"
- set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}%"
- stop
- else:
- set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%"
- set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%"
- stop
- else:
- if {suffix::%uuid of player%} is set:
- set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%%{suffix::%uuid of player%}%"
- set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%%{suffix::%uuid of player%}%"
- stop
- else:
- set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%"
- set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%"
- stop
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- on level change:
- set {_nowlevels} to "%{lvl::%player%}%"
- add 1 to {lvl::%player%}
- add 1 to {str::%player%}
- message "{@system} &a&lレベルアップ"
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- Command /sr [<player>]:
- permission: {@perm}
- trigger:
- if arg-1 isn't set:
- message "{@system} &6名前&aをいれてください。" to player
- stop
- else:
- message "{@system} &6%arg-1%&aのステータスをリセットしました。" to player
- set {lvl::%arg-1%} to 0
- set {str::%arg-1%} to 0
- command "xp -2147483648L %player%"
- stop
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- on any movement:
- if {str::%player%} is greater or equal to 1:
- damage victim by 2 hearts
- #=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- On death of player:
- attacker is a player:
- if name of attacker's tool is set:
- set the death message to "{@pvpdeathmessage}"
- else:
- set the death message to "{@notooldeathmessage}"
- stop
- attacker is an entity:
- if attacker's name is set:
- set the death message to "{@pvedeathmessage}"
- else:
- set the death message to "{@nonamepvedeathmessage}"
- stop
- set the death message to "{@otherdeathmessage}"
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- command /c:
- permission: {@perm}
- trigger:
- give command block to player
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- command /close:
- permission: skript.admin
- trigger:
- command "/whitelist on"
- loop all players:
- loop-player is not an op
- kick the loop-player due to "this server is not open to pulic"
- message "this server is not open to public now"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement