forked from UnlegitDqrk/unlegitlibrary
- Converting to new repo
This commit is contained in:
6
.idea/GitLink.xml
generated
Normal file
6
.idea/GitLink.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="uk.co.ben_gibson.git.link.SettingsState">
|
||||||
|
<option name="host" value="e0f86390-1091-4871-8aeb-f534fbc99cf0" />
|
||||||
|
</component>
|
||||||
|
</project>
|
6
.idea/copilot.data.migration.agent.xml
generated
Normal file
6
.idea/copilot.data.migration.agent.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="AgentMigrationStateService">
|
||||||
|
<option name="migrationStatus" value="COMPLETED" />
|
||||||
|
</component>
|
||||||
|
</project>
|
6
.idea/copilot.data.migration.ask.xml
generated
Normal file
6
.idea/copilot.data.migration.ask.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="AskMigrationStateService">
|
||||||
|
<option name="migrationStatus" value="COMPLETED" />
|
||||||
|
</component>
|
||||||
|
</project>
|
6
.idea/copilot.data.migration.ask2agent.xml
generated
Normal file
6
.idea/copilot.data.migration.ask2agent.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Ask2AgentMigrationStateService">
|
||||||
|
<option name="migrationStatus" value="COMPLETED" />
|
||||||
|
</component>
|
||||||
|
</project>
|
6
.idea/copilot.data.migration.edit.xml
generated
Normal file
6
.idea/copilot.data.migration.edit.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="EditMigrationStateService">
|
||||||
|
<option name="migrationStatus" value="COMPLETED" />
|
||||||
|
</component>
|
||||||
|
</project>
|
@@ -3,20 +3,20 @@
|
|||||||
## License Information
|
## License Information
|
||||||
GNU General Public License v3.0 (GPLv3)<br />
|
GNU General Public License v3.0 (GPLv3)<br />
|
||||||
The default license. Applies to all users, projects, and distributions unless explicitly stated otherwise.<br />
|
The default license. Applies to all users, projects, and distributions unless explicitly stated otherwise.<br />
|
||||||
→ https://github.com/UnlegitDqrk/UnlegitLibrary/blob/master/LICENSE
|
→ https://repo.unlegitdqrk.dev/UnlegitDqrk/UnlegitLibrary/src/LICENSE
|
||||||
|
|
||||||
Open Autonomous Public License (OAPL)<br />
|
Open Autonomous Public License (OAPL)<br />
|
||||||
A special exception applies exclusively to the project Open Autonomous Connection (OAC).<br />
|
A special exception applies exclusively to the project Open Autonomous Connection (OAC).<br />
|
||||||
Within OAC, the UnlegitLibrary is also licensed under the OAPL.<br />
|
Within OAC, the UnlegitLibrary is also licensed under the OAPL.<br />
|
||||||
In this context, OAPL terms take precedence.<br />
|
In this context, OAPL terms take precedence.<br />
|
||||||
→ https://github.com/Open-Autonomous-Connection/OAPL
|
→ https://repo.open-autonomous-connection.org/Open-Autonomous-Connection/OAPL
|
||||||
|
|
||||||
## Include in own projects
|
## Include in own projects
|
||||||
````
|
````
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>github</id>
|
<id>github</id>
|
||||||
<url>https://maven.pkg.github.com/unlegitdqrk/unlegitlibrary</url>
|
<url>https://repo.unlegitdqrk.dev/unlegitdqrk/unlegitlibrary</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
@@ -24,7 +24,7 @@ In this context, OAPL terms take precedence.<br />
|
|||||||
</repositories>
|
</repositories>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>me.finn.unlegitlibrary</groupId>
|
<groupId>dev.unlegitdqrk</groupId>
|
||||||
<artifactId>unlegitlibrary</artifactId>
|
<artifactId>unlegitlibrary</artifactId>
|
||||||
<version>VERSION</version>
|
<version>VERSION</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
12
pom.xml
12
pom.xml
@@ -4,10 +4,10 @@
|
|||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>me.finn.unlegitlibrary</groupId>
|
<groupId>me.unlegitdqrk</groupId>
|
||||||
<artifactId>unlegitlibrary</artifactId>
|
<artifactId>unlegitlibrary</artifactId>
|
||||||
<version>1.6.2</version>
|
<version>1.6.2</version>
|
||||||
<url>https://unlegitdqrk.dev/UnlegitLibrary/</url>
|
<url>https://unlegitdqrk.dev/</url>
|
||||||
<description>Just a big library</description>
|
<description>Just a big library</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
@@ -18,9 +18,9 @@
|
|||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>github</id>
|
<id>repounlegitdqrk</id>
|
||||||
<name>UnlegitLibrary</name>
|
<name>UnlegitLibrary</name>
|
||||||
<url>https://maven.pkg.github.com/unlegitdqrk/unlegitlibrary</url>
|
<url>https://repo.unlegitdqrk.dev/api/packages/UnlegitDqrk/maven</url>
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
@@ -36,8 +36,8 @@
|
|||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
<issueManagement>
|
<issueManagement>
|
||||||
<system>GitHub Issue Tracker</system>
|
<system>Issue Tracker</system>
|
||||||
<url>https://github.com/UnlegitDqrk/UnlegitLibrary/issues</url>
|
<url>https://repo.unlegitdqrk.dev/UnlegitDqrk/unlegitlibrary/issues</url>
|
||||||
</issueManagement>
|
</issueManagement>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,11 +14,11 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.addon;
|
package dev.unlegitdqrk.unlegitlibrary.addon;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.addon.impl.Addon;
|
import dev.unlegitdqrk.unlegitlibrary.addon.impl.Addon;
|
||||||
import me.finn.unlegitlibrary.event.EventListener;
|
import dev.unlegitdqrk.unlegitlibrary.event.EventListener;
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,10 +14,10 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.addon.events;
|
package dev.unlegitdqrk.unlegitlibrary.addon.events;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.addon.impl.Addon;
|
import dev.unlegitdqrk.unlegitlibrary.addon.impl.Addon;
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
|
||||||
public class AddonDisabledEvent extends Event {
|
public class AddonDisabledEvent extends Event {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,10 +14,10 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.addon.events;
|
package dev.unlegitdqrk.unlegitlibrary.addon.events;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.addon.impl.Addon;
|
import dev.unlegitdqrk.unlegitlibrary.addon.impl.Addon;
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
|
||||||
public class AddonEnabledEvent extends Event {
|
public class AddonEnabledEvent extends Event {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,13 +14,13 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.addon.impl;
|
package dev.unlegitdqrk.unlegitlibrary.addon.impl;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.addon.events.AddonDisabledEvent;
|
import dev.unlegitdqrk.unlegitlibrary.addon.events.AddonDisabledEvent;
|
||||||
import me.finn.unlegitlibrary.addon.events.AddonEnabledEvent;
|
import dev.unlegitdqrk.unlegitlibrary.addon.events.AddonEnabledEvent;
|
||||||
import me.finn.unlegitlibrary.event.EventListener;
|
import dev.unlegitdqrk.unlegitlibrary.event.EventListener;
|
||||||
import me.finn.unlegitlibrary.event.EventManager;
|
import dev.unlegitdqrk.unlegitlibrary.event.EventManager;
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.addon.impl;
|
package dev.unlegitdqrk.unlegitlibrary.addon.impl;
|
||||||
|
|
||||||
public class AddonInfo {
|
public class AddonInfo {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.command;
|
package dev.unlegitdqrk.unlegitlibrary.command;
|
||||||
|
|
||||||
import javax.management.InstanceAlreadyExistsException;
|
import javax.management.InstanceAlreadyExistsException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.command;
|
package dev.unlegitdqrk.unlegitlibrary.command;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,10 +14,11 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.command;
|
package dev.unlegitdqrk.unlegitlibrary.command;
|
||||||
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.command.events.*;
|
||||||
import me.finn.unlegitlibrary.command.events.*;
|
import me.finn.unlegitlibrary.command.events.*;
|
||||||
import me.finn.unlegitlibrary.event.EventManager;
|
import dev.unlegitdqrk.unlegitlibrary.event.EventManager;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.command;
|
package dev.unlegitdqrk.unlegitlibrary.command;
|
||||||
|
|
||||||
public class CommandPermission {
|
public class CommandPermission {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,12 +14,12 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.command.events;
|
package dev.unlegitdqrk.unlegitlibrary.command.events;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.command.Command;
|
import dev.unlegitdqrk.unlegitlibrary.command.Command;
|
||||||
import me.finn.unlegitlibrary.command.CommandExecutor;
|
import dev.unlegitdqrk.unlegitlibrary.command.CommandExecutor;
|
||||||
import me.finn.unlegitlibrary.command.CommandManager;
|
import dev.unlegitdqrk.unlegitlibrary.command.CommandManager;
|
||||||
import me.finn.unlegitlibrary.event.impl.CancellableEvent;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.CancellableEvent;
|
||||||
|
|
||||||
public class CommandExecuteEvent extends CancellableEvent {
|
public class CommandExecuteEvent extends CancellableEvent {
|
||||||
public final CommandManager commandManager;
|
public final CommandManager commandManager;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,12 +14,12 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.command.events;
|
package dev.unlegitdqrk.unlegitlibrary.command.events;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.command.Command;
|
import dev.unlegitdqrk.unlegitlibrary.command.Command;
|
||||||
import me.finn.unlegitlibrary.command.CommandExecutor;
|
import dev.unlegitdqrk.unlegitlibrary.command.CommandExecutor;
|
||||||
import me.finn.unlegitlibrary.command.CommandManager;
|
import dev.unlegitdqrk.unlegitlibrary.command.CommandManager;
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
|
||||||
public class CommandExecutedEvent extends Event {
|
public class CommandExecutedEvent extends Event {
|
||||||
public final CommandManager commandManager;
|
public final CommandManager commandManager;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,12 +14,12 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.command.events;
|
package dev.unlegitdqrk.unlegitlibrary.command.events;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.command.Command;
|
import dev.unlegitdqrk.unlegitlibrary.command.Command;
|
||||||
import me.finn.unlegitlibrary.command.CommandExecutor;
|
import dev.unlegitdqrk.unlegitlibrary.command.CommandExecutor;
|
||||||
import me.finn.unlegitlibrary.command.CommandManager;
|
import dev.unlegitdqrk.unlegitlibrary.command.CommandManager;
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
|
||||||
public class CommandExecutorMissingPermissionEvent extends Event {
|
public class CommandExecutorMissingPermissionEvent extends Event {
|
||||||
public final CommandManager commandManager;
|
public final CommandManager commandManager;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,11 +14,11 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.command.events;
|
package dev.unlegitdqrk.unlegitlibrary.command.events;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.command.CommandExecutor;
|
import dev.unlegitdqrk.unlegitlibrary.command.CommandExecutor;
|
||||||
import me.finn.unlegitlibrary.command.CommandManager;
|
import dev.unlegitdqrk.unlegitlibrary.command.CommandManager;
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
|
||||||
public class CommandNotFoundEvent extends Event {
|
public class CommandNotFoundEvent extends Event {
|
||||||
public final CommandManager commandManager;
|
public final CommandManager commandManager;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,12 +14,12 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.command.events;
|
package dev.unlegitdqrk.unlegitlibrary.command.events;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.command.Command;
|
import dev.unlegitdqrk.unlegitlibrary.command.Command;
|
||||||
import me.finn.unlegitlibrary.command.CommandExecutor;
|
import dev.unlegitdqrk.unlegitlibrary.command.CommandExecutor;
|
||||||
import me.finn.unlegitlibrary.command.CommandManager;
|
import dev.unlegitdqrk.unlegitlibrary.command.CommandManager;
|
||||||
import me.finn.unlegitlibrary.event.impl.CancellableEvent;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.CancellableEvent;
|
||||||
|
|
||||||
public class PreCommandExecuteEvent extends CancellableEvent {
|
public class PreCommandExecuteEvent extends CancellableEvent {
|
||||||
public final CommandManager commandManager;
|
public final CommandManager commandManager;
|
@@ -0,0 +1,20 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
package dev.unlegitdqrk.unlegitlibrary.event;
|
||||||
|
|
||||||
|
public abstract class EventListener {
|
||||||
|
}
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,10 +14,10 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.event;
|
package dev.unlegitdqrk.unlegitlibrary.event;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.event;
|
package dev.unlegitdqrk.unlegitlibrary.event;
|
||||||
|
|
||||||
public enum EventPriority {
|
public enum EventPriority {
|
||||||
LOWEST,
|
LOWEST,
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.event;
|
package dev.unlegitdqrk.unlegitlibrary.event;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.event.impl;
|
package dev.unlegitdqrk.unlegitlibrary.event.impl;
|
||||||
|
|
||||||
public class CancellableEvent extends Event {
|
public class CancellableEvent extends Event {
|
||||||
|
|
@@ -0,0 +1,20 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
package dev.unlegitdqrk.unlegitlibrary.event.impl;
|
||||||
|
|
||||||
|
public abstract class Event {
|
||||||
|
}
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.file;
|
package dev.unlegitdqrk.unlegitlibrary.file;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
@@ -1,6 +1,14 @@
|
|||||||
package me.finn.unlegitlibrary.file;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
package dev.unlegitdqrk.unlegitlibrary.file;
|
||||||
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.file;
|
package dev.unlegitdqrk.unlegitlibrary.file;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.file;
|
package dev.unlegitdqrk.unlegitlibrary.file;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
@@ -1,14 +1,22 @@
|
|||||||
package me.finn.unlegitlibrary.network.system.client;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.EventManager;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.client;
|
||||||
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.event.EventManager;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.client.events.*;
|
||||||
import me.finn.unlegitlibrary.network.system.client.events.*;
|
import me.finn.unlegitlibrary.network.system.client.events.*;
|
||||||
import me.finn.unlegitlibrary.network.system.packets.Packet;
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.Packet;
|
||||||
import me.finn.unlegitlibrary.network.system.packets.PacketHandler;
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.PacketHandler;
|
||||||
import me.finn.unlegitlibrary.network.system.packets.impl.ClientIDPacket;
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.impl.ClientIDPacket;
|
||||||
import me.finn.unlegitlibrary.network.system.server.ConnectionHandler;
|
import dev.unlegitdqrk.unlegitlibrary.network.utils.PemUtils;
|
||||||
import me.finn.unlegitlibrary.network.utils.PemUtils;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.Logger;
|
||||||
import me.finn.unlegitlibrary.utils.Logger;
|
|
||||||
|
|
||||||
import javax.net.ssl.*;
|
import javax.net.ssl.*;
|
||||||
import java.io.*;
|
import java.io.*;
|
@@ -6,11 +6,19 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.client.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.client.events;
|
||||||
import me.finn.unlegitlibrary.network.system.client.NetworkClient;
|
|
||||||
import me.finn.unlegitlibrary.network.system.packets.Packet;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.client.NetworkClient;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.Packet;
|
||||||
|
|
||||||
public class C_PacketReceivedEvent extends Event {
|
public class C_PacketReceivedEvent extends Event {
|
||||||
public final NetworkClient networkClient;
|
public final NetworkClient networkClient;
|
@@ -6,11 +6,19 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.client.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.client.events;
|
||||||
import me.finn.unlegitlibrary.network.system.client.NetworkClient;
|
|
||||||
import me.finn.unlegitlibrary.network.system.packets.Packet;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.client.NetworkClient;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.Packet;
|
||||||
|
|
||||||
public class C_PacketReceivedFailedEvent extends Event {
|
public class C_PacketReceivedFailedEvent extends Event {
|
||||||
public final NetworkClient networkClient;
|
public final NetworkClient networkClient;
|
@@ -6,11 +6,19 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.client.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.client.events;
|
||||||
import me.finn.unlegitlibrary.network.system.client.NetworkClient;
|
|
||||||
import me.finn.unlegitlibrary.network.system.packets.Packet;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.client.NetworkClient;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.Packet;
|
||||||
|
|
||||||
public class C_PacketSendEvent extends Event {
|
public class C_PacketSendEvent extends Event {
|
||||||
public final NetworkClient networkClient;
|
public final NetworkClient networkClient;
|
@@ -6,11 +6,19 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.client.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.client.events;
|
||||||
import me.finn.unlegitlibrary.network.system.client.NetworkClient;
|
|
||||||
import me.finn.unlegitlibrary.network.system.packets.Packet;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.client.NetworkClient;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.Packet;
|
||||||
|
|
||||||
public class C_PacketSendFailedEvent extends Event {
|
public class C_PacketSendFailedEvent extends Event {
|
||||||
public final NetworkClient networkClient;
|
public final NetworkClient networkClient;
|
@@ -6,10 +6,18 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.client.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.client.events;
|
||||||
import me.finn.unlegitlibrary.network.system.client.NetworkClient;
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.client.NetworkClient;
|
||||||
|
|
||||||
public class C_UnknownObjectReceivedEvent extends Event {
|
public class C_UnknownObjectReceivedEvent extends Event {
|
||||||
public final NetworkClient networkClient;
|
public final NetworkClient networkClient;
|
@@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
package dev.unlegitdqrk.unlegitlibrary.network.system.client.events;
|
||||||
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.client.NetworkClient;
|
||||||
|
|
||||||
|
public class ClientConnectedEvent extends Event {
|
||||||
|
public final NetworkClient client;
|
||||||
|
|
||||||
|
public ClientConnectedEvent(NetworkClient client) {
|
||||||
|
this.client = client;
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
package dev.unlegitdqrk.unlegitlibrary.network.system.client.events;
|
||||||
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.client.NetworkClient;
|
||||||
|
|
||||||
|
public class ClientDisconnectedEvent extends Event {
|
||||||
|
public final NetworkClient client;
|
||||||
|
|
||||||
|
public ClientDisconnectedEvent(NetworkClient client) {
|
||||||
|
this.client = client;
|
||||||
|
}
|
||||||
|
}
|
@@ -6,7 +6,15 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.packets;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
package dev.unlegitdqrk.unlegitlibrary.network.system.packets;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.ObjectInputStream;
|
import java.io.ObjectInputStream;
|
@@ -6,11 +6,19 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.packets;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.network.system.client.NetworkClient;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.packets;
|
||||||
import me.finn.unlegitlibrary.network.system.server.NetworkServer;
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.network.system.client.NetworkClient;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.server.NetworkServer;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.ObjectInputStream;
|
import java.io.ObjectInputStream;
|
@@ -6,10 +6,18 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.packets.impl;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.network.system.packets.Packet;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.packets.impl;
|
||||||
import me.finn.unlegitlibrary.network.system.packets.PacketHandler;
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.Packet;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.PacketHandler;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.ObjectInputStream;
|
import java.io.ObjectInputStream;
|
@@ -1,16 +1,23 @@
|
|||||||
package me.finn.unlegitlibrary.network.system.server;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.network.system.packets.Packet;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.server;
|
||||||
import me.finn.unlegitlibrary.network.system.packets.impl.ClientIDPacket;
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.Packet;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.impl.ClientIDPacket;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.server.events.*;
|
||||||
import me.finn.unlegitlibrary.network.system.server.events.*;
|
import me.finn.unlegitlibrary.network.system.server.events.*;
|
||||||
|
|
||||||
import javax.net.ssl.SSLSession;
|
|
||||||
import javax.net.ssl.SSLSocket;
|
import javax.net.ssl.SSLSocket;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.ObjectInputStream;
|
import java.io.ObjectInputStream;
|
||||||
import java.io.ObjectOutputStream;
|
import java.io.ObjectOutputStream;
|
||||||
import java.net.SocketException;
|
import java.net.SocketException;
|
||||||
import java.security.cert.X509Certificate;
|
|
||||||
|
|
||||||
public class ConnectionHandler {
|
public class ConnectionHandler {
|
||||||
private SSLSocket socket;
|
private SSLSocket socket;
|
@@ -1,19 +1,26 @@
|
|||||||
package me.finn.unlegitlibrary.network.system.server;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.EventManager;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.server;
|
||||||
import me.finn.unlegitlibrary.network.system.packets.PacketHandler;
|
|
||||||
import me.finn.unlegitlibrary.network.system.packets.impl.ClientIDPacket;
|
import dev.unlegitdqrk.unlegitlibrary.event.EventManager;
|
||||||
import me.finn.unlegitlibrary.network.system.server.events.IncomingConnectionEvent;
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.PacketHandler;
|
||||||
import me.finn.unlegitlibrary.network.utils.PemUtils;
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.impl.ClientIDPacket;
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.network.system.server.events.IncomingConnectionEvent;
|
||||||
import me.finn.unlegitlibrary.utils.Logger;
|
import dev.unlegitdqrk.unlegitlibrary.network.utils.PemUtils;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.utils.Logger;
|
||||||
|
|
||||||
import javax.net.ssl.*;
|
import javax.net.ssl.*;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
import java.net.Socket;
|
import java.net.Socket;
|
||||||
import java.security.KeyStore;
|
import java.security.KeyStore;
|
||||||
import java.security.SecureRandom;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@@ -6,10 +6,18 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.server.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.server.events;
|
||||||
import me.finn.unlegitlibrary.network.system.server.ConnectionHandler;
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.server.ConnectionHandler;
|
||||||
|
|
||||||
public final class ConnectionHandlerConnectedEvent extends Event {
|
public final class ConnectionHandlerConnectedEvent extends Event {
|
||||||
public final ConnectionHandler connectionHandler;
|
public final ConnectionHandler connectionHandler;
|
@@ -6,10 +6,18 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.server.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.server.events;
|
||||||
import me.finn.unlegitlibrary.network.system.server.ConnectionHandler;
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.server.ConnectionHandler;
|
||||||
|
|
||||||
public final class ConnectionHandlerDisconnectedEvent extends Event {
|
public final class ConnectionHandlerDisconnectedEvent extends Event {
|
||||||
public final ConnectionHandler connectionHandler;
|
public final ConnectionHandler connectionHandler;
|
@@ -6,15 +6,20 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.server.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.CancellableEvent;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.server.events;
|
||||||
import me.finn.unlegitlibrary.network.system.server.NetworkServer;
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.CancellableEvent;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.server.NetworkServer;
|
||||||
|
|
||||||
import javax.net.ssl.SSLSession;
|
|
||||||
import javax.net.ssl.SSLSocket;
|
import javax.net.ssl.SSLSocket;
|
||||||
import java.net.Socket;
|
|
||||||
import java.security.cert.X509Certificate;
|
|
||||||
|
|
||||||
public class IncomingConnectionEvent extends CancellableEvent {
|
public class IncomingConnectionEvent extends CancellableEvent {
|
||||||
public final NetworkServer server;
|
public final NetworkServer server;
|
@@ -6,11 +6,19 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.server.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.server.events;
|
||||||
import me.finn.unlegitlibrary.network.system.packets.Packet;
|
|
||||||
import me.finn.unlegitlibrary.network.system.server.ConnectionHandler;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.Packet;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.server.ConnectionHandler;
|
||||||
|
|
||||||
public class S_PacketReceivedEvent extends Event {
|
public class S_PacketReceivedEvent extends Event {
|
||||||
public final ConnectionHandler connectionHandler;
|
public final ConnectionHandler connectionHandler;
|
@@ -6,11 +6,19 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.server.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.server.events;
|
||||||
import me.finn.unlegitlibrary.network.system.packets.Packet;
|
|
||||||
import me.finn.unlegitlibrary.network.system.server.ConnectionHandler;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.Packet;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.server.ConnectionHandler;
|
||||||
|
|
||||||
public class S_PacketReceivedFailedEvent extends Event {
|
public class S_PacketReceivedFailedEvent extends Event {
|
||||||
public final ConnectionHandler connectionHandler;
|
public final ConnectionHandler connectionHandler;
|
@@ -6,11 +6,19 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.server.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.server.events;
|
||||||
import me.finn.unlegitlibrary.network.system.packets.Packet;
|
|
||||||
import me.finn.unlegitlibrary.network.system.server.ConnectionHandler;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.Packet;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.server.ConnectionHandler;
|
||||||
|
|
||||||
public class S_PacketSendEvent extends Event {
|
public class S_PacketSendEvent extends Event {
|
||||||
public final Packet packet;
|
public final Packet packet;
|
@@ -6,11 +6,19 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.server.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.server.events;
|
||||||
import me.finn.unlegitlibrary.network.system.packets.Packet;
|
|
||||||
import me.finn.unlegitlibrary.network.system.server.ConnectionHandler;
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.Packet;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.server.ConnectionHandler;
|
||||||
|
|
||||||
public class S_PacketSendFailedEvent extends Event {
|
public class S_PacketSendFailedEvent extends Event {
|
||||||
public final Packet packet;
|
public final Packet packet;
|
@@ -6,10 +6,18 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.server.events;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
package dev.unlegitdqrk.unlegitlibrary.network.system.server.events;
|
||||||
import me.finn.unlegitlibrary.network.system.server.ConnectionHandler;
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.event.impl.Event;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.network.system.server.ConnectionHandler;
|
||||||
|
|
||||||
public class S_UnknownObjectReceivedEvent extends Event {
|
public class S_UnknownObjectReceivedEvent extends Event {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.utils;
|
package dev.unlegitdqrk.unlegitlibrary.network.utils;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.utils;
|
package dev.unlegitdqrk.unlegitlibrary.network.utils;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.net.ServerSocket;
|
import java.net.ServerSocket;
|
@@ -6,7 +6,15 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.utils;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
package dev.unlegitdqrk.unlegitlibrary.network.utils;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.nio.file.Files;
|
import java.nio.file.Files;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.utils;
|
package dev.unlegitdqrk.unlegitlibrary.network.utils;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import javax.net.ssl.HttpsURLConnection;
|
import javax.net.ssl.HttpsURLConnection;
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
@@ -0,0 +1,21 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
|
package dev.unlegitdqrk.unlegitlibrary.number;
|
||||||
|
|
||||||
|
public enum Axis {
|
||||||
|
X, Y, Z
|
||||||
|
}
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number;
|
package dev.unlegitdqrk.unlegitlibrary.number;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
public class ByteUtils extends DefaultMethodsOverrider {
|
public class ByteUtils extends DefaultMethodsOverrider {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number;
|
package dev.unlegitdqrk.unlegitlibrary.number;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.math.RoundingMode;
|
import java.math.RoundingMode;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number;
|
package dev.unlegitdqrk.unlegitlibrary.number;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
public class Modulo extends DefaultMethodsOverrider {
|
public class Modulo extends DefaultMethodsOverrider {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number;
|
package dev.unlegitdqrk.unlegitlibrary.number;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
public class NumberConversions extends DefaultMethodsOverrider {
|
public class NumberConversions extends DefaultMethodsOverrider {
|
||||||
public static int floor(double num) {
|
public static int floor(double num) {
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number;
|
package dev.unlegitdqrk.unlegitlibrary.number;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
public class NumberUtils extends DefaultMethodsOverrider {
|
public class NumberUtils extends DefaultMethodsOverrider {
|
||||||
public static int[] toIntArray(Integer[] integers) {
|
public static int[] toIntArray(Integer[] integers) {
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,10 +14,10 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number;
|
package dev.unlegitdqrk.unlegitlibrary.number;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.number.vector.Vector2;
|
import dev.unlegitdqrk.unlegitlibrary.number.vector.Vector2;
|
||||||
import me.finn.unlegitlibrary.number.vector.Vector3;
|
import dev.unlegitdqrk.unlegitlibrary.number.vector.Vector3;
|
||||||
|
|
||||||
public class Quaternion {
|
public class Quaternion {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number;
|
package dev.unlegitdqrk.unlegitlibrary.number;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.util.SplittableRandom;
|
import java.util.SplittableRandom;
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number.bit;
|
package dev.unlegitdqrk.unlegitlibrary.number.bit;
|
||||||
|
|
||||||
public interface BitArray {
|
public interface BitArray {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number.bit;
|
package dev.unlegitdqrk.unlegitlibrary.number.bit;
|
||||||
|
|
||||||
public enum BitArrayVersion {
|
public enum BitArrayVersion {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number.bit;
|
package dev.unlegitdqrk.unlegitlibrary.number.bit;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.number.MathHelper;
|
import dev.unlegitdqrk.unlegitlibrary.number.MathHelper;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number.bit;
|
package dev.unlegitdqrk.unlegitlibrary.number.bit;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number.molecular;
|
package dev.unlegitdqrk.unlegitlibrary.number.molecular;
|
||||||
|
|
||||||
public class MolecularAdd {
|
public class MolecularAdd {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number.molecular;
|
package dev.unlegitdqrk.unlegitlibrary.number.molecular;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.number.MathHelper;
|
import dev.unlegitdqrk.unlegitlibrary.number.MathHelper;
|
||||||
|
|
||||||
public class MolecularSubtract {
|
public class MolecularSubtract {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number.vector;
|
package dev.unlegitdqrk.unlegitlibrary.number.vector;
|
||||||
|
|
||||||
public class Vector2 {
|
public class Vector2 {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number.vector;
|
package dev.unlegitdqrk.unlegitlibrary.number.vector;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.number.Quaternion;
|
import dev.unlegitdqrk.unlegitlibrary.number.Quaternion;
|
||||||
|
|
||||||
public class Vector3 {
|
public class Vector3 {
|
||||||
public float x;
|
public float x;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.string;
|
package dev.unlegitdqrk.unlegitlibrary.string;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.security.SecureRandom;
|
import java.security.SecureRandom;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.string;
|
package dev.unlegitdqrk.unlegitlibrary.string;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import javax.crypto.BadPaddingException;
|
import javax.crypto.BadPaddingException;
|
||||||
import javax.crypto.Cipher;
|
import javax.crypto.Cipher;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.string;
|
package dev.unlegitdqrk.unlegitlibrary.string;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.string.color;
|
package dev.unlegitdqrk.unlegitlibrary.string.color;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
public class ConsoleColor extends DefaultMethodsOverrider {
|
public class ConsoleColor extends DefaultMethodsOverrider {
|
||||||
// Reset
|
// Reset
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,9 +14,9 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.string.color;
|
package dev.unlegitdqrk.unlegitlibrary.string.color;
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.utils.DefaultMethodsOverrider;
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
@@ -1,6 +1,14 @@
|
|||||||
package me.finn.unlegitlibrary.utils;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.number.MathHelper;
|
package dev.unlegitdqrk.unlegitlibrary.utils;
|
||||||
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.number.MathHelper;
|
||||||
|
|
||||||
public class Color {
|
public class Color {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.utils;
|
package dev.unlegitdqrk.unlegitlibrary.utils;
|
||||||
|
|
||||||
public class Converter extends DefaultMethodsOverrider {
|
public class Converter extends DefaultMethodsOverrider {
|
||||||
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.utils;
|
package dev.unlegitdqrk.unlegitlibrary.utils;
|
||||||
|
|
||||||
public class DefaultMethodsOverrider {
|
public class DefaultMethodsOverrider {
|
||||||
|
|
@@ -1,7 +1,15 @@
|
|||||||
package me.finn.unlegitlibrary.utils;
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.file.FileUtils;
|
package dev.unlegitdqrk.unlegitlibrary.utils;
|
||||||
import me.finn.unlegitlibrary.string.color.ConsoleColor;
|
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.file.FileUtils;
|
||||||
|
import dev.unlegitdqrk.unlegitlibrary.string.color.ConsoleColor;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
@@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
||||||
|
*
|
||||||
|
* You are unauthorized to remove this copyright.
|
||||||
|
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||||
|
* See LICENSE-File if exists
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||||
*
|
*
|
||||||
@@ -6,7 +14,7 @@
|
|||||||
* See LICENSE-File if exists
|
* See LICENSE-File if exists
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.utils;
|
package dev.unlegitdqrk.unlegitlibrary.utils;
|
||||||
|
|
||||||
public class Tuple<A, B> extends DefaultMethodsOverrider {
|
public class Tuple<A, B> extends DefaultMethodsOverrider {
|
||||||
|
|
@@ -1,12 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
|
||||||
*
|
|
||||||
* You are unauthorized to remove this copyright.
|
|
||||||
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
|
||||||
* See LICENSE-File if exists
|
|
||||||
*/
|
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.event;
|
|
||||||
|
|
||||||
public abstract class EventListener {
|
|
||||||
}
|
|
@@ -1,12 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
|
||||||
*
|
|
||||||
* You are unauthorized to remove this copyright.
|
|
||||||
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
|
||||||
* See LICENSE-File if exists
|
|
||||||
*/
|
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.event.impl;
|
|
||||||
|
|
||||||
public abstract class Event {
|
|
||||||
}
|
|
@@ -1,20 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
|
||||||
*
|
|
||||||
* You are unauthorized to remove this copyright.
|
|
||||||
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
|
||||||
* See LICENSE-File if exists
|
|
||||||
*/
|
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.client.events;
|
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
|
||||||
import me.finn.unlegitlibrary.network.system.client.NetworkClient;
|
|
||||||
|
|
||||||
public class ClientConnectedEvent extends Event {
|
|
||||||
public final NetworkClient client;
|
|
||||||
|
|
||||||
public ClientConnectedEvent(NetworkClient client) {
|
|
||||||
this.client = client;
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,20 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2025 UnlegitDqrk - All Rights Reserved
|
|
||||||
*
|
|
||||||
* You are unauthorized to remove this copyright.
|
|
||||||
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
|
||||||
* See LICENSE-File if exists
|
|
||||||
*/
|
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.network.system.client.events;
|
|
||||||
|
|
||||||
import me.finn.unlegitlibrary.event.impl.Event;
|
|
||||||
import me.finn.unlegitlibrary.network.system.client.NetworkClient;
|
|
||||||
|
|
||||||
public class ClientDisconnectedEvent extends Event {
|
|
||||||
public final NetworkClient client;
|
|
||||||
|
|
||||||
public ClientDisconnectedEvent(NetworkClient client) {
|
|
||||||
this.client = client;
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,13 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
|
||||||
*
|
|
||||||
* You are unauthorized to remove this copyright.
|
|
||||||
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
|
||||||
* See LICENSE-File if exists
|
|
||||||
*/
|
|
||||||
|
|
||||||
package me.finn.unlegitlibrary.number;
|
|
||||||
|
|
||||||
public enum Axis {
|
|
||||||
X, Y, Z
|
|
||||||
}
|
|
Reference in New Issue
Block a user