GithubHelp home page GithubHelp logo

tom-beijner / mordhau-rcon Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 5.0 11.72 MB

Discord bot that utilizes RCON for Mordhau server and logs punishments with extra features.

License: MIT License

TypeScript 99.27% Shell 0.01% JavaScript 0.72%
discord discord-bot mordhau nodejs rcon slash-commands webhooks

mordhau-rcon's Introduction

Hi ๐Ÿ‘‹, welcome to my profile ๐Ÿ˜Š

Personal Website Linkedin Contact

I'm Tom Beijner ๐Ÿฑโ€๐Ÿ’ป

I live in Sweden and I've been learning programming since I was about 13, but I started doing it seriously when I was 17. Most of my projects has been full-stack websites (MENN based: MongoDB, Express.js, or Next.js and Node.js). Some of the projects are closed-source but I plan on making them public and updating my personal website.

โšก Technologies

  • Frontend development using HTML, CSS, and JavaScript (React.js and mostly Typescript)
  • Backend development using MongoDB and Node.js (Express.js, Hapi or Nest.js)
  • Game development using C#

๐Ÿ“ˆ Github Stats

Tom-Beijner's Github Stats Tom-Beijner's Top Languages

mordhau-rcon's People

Contributors

dependabot[bot] avatar tom-beijner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mordhau-rcon's Issues

BOT NO WORK

DiscordRESTError [404]: Unknown interaction
at RequestHandler.request (/home/retardrcon/node_modules/slash-create/lib/util/requestHandler.js:62:15)
at SlashCreatorAPI.interactionCallback (/home/retardrcon/node_modules/slash-create/lib/api.js:80:45)
at /home/retardrcon/node_modules/slash-create/lib/creator.js:589:28
at SlashCreator._onInteraction (/home/retardrcon/node_modules/slash-create/lib/creator.js:551:28)
at /home/retardrcon/node_modules/slash-create/lib/creator.js:190:65
at Client. (/home/retardrcon/dist/structures/Watchdog.js:594:17)
at Client.emit (/home/retardrcon/node_modules/eventemitter3/index.js:182:35)
at Shard.emit (/home/retardrcon/node_modules/eris/lib/gateway/Shard.js:240:26)
at Shard.onPacket (/home/retardrcon/node_modules/eris/lib/gateway/Shard.js:381:18)
at Shard._onWSMessage (/home/retardrcon/node_modules/eris/lib/gateway/Shard.js:2185:29)
at WebSocket.emit (node:events:394:28)
at Receiver.receiverOnMessage (/home/retardrcon/node_modules/ws/lib/websocket.js:970:20)
at Receiver.emit (node:events:394:28)
at Receiver.dataMessage (/home/retardrcon/node_modules/ws/lib/receiver.js:517:14)
at Receiver.getData (/home/retardrcon/node_modules/ws/lib/receiver.js:435:17)
at Receiver.startLoop (/home/retardrcon/node_modules/ws/lib/receiver.js:143:22) {

Can't give permissions to the bot on my discord

I've tried everything on my server to give the bot permissions. Tried to google the issue, can't find the solution ...

DiscordRESTError [50013]: Missing Permissions
    at RequestHandler.request (Mordhau-RCON\node_modules\eris\lib\rest\RequestHandler.js:75:15)
    at Client.getGuildWebhooks (\Mordhau-RCON\node_modules\eris\lib\Client.js:1820:36)
    at Guild.getWebhooks (\Mordhau-RCON\node_modules\eris\lib\structures\Guild.js:851:46)
    at \Mordhau-RCON\dist\structures\Watchdog.js:852:127
    at Map.map (\Mordhau-RCON\node_modules\eris\lib\util\Collection.js:126:22)
    at Watchdog.onInstanceUpdate (\Mordhau-RCON\dist\structures\Watchdog.js:852:106)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

config.json bot informations

Hey, how do I create/obtain those information in the config.json ? Thanks !

    "bot": {
        "token": "",
        "publicKey": "",
        "id": ""
    },

Chatlog & Automod bypass

I discovered how to hide my messages from being logged to the discord server when in a mordhau server.
The same method also lets me bypass the slurCheck.

I know how to implement the solution and it's only 2 lines of code that need editing.
Will be keeping details of how to bypass secret till you reach out.

Having issues connecting to Mongodb

Hi, hopefully you could help me with connecting to the Mongodb database that I've created?
The link I get provided to connect to my mongodb database is:
mongodb+srv://MiguelMoretti:@doa.fi4sd.mongodb.net/myFirstDatabase?retryWrites=true&w=majority

Any help with properly converting this link into the "host" and "database" fields within my config.json file, would be greatly appreciated!

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.