Package org.kingdoms.services
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidenable()org.bukkit.plugin.PluginbooleanhasPermission(org.bukkit.OfflinePlayer player, org.bukkit.Location location, io.github.thebusybiscuit.slimefun4.libraries.dough.protection.Interaction interaction) voidload()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionModule
getName, getVersionMethods inherited from interface org.kingdoms.services.Service
disable, isAvailable
-
Constructor Details
-
ServiceSlimefun
public ServiceSlimefun()
-
-
Method Details
-
enable
public void enable()- Specified by:
enablein interfaceorg.kingdoms.services.Service
-
load
public void load()- Specified by:
loadin interfaceio.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionModule
-
getPlugin
public org.bukkit.plugin.Plugin getPlugin()- Specified by:
getPluginin interfaceio.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:
hasPermissionin interfaceio.github.thebusybiscuit.slimefun4.libraries.dough.protection.ProtectionModule
-