Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==Gone Fishing Skript==#
- #==Gamemode by /u/partickplays44==#
- #==Post: http://redd.it/1vbgxb ===#
- options:
- P: &6<<&4Gone Fishing&6>>&e
- #Prefix
- Permission: skript.op
- #Permission
- CH: &e
- #Chat Colour
- Command: gonefishing
- #Command
- command /{@Command} [<text>]:
- permission: {@Permission}
- trigger:
- if arg 1 is equal to "give":
- give (fishing rod of unbreaking 100 and luck of the sea 250 and lure 3) to all players
- give 64 anvils to all players
- set level of all players to 20000
- broadcast "{@P}{@CH}Items given!"
- execute console command "gaps random.pop"
- if arg 1 is equal to "enable":
- set {enchants} to false
- broadcast "{@P}{@CH}Enchantment tables disabled!"
- execute console command "gaps random.pop"
- if arg 1 is equal to "disable":
- set {enchants} to false
- broadcast "{@P}{@CH}Enchantment tables enabled!"
- execute console command "gaps random.break"
- else if arg 1 is not set:
- message "{@P}{@CH}Do /gonefishing give to give out the items"
- message "{@P}{@CH}Do /gonefishing enable to disable enchantment tables"
- message "{@P}{@CH}Do /gonefishing disable to disable enchantment tables"
- execute console command "playsound random.pop %player%"
- on craft of enchantment table:
- {enchants} is false:
- cancel the event
- message "{@P}{@CH}Enchantment tables are disabled!"
- execute console command "playsound random.break %player%"
- #Sounds
- command /gaps <text>:
- permission: {@Permission}
- trigger:
- loop all players:
- execute console command "/playsound %arg 1% %loop-player% %x-coordinate of loop-player% %y-coordinate of loop-player% %z-coordinate of loop-player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement