Skip to content

Commit

Permalink
add copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
cire3wastaken committed Jun 27, 2024
1 parent 6c78f3f commit 9a7b653
Show file tree
Hide file tree
Showing 30 changed files with 578 additions and 50 deletions.
18 changes: 18 additions & 0 deletions API/src/main/java/prelude/api/Prelude.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.api;

import jdk.nashorn.internal.ir.annotations.Immutable;
Expand Down
18 changes: 18 additions & 0 deletions API/src/main/java/prelude/api/PreludePlayer.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.api;

import lombok.Getter;
Expand Down
18 changes: 18 additions & 0 deletions API/src/main/java/prelude/api/ResentMod.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.api;

import lombok.Getter;
Expand Down
18 changes: 18 additions & 0 deletions API/src/main/java/prelude/api/mods/AnchorRenderer.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.api.mods;

import prelude.api.PreludePlayer;
Expand Down
18 changes: 18 additions & 0 deletions API/src/main/java/prelude/api/mods/FreeLook.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.api.mods;

import prelude.api.ResentMod;
Expand Down
18 changes: 18 additions & 0 deletions API/src/main/java/prelude/api/mods/OffHand.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.api.mods;

import prelude.api.PreludePlayer;
Expand Down
18 changes: 18 additions & 0 deletions API/src/main/java/prelude/api/mods/ServerTps.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.api.mods;

import prelude.api.PreludePlayer;
Expand Down
18 changes: 18 additions & 0 deletions API/src/main/java/prelude/api/mods/TotemUsedRenderer.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.api.mods;

import prelude.api.PreludePlayer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.adapter.impl;

import org.bukkit.Bukkit;
Expand Down Expand Up @@ -26,7 +44,6 @@

public final class Adapter_1_11 implements VersionAdapter {
private final JavaPlugin plugin;
private final Map<Player, ItemStack> offhandItemMap = new HashMap<>();

public Adapter_1_11(JavaPlugin plugin) {
this.plugin = plugin;
Expand Down Expand Up @@ -84,7 +101,7 @@ public void onResurrectEvent(EntityResurrectEvent event) throws IOException {

public class OffhandListeners implements Listener {
OffHand offHand;
private Map<Player, ItemStack> playerToOffhand = new HashMap<>();
private final Map<Player, ItemStack> playerToOffhand = new HashMap<>();

public OffhandListeners(OffHand offHand) {
this.offHand = offHand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.adapter.impl;

import org.bukkit.Bukkit;
Expand Down Expand Up @@ -31,7 +49,6 @@

public final class Adapter_1_16_5 implements VersionAdapter {
private final JavaPlugin plugin;
private final Map<Player, ItemStack> offhandItemMap = new HashMap<>();

public Adapter_1_16_5(JavaPlugin plugin) {
this.plugin = plugin;
Expand Down Expand Up @@ -147,7 +164,7 @@ public void onAnchorInteract(PlayerInteractEvent event) throws IOException {

public class OffhandListeners implements Listener {
OffHand offHand;
private Map<Player, ItemStack> playerToOffhand = new HashMap<>();
private final Map<Player, ItemStack> playerToOffhand = new HashMap<>();

public OffhandListeners(OffHand offHand) {
this.offHand = offHand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.adapter.impl;

import org.bukkit.Bukkit;
Expand All @@ -18,7 +36,6 @@
import org.bukkit.inventory.ItemStack;
import org.bukkit.plugin.java.JavaPlugin;
import prelude.adapter.BukkitPlayerAdapter;
import prelude.adapter.BukkitPluginMessageSender;
import prelude.adapter.VersionAdapter;
import prelude.api.mods.AnchorRenderer;
import prelude.api.mods.OffHand;
Expand All @@ -33,7 +50,6 @@

public final class Adapter_1_17 implements VersionAdapter {
private final JavaPlugin plugin;
private final Map<Player, ItemStack> offhandItemMap = new HashMap<>();

public Adapter_1_17(JavaPlugin plugin) {
this.plugin = plugin;
Expand Down Expand Up @@ -149,7 +165,7 @@ public void onAnchorInteract(PlayerInteractEvent event) throws IOException {

public class OffhandListeners implements Listener {
OffHand offHand;
private Map<Player, ItemStack> playerToOffhand = new HashMap<>();
private final Map<Player, ItemStack> playerToOffhand = new HashMap<>();

public OffhandListeners(OffHand offHand) {
this.offHand = offHand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
/*
* MIT License
*
* Copyright (c) 2018-2020 ESL Gaming Online, Inc
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

package prelude.adapter.impl;

import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* Prelude-API is a plugin to implement features for the Client.
* Copyright (C) 2024 cire3, Preva1l
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package prelude.adapter.impl;

import org.bukkit.Bukkit;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
/*
* MIT License
*
* Copyright (c) 2018-2020 ESL Gaming Online, Inc
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

package prelude.adapter;

import org.bukkit.entity.Player;
Expand Down
Loading

0 comments on commit 9a7b653

Please sign in to comment.