Skip to content

Instantly share code, notes, and snippets.

View Jaimss's full-sized avatar

James Harrell Jaimss

View GitHub Profile
@Jaimss
Jaimss / ADiscordWebhook.kt
Last active June 13, 2023 14:55 — forked from k3kdude/DiscordWebhook.java
Java DiscordWebhook class to easily execute Discord Webhooks. Scroll down for Kotlin
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

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