HomeJavaModsDistortion
Distortion
Hello Everyone Looking For A Simple Fun Plugin
[​IMG]
What this plugin does in depth is it allow a player to move forward a short distance when they Left Click a specific item. After a fraction of a second living entities will take a set amount of damage.... because who would want to damage non living things. The player then has the option to either keep on with that they're doing, or if they feel that they are in an unsafe position they can Right Click, and teleport back to their previous stored location when they first clicked.

commands:
/distort
- distort.toggle
/distort help
- distort.help
/distort reload
- distort.reload
/distort enable
- distort.enable
/distort disable
- distort.disable
/distort wand
- distort.wand
/distort wand <player>
- distort.add.other
/distort destroy
- distort.destroy
/distort wad destroy <player>
- distort.wand.destroy

permissions:
distort.toggle:
description: Allows A Player To Toggle Distort Ability On Or Off
distort.help:
description: Allows A Player To Check Plugin Commands
distort.reload:
description: Allows A Player To Reload Plugin Configuration
distort.enable:
description: Allows A Player To Enabled Distortion For Server
distort.disable:
description: Allows A Player To Disable Distortion For Server
distort.wand:
description: Access To Obtain A Distortion Wand
distort.destroy:
description: Access To Destroy Your Own Distortion Wand
distort.add.other:
description: Access To Destroy A Player's Distortion Wand
distort.destroy.other:
description: Access To Destroy A Player's Distortion Wand

The Plugin Also Includes A
Configuration Which I Will Explain Since I Haven't Exactly Commented It Yet.

- Starting at the top is a Boolean to choose whether the functionality of the plugin is enabled on the server.

- Next would be the wand item, where you can set the item material, display name, and durability(I would worry about this much I was in the process of testing something).

- After I added a neat feature where you can add message to a list so that when the player receives a wand or gets it taken away they get sent a random message that is in the config.

- Next up is the ability area it's quite unclean, but I will correct it later.

The "Time" key signifies the amount of time in seconds that a players location is stored for, after they move forward to a knew one. The "Distance" key is the velocity at which how far a player moves forward.

-The "Enabled" key is a Boolean allowing you to choose if players should deal damage to surrounding "living entities", or not.

-The "Amount" key designates how much damage should be dealt by the distortion ability.

-The "Cool Down" key sets how long after a player uses the ability they must wait to use it again.

-Lastly the "Range" key is to indicate a range at which how close an entity must be to the ability user to take damage.

*All Of The Config Values Can Be Modified
Accordingly, But Not The Keys, Please Don't Touch The KEYS!!!


~
This is just a small project I thought about making in a few hours, and was like, it won't take too long so I'll do it.

Any Suggestion You Have Leave The Here and Ill Respond Later.
Heads up, I think I tested this plugin for like either 5 or 10 minutes idk, so might have bugs.

*Also I have a much larger plugin coming, has to do with quite of bit of animal customization options, along with animations.

- It is about 70% complete and sitting around 80 KB, so the size will most likely reach somewhere around 120 KB.... cause animations. Then after I complete it there will most like be a bit of debugging, along with optimizations causing another 20-40 KB. So it would probably be around the size of a small mini-game.

Anyway I hope you enjoy the plugin, and I'll be back with a much larger one in a matter of weeks.


EDIT: I Made The Commands And Permissions A Bit More Understandable.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Distortion is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10. Downloaded 248 times (via Spigot). Download it and open it directly in the game.

Explore more