GithubHelp home page GithubHelp logo

h-arvs / rhbfwebhook Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 47 KB

Sends web hooks containing necessary data and also a screenshot from the rusher utility base finder module

Home Page: https://rusherhack.org

Python 100.00%

rhbfwebhook's Introduction

this is extremely unnecessary, you may bully me

RHBFWebhook

Rusher utility mod (A Minecraft Java 1.12.2 paid utility mod), Base Finder Webhook (discord webhook) is a tool that utilizes the log file of Base Finder to send messages to a discord webhook that gives neccasary data such as: server, time, date, what was found and related cords (e.g. There is a bed near X:-131313, Y:120, Z:-293912). It also provides a screenshot of the minecraft window. Its coded in purely python (with an exception of the config json).

Screenshot feature

The screenshot feature is unique as you know if you have found something worth going back to, it maximizes and brings the minecraft window infront everything else using a combination of win32gui and win32con (both part of the pywin32 package) and pyautogui's screenshot function to take a full screen screenshot and saves it to the local folder. It then sends it in an embed (so it looks beautiful) to the webhook (this took me way too long to code as it has nearly no ducumentation of it online).

Requirements to run python yourself

Python IDE - such as visual studio code or pycharm (I used pycharm for this project) Python - https://www.python.org/downloads/ Installed Packages - download requirements.txt, open a terminal in the directory the file is found in and run "pip install -r requirments.txt" or "pip3 install -r requirments.txt" A brain - may be useful for this process

How to configure

If you installed the compiled version from releases then you need to:

  1. Unzip the file
  2. run setup.exe
  3. go through the process of setup.exe
  4. run main.exe
  5. It should work after that, it will say if you need to do anything further. Any issues or errors you can report in the issues tab

If you installed the python files you need to:

  1. Run setup.py
  2. go through the process of setup.py
  3. Run main.py
  4. It also should work the same as the compiled exe files, you may also edit the code all you want to configure it to your liking this way
  5. basically the same as the exe

config features

Here ill explain all the shit in config.json

SET WHEN YOU RUN SETUP

userid - a string containing your discord user id

webhook - your discord webhook url

logfir - your log file directory

SET ALLREADY BUT CUSTOMIZABLE

user - webhook data

user(name) - Webhook name (can be anything you want, doesnt need to be what you set in the intergrations tab on discord. leave blank for what you set in discord)

user(avatar url) - Image url of the webhooks avatar (Same as name, can be anything, leave blank for default)

If you want anymore customizable features make an issue ig

rhbfwebhook's People

Contributors

h-arvs avatar

Stargazers

Tilki avatar Lucas Krauss avatar Unifie (inactive) avatar KxM avatar 3000IQPlay avatar  avatar

Watchers

 avatar

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.