Code Monkey home page Code Monkey logo

friendconnect's Introduction

Friend Connect

WARNING

BEFORE YOU USE THIS TOOL, PLEASE READ THE FOLLOWING: WE AS CONTRIBUTORS ARE NOT RESPONSIBLE FOR ANY DAMAGE OR LOSS CAUSED BY THIS APP. USE AN ALT ACCOUNT, JUST IN CASE THERE IS AN ISSUE WITH THIS METHOD.

About

This is a project for minecraft bedrock that allows you to join servers via the in game friends tab. Allowing console players to connect to servers.

How it works in game

A New Realms Replacement, A new method for joining servers on console.

How to use it:

Go into test/index.js and change:

  • All refrences to tailville.xyz to whatever you want
  • ip: to your server ip (GeyserMC has to be installed on java!!!)
  • port: to your server's port (You probably won't have to change it)

Then do node test and follow the steps in terminal to start the tool.

Here's a graph of stuff to change:

import { Session } from "friend-connect";
import auth from "prismarine-auth";

const { Authflow, Titles } = auth;
const token = await new Authflow("friend-connect", "./", { //change friend-connect to whatever
	authTitle: Titles.MinecraftNintendoSwitch,
	deviceType: "Nintendo",
}).getXboxToken();

new Session(
	{
		hostName: "friend-connect", //change to whatever
		worldName: "Fun Fact: friend-connect was revealed 7/7/2022", //change to what you want the MOTD to be, basically
		version: "1.19.2",
		protocol: 527,
		players: 0,
		maxPlayers: 20,
		ip: "", // put your server ip / domain here
		port: 19132,
	},
	token
);

To Do List

  • Add a way to fetch the version and protocol of the server on session Update.
  • Add automatically querying the player numbers from the server on session Update.
  • Add the ability to provide an array of strings to be chosen from for the hostName and worldName that is rotated through on session Update.
  • Check if the user owns any games if so send an error telling them to use an alt account.
  • Add an option to disable auto friending.
  • Make a user friendly way to use this tool like a discord bot or something.
  • Add a cli tool maybe.

Credit

This project is a js port of the rtm516/MCXboxBroadcast from java.

Friend Connect adds a key feature that makes the friending automated.

I worked with rtm516 to figure out the uri and headers for finding the followers of an xbox profile.

friendconnect's People

Contributors

atxltheaxolotl avatar erisfiregamer1 avatar jrcarl624 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.