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

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

License

Notifications You must be signed in to change notification settings

EnderQuestMC/Matchmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.