Skip to content

Instantly share code, notes, and snippets.

Avatar

James Harrell Jaimss

View GitHub Profile
View README.md

UpdateChecker

Get latest spigot version of a resource using Spiget.

Language Support

This has both Kotlin & Java Options. Just use whatever language your plugin is in!

Your Resource ID

To get your resource id, go to your resource page. For example, PlaceholderAPI is at

@Jaimss
Jaimss / ADiscordWebhook.kt
Last active Feb 26, 2022 — forked from k3kdude/DiscordWebhook.java
Java DiscordWebhook class to easily execute Discord Webhooks. Scroll down for Kotlin
View ADiscordWebhook.kt
import java.awt.Color
import java.io.IOException
import java.lang.reflect.Array
import java.net.URL
import java.util.*
import javax.net.ssl.HttpsURLConnection
import kotlin.collections.HashMap
import kotlin.collections.set