Skip to content
Gregory Mitchell edited this page May 30, 2024 · 6 revisions

Welcome to the SocketMC wiki! This will show you the basics of using the library.

📥 Installation

GitHub branch checks state GitHub GitHub issues

Prerequisites

All players on your server must have the SocketMC mod installed. You can download them from the following locations:

In your Plugin

GitHub release (latest by date) Static Badge Static Badge Static Badge

Maven
<project>
    
    <!-- Import CodeMC Repo -->
    
    <repositories>
        <repository>
            <id>codemc-releases</id>
            <url>https://repo.codemc.io/repository/maven-releases/</url>
        </repository>
    </repositories>
    
    <dependencies>
        <dependency>
            <groupId>me.gamercoder215.socketmc</groupId>
            <artifactId>socketmc-spigot</artifactId>
            <version>[VERSION]</version>
        </dependency>
        
        <!-- Alternatively, use the Paper Build -->
        <dependency>
            <groupId>me.gamercoder215.socketmc</groupId>
            <artifactId>socketmc-paper</artifactId>
            <version>[VERSION]</version>
        </dependency>
    </dependencies>
    
</project>
Gradle (Groovy)
repositories {
    maven { url 'https://repo.codemc.io/repository/maven-releases/' }
}

dependencies {
    implementation 'me.gamercoder215.socketmc:socketmc-spigot:[VERSION]'
    
    // Alternatively, use the Paper Build
    implementation 'me.gamercoder215.socketmc:socketmc-paper:[VERSION]'
}
Gradle (Kotlin DSL)
repositories {
    maven(url = "https://repo.codemc.io/repository/maven-releases/")
}

dependencies {
    implementation("me.gamercoder215.socketmc:socketmc-spigot:[VERSION]")
    
    // Alternatively, use the Paper Build
    implementation("me.gamercoder215.socketmc:socketmc-paper:[VERSION]")
}
Clone this wiki locally