mc-grappling: Minecraft Plugin for Grappling Hooks

Words
221
Reading
1 min
Listen
Play
7y

Repository

https://github.com/hazae41/mc-grappling

What is the project about?

This project is about a Minecraft plugin for Spigot servers. It adds a grappling hook mechanism to the game.
Enchanting a fishing hook with "riptide" turns it into a grappling hook. This tool can be used to climb mountains or buildings by right-clicking in a direction to launch the hook, then holding the right-click to climb.
You can also apply the enchant "durability" in order to improve the durability of your grappling hook.

How it works

The plugin listens for the "fishing" event, it checks if the hook is on the ground, and it checks if the item is enchanted with "riptide". It pulls the player using an acceleration equal to the enchantment level multiplied by the default force (in the plugin configuration). After that, it decreases the durability of the grappling hook, making it break at the end of a number of uses (in the plugin configuration).

Technology Stack

It uses Kotlin, a high-level programming language for the Java VM. It also uses mc-kotlin, a library made by me that helps developing Minecraft plugins with Kotlin.

Installation / Configuration / Admin usage

Installation, configuration and admin usage are on SpigotMC

How to contribute?

You can fork it on GitHub and leave a review on SpigotMC

GitHub Account

https://github.com/hazae41

mc-grappling: Minecraft Plugin for Grappling Hooks | Ecency