Skip to content

Commit a52c615

Browse files
committed
Class paths added to EssBase.kt to companion object.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent 5a17b51 commit a52c615

File tree

1 file changed

+21
-0
lines changed
  • src/main/kotlin/com/mairwunnx/projectessentials/core

1 file changed

+21
-0
lines changed

src/main/kotlin/com/mairwunnx/projectessentials/core/EssBase.kt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,25 @@ abstract class EssBase {
6969
)
7070
}
7171
}
72+
73+
companion object {
74+
/**
75+
* Base class path of Project Essentials,
76+
* includes domain, maintainer and project name.
77+
* @since 1.14.4-1.2.1
78+
*/
79+
const val baseClassPath = "com.mairwunnx.projectessentials"
80+
81+
/**
82+
* Class path of PermissionAPI module.
83+
* @since 1.14.4-1.2.1
84+
*/
85+
const val permissionAPIClassPath = "$baseClassPath.permissions.permissions.PermissionsAPI"
86+
87+
/**
88+
* Class path of CooldownAPI module.
89+
* @since 1.14.4-1.2.1
90+
*/
91+
const val cooldownAPIClassPath = "$baseClassPath.cooldown.essentials.CooldownAPI"
92+
}
7293
}

0 commit comments

Comments
 (0)