Skip to content

Commit

Permalink
Added CMI-Extension by YannicHock (#3815)
Browse files Browse the repository at this point in the history
* Added CMI as an softdependency and in the ExtensionRegister as well as into the shadowjar

* Added myself to Contributors

* Removed seconds Extension for CMI as it now uses Tabs

* Remove temporary maven repository

Affects issues:
- Close #3735
- #3292

---------

Co-authored-by: Yannic Hock <yannic.hock@dfki.de>
Co-authored-by: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 30, 2024
1 parent a884e05 commit 1b9f38b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ public class Contributors {
new Contributor("liuzhen932", LANG),
new Contributor("Sniper_TVmc", LANG),
new Contributor("mcmdev", CODE),
new Contributor("ZhangYuheng", CODE)
new Contributor("ZhangYuheng", CODE),
new Contributor("YannicHock", CODE)
};

private Contributors() {
Expand Down
1 change: 1 addition & 0 deletions Plan/common/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ softdepend:
- DKCoins
- DKBans
- Essentials
- CMI
- Factions
- FastLogin
- GriefPrevention
Expand Down
1 change: 1 addition & 0 deletions Plan/extensions/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies {
shadow 'net.playeranalytics:Extension-DKBans:2.1.2-R1.3'
shadow 'net.playeranalytics:Extension-DKCoins:3.0.5-R1.1'
shadow 'net.playeranalytics:Extension-EssentialsX:2.15.0-R2.0'
shadow 'net.playeranalytics:Extension-CMI:9.7.4.1'
shadow 'net.playeranalytics:Extension-Factions:2.14.0-R1.1'
shadow 'net.playeranalytics:Extension-FactionsUUID:1.6.9.5-U0.5.25-R1.1'
shadow 'net.playeranalytics:Extension-FastLogin:R1.3'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import net.playeranalytics.extension.dkbans.DKBansExtensionFactory;
import net.playeranalytics.extension.dkcoins.DKCoinsExtensionFactory;
import net.playeranalytics.extension.essentials.EssentialsExtensionFactory;
import net.playeranalytics.extension.cmi.CMIExtensionFactory;
import net.playeranalytics.extension.factions.FactionsExtensionFactory;
import net.playeranalytics.extension.factionsuuid.FactionsUUIDExtensionFactory;
import net.playeranalytics.extension.fastlogin.FastLoginExtensionFactory;
Expand Down Expand Up @@ -112,6 +113,7 @@ public void registerBuiltInExtensions(Set<String> disabledExtensions) {
register(new DKCoinsExtensionFactory(), DKCoinsExtensionFactory::createExtension, DKCoinsExtensionFactory::registerListener);
register(new EssentialsExtensionFactory(), EssentialsExtensionFactory::createExtension, EssentialsExtensionFactory::registerUpdateListeners);
register(new EssentialsExtensionFactory(), EssentialsExtensionFactory::createEcoExtension, EssentialsExtensionFactory::registerEconomyUpdateListeners);
register(new CMIExtensionFactory(), CMIExtensionFactory::createCMIExtension, CMIExtensionFactory::registerCMIUpdateListeners);
register(new FactionsExtensionFactory(), FactionsExtensionFactory::createExtension);
register(new FactionsUUIDExtensionFactory(), FactionsUUIDExtensionFactory::createExtension, FactionsUUIDExtensionFactory::registerExpansion);
register(new FastLoginExtensionFactory(), FastLoginExtensionFactory::createExtension);
Expand Down

0 comments on commit 1b9f38b

Please sign in to comment.