Skip to content

Commit

Permalink
💥 Rename all packages
Browse files Browse the repository at this point in the history
I know this breaks all uses of the api but I'm doing it because the project is still in its early stages. The earlier the better.
  • Loading branch information
YvanMazy committed May 16, 2024
1 parent 30810a6 commit 89fff86
Show file tree
Hide file tree
Showing 133 changed files with 554 additions and 554 deletions.
12 changes: 6 additions & 6 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Here are the project features:
- ⚙️ **Plugins**: The project works with plugins, which allows you to create your own redirection rules.
- 🍪 **Cookie**: The cookie system added in the same snapshot is also implemented.
- 🌎 **Community**: The project aims to be community and collaborative, suggestions are appreciated.
- 📚 **Wiki**: Documentation can be found [here](https://github.com/Darkkraft/TransferProxy/wiki), if any information is
- 📚 **Wiki**: Documentation can be found [here](https://github.com/YvanMazy/TransferProxy/wiki), if any information is
missing feel free to make an issue.

## 📥️ Installation and Setup

1. Download the latest version of TransferProxy by clicking [here](https://github.com/Darkkraft/TransferProxy/releases).
1. Download the latest version of TransferProxy by clicking [here](https://github.com/YvanMazy/TransferProxy/releases).
2. Drag and drop the jar file into a folder.
3. Start the server with ``java -jar TransferProxy-version.jar``
4. The configuration and plugins folder should be created.
Expand All @@ -29,17 +29,17 @@ Here are the project features:
When your server is correctly installed, you must install a plugin to define the redirection rules and customize the
motd if necessary. You have two options:

- Download an official plugin [here](https://github.com/Darkkraft/TransferProxy/wiki#official-plugins), if you want to
- Download an official plugin [here](https://github.com/YvanMazy/TransferProxy/wiki#official-plugins), if you want to
do tests or if your project is small.
- Develop your own plugin, documentation is available [here](https://github.com/Darkkraft/TransferProxy/wiki/Plugins).
- Develop your own plugin, documentation is available [here](https://github.com/YvanMazy/TransferProxy/wiki/Plugins).

In case you want to develop your own plugin, a demo repository is
available [here](https://github.com/Darkkraft/TransferProxy-Demo-plugin). It uses Gradle.
available [here](https://github.com/YvanMazy/TransferProxy-Demo-plugin). It uses Gradle.

#### 🆘 Troubleshooting

If you have any problems using TransferProxy, the first thing to do is to check that you haven't missed anything in
the [official wiki](https://github.com/Darkkraft/TransferProxy/wiki).
the [official wiki](https://github.com/YvanMazy/TransferProxy/wiki).
<br>If you can't find a solution, then you can create a GitHub issue. It should get an answer quickly.

## 📋 Requirements
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Darkkraft
Copyright (c) 2024 Yvan Mazy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion api/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies {
// Configuration
api 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.17.0'
api 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.17.1'

// Adventure library
api('net.kyori:adventure-api:4.17.0') {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,11 +22,11 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api;
package net.transferproxy.api;

import be.darkkraft.transferproxy.api.configuration.ProxyConfiguration;
import be.darkkraft.transferproxy.api.module.ModuleManager;
import be.darkkraft.transferproxy.api.network.NetworkServer;
import net.transferproxy.api.configuration.ProxyConfiguration;
import net.transferproxy.api.module.ModuleManager;
import net.transferproxy.api.network.NetworkServer;
import org.jetbrains.annotations.NotNull;

import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +22,7 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.configuration;
package net.transferproxy.api.configuration;

import io.netty.util.ResourceLeakDetector;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,9 +22,9 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.configuration.yaml;
package net.transferproxy.api.configuration.yaml;

import be.darkkraft.transferproxy.api.configuration.ProxyConfiguration;
import net.transferproxy.api.configuration.ProxyConfiguration;
import io.netty.util.ResourceLeakDetector;

@SuppressWarnings("unused")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,9 +22,9 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.event;
package net.transferproxy.api.event;

import be.darkkraft.transferproxy.api.event.listener.EventListener;
import net.transferproxy.api.event.listener.EventListener;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,14 +22,14 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.event;
package net.transferproxy.api.event;

import be.darkkraft.transferproxy.api.event.listener.DefaultReadyListener;
import be.darkkraft.transferproxy.api.event.listener.EmptyListener;
import be.darkkraft.transferproxy.api.event.listener.EventListener;
import be.darkkraft.transferproxy.api.event.login.PreLoginEvent;
import be.darkkraft.transferproxy.api.network.connection.PlayerConnection;
import be.darkkraft.transferproxy.api.status.listener.DefaultStatusListener;
import net.transferproxy.api.event.listener.DefaultReadyListener;
import net.transferproxy.api.event.listener.EmptyListener;
import net.transferproxy.api.event.listener.EventListener;
import net.transferproxy.api.event.login.PreLoginEvent;
import net.transferproxy.api.network.connection.PlayerConnection;
import net.transferproxy.api.status.listener.DefaultStatusListener;
import org.jetbrains.annotations.NotNull;

import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,9 +22,9 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.event.listener;
package net.transferproxy.api.event.listener;

import be.darkkraft.transferproxy.api.network.connection.PlayerConnection;
import net.transferproxy.api.network.connection.PlayerConnection;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,9 +22,9 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.event.listener;
package net.transferproxy.api.event.listener;

import be.darkkraft.transferproxy.api.network.connection.PlayerConnection;
import net.transferproxy.api.network.connection.PlayerConnection;
import org.jetbrains.annotations.NotNull;

public final class DirectDisconnectListener implements EventListener<PlayerConnection> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +22,7 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.event.listener;
package net.transferproxy.api.event.listener;

import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +22,7 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.event.listener;
package net.transferproxy.api.event.listener;

import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,9 +22,9 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.event.listener;
package net.transferproxy.api.event.listener;

import be.darkkraft.transferproxy.api.network.connection.PlayerConnection;
import net.transferproxy.api.network.connection.PlayerConnection;
import org.jetbrains.annotations.NotNull;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,9 +22,9 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.event.listener;
package net.transferproxy.api.event.listener;

import be.darkkraft.transferproxy.api.event.login.PreLoginEvent;
import net.transferproxy.api.event.login.PreLoginEvent;
import org.jetbrains.annotations.NotNull;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,9 +22,9 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.event.listener;
package net.transferproxy.api.event.listener;

import be.darkkraft.transferproxy.api.network.connection.PlayerConnection;
import net.transferproxy.api.network.connection.PlayerConnection;
import org.jetbrains.annotations.NotNull;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,9 +22,9 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.event.listener;
package net.transferproxy.api.event.listener;

import be.darkkraft.transferproxy.api.network.connection.PlayerConnection;
import net.transferproxy.api.network.connection.PlayerConnection;
import org.jetbrains.annotations.NotNull;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,9 +22,9 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.event.login;
package net.transferproxy.api.event.login;

import be.darkkraft.transferproxy.api.network.connection.PlayerConnection;
import net.transferproxy.api.network.connection.PlayerConnection;
import org.jetbrains.annotations.NotNull;

import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,10 +22,10 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.module;
package net.transferproxy.api.module;

import be.darkkraft.transferproxy.api.event.EventManager;
import be.darkkraft.transferproxy.api.plugin.PluginManager;
import net.transferproxy.api.event.EventManager;
import net.transferproxy.api.plugin.PluginManager;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2024 Darkkraft
* Copyright (c) 2024 Yvan Mazy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +22,7 @@
* SOFTWARE.
*/

package be.darkkraft.transferproxy.api.network;
package net.transferproxy.api.network;

import io.netty.channel.Channel;
import io.netty.channel.group.ChannelGroup;
Expand Down
Loading

0 comments on commit 89fff86

Please sign in to comment.