Realizedd / Duels

A duel plugin for minecraft.
https://www.spigotmc.org/resources/duels.20171/
GNU General Public License v3.0
108 stars 100 forks source link

Does not cooperate with mmoitems + guilds plugins #61

Closed Babbaji closed 2 years ago

Babbaji commented 2 years ago

mmoitems -> https://git.lumine.io/mythiccraft/mmoitems guilds -> https://wiki.helpch.at/glares-plugins/guilds-w.i.p-migration/developer-api

if I put force-allow-combat to true, it correctly allow users from same guild to fight but it does not calculate well damage from custom armors of mmoitems plugin, if i put it on false, it does work well.

I tried to do gradle build myself to try and modify it but i get this error:

Could not determine the dependencies of task ':duels-plugin:shadowJar'.
> Could not resolve all dependencies for configuration ':duels-plugin:runtimeClasspath'.
   > Could not find com.sk89q.worldedit.worldedit-libs:bukkit:7.0.0-SNAPSHOT.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/bukkit-7.0.0-SNAPSHOT.pom
       - https://hub.spigotmc.org/nexus/content/repositories/snapshots/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://hub.spigotmc.org/nexus/content/repositories/snapshots/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/bukkit-7.0.0-SNAPSHOT.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://oss.sonatype.org/content/repositories/snapshots/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/bukkit-7.0.0-SNAPSHOT.pom
       - https://libraries.minecraft.net/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://libraries.minecraft.net/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/bukkit-7.0.0-SNAPSHOT.pom
       - https://repo.extendedclip.com/content/repositories/placeholderapi/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://repo.extendedclip.com/content/repositories/placeholderapi/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/bukkit-7.0.0-SNAPSHOT.pom
       - https://maven.sk89q.com/repo/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://maven.sk89q.com/repo/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/bukkit-7.0.0-SNAPSHOT.pom
       - https://repo.codemc.io/repository/maven-public/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://repo.codemc.io/repository/maven-public/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/bukkit-7.0.0-SNAPSHOT.pom
       - https://repo.essentialsx.net/releases/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://repo.essentialsx.net/releases/com/sk89q/worldedit/worldedit-libs/bukkit/7.0.0-SNAPSHOT/bukkit-7.0.0-SNAPSHOT.pom
       - file:/C:/WoSp/MinecraftPlugins/Duels/libs/bukkit-7.0.0-SNAPSHOT.jar
       - file:/C:/WoSp/MinecraftPlugins/Duels/libs/bukkit.jar
     Required by:
         project :duels-plugin > project :duels-worldguard-v7 > com.sk89q.worldguard:worldguard-bukkit:7.0.0 > com.sk89q.worldedit:worldedit-bukkit:7.0.0-SNAPSHOT:20190611.111707-186
   > Could not find com.sk89q.intake:intake:4.2-SNAPSHOT.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/sk89q/intake/intake/4.2-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/com/sk89q/intake/intake/4.2-SNAPSHOT/intake-4.2-SNAPSHOT.pom
       - https://hub.spigotmc.org/nexus/content/repositories/snapshots/com/sk89q/intake/intake/4.2-SNAPSHOT/maven-metadata.xml
       - https://hub.spigotmc.org/nexus/content/repositories/snapshots/com/sk89q/intake/intake/4.2-SNAPSHOT/intake-4.2-SNAPSHOT.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/sk89q/intake/intake/4.2-SNAPSHOT/maven-metadata.xml
       - https://oss.sonatype.org/content/repositories/snapshots/com/sk89q/intake/intake/4.2-SNAPSHOT/intake-4.2-SNAPSHOT.pom
       - https://libraries.minecraft.net/com/sk89q/intake/intake/4.2-SNAPSHOT/maven-metadata.xml
       - https://libraries.minecraft.net/com/sk89q/intake/intake/4.2-SNAPSHOT/intake-4.2-SNAPSHOT.pom
       - https://repo.extendedclip.com/content/repositories/placeholderapi/com/sk89q/intake/intake/4.2-SNAPSHOT/maven-metadata.xml
       - https://repo.extendedclip.com/content/repositories/placeholderapi/com/sk89q/intake/intake/4.2-SNAPSHOT/intake-4.2-SNAPSHOT.pom
       - https://maven.sk89q.com/repo/com/sk89q/intake/intake/4.2-SNAPSHOT/maven-metadata.xml
       - https://maven.sk89q.com/repo/com/sk89q/intake/intake/4.2-SNAPSHOT/intake-4.2-SNAPSHOT.pom
       - https://repo.codemc.io/repository/maven-public/com/sk89q/intake/intake/4.2-SNAPSHOT/maven-metadata.xml
       - https://repo.codemc.io/repository/maven-public/com/sk89q/intake/intake/4.2-SNAPSHOT/intake-4.2-SNAPSHOT.pom
       - https://repo.essentialsx.net/releases/com/sk89q/intake/intake/4.2-SNAPSHOT/maven-metadata.xml
       - https://repo.essentialsx.net/releases/com/sk89q/intake/intake/4.2-SNAPSHOT/intake-4.2-SNAPSHOT.pom
       - file:/C:/WoSp/MinecraftPlugins/Duels/libs/intake-4.2-SNAPSHOT.jar
       - file:/C:/WoSp/MinecraftPlugins/Duels/libs/intake.jar
     Required by:
         project :duels-plugin > project :duels-worldguard-v7 > com.sk89q.worldguard:worldguard-bukkit:7.0.0 > com.sk89q.worldguard:worldguard-core:7.0.0
   > Could not find com.sk89q.worldedit.worldedit-libs:core:7.0.0-SNAPSHOT.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/core-7.0.0-SNAPSHOT.pom
       - https://hub.spigotmc.org/nexus/content/repositories/snapshots/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://hub.spigotmc.org/nexus/content/repositories/snapshots/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/core-7.0.0-SNAPSHOT.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://oss.sonatype.org/content/repositories/snapshots/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/core-7.0.0-SNAPSHOT.pom
       - https://libraries.minecraft.net/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://libraries.minecraft.net/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/core-7.0.0-SNAPSHOT.pom
       - https://repo.extendedclip.com/content/repositories/placeholderapi/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://repo.extendedclip.com/content/repositories/placeholderapi/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/core-7.0.0-SNAPSHOT.pom
       - https://maven.sk89q.com/repo/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://maven.sk89q.com/repo/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/core-7.0.0-SNAPSHOT.pom
       - https://repo.codemc.io/repository/maven-public/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://repo.codemc.io/repository/maven-public/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/core-7.0.0-SNAPSHOT.pom
       - https://repo.essentialsx.net/releases/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/maven-metadata.xml
       - https://repo.essentialsx.net/releases/com/sk89q/worldedit/worldedit-libs/core/7.0.0-SNAPSHOT/core-7.0.0-SNAPSHOT.pom
       - file:/C:/WoSp/MinecraftPlugins/Duels/libs/core-7.0.0-SNAPSHOT.jar
       - file:/C:/WoSp/MinecraftPlugins/Duels/libs/core.jar
     Required by:
         project :duels-plugin > project :duels-worldguard-v7 > com.sk89q.worldguard:worldguard-bukkit:7.0.0 > com.sk89q.worldedit:worldedit-bukkit:7.0.0-SNAPSHOT:20190611.111707-186 > com.sk89q.worldedit:worldedit-core:7.0.0-SNAPSHOT:20190611.111707-186

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Can you help me with building, please? I would like to try and fix the issue. I think i did something wrong with gradle, I never used it, I usually use maven

Realizedd commented 2 years ago

Fixed in 3e4c0ca