cannibalvox / mcdiscord Goto Github PK
View Code? Open in Web Editor NEWMinecraft mod to add discord support to servers.
License: GNU Lesser General Public License v3.0
Minecraft mod to add discord support to servers.
License: GNU Lesser General Public License v3.0
------------------------------------------- Source installation information for modders ------------------------------------------- This code follows the Minecraft Forge installation methodology. It will apply some small patches to the vanilla MCP source code, giving you and it access to some of the data and functions you need to build a successful mod. Note also that the patches are built against "unrenamed" MCP source code (aka srgnames) - this means that you will not be able to read them directly against normal code. Source pack installation information: Standalone source installation ============================== To install this source code for development purposes, extract this zip file. It ships with a demonstration mod. Run 'gradlew setupDevWorkspace' to create a gradle environment primed with FML. Run 'gradlew eclipse' or 'gradlew idea' to create an IDE workspace of your choice. Refer to ForgeGradle for more information about the gradle environment Note: On macs or linux you run the './gradlew.sh' instead of 'gradlew' Forge source installation ========================= MinecraftForge ships with this code and installs it as part of the forge installation process, no further action is required on your part. For reference this is version @MAJOR@.@MINOR@.@REV@.@BUILD@ of FML for Minecraft version @MCVERSION@. LexManos' Install Video ======================= https://www.youtube.com/watch?v=8VEdtQLuLO0&feature=youtu.be For more details update more often refer to the Forge Forums: http://www.minecraftforge.net/forum/index.php/topic,14048.0.html
What version of minecraft is this made for?
So with this mod i've found that in servers if someone links something to click the link you've gotta click 3 lines down from the link.
I got this error after using the /discord-server command .
[23:55:55] [Thread-77/ERROR] [FML/]: Error pulling server from Discord.
java.io.IOException: Server returned HTTP response code: 403 for URL: https://discordapp.com/api/servers/******************/widget.json
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_66]
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) ~[?:1.8.0_66]
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_66]
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) ~[?:1.8.0_66]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_66]
at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) ~[?:1.8.0_66]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_66]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) ~[?:1.8.0_66]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi.getRestObject(HttpDiscordApi.java:177) ~[HttpDiscordApi.class:?]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi.getRestObject(HttpDiscordApi.java:162) ~[HttpDiscordApi.class:?]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi.synchronousGetServer(HttpDiscordApi.java:73) [HttpDiscordApi.class:?]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi$1.run(HttpDiscordApi.java:52) [HttpDiscordApi$1.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_66]
It would be awesome to be able to be able to configure (either in-game, or config file) the MC & Discord icons and their readings, for the basic purpose of enable and disabling them, so they aren't ever-present.
Future request (low priority, at the moment) configuration might allow for positioning on screen, as well as sizing and orientation.
Awesome work on this mod, btw!!
It would be cool to use this mod in 1.10.2, are there any plans to update?
I had to add the gradle wrapper jar in order to build this. Is this expected?
[12:38:14] [Thread-9141/ERROR]: Error pulling server from Discord.
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_60]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:1.8.0_60]
at java.net.SocketInputStream.read(SocketInputStream.java:170) ~[?:1.8.0_60]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_60]
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[?:1.8.0_60]
at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[?:1.8.0_60]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ~[?:1.8.0_60]
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930) ~[?:1.8.0_60]
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:1.8.0_60]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_60]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) ~[?:1.8.0_60]
at java.io.BufferedInputStream.read(BufferedInputStream.java:345) ~[?:1.8.0_60]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704) ~[?:1.8.0_60]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647) ~[?:1.8.0_60]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535) ~[?:1.8.0_60]
at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:90) ~[?:1.8.0_60]
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1432) ~[?:1.8.0_60]
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1430) ~[?:1.8.0_60]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_60]
at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:1.8.0_60]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1429) ~[?:1.8.0_60]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) ~[?:1.8.0_60]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi.getRestObject(HttpDiscordApi.java:177) ~[HttpDiscordApi.class:?]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi.getRestObject(HttpDiscordApi.java:162) ~[HttpDiscordApi.class:?]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi.synchronousGetServer(HttpDiscordApi.java:73) [HttpDiscordApi.class:?]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi$1.run(HttpDiscordApi.java:52) [HttpDiscordApi$1.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
The errors doesn't seem to stop the mod from working, but is being produced every now and then in console.
Let me know if you want me to provide more information.
After updating 2.0.0 the previous issue pulling guilds cleared up and all seemed well, then it appears Discord updated again and now I get the following error at regular intervals.
Long explaination short: Modpack Helper like mcmod.info files.
Would it be possible to have the in-game chat stream to a Discord server's text channel? MC to Discord, and Discord to MC… like IRC allows.
This would be configurable, so the server admin can define the name of the text channel, in the mcdiscord.cfg
Hey, I just tried to apply for staff but when I clicked the discord link it wouldn't work. So I just wanted to know what happened and if I could still join staff
At regular intervals I get the following error in the console/logs,for my server, this seems to have started at the same time as the recent Discord update. The mod appears to still be working, as far as I can tell.
[07:34:38] [Thread-445299/ERROR] [FML/]: Error pulling guild from Discord.
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.7.0_80]
at java.net.SocketInputStream.read(SocketInputStream.java:152) ~[?:1.7.0_80]
at java.net.SocketInputStream.read(SocketInputStream.java:122) ~[?:1.7.0_80]
at sun.security.ssl.InputRecord.readFully(InputRecord.java:442) ~[?:1.7.0_80]
at sun.security.ssl.InputRecord.read(InputRecord.java:480) ~[?:1.7.0_80]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:934) ~[?:1.7.0_80]
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:891) ~[?:1.7.0_80]
at sun.security.ssl.AppInputStream.read(AppInputStream.java:102) ~[?:1.7.0_80]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) ~[?:1.7.0_80]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) ~[?:1.7.0_80]
at java.io.BufferedInputStream.read(BufferedInputStream.java:334) ~[?:1.7.0_80]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:690) ~[?:1.7.0_80]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633) ~[?:1.7.0_80]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1324) ~[?:1.7.0_80]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) ~[?:1.7.0_80]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi.getRestObject(HttpDiscordApi.java:178) ~[HttpDiscordApi.class:?]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi.getRestObject(HttpDiscordApi.java:163) ~[HttpDiscordApi.class:?]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi.synchronousGetGuild(HttpDiscordApi.java:74) [HttpDiscordApi.class:?]
at net.technicpack.mcdiscord.discord.api.http.HttpDiscordApi$1.run(HttpDiscordApi.java:53) [HttpDiscordApi$1.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_80]
Its not a crash or game breaking but it is annoying with the latest mcdiscord and mods that add GUI changes whenever any text a player it appears as though the lighting gets funky. I am not sure why but I thought I would let you know. Tested without this mod and I have no issues.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.