Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- #Log and Permission
- perm: RPG.admin
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- #TAB
- tab_top: %nl%&9- &8&lこんぺいとう&2RPG&6サーバー &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%
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- 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}"
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- every 2 second:
- loop all players:
- send action bar "&e製作中です(´・ω・`)" to loop-player
- wipe loop-player's sidebar
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- 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"
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- command /c:
- trigger:
- give command block to player
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- on break:
- player do not have permission "skript.admin"
- cancel event
- on place:
- player do not have permission "skript.admin"
- cancel event
- on explode:
- cancel event
- on craft:
- player do not have permission "skript.craft"
- cancel event
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- function createHolo(l: Location, t: Text, length: Timespan):
- create hologram "%{_t}%" at {_l} for {_length}
- on damage:
- loop blocks in radius 1 around head of victim:
- add location of loop-block to {_blocks::*}
- set {_bl} to random element of {_blocks::*}
- createHolo({_bl}, "&4%damage%", 25 ticks)
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
- on damage:
- victim is player
- set {fakehealth.%victim%} to victim's health
- send " You take damage to %victim% "
- send " &b%Victim% &e' health is &c%{fakehealth.%victim%}*2% &eHP &7[%damage% damage]" to attacker
- #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement