Skip to content

Instantly share code, notes, and snippets.

View Matt-MX's full-sized avatar
😈
Femboys

MattMX Matt-MX

😈
Femboys
View GitHub Profile
@Matt-MX
Matt-MX / AttemptResult.java
Last active November 22, 2022 03:13
Safe Check Utils (Console apps)
import java.util.function.Consumer;
public class AttemptResult<I, O> {
private O value;
public AttemptResult(O result) {
this.value = result;
}
public boolean isSuccessful() {
@Matt-MX
Matt-MX / scheduling.kt
Last active September 4, 2024 23:28
Utility file to easily call all task types in your Kotlin Bukkit plugins
package co.pvphub.championship.backend.util
import com.mattmx.ktgui.extensions.color
import org.bukkit.Bukkit
import org.bukkit.entity.Player
import org.bukkit.plugin.java.JavaPlugin
import org.bukkit.scheduler.BukkitTask
import java.util.concurrent.CompletableFuture
import java.util.concurrent.Future
import java.util.concurrent.TimeUnit
@Matt-MX
Matt-MX / classes.txt
Last active August 21, 2022 11:50
Known Classnames
Skligga
Marlow
Meteor
Wurst
Femhack
CwCrystal
CwHack
AimAssist
AutoAnchor
AutoCrystal
This is the data folder for the Cloaks+ mod.
Please do not modify or tamper with any files.
Doing so will result in no support from us in the event that you break something.
@MattMX
@Matt-MX
Matt-MX / Log
Created June 12, 2022 20:47
Log
"C:\Program Files\Java\jdk-17.0.2\bin\java.exe" -Dfabric.dli.config=C:\Users\Mangr\OneDrive\Desktop\Custom@@0020Mods\PackBrowser\.gradle\loom-cache\launch.cfg -Dfabric.dli.env=client -Dfabric.dli.main=net.fabricmc.loader.impl.launch.knot.KnotClient "-javaagent:F:\PC\intlij\IntelliJ IDEA Community Edition 2020.3.2\lib\idea_rt.jar=61283:F:\PC\intlij\IntelliJ IDEA Community Edition 2020.3.2\bin" -Dfile.encoding=UTF-8 -classpath "C:\Users\Mangr\OneDrive\Desktop\Custom Mods\PackBrowser\build\classes\java\main;C:\Users\Mangr\OneDrive\Desktop\Custom Mods\PackBrowser\build\resources\main;C:\Users\Mangr\.gradle\caches\modules-2\files-2.1\org.projectlombok\lombok\1.18.24\13a394eed5c4f9efb2a6d956e2086f1d81e857d9\lombok-1.18.24.jar;C:\Users\Mangr\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-stdlib-jdk8\1.5.10\3f4af7aff21c4ec46e3cdd645639d0a63a68d3d0\kotlin-stdlib-jdk8-1.5.10.jar;C:\Users\Mangr\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-reflect\1.5.10\d6c70f3c0df2457ea0095c61c1fc11880
@Matt-MX
Matt-MX / Fetch.java
Last active June 12, 2022 17:53
Java Fetch
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.nio.charset.StandardCharsets;
import java.util.concurrent.*;
import java.util.function.Consumer;
@Matt-MX
Matt-MX / teamsplus.txt
Last active March 30, 2022 14:15
TeamsPlus
Very outdated project, will not be updated.
Perhaps will be replaced in the future by a more sustainable system.
################## NOTES FOR MODERATORS ##################
- Not including a # before a comment will not cause errors
however please do so, for consistency.
- Adding a player is as simple as the following format:
'{Username}: {Tag}
For example:
'MattMX: &c&l&oINFERNO &7[&6DEV&7]