akdukaan / GPFlags

GriefPreventionFlags is a Minecraft plugin to allow players to customize their GriefPrevention claims with claimflags.
GNU General Public License v3.0
17 stars 20 forks source link

Add BetterReload Support #79

Open amnoah opened 3 weeks ago

amnoah commented 3 weeks ago

As an active developer for Minecraft plugins and as someone who helps many others with their servers via BirdFlop, I'm sure you know as well as I do that the Bukkit /reload command is fundamentally flawed and shouldn't be used. As such, this commit adds BetterReload support, hoping to help prevent the many issues that arise from the original command.

BetterReload overrides the /reload command and sends out an event in its place that plugins can either handle or ignore. This leaves the reloading process up to plugins and leaves no sketchy behavior in the process.

For more information about BetterReload here are some links: Source Code Documentation Modrinth

Thank you so much for your time, and have a great day!