This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # NOTE: Requires jq to be installed (Ubuntu: sudo apt install jq -y) | |
| # Change Minecraft version and amount of RAM to use here! | |
| MC_VERSION="1.21.1" | |
| MEMORY="5G" | |
| ## DO NOT TOUCH BELOW ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import logging | |
| import os | |
| import re | |
| import subprocess as sp | |
| import sys | |
| from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter | |
| from http.client import HTTPResponse | |
| from tempfile import NamedTemporaryFile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>nl.whoareyou</groupId> | |
| <artifactId>MyPlugin</artifactId> | |
| <version>1.0</version> | |
| <packaging>jar</packaging> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package nl.sbdeveloper.mcthemeparks.utils; | |
| import javax.imageio.ImageIO; | |
| import java.awt.*; | |
| import java.awt.image.BufferedImage; | |
| import java.awt.image.RenderedImage; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.IOException; | |
| import java.net.URL; | |
| import java.util.Base64; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.google.gson.*; | |
| import org.bukkit.Bukkit; | |
| import org.bukkit.Location; | |
| import org.bukkit.World; | |
| import java.lang.reflect.Type; | |
| /** | |
| * A gson adapter for {@link org.bukkit.Location}. | |
| * <p> |