PyCraft Community License (PCL) v1.0

Copyright (c) 2024-present Gonkat. All rights reserved.

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

SCOPE

This license applies only to the Mod itself (PyCraft IDE), including its
source code, assets, and documentation.
Any third-party libraries, dependencies, or tools included with or used
by the Mod may have their own separate licenses and are not covered by
this license.
Users are responsible for reviewing and complying with the licenses of
any such third-party components.

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

DEFINITIONS

"Mod" means PyCraft IDE and all its original source code, assets, and
documentation, as authored by Gonkat.

"Individual Use" means use by a single person, student, or a private
server with fewer than 50 simultaneous players, for non-commercial
purposes.

"Educational Institution" means any university, college, school,
educational platform, or organization that uses this Mod as part of a
structured educational program, course, or curriculum involving more
than one student.

"Commercial Use" means use by a for-profit company, organization, or
individual generating revenue through services that directly depend on
this Mod.

"Contribution" means any patch, improvement, translation, or pull
request submitted to the Mod's official repository by any person.

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

PART I -- INDIVIDUAL & SMALL-SCALE USE (MIT-STYLE)

Permission is hereby granted, perpetually and irrevocably, free of
charge, to any person or small community obtaining a copy of this Mod,
to deal in the Mod without restriction for Individual Use, including
without limitation the rights to use, copy, modify, merge, publish, and
distribute copies of the Mod, subject to the following conditions:

1. The above copyright notice and this permission notice shall be
   included in all copies or substantial portions of the Mod, including
   any modified versions or derivative works.

2. Attribution is required in all cases: any publication, project,
   server, or distribution that uses or includes this Mod must clearly
   credit the author:
   "Powered by PyCraft IDE -- created by Gonkat"

3. The Mod is not used within an Educational Institution context
   (see Part II) or for Commercial Use (see Part III).

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

PART II -- EDUCATIONAL INSTITUTION USE

Any Educational Institution wishing to use this Mod must comply with
the following conditions:

II.1 -- Notification (Required)

Before deployment, the institution must notify the author by email at
one of the following addresses:

    goncat2.0@mail.ru
    gonkat200@gmail.com
    gonkat200@mail.ru

The notification must include:
- Name of the institution
- Approximate number of students who will use the Mod
- Brief description of how the Mod will be used (e.g., Python course,
  elective, workshop)

II.2 -- Contribution (Required -- choose at least one)

As consideration for free use of this Mod, the Educational Institution
must provide at least one of the following contributions within 90 days
of first use:

Option A -- Educational Materials
Share any teaching materials, lesson plans, assignments, or curricula
created using or for PyCraft IDE with the author, under a license
allowing the author to publish and adapt them.

Option B -- Feedback Report
Provide a written report (minimum 300 words) describing:
- How the Mod was used in the educational context
- Student reactions and engagement
- Bugs, issues, or limitations encountered
- Feature requests or suggestions

Option C -- Public Testimonial
Publish a public post, article, or social media mention about using
PyCraft IDE in the institution's educational process, and notify the
author with a link.

Option D -- Direct Support
Make a voluntary financial contribution via: https://dalink.to/gonkat

II.3 -- Attribution (Required)

All materials, publications, presentations, or digital content related
to programs that use this Mod must clearly credit:
"Powered by PyCraft IDE -- created by Gonkat"

This attribution requirement applies to all copies and modified versions
of the Mod distributed or used within the institution.

II.4 -- No Resale

Educational Institutions may not charge students specifically for access
to this Mod, nor resell, sublicense, or redistribute it for profit.

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

PART III -- COMMERCIAL USE

Commercial Use is strictly prohibited under this license without a
separate written agreement with the author.

Any attempt to use this Mod commercially without obtaining such an
agreement constitutes a violation of this license and automatically
terminates any rights granted herein.

To obtain a commercial license, contact:

    goncat2.0@mail.ru
    gonkat200@gmail.com
    gonkat200@mail.ru

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

PART IV -- CONTRIBUTIONS TO THE MOD

By submitting a Contribution (patch, improvement, translation, pull
request, or any other change) to the Mod's official repository, you
agree that:

1. Your Contribution is submitted voluntarily and without expectation
   of compensation.

2. You grant the author (Gonkat) a perpetual, irrevocable, worldwide,
   royalty-free right to use, modify, include, and relicense your
   Contribution as part of the Mod under this license or any future
   version of it.

3. The author may include your Contribution in future official releases
   of the Mod under the PyCraft Community License.

4. You retain your own copyright over your Contribution, but
   acknowledge the above grant.

5. You confirm that your Contribution does not infringe on any
   third-party intellectual property rights.

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

PART V -- DISCLAIMER OF WARRANTY AND LIABILITY

THE MOD 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 NON-INFRINGEMENT.

THE AUTHOR (GONKAT) SHALL NOT BE LIABLE FOR ANY DAMAGES, LOSSES, DATA
LOSS, SERVICE INTERRUPTIONS, OR CLAIMS OF ANY KIND ARISING FROM THE
USE, MISUSE, OR INABILITY TO USE THE MOD, WHETHER IN CONTRACT, TORT,
OR OTHERWISE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

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

PART VI -- TERMINATION

Any violation of the terms of this license automatically and immediately
terminates your rights under it, without notice from the author.

Specifically:
- Educational Institutions that fail to fulfill Part II obligations
  within the specified timeframe lose the right to continue using the
  Mod until all obligations are met and the author is notified.
- Any unauthorized Commercial Use (Part III) results in immediate
  termination of all rights granted under this license.

Reinstatement of rights after termination is at the sole discretion
of the author.

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

PART VII -- GOVERNING LAW

This license shall be governed by and construed in accordance with the
laws of the Republic of Kazakhstan, without regard to its conflict of
law provisions.

Any disputes arising under this license shall be resolved in the courts
of Pavlodar, Republic of Kazakhstan, unless the parties agree to
alternative dispute resolution.

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

SUMMARY (not legally binding)

  Individual / student                -- Free use. Attribution only.
  Small private server (<50 players)  -- Free use. Attribution only.
  School / University                 -- Free use. Notify author +
                                         1 contribution + attribution.
  For-profit company                  -- Contact for commercial license.
  Anyone violating terms              -- Rights terminated automatically.

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

PyCraft Community License v1.0
This is a custom license. It is not OSI-approved.
This license is perpetual and has no expiration date.
For questions or licensing inquiries, contact: gonkat200@gmail.com
