Skip to content

snowgears/Grappling-Hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Standalone Grappling Hook Plugin!

Default crafting recipes (you can customize any of these in the recipes.yml file)

Features:

  • No commands necessary.
  • Pull yourself to locations.
  • Pull entities to you.
  • Pull items on the ground to you.
  • Configurable durability on grappling hooks.
  • No permissions required. (But are supported)
  • No configuration required. (But is optional)
  • Plug and Play.

Configuration:

All grappling hooks and their features can be configured in the recipes.yml file.

Some variable explanations are as follows:

velocityThrow - this applies a multiplier on the velocity of the hook when it is cast out (thrown) by the player
velocityPull - this applies a multiplier on the velocity of the player when a hook is pulled in (used) by the player
timeBetweenGrapples - this sets a timer so the hook can only be used every 'x' seconds
fallDamage - if this is false, fall damage will not inflict the user after use
lineBreak - if this is true, the players velocity will be reset when the fishing line snaps
airHook - this allows a hook to be used in the air (like in the last gif)
stickyHook - this allows a hook to stick to walls and ceilings when it hits them

Commands

/gh give - puts a grappling hook in the user's hand with 50 uses
/gh give <#> - puts a grappling hook in the user's hand with # of uses
/gh give <player> - adds a grappling hook to the inventory of specified player with 50 uses
/gh give <player> <#> - adds a grappling hook to the inventory of specified player with # of uses

Permissions

grapplinghook.pull.self - Allows player to pull themselves with the hook
grapplinghook.pull.mobs - Allows player to pull mobs with the hook
grapplinghook.pull.players - Allows player to pull other players with the hook
grapplinghook.pull.items - Allows player to pull items with the hook

grapplinghook.craft.1 - Allows player to craft the '1' grappling hook defined in recipes.yml
grapplinghook.craft.2 - Allows player to craft the '2' grappling hook defined in recipes.yml
grapplinghook.craft.3 - Allows player to craft the '3' grappling hook defined in recipes.yml
etc...

grapplinghook.command.give - Allows player to use command /gh give

grapplinghook.player.nopull - Player can not be pulled by other players
grapplinghook.player.nocooldown - Player ignores grapple cooldown (if one is set)

Also, if you enjoy my plugins and want to buy me a coffee, you can donate here. Thank you!

About

Minecraft Bukkit Plugin: Grappling Hook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages