Move to new org.geysermc.extension package

This commit is contained in:
rtm516 2024-03-20 18:15:03 +00:00
parent 4459a63c53
commit 000604be57
No known key found for this signature in database
GPG key ID: 331715B8B007C67A
20 changed files with 70 additions and 70 deletions

View file

@ -3,7 +3,7 @@ plugins {
id 'java' id 'java'
} }
group 'org.geysermc.connect.extension' group 'org.geysermc.extension.connect'
version '1.0.0' version '1.0.0'
repositories { repositories {

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,15 +23,15 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension; package org.geysermc.extension.connect;
import org.cloudburstmc.protocol.bedrock.packet.BedrockPacketHandler; import org.cloudburstmc.protocol.bedrock.packet.BedrockPacketHandler;
import org.cloudburstmc.protocol.bedrock.packet.TransferPacket; import org.cloudburstmc.protocol.bedrock.packet.TransferPacket;
import org.geysermc.connect.extension.config.Config; import org.geysermc.extension.connect.config.Config;
import org.geysermc.connect.extension.config.ConfigLoader; import org.geysermc.extension.connect.config.ConfigLoader;
import org.geysermc.connect.extension.storage.AbstractStorageManager; import org.geysermc.extension.connect.storage.AbstractStorageManager;
import org.geysermc.connect.extension.storage.DisabledStorageManager; import org.geysermc.extension.connect.storage.DisabledStorageManager;
import org.geysermc.connect.extension.utils.Utils; import org.geysermc.extension.connect.utils.Utils;
import org.geysermc.cumulus.form.CustomForm; import org.geysermc.cumulus.form.CustomForm;
import org.geysermc.event.subscribe.Subscribe; import org.geysermc.event.subscribe.Subscribe;
import org.geysermc.geyser.GeyserImpl; import org.geysermc.geyser.GeyserImpl;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,7 +23,7 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension; package org.geysermc.extension.connect;
import org.cloudburstmc.protocol.bedrock.data.AttributeData; import org.cloudburstmc.protocol.bedrock.data.AttributeData;
import org.cloudburstmc.protocol.bedrock.packet.BedrockPacketHandler; import org.cloudburstmc.protocol.bedrock.packet.BedrockPacketHandler;
@ -32,11 +32,11 @@ import org.cloudburstmc.protocol.bedrock.packet.NetworkStackLatencyPacket;
import org.cloudburstmc.protocol.bedrock.packet.SetLocalPlayerAsInitializedPacket; import org.cloudburstmc.protocol.bedrock.packet.SetLocalPlayerAsInitializedPacket;
import org.cloudburstmc.protocol.bedrock.packet.UpdateAttributesPacket; import org.cloudburstmc.protocol.bedrock.packet.UpdateAttributesPacket;
import org.cloudburstmc.protocol.common.PacketSignal; import org.cloudburstmc.protocol.common.PacketSignal;
import org.geysermc.connect.extension.config.VirtualHostSection; import org.geysermc.extension.connect.config.VirtualHostSection;
import org.geysermc.connect.extension.ui.UIHandler; import org.geysermc.extension.connect.ui.UIHandler;
import org.geysermc.connect.extension.utils.Server; import org.geysermc.extension.connect.utils.Server;
import org.geysermc.connect.extension.utils.ServerManager; import org.geysermc.extension.connect.utils.ServerManager;
import org.geysermc.connect.extension.utils.Utils; import org.geysermc.extension.connect.utils.Utils;
import org.geysermc.geyser.entity.attribute.GeyserAttributeType; import org.geysermc.geyser.entity.attribute.GeyserAttributeType;
import org.geysermc.geyser.network.UpstreamPacketHandler; import org.geysermc.geyser.network.UpstreamPacketHandler;
import org.geysermc.geyser.session.GeyserSession; import org.geysermc.geyser.session.GeyserSession;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,10 +23,10 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.config; package org.geysermc.extension.connect.config;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import org.geysermc.connect.extension.utils.Server; import org.geysermc.extension.connect.utils.Server;
import java.util.List; import java.util.List;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,7 +23,7 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.config; package org.geysermc.extension.connect.config;
import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,10 +23,10 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.config; package org.geysermc.extension.connect.config;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import org.geysermc.connect.extension.storage.AbstractStorageManager; import org.geysermc.extension.connect.storage.AbstractStorageManager;
public record CustomServersSection( public record CustomServersSection(
boolean enabled, boolean enabled,

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,7 +23,7 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.config; package org.geysermc.extension.connect.config;
public record MySQLConnectionSection( public record MySQLConnectionSection(
String user, String user,

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,7 +23,7 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.config; package org.geysermc.extension.connect.config;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,13 +23,13 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.storage; package org.geysermc.extension.connect.storage;
import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.core.type.TypeReference;
import org.geysermc.connect.extension.GeyserConnect; import org.geysermc.extension.connect.GeyserConnect;
import org.geysermc.connect.extension.utils.Server; import org.geysermc.extension.connect.utils.Server;
import org.geysermc.connect.extension.utils.ServerManager; import org.geysermc.extension.connect.utils.ServerManager;
import org.geysermc.connect.extension.utils.Utils; import org.geysermc.extension.connect.utils.Utils;
import org.geysermc.geyser.session.GeyserSession; import org.geysermc.geyser.session.GeyserSession;
import java.io.IOException; import java.io.IOException;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,10 +23,10 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.storage; package org.geysermc.extension.connect.storage;
import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.annotation.JsonValue;
import org.geysermc.connect.extension.utils.Server; import org.geysermc.extension.connect.utils.Server;
import org.geysermc.geyser.session.GeyserSession; import org.geysermc.geyser.session.GeyserSession;
import java.util.ArrayList; import java.util.ArrayList;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,9 +23,9 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.storage; package org.geysermc.extension.connect.storage;
import org.geysermc.connect.extension.utils.Server; import org.geysermc.extension.connect.utils.Server;
import org.geysermc.geyser.session.GeyserSession; import org.geysermc.geyser.session.GeyserSession;
import java.util.ArrayList; import java.util.ArrayList;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,13 +23,13 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.storage; package org.geysermc.extension.connect.storage;
import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.core.type.TypeReference;
import org.geysermc.connect.extension.GeyserConnect; import org.geysermc.extension.connect.GeyserConnect;
import org.geysermc.connect.extension.utils.Server; import org.geysermc.extension.connect.utils.Server;
import org.geysermc.connect.extension.utils.ServerManager; import org.geysermc.extension.connect.utils.ServerManager;
import org.geysermc.connect.extension.utils.Utils; import org.geysermc.extension.connect.utils.Utils;
import org.geysermc.geyser.session.GeyserSession; import org.geysermc.geyser.session.GeyserSession;
import java.io.IOException; import java.io.IOException;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,10 +23,10 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.storage; package org.geysermc.extension.connect.storage;
import org.geysermc.connect.extension.GeyserConnect; import org.geysermc.extension.connect.GeyserConnect;
import org.geysermc.connect.extension.config.MySQLConnectionSection; import org.geysermc.extension.connect.config.MySQLConnectionSection;
import java.sql.DriverManager; import java.sql.DriverManager;
import java.sql.SQLException; import java.sql.SQLException;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,9 +23,9 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.storage; package org.geysermc.extension.connect.storage;
import org.geysermc.connect.extension.GeyserConnect; import org.geysermc.extension.connect.GeyserConnect;
import java.sql.DriverManager; import java.sql.DriverManager;
import java.sql.SQLException; import java.sql.SQLException;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,14 +23,14 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.ui; package org.geysermc.extension.connect.ui;
import org.cloudburstmc.protocol.bedrock.packet.BedrockPacketHandler; import org.cloudburstmc.protocol.bedrock.packet.BedrockPacketHandler;
import org.geysermc.connect.extension.GeyserConnect; import org.geysermc.extension.connect.GeyserConnect;
import org.geysermc.connect.extension.utils.Server; import org.geysermc.extension.connect.utils.Server;
import org.geysermc.connect.extension.utils.ServerCategory; import org.geysermc.extension.connect.utils.ServerCategory;
import org.geysermc.connect.extension.utils.ServerManager; import org.geysermc.extension.connect.utils.ServerManager;
import org.geysermc.connect.extension.utils.Utils; import org.geysermc.extension.connect.utils.Utils;
import org.geysermc.cumulus.form.CustomForm; import org.geysermc.cumulus.form.CustomForm;
import org.geysermc.cumulus.form.ModalForm; import org.geysermc.cumulus.form.ModalForm;
import org.geysermc.cumulus.form.SimpleForm; import org.geysermc.cumulus.form.SimpleForm;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,7 +23,7 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.utils; package org.geysermc.extension.connect.utils;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.NonNull;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,7 +23,7 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.utils; package org.geysermc.extension.connect.utils;
public enum ServerCategory { public enum ServerCategory {
OFFICIAL("Official"), OFFICIAL("Official"),

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,9 +23,9 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.utils; package org.geysermc.extension.connect.utils;
import org.geysermc.connect.extension.GeyserConnect; import org.geysermc.extension.connect.GeyserConnect;
import org.geysermc.geyser.session.GeyserSession; import org.geysermc.geyser.session.GeyserSession;
import java.util.HashMap; import java.util.HashMap;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2019-2023 GeyserMC. http://geysermc.org * Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -23,14 +23,14 @@
* @link https://github.com/GeyserMC/GeyserConnect * @link https://github.com/GeyserMC/GeyserConnect
*/ */
package org.geysermc.connect.extension.utils; package org.geysermc.extension.connect.utils;
import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import org.cloudburstmc.protocol.bedrock.packet.BedrockPacketHandler; import org.cloudburstmc.protocol.bedrock.packet.BedrockPacketHandler;
import org.cloudburstmc.protocol.bedrock.packet.SetLocalPlayerAsInitializedPacket; import org.cloudburstmc.protocol.bedrock.packet.SetLocalPlayerAsInitializedPacket;
import org.cloudburstmc.protocol.bedrock.packet.TransferPacket; import org.cloudburstmc.protocol.bedrock.packet.TransferPacket;
import org.geysermc.connect.extension.GeyserConnect; import org.geysermc.extension.connect.GeyserConnect;
import org.geysermc.geyser.session.GeyserSession; import org.geysermc.geyser.session.GeyserSession;
import java.io.File; import java.io.File;

View file

@ -1,6 +1,6 @@
id: geyserconnect id: geyserconnect
name: GeyserConnect name: GeyserConnect
main: org.geysermc.connect.extension.GeyserConnect main: org.geysermc.extension.connect.GeyserConnect
api: 1.0.0 api: 1.0.0
version: 1.0.0 version: 1.0.0
authors: [rtm516] authors: [rtm516]