Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on place of a head:
- cancel event
- options:
- Prefix: &7[&3&lEvent&7]
- FireworkColor: red, light green, white
- command /event start christmas:
- permission: event.christmas
- permission message: &cYou do not have permission to start this event
- trigger:
- send ""
- send "{@Prefix} &eThe event has been started correctly, briefly notify all by chat"
- wait 2 seconds
- execute console command "/gamerule sendCommandFeedback false"
- send ""
- wait 2 seconds
- broadcast "{@Prefix} &eThe Christmas event will start in &f&l30 &eseconds, get ready"
- send ""
- wait 1 second
- broadcast "{@Prefix} &eRemember that with the command &f&l/eventhelp &e, you see a bit the functionality of the heads in the event"
- wait 2 seconds
- send ""
- wait 27 seconds
- execute console command "/minecraft:give @a minecraft:skull 1 3 {display:{Name:""&9&lChristmasBox &8&l{&b&l1&8&l}""},SkullOwner:{Id:""b9460644-e73a-4068-8526-25678190fdda"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmY4YTRmOGMzMWY5NjQ0NzI2Yjc0YzNhMTYxNjljNTJkMmIyMzIyNDYwOWM5ZmMyY2FhZWJkZjg4ODY0NSJ9fX0=""}]}}}"
- wait 1 second
- execute console command "/minecraft:give @a minecraft:skull 1 3 {display:{Name:""&9&lChristmasBox &8&l{&b&l2&8&l}""},SkullOwner:{Id:""d705c9b2-06b7-4929-a85d-d65b885c9ab7"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2JjYmIzZTRhMzhhYzJhMDVmNjk1NWNkMmM5ODk1YWQ5ZjI4NGM2ZTgyZTc1NWM5NGM1NDljNWJkYzg1MyJ9fX0=""}]}}}"
- wait 1 second
- execute console command "/minecraft:give @a minecraft:skull 1 3 {display:{Name:""&9&lChristmasBox &8&l{&b&l3&8&l}""},SkullOwner:{Id:""5945a371-b319-4175-ac35-d421b8e8bf2c"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjBhZmE0ZmZmZDEwODYzZTc2YzY5OGRhMmM5YzllNzk5YmNmOWFiOWFhMzdkODMxMjg4MTczNDIyNWQzY2EifX19""}]}}}"
- stop
- command /eventhelp:
- trigger:
- send ""
- send "&9&lChristmasBox &8&l{&b&l1&8&l} &fIts function is to give strength for a few seconds to kill all possible people, to level the power of this gift you also get a slowness effect. Its use is to make many kills &8[ &6Use it when there are many people around you &8]"
- send ""
- send "&9&lChristmasBox &8&l{&b&l2&8&l} &fIts function is to helen the life of the person, and to give him high jump for a few seconds so that he can flee. Its usefulness is to flee from enemies and free your life to the fullest when you are in trouble &8[ &6does not serve in water the jump &8]"
- send ""
- send "&9&lChristmasBox &8&l{&b&l3&8&l} &fIts function is to give speed , resistance and nausea. Its use is to resist as much as possible &8[ &6Use it when your armor breaks &8]"
- send ""
- send "&9&lInfo: &fAll the Christmas heads have &a&l40 &fsecond effects, each one of the heads has its advantages and disadvantages, do not use them all at once, it's waste them"
- send ""
- stop
- on right click with head:
- if name of player's tool is "&9&lChristmasBox &8&l{&b&l1&8&l}":
- launch ball large firework colored {@FireworkColor} at player timed 0
- apply strength 2 to the player for 40 seconds
- apply slowness 2 to the player for 40 seconds
- send "&8[&c&lChristmas Event&8] &aYou have received the Christmas effects from the box 1!"
- remove 1 of player's tool from player
- stop
- on right click with head:
- if name of player's tool is "&9&lChristmasBox &8&l{&b&l2&8&l}":
- launch ball large firework colored {@FireworkColor} at player timed 0
- apply regeneration 10 to the player for 1 second
- apply jump boost 4 to the player for 40 seconds
- send "&8[&c&lChristmas Event&8] &aYou have received the Christmas effects from the box 2!"
- remove 1 of player's tool from player
- stop
- on right click with head:
- if name of player's tool is "&9&lChristmasBox &8&l{&b&l3&8&l}":
- launch ball large firework colored {@FireworkColor} at player timed 0
- apply resistance 3 to the player for 40 seconds
- apply speed 3 to the player for 40 seconds
- apply nausea 3 to the player for 40 seconds
- send "&8[&c&lChristmas Event&8] &aYou have received the Christmas effects from the box 3!"
- remove 1 of player's tool from player
- stop
Advertisement
Add Comment
Please, Sign In to add comment