https://github.com/aj-rom/pushaway
[1.8+] Simple plugin to push players out of the way or send them flying sky high...
https://github.com/aj-rom/pushaway
bukkit-plugin launch mechanics spigot-plugin vectors
Last synced: 8 months ago
JSON representation
[1.8+] Simple plugin to push players out of the way or send them flying sky high...
- Host: GitHub
- URL: https://github.com/aj-rom/pushaway
- Owner: aj-rom
- License: gpl-3.0
- Created: 2020-07-14T08:07:44.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-13T06:42:49.000Z (almost 6 years ago)
- Last Synced: 2025-02-26T16:47:31.029Z (over 1 year ago)
- Topics: bukkit-plugin, launch, mechanics, spigot-plugin, vectors
- Language: Java
- Homepage: https://www.spigotmc.org/resources/pushaway.81674/
- Size: 66.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 
 [](https://www.codacy.com/manual/CoachLuck/PushAway?utm_source=github.com&utm_medium=referral&utm_content=CoachLuck/PushAway&utm_campaign=Badge_Grade)
### Commands
- /pushaway - shows the help
- /pushaway reload - reloads the plugin
- /pushaway give - gives you the Push Away item
- /pushaway give [player] - gives the player the Push Away item
### Permissions
```Yaml
permissions:
pushaway.*:
children:
pushaway.reload: true
pushaway.use: true
pushaway.givewand: true
pushaway.givewand.others: true
pushaway.bypass-cooldown: true
pushaway.use:
description: Allow the player to use the wand.
default: op
pushaway.givewand:
description: Allow the player to give themselves a wand.
default: op
pushaway.givewand.others:
description: Allow the player to give anyone a wand.
default: op
children:
pushaway.givewand: true
pushaway.reload:
description: Reload the configuration file.
default: op
pushaway.bypass-cooldown:
description: Bypass the cooldown to use the push away item.
default: op
```
### Configuration
```Yaml
# Range is how close players have to be to get launched
# Launch-X is how far horizontally they get launched
# Launch-Y is how far vertically they get launched
Push-Away-Range: 3
Push-Away-Launch-X: .7
Push-Away-Launch-Y: .5
Usage-Cooldown: 5
Wand:
Material: "RECORD_3"
Name: "&a&lPushAway Wand"
Lore:
- "&7Right click to &epush &7players away!"
- "&7Works up to &e%range% blocks"
Sound:
On-Push:
Enabled: true
Sound: "BLOCK_ANVIL_PLACE"
Volume: 1.0
Pitch: 1.0
When-Pushed:
Enabled: true
Sound: "ENTITY_BLAZE_SHOOT"
Volume: 1.0
Pitch: 1.0
Messages:
Permission: "&cYou do not have permission to use this command!"
Given-Wand: "&7You have been given a &a&lPushAway Wand&7!"
Give-Other-Wand: "&7You have given &e%player% &7a &a&lPushAway Wand&7!"
Pushed-Players: "&7You have &e&lLAUNCHED &a%num% &7players away from you!"
Pushed-By-Player: "&7You have been &epushed away &7by &c%player%&7!"
No-Players-Nearby: "&7There are no players nearby!"
Cooldown: "&cYou are on cooldown for &e%time% &cmore seconds!"
```