Git Product home page Git Product logo

justcord-3's Introduction

๐Ÿ‘‹ Hey, I'm MD! I work on a few open-source projects, mostly related to Minecraft: Java Edition.

I'm a lead maintainer of EssentialsX/Essentials. I've also made some other things:

โค If you want to support my work, you can do so over at GitHub Sponsors.

Getting in touch

I'm part of the Minecraft Open Source Software community on Discord. You can reach me at @mdcfe#1970 on there.

Please don't send friend requests or DMs without getting in touch first! I often can't help with the projects I work on in DMs.

justcord-3's People

Contributors

mdcfe avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

justcord-3's Issues

Big to-do list for 1.0

  • Custom formatting (both ways) - 9541944
  • Player join/leave messages on Discord - 856df08
  • Show death messages in Discord - bb7cb14
  • Channel topic/description updating - 1a1910e
  • Game status updating - 50a2ced
  • Config reloading and defaults - 789e1a2
  • Catch errors in templates (#3, #4) - e245d9e
  • Discord-to-player linking for use with other packages
  • Different colour or prefix in JC3 chat for Discord messages - f4a2e9c
  • Fully document config (#5)

Latest Version Error.

I updated to the latest version but on server start, I get this error:

JC3MP SERVER/packages/justcord-3-master/util.js:3 return eval(`${template.replace(//g, '\\')}``);
^

TypeError: Cannot read property 'replace' of undefined
at evalTemplate (/home/JamesandJohn/JC3MP SERVER/packages/justcord-3-master/util.js:3:34)
at formatTopic (/home/JamesandJohn/JC3MP SERVER/packages/justcord-3-master/jcevents.js:31:12)
at Timeout.setTimeout (/home/JamesandJohn/JC3MP SERVER/packages/justcord-3-master/jcevents.js:62:14)
at tryOnTimeout (timers.js:232:11)
at Timer.listOnTimeout (timers.js:202:5)
`

Unhandled promise rejection

Hello,

Since the 0.9.8 I get this error with Justcord: (node:7142) UnhandledPromiseRejectionWarning: Unhandled promise rejection the bridge seems to work well.

I can't figure out from where it come, but I wonder if that come from the nodeJS update include with jc3mp...

Justcord ready!
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
Discord: Zoski: test test
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 10): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 11): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 12): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 13): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 14): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 15): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 16): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 17): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 18): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 19): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 20): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 21): Error: 403 FORBIDDEN on PATCH /channels/269118724592762880
(node:12112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 22): Error: Request timed out (>10000ms) on PATCH /channels/269118724592762880

Maximum call stack exceeded

RangeError: Maximum call stack size exceeded
at deepClone (D:\Videos\JC3MP\JC3MP-TM\packages\justcord-3\util.js:32:19)
at deepMerge (D:\Videos\JC3MP\JC3MP-TM\packages\justcord-3\util.js:45:20)
at deepMerge (D:\Videos\JC3MP\JC3MP-TM\packages\justcord-3\util.js:62:12)
at deepMerge (D:\Videos\JC3MP\JC3MP-TM\packages\justcord-3\util.js:62:12)
at deepMerge (D:\Videos\JC3MP\JC3MP-TM\packages\justcord-3\util.js:62:12)
at deepMerge (D:\Videos\JC3MP\JC3MP-TM\packages\justcord-3\util.js:62:12)
at deepMerge (D:\Videos\JC3MP\JC3MP-TM\packages\justcord-3\util.js:62:12)
at deepMerge (D:\Videos\JC3MP\JC3MP-TM\packages\justcord-3\util.js:62:12)
at deepMerge (D:\Videos\JC3MP\JC3MP-TM\packages\justcord-3\util.js:62:12)
at deepMerge (D:\Videos\JC3MP\JC3MP-TM\packages\justcord-3\util.js:62:12)
Package 'justcord' loaded.


Whenever I start the server and that happens, package.json gets updated and it loses some information.. this is a github changelog below;

@@ -1,29 +1,29 @@
{
  "name": "justcord",
  "version": "0.1.0",
  "description": "A JC3MP-Discord bridge",
  "main": "main.js",
  "repository": {
    "url": "https://github.com/md678685/justcord-3.git",
    "type": "git"
  },
  "author": "md678685 <[email protected]>",
  "license": "MIT",
  "dependencies": {
    "eris": "^0.5.1"
  },
  "devDependencies": {
    "eslint": "3.13.0",
    "eslint-config-airbnb": "^14.0.0",
    "eslint-plugin-import": "2.2.0",
    "eslint-plugin-jsx-a11y": "3.0.2",
    "eslint-plugin-react": "6.9.0"
  },
  "jcmp_dependencies": [
    "chat"
  ],
  "scripts": {
    "test": "echo 'Not yet implemented, use script \"run_server\" to start emulator' && exit 1",
    "run_server": "cp ./*.js jcmpserver/packages/justcord && cd jcmpserver && jcmp-server && rm packages/justcord/*.js"
  }
}
    "author": "md678685 <[email protected]>",
    "dependencies": {
        "eris": "^0.5.1"
    },
    "description": "A JC3MP-Discord bridge",
    "devDependencies": {
        "eslint": "3.13.0",
        "eslint-config-airbnb": "^14.0.0",
        "eslint-plugin-import": "2.2.0",
        "eslint-plugin-jsx-a11y": "3.0.2",
        "eslint-plugin-react": "6.9.0"
    },
    "jcmp_dependencies": [
        "chat"
    ],
    "license": "MIT",
    "main": "main.js",
    "name": "justcord",
    "repository": {
        "type": "git",
        "url": "https://github.com/md678685/justcord-3.git"
    },
    "scripts": {
        "run_server": "cp ./*.js jcmpserver/packages/justcord && cd jcmpserver && jcmp-server && rm packages/justcord/*.js",
        "test": "echo 'Not yet implemented, use script \"run_server\" to start emulator' && exit 1"
    },
    "version": "0.1.0"
}
\ No newline at end of file

weird?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.