MiraWaNeko / DiscordIntegration

Communicate between Minecraft and Discord
https://discordintegration.net
GNU Affero General Public License v3.0
88 stars 42 forks source link

Build failure due to 403 Forbidden on getting Dynmap #127

Closed ArcCha closed 6 years ago

ArcCha commented 6 years ago

Base informations

Minecraft version: Not applicable.

DiscordIntegration version: 1.12 (commit: fa3ec0495fb111e6fb5c3ad0918dc4ea26e2af50)

Link to pastebin with (censored) config: Optional

Overview

I am actively using this plugin (thanks!) and several users on my Discord Server where unhappy that each login/logout event is being posted to Discord chat. I know I can disable this, but they requested that the number of currently playing users should be put in the Discord channel topic, maybe with nicknames. So I've tried to modify this plugin to do so, but I failed pretty early - I've cloned the repo and tried to run gradle build, but it failed with

> Configure project : 
A constructor for `org.gradle.api.internal.java.JavaLibrary` is used by Shadow plugin v1.2.x, and has been preserved for compatibility. This has been deprecated and is scheduled to be removed in Gradle 5.0. If you're using the Shadow plugin, try upgrading to v2.x.
        at build_c6lqbi09bw50z8x9pljevjjme.run(/home/arccha/programowanie/DiscordIntegration/build.gradle:28)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
This mapping 'snapshot_20170624' was designed for MC 1.12! Use at your own peril.

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not resolve 2436/596:Dynmap:2.6-beta-1-forge-1.12.
  Required by:
      project :
   > Could not resolve 2436/596:Dynmap:2.6-beta-1-forge-1.12.
      > Could not get resource 'http://addons-origin.cursecdn.com/files/2436/596/Dynmap-2.6-beta-1-forge-1.12.xml%3Ftoken=0032bf10-b500-406c-90da-82737679be79'.
         > Could not GET 'http://addons-origin.cursecdn.com/files/2436/596/Dynmap-2.6-beta-1-forge-1.12.xml%3Ftoken=0032bf10-b500-406c-90da-82737679be79'. Received status code 403 from server: Forbidden

I've tried to google this error, thinking that it should be a simple matter of getting credentials from CurseForge, but I found nothing. Can you please guide me in the right direction?

132ikl commented 6 years ago

The token probably expired. If I remember I could try to build it tonight but if I get the same issue @Chikachi has to fix this

On Fri, Feb 2, 2018 at 12:32 PM Adam Piekarczyk notifications@github.com wrote:

Base informations

Minecraft version: Not applicable.

DiscordIntegration version: 1.12 (commit: fa3ec04 https://github.com/Chikachi/DiscordIntegration/commit/fa3ec0495fb111e6fb5c3ad0918dc4ea26e2af50 )

Link to pastebin with (censored) config: Optional Overview

I am actively using this plugin (thanks!) and several users on my Discord Server where unhappy that each login/logout event is being posted to Discord chat. I know I can disable this, but they requested that the number of currently playing users should be put in the Discord channel topic, maybe with nicknames. So I've tried to modify this plugin to do so, but I failed pretty early - I've cloned the repo and tried to run gradle build, but it failed with

Configure project : A constructor for org.gradle.api.internal.java.JavaLibrary is used by Shadow plugin v1.2.x, and has been preserved for compatibility. This has been deprecated and is scheduled to be removed in Gradle 5.0. If you're using the Shadow plugin, try upgrading to v2.x. at build_c6lqbi09bw50z8x9pljevjjme.run(/home/arccha/programowanie/DiscordIntegration/build.gradle:28) (Run with --stacktrace to get the full stack trace of this deprecation warning.) This mapping 'snapshot_20170624' was designed for MC 1.12! Use at your own peril.

FAILURE: Build failed with an exception.

I've tried to google this error, thinking that it should be a simple matter of getting credentials from CurseForge, but I found nothing. Can you please guide me in the right direction?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Chikachi/DiscordIntegration/issues/127, or mute the thread https://github.com/notifications/unsubscribe-auth/AIWJ_U1QiNlF1M7Sy5SWf-iXuy4uEDO7ks5tQzu1gaJpZM4R3deq .

CDAGaming commented 6 years ago

I've removed Dynmap Integration in my fork until this is fixed :D

MiraWaNeko commented 6 years ago

For now, you can download the jar file from CurseForge, put it in the root of the project and rename it to Dynmap.jar

ArcCha commented 6 years ago

@CDAGaming thanks, I will use your fork, it's much more covenient for me.

MiraWaNeko commented 6 years ago

Fixed in 5d952bbb8c129f368c9f89bedbfec2201217efc6