From 2ba7a24f1977ee1153012f31c40eedc652473f2d Mon Sep 17 00:00:00 2001 From: Cubicake <70577278+Cubicake@users.noreply.github.com> Date: Thu, 28 May 2026 21:06:50 +0930 Subject: [PATCH 01/10] General README improvements, adding credits and fixing up other info. --- README.md | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 259ee57e..b2789af8 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -### Latest stable version: v1.6.5 | Latest alpha version: v2.0.0-alpha-2.1 +### Latest stable version: v1.6.5 | Latest alpha version: Download from the Discord or compile from `main` The latest stable version can currently only be found on Modrinth https://modrinth.com/plugin/raycasted-anti-esp/ or by compiling from `v1.6.x`. The latest alpha version can be found on the [Discord](https://discord.gg/hGTRAK2hNM) or by compiling from `main`. -This is a predominantly async plugin for PaperMC and its forks that hides/culls entities (and tile entities) from players if they do not have line-of-sight. +This is an async plugin for PaperMC and its forks that hides entities (including players) and tile entities (blocks such as chests, banners, signs, etc) from players if they do not have line-of-sight. -The supported versions are 1.21.x PaperMC and Pufferfish. Other server versions and software may work too. +The supported versions are 1.20.6+, with MC 26.x support in v2 only. ## Use cases: @@ -12,16 +12,17 @@ The supported versions are 1.21.x PaperMC and Pufferfish. Other server versions - Block usage of pie-ray to locate underground bases - Prevent mods such as mini-maps or cheat clients from displaying the locations of hidden entities - Increase client-side performance for low-end devices - - Massive megabases containing hundreds of armour stands, item frames, banners etc can cause performance issues on low-end devices unable to process so many entities. REO will cull those entities for the client, reducing the number of entities to process. + - Massive megabases containing hundreds of armour stands, item frames, banners etc can cause performance issues on low-end devices unable to process so many entities. Raycasted AntiESP will cull those entities for the client, reducing the number of entities to process. - Hide nametags behind walls - Yes, this plugin is a bit overkill for doing that, yes you can do it anyways. ## Dependencies: -- Packetevents (soft depend) - - Only needed if you are using the cull-players option and wish for the players to remain in the tablist +- Packetevents + - In v1: Only needed if you are using the cull-players option and wish for the players to remain in the tablist + - In v2: Required for all features ## Known issues: -- Due to the nature of the plugin, there will be a short delay once an entity should be visible before it appears, causing it to appear like it "popped" into view. This issue is partially resolved by turning engine-mode to 2, and is worse for players with higher ping. +- Due to the nature of the plugin, there will be a short delay once an entity should be visible before it appears, causing it to appear like it "popped" into view. ## Versioning: Note that the following versioning information only applies to v2 and beyond. @@ -32,5 +33,17 @@ Each of these has its own versioning system. Locatable-lib and the logging api b In addition to the versions for each module, there is also an overall version for each platform binary, which is the version that is advertised in the description and file name, and is used for update checks. This version is a combination of the core and platform adapter versions, in the format `{core version}-PlatformName-{platform adapter version}`. This allows all platforms to share the same first three version numbers, while still allowing for differences in the platform adapter versions. +## Credits: + +- Cubicake (Sole developer, creator and maintainer of RaycastedAntiESP) + +### Special mentions: + +- Strokkur424 and other contributors to [StrokkCommands](https://github.com/Strokkur424/StrokkCommands), an LGPL-licensed open-source annotation-based brigadier command tree generator. + - While StrokkCommands is not essential for the functioning of the project, it makes handling commands infinitely easier. +- Retrooper, Booky10, and all other contributors to [PacketEvents](https://github.com/retrooper/packetevents), a GPL-licensed open-source library for handling minecraft packets. + - PacketEvents is essential for the functioning of the plugin, as it allows for handling of packets across multiple platforms and Minecraft versions. +- All contributors to Paper and its upstream projects Spigot and Bukkit, without which none of this would be possible. + ## Contributions: Contributions via pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for details. From 4e9b43d2d3f75022b5e4d93c02196fa7644d8a86 Mon Sep 17 00:00:00 2001 From: Cubicake <70577278+Cubicake@users.noreply.github.com> Date: Thu, 28 May 2026 21:49:20 +0930 Subject: [PATCH 02/10] Add an AGPL attribution command, runnable by all players and the console. --- .../paper/commands/Attribution.java | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/Attribution.java diff --git a/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/Attribution.java b/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/Attribution.java new file mode 100644 index 00000000..01de13b3 --- /dev/null +++ b/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/Attribution.java @@ -0,0 +1,68 @@ +/* + * SPDX-License-Identifier: AGPL-3.0-only + * Copyright © 2026 Cubicake. + * This file is part of RaycastedAntiESP. + * RaycastedAntiESP is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License v3.0 only, which can be accessed at https://www.gnu.org/licenses/agpl-3.0.html. + * See README.md for warranty disclaimer and further information. + */ + +package games.cubi.raycastedantiesp.paper.commands; + +import net.strokkur.commands.Command; +import net.strokkur.commands.Executes; +import org.bukkit.command.CommandSender; + +@Command("raycastedantiespCredits") //Deliberately an obscure name and not "attribution" or "credits" to avoid being annoying to server owners. +public class Attribution { + public static final byte READ_COMMENTS_BEFORE_EDITING_OR_DELETING_CLASS_OR_FACE_LEGAL_ACTION = 0; //Provocative name to make sure people actually read the comments. + /* +Please note that removing this command without providing an alternative, equally (or more) prominent way to view this information a violation of the AGPLv3 licence, which may result in legal action. +If you are forking this project, read the below note for fork developers to see how to modify the notice to remain AGPLv3 compliant. + +If you wish to acquire a copy of the plugin without the obligation to display this notice or equivalent, you may discuss purchasing a commercial licence by contacting Cubicake via Discord (@Cubicake) or by making a GitHub issue at https://github.com/Cubicake/RaycastedAntiESP + +Note that using external software to remove this command (for example by using a command blocker plugin to block players from using this command) is ALSO illegal. + * */ + @Executes + public void execute(CommandSender sender) { + sendAttributionMessage(sender); + } + + public static void sendAttributionMessage(CommandSender sender) { + sender.sendRichMessage("This server runs RaycastedAntiESP, a packet-based anti-esp plugin.\n" + + "\n" + + "The plugin is copyright © 2025-2026 Cubicake and Contributors, and licenced under the AGPLv3 licence, which requires the source code to be available to all users of the plugin, including you. \n" + + "As such, the source code can be found at https://github.com/Cubicake/RaycastedAntiESP."); + /* Fork developers: Comment out the above message and uncomment this one, making sure to replace the placeholders with the appropriate information about your fork. +// Some notes for fork developers: +// While you are allowed to modify the message below, you must still include all of the legally obligated information. As such, I recommend you only modify the {bracketed} placeholders and the formatting of the message. +// The legally obligated information you must include is as follows: +// 1. You must not claim to be the original creator of the project. Therefore, the notice must still clearly include a mention of "copyright © 2025-2026 Cubicake and Contributors" +// 2. You must include a link to the source code of your fork, which must be accessible to all players on all servers running your plugin, and include the full source code of your fork. This is a requirement of the AGPLv3 licence, which requires that all users of the software have access to the source code. Therefore, you must include a link to the source code of your fork in the message, and it must be easily accessible to users of the plugin. +// 3. You may not remove this notice without providing an alternative **prominent** notice containing a link to the source code and the original copyright notice. + + sender.sendRichMessage("This server runs a fork of RaycastedAntiESP called {YOUR_FORK_NAME_HERE}, a packet-based anti-esp plugin.\n" + + "\n" + + "The original plugin is copyright © 2025-2026 Cubicake and Contributors, with this fork copyright © 2025-2026 {YOUR_NAMES_HERE}. The plugin in its entirety is licenced under the AGPLv3 licence, which requires the source code to be available to all users of the plugin, including you. \n" + + "As such, the source code can be found at {YOUR_SOURCE_CODE_LINK_HERE}."); + */ + sender.sendRichMessage("A copy of the AGPLv3 Licence can be found at https://www.gnu.org/licenses/agpl-3.0.html.\n" + + "\n" + + "Disclaimer: This 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.\n" + + "In no event shall the authors or copyright holders be liable for any claim, damages, or other liability arising from, out of, or in connection with the software or the use of the software."); + sender.sendRichMessage("Credits:\n" + + "\n" + + "Plugin developers:\n" + + "- Cubicake (Sole developer, creator and maintainer of RaycastedAntiESP)\n" + + /* + * "- Feel free to add your name here as the developer of your fork!\n" + + * */ + "\n" + + "Libraries:\n" + + "- Strokkur424 and other contributors to StrokkCommands, an LGPL-licensed open-source annotation-based brigadier command tree generator.\n" + + "- Retrooper, Booky10, and all other contributors to PacketEvents, a GPL-licensed open-source library for handling minecraft packets."); + assert READ_COMMENTS_BEFORE_EDITING_OR_DELETING_CLASS_OR_FACE_LEGAL_ACTION == 0; // Make IDEs highlight the variable to make it easier to read. + } + + public static final String attributionCommandDescription = "/raycastedantiespCredits - View copyright notice and source code link (required to be displayed by the AGPLv3 licence)"; +} From 3b53334f1a4564d34f1b25f2bd973c04ccaecec7 Mon Sep 17 00:00:00 2001 From: Cubicake <70577278+Cubicake@users.noreply.github.com> Date: Thu, 28 May 2026 21:50:33 +0930 Subject: [PATCH 03/10] Register attribution command and print license info to console on startup --- .../raycastedantiesp/paper/RaycastedAntiESP.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/RaycastedAntiESP.java b/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/RaycastedAntiESP.java index b1628b3d..193dbd1d 100644 --- a/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/RaycastedAntiESP.java +++ b/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/RaycastedAntiESP.java @@ -1,6 +1,16 @@ +/* + * SPDX-License-Identifier: AGPL-3.0-only + * Copyright © 2026 Cubicake. + * This file is part of RaycastedAntiESP. + * RaycastedAntiESP is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License v3.0 only, which can be accessed at https://www.gnu.org/licenses/agpl-3.0.html. + * See README.md for warranty disclaimer and further information. + */ + package games.cubi.raycastedantiesp.paper; import games.cubi.raycastedantiesp.core.Core; +import games.cubi.raycastedantiesp.paper.commands.Attribution; +import games.cubi.raycastedantiesp.paper.commands.AttributionBrigadier; import games.cubi.raycastedantiesp.paper.commands.RaycastedAntiESPCommandBrigadier; import games.cubi.raycastedantiesp.paper.engine.PaperSimpleEngine; import games.cubi.raycastedantiesp.packetevents.config.PacketEventsBlockProcessorConfig; @@ -91,6 +101,7 @@ public void onEnable() { this.getLifecycleManager().registerEventHandler(LifecycleEvents.COMMANDS.newHandler(event -> { RaycastedAntiESPCommandBrigadier.register(event.registrar()); + AttributionBrigadier.register(event.registrar()); })); //bStats metricsCollector = new MetricsCollector(this, config); @@ -103,6 +114,7 @@ public void onEnable() { } } }, 1200, 1200);*/ + /*Do not delete, this is a legal notice*/Attribution.sendAttributionMessage(Bukkit.getConsoleSender()); // Legal notice as required by AGPLv3, it prominently offers users of this plugin the source code and displays an appropriate copyright notice. If you are a fork developer, do NOT remove this unless you have a thorough understanding of the AGPL and have replaced it with a suitable equivalent notice which is "prominently visible", displays the copyright notice, and includes a link to the source code of your fork which is accessible to all users of the plugin. } private String parseTrackers(Set trackers) { From fea9794a01860577e96a9a8b8d191670e955d59c Mon Sep 17 00:00:00 2001 From: Cubicake <70577278+Cubicake@users.noreply.github.com> Date: Thu, 28 May 2026 21:51:15 +0930 Subject: [PATCH 04/10] Link Attribution.java to actually-needed code so that it cannot be deleted by accident. --- .../paper/commands/RaycastedAntiESPCommand.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/RaycastedAntiESPCommand.java b/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/RaycastedAntiESPCommand.java index d1a01676..37e566f9 100644 --- a/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/RaycastedAntiESPCommand.java +++ b/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/RaycastedAntiESPCommand.java @@ -1,3 +1,11 @@ +/* + * SPDX-License-Identifier: AGPL-3.0-only + * Copyright © 2026 Cubicake. + * This file is part of RaycastedAntiESP. + * RaycastedAntiESP is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License v3.0 only, which can be accessed at https://www.gnu.org/licenses/agpl-3.0.html. + * See README.md for warranty disclaimer and further information. + */ + package games.cubi.raycastedantiesp.paper.commands; import com.mojang.brigadier.exceptions.CommandSyntaxException; @@ -48,6 +56,7 @@ public void helpCommand(CommandSender sender) { sender.sendRichMessage("/raycastedantiesp set - Sets a config value"); sender.sendRichMessage("/raycastedantiesp add - Adds a value to a list config"); sender.sendRichMessage("/raycastedantiesp remove - Removes a value from a list config"); + sender.sendRichMessage(Attribution.attributionCommandDescription); //Using constant from Attribution class to ensure that it cannot be deleted without the developer noticing that they are obligated to replace it with an equivalent notice. } @Executes("reload") @@ -124,6 +133,8 @@ void logString(@StringArg(StringArgType.GREEDY) String message) { @Executes("location-drift") void testCommand(CommandSender sender) { + assert Attribution.class == Attribution.class; + assert Attribution.READ_COMMENTS_BEFORE_EDITING_OR_DELETING_CLASS_OR_FACE_LEGAL_ACTION == 0; //Using constant from Attribution class to ensure that it cannot be deleted without the developer noticing that they are obligated to replace it with an equivalent notice. Player player = (Player) sender; PlayerData playerData = PlayerRegistry.getInstance().getPlayerData(player.getUniqueId()); Entity closestEntity = player.getNearbyEntities(10,10,10).getFirst(); From 4a63e0420d42d384efd1a33424ea56d38bd5ea90 Mon Sep 17 00:00:00 2001 From: Cubicake <70577278+Cubicake@users.noreply.github.com> Date: Thu, 28 May 2026 21:51:37 +0930 Subject: [PATCH 05/10] Add forking and legal notices to README --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index b2789af8..5927ac6a 100644 --- a/README.md +++ b/README.md @@ -47,3 +47,28 @@ In addition to the versions for each module, there is also an overall version fo ## Contributions: Contributions via pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for details. + +## Forking: + +Please see the the [AGPL v3 license](LICENSE.md)—especially section 5, section 7, and section 13—before forking this repository, as there are some specific legal requirements for forks. + +In summary, translated into layman, plugin-specific terms, the most important requirements for forks are as follows: +1. Forks must not remove any names currently present in the authors/contributors list in the plugin's description, as this falls under the "preservation of specified reasonable legal notices or author attributions". +2. Forks must not claim to be the original software, as this falls under the "no misrepresentation of the origin of the material". +3. Per section 5 subsection c, derivative works such as forks must remain licenced under AGPLv3, and must include a copy of the license with the work. To be clear, copying any non-trivial amount of code from this repository into your own repository, whether via making a fork, directly copying and pasting or other means, makes it a derivative work and obligates you to license your derivative work under the AGPL v3. You must then include a copy of the license and make the source code (not decompiled code) accessible to all users of your program, explicitly including players on a multiplayer server as well as the server owners. +4. "Appropriate Legal Notices" such as the copyright notice, license notice, disclaimer, and link to the source code must be preserved. Currently this is implemented via the /raycastedantiespCredits command, and while you are not obligated to keep this specific implementation, if you remove the command you must provide an equally prominent way for all users of the plugin (including players on a multiplayer server) to easily view the same information. + +`games.cubi.raycastedantiesp.paper.commands.Attribution` has been written with forks in mind, and a template has been left for forks to modify so that the AGPLv3 license can be obeyed with minimal effort from forkers. + +## Copyright and Disclaimer: +Copyright © 2025-2026 Cubicake and Contributors + +This project is licensed under the GNU Affero General Public License v3.0 only (AGPLv3). You may copy, modify, and redistribute this software only in compliance with the terms of that licence. A copy of the licence is provided in the LICENSE file. + +If you modify and deploy this software for remote network interaction, including operating a public multiplayer server, you must make the complete corresponding source code of the modified version available to users interacting with the software over the network, as required by section 13 of the AGPLv3. + +Any modified versions must be clearly marked as modified and must not be misrepresented as the original project. + +This 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 arising from, out of, or in connection with the software or the use of the software. + +The AGPL is the sole license this program is governed by. All statements found in this copyright notice and disclaimer, the above forking guidelines, or anywhere else in this program should be considered merely guidelines and interpretations of the AGPL unless they are direct extracts of the AGPL. If any statement conflicts with the AGPL, the AGPL takes legal precedence over any such statement. However, any such conflicting statements should be taken as good-faith non-binding requests by the authors. \ No newline at end of file From 1e7a7cf02ab1c7a7f610b6dc72fbf956832122b9 Mon Sep 17 00:00:00 2001 From: Cubicake <70577278+Cubicake@users.noreply.github.com> Date: Thu, 28 May 2026 22:06:09 +0930 Subject: [PATCH 06/10] Add information about raycastedantiespCredits and legal obligations for servers running this plugin --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 5927ac6a..3fc94eb5 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,19 @@ In addition to the versions for each module, there is also an overall version fo - PacketEvents is essential for the functioning of the plugin, as it allows for handling of packets across multiple platforms and Minecraft versions. - All contributors to Paper and its upstream projects Spigot and Bukkit, without which none of this would be possible. +### Note about in-game attributions and other (A)GPL requirements: +The plugin includes the command `/raycastedantiespCredits`, which displays a list of all authors and contributors, the license and a link to the source code. It can be run by all players. This command is intended to satisfy the "preservation of specified reasonable legal notices or author attributions" requirement of the AGPLv3 license in an easily accessible way for all users of the plugin, including players on a multiplayer server. If you fork this repository and remove the command you must include some other easily accessible way for all users of your fork to view the same information, as required by the AGPLv3. + +This command has been deliberately named a long and unwieldy name to avoid clashing with any commands your server may wish to add, and does not pose any risks to your server as there is no unfair advantage which can be gained due to knowledge of the plugin's existence on your server. + +It is **illegal** to remove the credits without providing an alternative, equally prominent way for users to view the same information. If for some reason crediting people who have worked on a feature for your server for free is a problem for you, you can contact Cubicake on discord (@cubicake) or make an issue to discuss receiving a special commercial/closed licensed version with all attributions, credits, and source code links removed. + +Using external software such as a command-hiding plugin to hide the command is **still illegal**, so please do not try to circumvent the requirement to provide attributions, credits, and source code links to users of your server. + +Requesting a commercial/closed license is also required if you wish to link (as defined by the AGPL) a closed source project to this project. + +An example of a suitable alternative to the command would be a single book-gui or dialog which contains all attributions, licenses, disclaimers, and source code links for all programs used by the server as long as the gui is easily accessible to all users of the server. + ## Contributions: Contributions via pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for details. From b5179739dc6b0fb79766972b974d1e5d4380a03c Mon Sep 17 00:00:00 2001 From: Cubicake <70577278+Cubicake@users.noreply.github.com> Date: Thu, 28 May 2026 22:13:22 +0930 Subject: [PATCH 07/10] oops that file doesn't exist --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3fc94eb5..8bb9eebd 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Contributions via pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING. ## Forking: -Please see the the [AGPL v3 license](LICENSE.md)—especially section 5, section 7, and section 13—before forking this repository, as there are some specific legal requirements for forks. +Please see the the [AGPL v3 license](LICENSE)—especially section 5, section 7, and section 13—before forking this repository, as there are some specific legal requirements for forks. In summary, translated into layman, plugin-specific terms, the most important requirements for forks are as follows: 1. Forks must not remove any names currently present in the authors/contributors list in the plugin's description, as this falls under the "preservation of specified reasonable legal notices or author attributions". From f15a571c1dc21e828569570f42118e10099bf2a1 Mon Sep 17 00:00:00 2001 From: Cubicake <70577278+Cubicake@users.noreply.github.com> Date: Thu, 28 May 2026 22:13:48 +0930 Subject: [PATCH 08/10] Duplicate word --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8bb9eebd..16263c36 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Contributions via pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING. ## Forking: -Please see the the [AGPL v3 license](LICENSE)—especially section 5, section 7, and section 13—before forking this repository, as there are some specific legal requirements for forks. +Please see the [AGPL v3 license](LICENSE)—especially section 5, section 7, and section 13—before forking this repository, as there are some specific legal requirements for forks. In summary, translated into layman, plugin-specific terms, the most important requirements for forks are as follows: 1. Forks must not remove any names currently present in the authors/contributors list in the plugin's description, as this falls under the "preservation of specified reasonable legal notices or author attributions". From e35f32705b5b063426887ba18d4b93af15403962 Mon Sep 17 00:00:00 2001 From: Cubicake <70577278+Cubicake@users.noreply.github.com> Date: Thu, 28 May 2026 22:15:15 +0930 Subject: [PATCH 09/10] Documentation comment --- .../raycastedantiesp/paper/PaperLoggerAdapter.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/PaperLoggerAdapter.java b/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/PaperLoggerAdapter.java index cdd149dc..97c2351f 100644 --- a/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/PaperLoggerAdapter.java +++ b/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/PaperLoggerAdapter.java @@ -1,3 +1,11 @@ +/* + * SPDX-License-Identifier: AGPL-3.0-only + * Copyright © 2026 Cubicake. + * This file is part of RaycastedAntiESP. + * RaycastedAntiESP is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License v3.0 only, which can be accessed at https://www.gnu.org/licenses/agpl-3.0.html. + * See README.md for warranty disclaimer and further information. + */ + package games.cubi.raycastedantiesp.paper; import games.cubi.logs.CheckPreviousLogForError; @@ -25,7 +33,7 @@ public class PaperLoggerAdapter implements PlatformLogger { /** * Set this to true to send logs to the file regardless of the log level. */ - private static final boolean LOG_TO_FILE = true; + private static final boolean LOG_TO_FILE = false; /* * If too many logs queue up before clear() is called, flush them anyway. @@ -107,7 +115,7 @@ public void warning(Throwable throwable, @Range(from = 1, to = 10) int level, Cl @Deprecated @Override public void debug(String message) { - forwardLog(message, Level.INFO, 10); + forwardLog(message, Level.INFO, 1); } @Override From fc819abb2c30f35a3745c7f5596135f64cadc2ed Mon Sep 17 00:00:00 2001 From: Cubicake <70577278+Cubicake@users.noreply.github.com> Date: Thu, 28 May 2026 22:16:13 +0930 Subject: [PATCH 10/10] Documentation comment and grammar --- .../cubi/raycastedantiesp/paper/commands/Attribution.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/Attribution.java b/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/Attribution.java index 01de13b3..433cc43c 100644 --- a/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/Attribution.java +++ b/platform-paper/src/main/java/games/cubi/raycastedantiesp/paper/commands/Attribution.java @@ -12,11 +12,11 @@ import net.strokkur.commands.Executes; import org.bukkit.command.CommandSender; -@Command("raycastedantiespCredits") //Deliberately an obscure name and not "attribution" or "credits" to avoid being annoying to server owners. +@Command("raycastedantiespCredits") //Deliberately an obscure name and not "attribution" or "credits" to avoid being annoying to server owners. Not permission-gated as all players need to be able to access it to comply with the AGPLv3 licence. public class Attribution { public static final byte READ_COMMENTS_BEFORE_EDITING_OR_DELETING_CLASS_OR_FACE_LEGAL_ACTION = 0; //Provocative name to make sure people actually read the comments. /* -Please note that removing this command without providing an alternative, equally (or more) prominent way to view this information a violation of the AGPLv3 licence, which may result in legal action. +Please note that removing this command without providing an alternative, equally (or more) prominent way to view this information is a violation of the AGPLv3 licence, which may result in legal action. If you are forking this project, read the below note for fork developers to see how to modify the notice to remain AGPLv3 compliant. If you wish to acquire a copy of the plugin without the obligation to display this notice or equivalent, you may discuss purchasing a commercial licence by contacting Cubicake via Discord (@Cubicake) or by making a GitHub issue at https://github.com/Cubicake/RaycastedAntiESP