Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.
# # # # # # # # # # # # #
# yzff prod. #
# ~ ~ ~ #
# # # # # # # # # # # # #
# Keep in mind, if you want to keep the basic options, then do not touch anything in this skript.
options:
# Decides wether when you have a feather, you get the slowfalling effect while holding it.
FeatherFallingEnabled: true
# Do you want to be able to use the knockbone?
KnockBone: true
# Do you want to be able to use the trapsticK?
TrapStick: true
every 1 second:
loop all players:
if {@FeatherFallingEnabled} = true:
if loop-player's tool is a feather:
apply slow falling to loop-player for 1 day
else:
remove slow falling from loop-player
command giveabilityitem [<string>]:
permission: MoreAbilities.giveabilityitem
trigger:
if arg-1 is "knockbone":
if {@KnockBone} = true:
set {_Knockbone} to a bone named "&a&bKnockback Bone" with hidden enchants flags
enchant {_Knockbone} with knockback 7
give player 1 of {_Knockbone}
send action bar "&c&lEnjoy your precious abilityitem!" to player
else:
send action bar "&c&lSadly, this item is disabled in config!" to player
else if arg-1 is "trapstick":
if {@TrapStick} = true:
set {_TrapStick} to a stick named "&cTrap Stick" with hidden enchants flags with lore "Uses: 1"
give player 1 of {_TrapStick}
send action bar "&c&lEnjoy your precious abilityitem!" to player
else:
send action bar "&c&lSadly, this item is disabled in config!" to player
else:
send action bar "&c&lUnfortunately, there is no such item!" to player
on click:
if player's held item is a stick:
if name of player's held item is "&cTrap Stick":
set {_loc} to event-location ~ vector(0,-1,0)
set {_loc2} to event-location ~ vector(0,1,0)
set block at {_loc} to tnt
set block at {_loc2} to stone pressure plate
remove 1 stick named "&cTrap Stick" from player's inventory
on tab complete of "/giveabilityitem":
set tab completions for position 1 to "knockbone" and "trapstick"