Conversation
…leted by accident.
…or servers running this plugin
There was a problem hiding this comment.
Pull request overview
Adds AGPLv3 compliance materials: an in-game /raycastedantiespCredits command that prints copyright, license, source link, warranty disclaimer, and credits; a console attribution message on plugin enable; SPDX headers on touched Paper files; and an extensive README section documenting forking obligations, in-game attribution rationale, copyright, and disclaimer.
Changes:
- New
Attributioncommand class (StrokkCommands-based) registered alongside the main command and invoked fromonEnable()to log attribution to the console. - README expanded with Credits, in-game attribution explanation, Forking guidance, and Copyright/Disclaimer sections; also updates stable/alpha version notes, supported-version statement, and PacketEvents dependency description.
- SPDX/AGPL-3.0 headers added to
RaycastedAntiESP.java,RaycastedAntiESPCommand.java, andAttribution.java; main help command now referencesAttribution.attributionCommandDescription, and a test subcommand references anAttributionconstant viaassertto deter silent removal.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| README.md | Adds Credits, in-game attribution note, Forking, and Copyright/Disclaimer sections; updates version/support/dependency wording. |
| platform-paper/.../paper/RaycastedAntiESP.java | Adds SPDX header, imports Attribution/AttributionBrigadier, registers the new Brigadier command, emits attribution to console on enable. |
| platform-paper/.../paper/commands/RaycastedAntiESPCommand.java | Adds SPDX header, appends attribution command line to help, and adds assert references to Attribution to discourage removal. |
| platform-paper/.../paper/commands/Attribution.java | New command class sending three rich-message attribution blocks with a fork-developer template and tamper-deterrent constant. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| ## 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. |
|
|
||
| ## 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. |
|
|
||
| @Executes("location-drift") | ||
| void testCommand(CommandSender sender) { | ||
| assert Attribution.class == Attribution.class; |
Comment on lines
+136
to
+137
| 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. |
Comment on lines
+15
to
+26
| @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 |
| } | ||
| } | ||
| }, 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. |
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.