GithubHelp home page GithubHelp logo

grappling-hook's Introduction

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!

grappling-hook's People

Contributors

snowgears avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.