SlashFling

Want to fling someone? use /fling!

41

SlashFling

<h1 align="center">SlashFling</h1>

<p align="center"> <a href="https://modrinth.com/project/slashfling"><img src="https://img.shields.io/modrinth/dt/slashfling?color=green&label=Modrinth%20Downloads&logo=modrinth&style=flat-square" alt="Modrinth Downloads"></a> <a href="https://github.com/awiones/SlashFling/blob/main/LICENSE"><img src="https://img.shields.io/github/license/awiones/SlashFling?style=flat-square" alt="License"></a> </p>

<p align="center"> A Minecraft plugin that lets you fling players into the air with fall damage resistance!<br> <b>Perfect for fun servers, minigames, or just to surprise your friends.</b> </p>

---

Installation

- Download from Modrinth

Place the JAR file in your server's `plugins` folder and restart the server.

Features

- Fling any player into the sky with a single command - Automatic fall damage resistance for safe landings - Cooldown system to prevent spam - Permissions for admin, usage, cooldown bypass, and immunity - Configurable strength, cooldown, and resistance duration - Reload configuration without restarting the server

Usage

- `/fling <player>` — Fling a player into the sky - `/fling reload` — Reload the plugin configuration (requires admin permission)

Example

``` /fling Steve ```

Permissions

| Permission | Description | Default | | ----------------------- | --------------------------------------------- | ------- | | `slashfling.use` | Allows using the `/fling` command | op | | `slashfling.admin` | Grants all admin permissions (reload, bypass) | op | | `slashfling.immune` | Prevents being flung by non-admins | false | | `slashfling.nocooldown` | Exempts from command cooldowns | false |

Configuration

Edit `plugins/SlashFling/config.yml` to customize:

- `cooldown-seconds`: Cooldown time between uses - `fling-strength`: How high to fling players - `resistance-duration-ticks`: Fall damage resistance duration (20 ticks = 1 second) - Customizable messages with color codes

After editing, use `/fling reload` to apply changes.

Contributing

Pull requests and issues are welcome! Please open an issue for bugs or feature requests.

License

This project is licensed under the MIT License. See LICENSE for details.

ADS