Projectile Knockback

This plugin should work across most minecraft versions: this plugin does not use anything version specific. This should work across newer and older minecraft versions. I will release a new version if it does not fit a certain update.
This is a simple plugin that I decided to make, because I couldn't find any other plugins like it to fit my needs. I really want to hear what you have to say to improve it, post it in the comments! This is my first plugin published on Bukkit/Spigot.
 
If you may or may not know, in earlier versions of Spigot there was a bug where snowballs (when I say snowballs, I am including eggs and enderpearls too) gave knockback to the player that was hit, and some minigames started to use this mechanic. Today, the bug is fixed and snowballs don't deal any knockback, like how it has always been in vanilla Minecraft. This plugin allows you to restore this functionality.
 
With this plugin, you also have the ability to choose what worlds the plugin affects. In the config, if you set cross-world to false, it will not affect all worlds on the server. After setting cross-world to false, you must add the worlds that the plugin should be enabled in them to the worlds-enable array in the config (you can also do this by command).
 
This plugin's commands allow you to manage the entire config, including toggling different projectile knockback, toggling the entire plugin, and choosing in what worlds the plugin is enabled, with these commands:
 
All the commands and permissions here only apply to the latest version of this plugin. If you have an older version, please download the new one.
 
/projectileknockback toggle - toggles the plugin on or off
/pkb help - get help
/pkb snowball|enderpearl|egg - toggles snowball/enderpearl/egg knockback on or off.
/pkb cross-world toggle - toggle on or off if the plugin manages all worlds
/pkb worlds add world - add a world to the enabled worlds list
/pkb worlds remove world - remove a world from the enabled worlds list
You can also edit these values in the configuration file. 
The permissions you need to toggle knockback:
projectileknockback.toggle.plugin - toggle plugin on or off
projectileknockback.toggle.egg|enderpearl|snowball - toggle egg/enderpearl/snowball knockback on or off
projectileknockback.help - allows you to see the help page
projectileknockback.worlds - allows the player to manage enabled worlds and toggle the cross-world functionality.
Please do not post this plugin elsewhere, just leave a link to this page. I don't mind that you mention this plugin on other forums (why would I :p) but don't upload a version of this plugin to any of those sites. 
bstats:
In version 1.7 I added support for a Plugin Metrics API that is called bstats. bstats lets plugin developers see how many servers are using there plugins (not the server names), how many players play on those servers, what operating system you use, Minecraft version, etc.
Update Notifier:
This plugin will notify you when a newer version of the plugin is available for download. 
Changelog:
  • v1.0 - Initial Release.
  • v1.1 - Added a config file.
  • v1.2 - Added messages into the config + multi-world support
  • v1.3 - You can now edit words/functionalities via command + fixed issues with cross-world support
  • v1.4 - Organized my code, fixed minor bugs. Nothing very visible changed.
  • v1.5 - Minor bug fixes
  • v1.6 - The first real stable update released. Fixed tons of bugs, changed some of the commands.
  • v1.7 - Added support for bstats! You now support me just by using my plugin, no effect on server performance. Read more above.
  • v1.7 for old MC - New version of PKB that has been tested on MC versions 1.9, 1.8.3, 1.8.1, 1.8, 1.7.4, 1.7.2 and 1.7. There may be more versions that this plugin works on, but I haven't tested them. This version adds no features to this plugin, just support for older MC versions. I do not plan to make PKB versions for older MC versions than 1.7.
  • v1.8 (support for 1.13!) - 2 Additions, I am now using the ipify API to get your servers IP address for bstats usage, and this plugin now supports 1.13! Yay!
  • v1.9 - Many bug fixes, update to bstats, no longer causes lag because of updater.
This project will not have any new features added, but I will update it with the new Minecraft versions that will come out.

 


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    289741
  • Created
    Mar 8, 2018
  • Last Released File
    Jan 26, 2021
  • Total Downloads
    7,069
  • License

Categories

Members

Recent Files