Class ServiceSlimefun

java.lang.Object
org.kingdoms.services.ServiceSlimefun
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionModule, org.kingdoms.services.Service

public final class ServiceSlimefun extends Object implements io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionModule, org.kingdoms.services.Service
https://github.com/Slimefun/Slimefun4/wiki/FAQ#is-it-slimefun-or-slimefun https://github.com/Slimefun/Slimefun4/wiki/Protection-Plugins#adding-support-for-your-protection-plugin https://github.com/baked-libs/dough/blob/main/dough-protection/src/main/java/io/github/bakedlibs/dough/protection/ProtectionModule.java https://github.com/Slimefun/Slimefun4/blob/master/src/main/java/io/github/thebusybiscuit/slimefun4/integrations/IntegrationsManager.java https://github.com/Slimefun/Slimefun4/blob/4172138bb0bbb551a5fcb3c1a33c890540c81495/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java#L175 https://github.com/Slimefun/Slimefun4/blob/2604e93c897c933522f8617b503c1eb8a5430634/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/Slimefun.java#L368-L370

There's no fucking way I'm going to fork the whole library and make a pull request for this shit.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.bukkit.plugin.Plugin
     
    boolean
    hasPermission(org.bukkit.OfflinePlayer player, org.bukkit.Location location, io.github.thebusybiscuit.slimefun4.libraries.dough.protection.Interaction interaction)
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionModule

    getName, getVersion

    Methods inherited from interface org.kingdoms.services.Service

    disable, isAvailable
  • Constructor Details

    • ServiceSlimefun

      public ServiceSlimefun()
  • Method Details

    • enable

      public void enable()
      Specified by:
      enable in interface org.kingdoms.services.Service
    • load

      public void load()
      Specified by:
      load in interface io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionModule
    • getPlugin

      public org.bukkit.plugin.Plugin getPlugin()
      Specified by:
      getPlugin in interface io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionModule
    • hasPermission

      public boolean hasPermission(org.bukkit.OfflinePlayer player, org.bukkit.Location location, io.github.thebusybiscuit.slimefun4.libraries.dough.protection.Interaction interaction)
      Specified by:
      hasPermission in interface io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionModule