================================================================================
         Gomoku (五子棋) Plugin — End-User License Agreement (EULA)
================================================================================

  Copyright (C) 2024-2026 syk. All Rights Reserved.

================================================================================
                     Chapter 1 — Definitions and Scope
================================================================================

  1.1  "Software" / "Plugin"
       The Gomoku (五子棋) Minecraft server plugin, including but not limited
       to its complete source code, compiled binary (Gomoku.jar), configuration
       files, language files, documentation, resource files, and any accompanying
       updates, patches, revisions, or derivative versions.

  1.2  "Author" / "Copyright Holder"
       The original creator and copyright owner of the Software, syk.

  1.3  "User"
       Any natural person, legal entity, or unincorporated organization that
       downloads, installs, copies, runs, distributes, or otherwise uses the
       Software in any manner.

  1.4  "Authorized Server"
       A Minecraft server instance that has been granted permission by the
       Author to install and run the Software.

  1.5  "Modification"
       Any alteration made to the Software, including but not limited to:
       (a) decompiling, disassembling, or reverse engineering the Software
           (except as expressly permitted by applicable law);
       (b) removing, altering, or obscuring any copyright notices, trademark
           identifiers, or this Agreement within the Software;
       (c) changing, adding, or removing any functionality, code, resource,
           or configuration of the Software;
       (d) creating derivative works based on the Software;
       (e) merging or embedding all or part of the Software's code into other
           software.

================================================================================
                  Chapter 2 — Intellectual Property and Ownership
================================================================================

  2.1  The Software is an original work independently created by the Author
       and is protected by applicable copyright laws and international
       copyright treaties, including but not limited to the Berne Convention
       and the WIPO Copyright Treaty.

  2.2  All rights, title, and intellectual property in and to the Software
       (including but not limited to copyright, trademark, patent, and trade
       secret rights) are and shall remain the exclusive property of the
       Author, or are lawfully held by the Author under valid license.

  2.3  This Agreement does not transfer any intellectual property rights or
       ownership of the Software to the User. The User receives only the
       limited, non-exclusive, non-sublicensable, revocable license expressly
       granted by this Agreement.

  2.4  The algorithms, data structures, UI designs, interaction logic, and
       game-rule implementations contained in the Software constitute the
       Author's trade secrets and proprietary know-how, protected to the
       fullest extent of the law.

================================================================================
                   Chapter 3 — License Grant and Restrictions
================================================================================

  3.1  Grant of License
       Subject to full compliance with all terms of this Agreement, the Author
       grants the User a non-exclusive, non-transferable, non-sublicensable,
       revocable, limited license to:
       (a) install and run the Software on a single Minecraft server;
       (b) use the functionality provided by the Software for personal server
           operation purposes.

  3.2  Prohibited Conduct
       Without the Author's prior written consent, the User shall absolutely
       not engage in any of the following conduct. Violators will be pursued
       to the fullest extent of the law:

       (a) Modification and Tampering
           - Modify, adapt, translate, enhance, customize, or create derivative
             works of the Software in any manner whatsoever;
           - Use any tool (including but not limited to Java decompilers,
             bytecode editors, ASM, Javassist, ByteBuddy, Mixin, etc.) to
             reverse engineer, decompile, disassemble, extract, or analyze the
             bytecode or source code of the Software;
           - Remove, disable, bypass, or defeat any technical protection
             measure, permission verification, license check, or security
             mechanism within the Software;
           - Modify any configuration defaults, room parameter caps, game-rule
             constants, or board generation logic defined internally by the
             Software;
           - Inject, hook, intercept, or replace any class, method, field, or
             resource file of the Software.

       (b) Redistribution
           - Redistribute, resell, rent, lease, lend, license, assign, or give
             away the Software (or any part thereof) to any third party in any
             form;
           - Upload the Software to any public or private file-hosting platform,
             forum, cloud storage, or code repository (including but not limited
             to GitHub, Gitee, GitLab, Bitbucket, SpigotMC, PaperMC, Modrinth,
             Hangar, CurseForge, etc.) for download by third parties;
           - Bundle the Software into any modpack, server pack, one-click
             server installer, or any other form of software collection,
             whether charged or free of charge.

       (c) Commercialization Restrictions
           - Offer the Software's functionality (or imitations thereof) to
             players as paid content, VIP perks, or donation rewards;
           - Provide the Software as part of a commercial hosting service
             (SaaS);
           - Directly or indirectly derive commercial gain from the Software
             without authorization.

       (d) Agreement Removal
           - Delete, modify, or conceal this Agreement file (LICENSE.txt) or
             its contents from the Software;
           - Delete, modify, or obscure any copyright identifier, author
             attribution, or source declaration output by the Software at
             runtime.

================================================================================
                    Chapter 4 — Source Code and Decompilation
================================================================================

  4.1  The Software is distributed in compiled binary form (.jar). The User
       has no right to access its source code.

  4.2  Even if the User obtains all or part of the Software's source code
       through reverse engineering, decompilation, or other technical means,
       the User does not thereby acquire any rights, title, or license to
       such source code. The User shall:
       (a) immediately cease accessing, reading, and using such source code;
       (b) permanently delete all copies of the source code so obtained;
       (c) not create any modified version, derivative work, or competing
           product based on such source code.

  4.3  "Interoperability" exceptions under applicable law shall not be
       construed as authorizing the User to reverse engineer the Software
       beyond the scope expressly permitted by law.

================================================================================
                Chapter 5 — Derivative Works and Secondary Development
================================================================================

  5.1  The Software is not open-source software, free software, or public-
       domain software. Any statement describing the Software as "open source,"
       "free software," "FOSS," "public domain," or as licensed under any
       open-source license (such as MIT, GPL, Apache, BSD, etc.) constitutes
       a false representation.

  5.2  Any modified version, enhanced version, customized version, localized
       version, fixed version, remake, or any other form of derivative work
       based on the Software (or results of its reverse engineering) shall
       constitute a material breach of this Agreement and copyright
       infringement.

  5.3  If the User wishes to obtain authorization to modify the Software,
       custom development, or commercial cooperation, the User must contact
       the Author directly through the Author's designated channels and
       enter into a separate written authorization agreement.

================================================================================
               Chapter 6 — Third-Party Use and Server Operation
================================================================================

  6.1  The owner or operator of the server (rather than any third-party
       technician or service provider engaged by them) shall be the
       responsible party under this Agreement.

  6.2  If the server owner engages a third party to perform server
       maintenance, plugin installation, or technical management, the server
       owner remains obligated to ensure that such third party likewise
       complies with all terms of this Agreement. The server owner shall
       bear all legal liability arising from the third party's breach.

  6.3  The server owner shall not direct, imply, or assist any third-party
       user (including players on the server) in modifying, reverse
       engineering, or redistributing the Software.

================================================================================
              Chapter 7 — Consequences of Infringement and Legal Liability
================================================================================

  7.1  Any breach of this Agreement constitutes an infringement of the
       Author's copyright. The Author is entitled to take one or more of
       the following actions under the law:

       (a) immediately revoke the license to use the Software, require the
           infringing party to cease use and delete all copies of the Software;
       (b) require the infringing party to cease infringement, eliminate
           adverse effects, make a public apology, and compensate for losses;
       (c) report to the copyright administration authority and request
           administrative penalties;
       (d) bring a civil action in a court of competent jurisdiction;
       (e) where the infringement is serious enough to constitute a criminal
           offense, report the matter to law enforcement authorities for
           criminal prosecution.

  7.2  All profits derived from the infringement shall be attributed to the
       Author. The amount of compensation includes but is not limited to:
       (a) the Author's actual economic losses;
       (b) the infringing party's illegal gains;
       (c) reasonable expenses incurred by the Author in stopping the
           infringement (including but not limited to legal fees, notarization
           fees, investigation costs, litigation costs, travel expenses, etc.);
       (d) statutory damages (applicable where actual losses or illegal gains
           are difficult to calculate).

