Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ allprojects {
maven { name = "bg-repo"; url = "https://repo.bg-software.com/repository/api/" }
maven { name = "codemc"; url = "https://repo.codemc.io/repository/bentoboxworld/" }
maven { name = "nightexpress-releases"; url = "https://repo.nightexpressdev.com/releases"}
maven { name = "minecodes-repository-releases"; url = "https://repository.minecodes.pl/releases"}
maven { name = "minecodes-repository-releases"; url = "https://maven.minecodes.pl/releases"}
maven { name = "Lumine Releases"; url = 'https://mvn.lumine.io/repository/maven-public/' }
maven { name = "iridiumdevelopment"; url = "https://nexus.iridiumdevelopment.net/repository/maven-releases/" }
maven { name = "groupez"; url = uri("https://repo.groupez.dev/releases") }
}
}

Expand Down Expand Up @@ -52,4 +53,4 @@ tasks.withType(JavaCompile).configureEach {
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
options.release.set(targetJavaVersion)
}
}
}
9 changes: 5 additions & 4 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ dependencies {
compileOnly 'io.papermc.paper:paper-api:1.21.10-R0.1-SNAPSHOT'
// Hook plugins
compileOnly 'org.geysermc.floodgate:api:2.2.5-SNAPSHOT'
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.1.0-SNAPSHOT'
compileOnly 'com.sk89q.worldedit:worldedit-bukkit:7.4.0-SNAPSHOT'
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.14-SNAPSHOT'
compileOnly 'com.sk89q.worldedit:worldedit-bukkit:7.3.17-SNAPSHOT'
compileOnly("com.github.brcdev-minecraft:shopgui-api:3.2.0") { exclude(group: "*") }
compileOnly 'com.palmergames.bukkit.towny:towny:0.102.0.0'
compileOnly 'com.bgsoftware:SuperiorSkyblockAPI:2025.2.1'
Expand All @@ -16,7 +16,8 @@ dependencies {
compileOnly 'su.nightexpress.excellentshop:Core:4.22.0'
compileOnly("io.github.fabiozumbi12.RedProtect:RedProtect-Core:8.1.2") { exclude(group: "*") }
compileOnly("io.github.fabiozumbi12.RedProtect:RedProtect-Spigot:8.1.2") { exclude(group: "*") }
implementation 'com.github.maiminhdung:zShop-API:9cb1b3e140'
compileOnly("fr.maxlego08.shop:zshop-api:3.3.1")
compileOnly("fr.maxlego08.menu:zmenu-api:1.1.0.6")
implementation 'com.github.GriefPrevention:GriefPrevention:18.0.0'
implementation 'com.github.IncrediblePlugins:LandsAPI:7.19.1'
implementation 'com.github.Xyness:SimpleClaimSystem:1.12.3.2'
Expand Down Expand Up @@ -63,4 +64,4 @@ processResources {
filesMatching(['plugin.yml', 'paper-plugin.yml']) {
expand props
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package github.nighter.smartspawner.hooks.economy.shops.providers.zshop;

import fr.maxlego08.zshop.api.ShopManager;
import fr.maxlego08.zshop.api.buttons.ItemButton;
import fr.maxlego08.shop.api.ShopManager;
import fr.maxlego08.shop.api.buttons.ItemButton;
import github.nighter.smartspawner.SmartSpawner;
import github.nighter.smartspawner.hooks.economy.shops.providers.ShopProvider;
import lombok.RequiredArgsConstructor;
Expand All @@ -28,8 +28,8 @@ public boolean isAvailable() {
Plugin zShopPlugin = Bukkit.getPluginManager().getPlugin("zShop");
if (zShopPlugin != null && zShopPlugin.isEnabled()) {
// Check if the zShop API classes are available
Class.forName("fr.maxlego08.zshop.api.ShopManager");
Class.forName("fr.maxlego08.zshop.api.buttons.ItemButton");
Class.forName("fr.maxlego08.shop.api.ShopManager");
Class.forName("fr.maxlego08.shop.api.buttons.ItemButton");

// Try to get the ShopManager service
ShopManager manager = getShopManager();
Expand Down Expand Up @@ -89,4 +89,4 @@ private Optional<ItemButton> getItemButton(Material material) {
return Optional.empty();
}
}
}
}
4 changes: 2 additions & 2 deletions core/src/main/resources/paper-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies:
join-classpath: true

# Economy Plugins
CoinEngine:
CoinsEngine:
load: BEFORE
required: false
join-classpath: true
Expand Down Expand Up @@ -188,4 +188,4 @@ permissions:

smartspawner.limits.bypass:
description: "Bypass spawner limits per chunk"
default: false
default: false
2 changes: 1 addition & 1 deletion core/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ softdepend:
- ExcellentShop

# Utility/Economy Plugins
- CoinEngine
- CoinsEngine
- Vault

# Protection/Region Plugins
Expand Down
Loading