Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Latest commit

 

History

History
65 lines (50 loc) · 1.96 KB

README.md

File metadata and controls

65 lines (50 loc) · 1.96 KB
Depreciated: See regulad/SuperMatchmaker

Matchmaker

Matchmaker is a BungeeCord plugin used to make matches on ender.quest.

Developers

Maven

Insert the following snippets into your POM.xml.

For the repository:

<repositories>
    ...
    <repository>
        <id>github</id>
        <name>GitHub Packages</name>
        <url>https://maven.pkg.github.com/EnderQuestMC/Matchmaker</url>
    </repository>
    ...
</repositories>

For the dependency:

<dependencies>
    ...
    <dependency>
        <groupId>quest.ender</groupId>
        <artifactId>matchmaker</artifactId>
        <version>{version}</version>
    </dependency>
    ...
</dependencies>

Replace {version} with the current version. You can see the current version below. Don't include the "v".

Current Version

Messages

Data will be sent on matchmaker:out, and data will be received on matchmaker:in.

  • Subchannel SendToGame
    • Data Name of a game.
      • Returns Name of the game that the player was sent to. If it fails, return the string "null". Please note that this task may take a while to return.
  • Subchannel GetGameStats
    • Data Name of a game.
      • Returns Name of the game that data was requested on.
      • Returns Number of players in servers hosting that game. If the game is not found, return 0.
  • Subchannel GetGame
    • Returns Name of the game the player is currently in.
  • Subchannel GetGames
    • Returns A list of all games the server can connect you to, seperated by a ,
  • Subchannel SentToGame
    • Data name of the game
      • This message will be dispatched when a player joins the server via Matchmaker. May be multiple seperated by a , . Note that only one message will be sent a server, and the player used to send it may be disregarded.