================================================================================
                 Chapter 8 — Disclaimer and Limitation of Liability
================================================================================

  8.1  THE SOFTWARE IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND,
       EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
       WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
       NON-INFRINGEMENT, AND COMPATIBILITY.

  8.2  The Author does not warrant that the functions of the Software will
       meet all the User's requirements, that the operation of the Software
       will be uninterrupted or error-free, or that all defects in the
       Software will be corrected.

  8.3  TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE AUTHOR SHALL
       IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
       EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO
       DATA LOSS, SERVER DOWNTIME, LOST PROFITS, BUSINESS INTERRUPTION,
       REPUTATIONAL HARM, OR ANY OTHER COMMERCIAL LOSS) ARISING OUT OF OR
       IN CONNECTION WITH THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN
       IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

  8.4  The User expressly understands and agrees that the risk of using the
       Software rests entirely with the User.

================================================================================
                   Chapter 9 — Termination and Survival
================================================================================

  9.1  This Agreement takes effect from the moment the User downloads,
       installs, or uses the Software and remains in effect until terminated.

  9.2  The User may terminate this Agreement at any time by permanently
       deleting all copies of the Software.

  9.3  If the User breaches any provision of this Agreement, the license
       granted by the Author shall automatically and immediately terminate
       without further notice. Upon termination, the User must immediately
       cease using the Software and destroy all copies.

  9.4  The provisions of this Agreement concerning Intellectual Property
       (Chapter 2), Source Code (Chapter 4), Consequences of Infringement
       (Chapter 7), Disclaimer (Chapter 8), and any other provisions which
       by their nature should survive termination shall remain in full
       force and effect after termination.

================================================================================
                       Chapter 10 — General Provisions
================================================================================

  10.1 This Agreement constitutes the entire agreement between the parties
       regarding the use of the Software and supersedes all prior oral or
       written communications, proposals, and representations.

  10.2 If any provision of this Agreement is held invalid or unenforceable
       by a court or arbitral tribunal of competent jurisdiction, that
       provision shall be enforced to the maximum extent permitted by law,
       and the remaining provisions shall continue in full force and effect.

  10.3 The Author's failure or delay in exercising any right under this
       Agreement shall not be deemed a waiver of that right. An express
       waiver of any breach shall not constitute a waiver of any subsequent
       breach.

  10.4 The Author reserves the right to modify or update this Agreement at
       any time. The updated Agreement will be distributed with updated
       versions of the Software. Continued use of the Software after such
       update constitutes acceptance of the modified terms.

  10.5 The formation, validity, interpretation, performance, and dispute
       resolution of this Agreement shall be governed by the laws of the
       People's Republic of China.

  10.6 Any dispute arising out of or in connection with this Agreement shall
       first be resolved through friendly negotiation between the parties.
       If negotiation fails, either party may bring an action in a competent
       court at the Author's domicile.

================================================================================
                         Chapter 11 — Contact
================================================================================

  If you have any questions regarding this Agreement, or wish to obtain a
  commercial license, custom development, or other cooperation opportunities,
  please contact the Author:

        Author:      syk
        Project:     Gomoku (五子棋)
        Bilibili:    https://space.bilibili.com/3546782107700083
        QQ Group:    1035560684

================================================================================

  INSTALLATION CONSTITUTES ACCEPTANCE: By placing this plugin's .jar file
  into a server's plugins directory and starting the server, you acknowledge
  that you have read, understood, and agree to be bound by all terms of this
  Agreement.

  If you do not agree to any term of this Agreement, you must immediately
  cease using the Software and permanently delete all copies of the Software
  from your server and all storage devices.

================================================================================
                      Gomoku (五子棋) v1.0
                      (C) 2024-2026 syk
================================================================================
