Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
- # ____ _ _ _ #
- # | _ \ ___ _ _| |__ | | ___ | |_ _ _ __ ___ _ __ #
- # | | | |/ _ \| | | | '_ \| |/ _ \_ | | | | | '_ ` _ \| '_ \ #
- # | |_| | (_) | |_| | |_) | | __/ |_| | |_| | | | | | | |_) | #
- # |____/ \___/ \__,_|_.__/|_|\___|\___/ \__,_|_| |_| |_| .__/ #
- # |_| #
- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
- # # # #
- # # DEVELOPER: SEFYY # #
- # # TWITTER: @5EFYY # #
- # # VERSION: 1.2 # #
- # # # #
- # # # # # # # # # # # # # # # #
- options:
- Prefix: &8&l&bDoubleJump&8&l|
- DoubleJumpPerm: DoubleJump.Can
- DoubleJumpCmdPerm: DoubleJump.Cmd
- PermMsg: &cYou don't have permission.
- DoubleJumpSound: ENDERDRAGON_WINGS #List http://bit.ly/29m29Q7
- DoubleJumpParticle: CLOUD #List http://bit.ly/2ghzq1s
- DoubleJumpParticleLevel: 10
- # # # # # # # # # # # # # # # # # # # # # # # #
- # ____ _ _____ _ _ _ #
- # | _ \ ___ _ __ | |_ | ____|__| (_) |_ #
- # | | | |/ _ \| '_ \| __| | _| / _` | | __| #
- # | |_| | (_) | | | | |_ | |__| (_| | | |_ #
- # |____/ \___/|_| |_|\__| |_____\__,_|_|\__| #
- # #
- # # # # # # # # # # # # # # # # # # # # # # # #
- DJversion: 1.2
- Developer: SEFYY
- on flight toggle:
- player's gamemode is not creative:
- cancel event
- wait a tick
- set player's flight state to false
- push player upwards at speed 0.8
- push player forwards at speed 0.8
- show {@DoubleJumpParticleLevel} "{@DoubleJumpParticle}" particles at location of player for player offset by 0.4, 0.5, 0.4
- loop 3 times:
- play "{@DoubleJumpSound}" to player at volume 0.99
- on jump:
- player's gamemode is not creative:
- player has permission "{@DoubleJumpPerm}":
- {DoubleJump%player's uuid%} is not set:
- block below player is not air or water:
- set player's flight state to true
- on damage:
- damage cause is fall:
- {DoubleJump%victim's uuid%} is not set:
- cancel event
- command /doublejump <text=help>:
- aliases: dj
- permission: {@DoubleJumpCmdPerm}
- permission message: {@PermMsg}
- trigger:
- if arg-1 is "help":
- send "&b&m | | "
- send "&3 /dj true &7- &3DoubleJump Enable"
- send "&3 /dj false &7- &3DoubleJump Disable"
- send "&3 /dj help &7- &3View DoubleJump Help"
- send "&b&m | | "
- stop
- if arg-1 is "false":
- {DoubleJump%player's uuid%} is not set:
- set {DoubleJump%player's uuid%} to 1
- send "{@Prefix} &3DoubleJump is disabled"
- stop
- if arg-1 is "true":
- {DoubleJump%player's uuid%} is set:
- delete {DoubleJump%player's uuid%}
- send "{@Prefix} &3DoubleJump is enabled"
- stop
- else:
- send "&b&m | | "
- send "&3 /dj true &7- &3DoubleJump Enable"
- send "&3 /dj false &7- &3DoubleJump Disable"
- send "&3 /dj help &7- &3View DoubleJump Help"
- send "&b&m | | "
Add Comment
Please, Sign In to add comment