{"id":31018704,"url":"https://github.com/kasperip/lukittu-java-simple","last_synced_at":"2025-09-13T08:22:48.791Z","repository":{"id":286261039,"uuid":"960879158","full_name":"KasperiP/lukittu-java-simple","owner":"KasperiP","description":"🔐 Lukittu's simple Java example utilizing the basic license verification endpoint.","archived":false,"fork":false,"pushed_at":"2025-08-23T09:01:53.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T07:10:07.317Z","etag":null,"topics":["java-22","licensing-system","lukittu","minecraft","minecraft-licensing-system","minecraft-plugin"],"latest_commit_sha":null,"homepage":"https://docs.lukittu.com/examples/java/simple","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KasperiP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-05T09:05:01.000Z","updated_at":"2025-08-23T09:01:55.000Z","dependencies_parsed_at":"2025-04-05T10:37:57.382Z","dependency_job_id":null,"html_url":"https://github.com/KasperiP/lukittu-java-simple","commit_stats":null,"previous_names":["kasperip/lukittu-java-simple"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/KasperiP/lukittu-java-simple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KasperiP%2Flukittu-java-simple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KasperiP%2Flukittu-java-simple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KasperiP%2Flukittu-java-simple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KasperiP%2Flukittu-java-simple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KasperiP","download_url":"https://codeload.github.com/KasperiP/lukittu-java-simple/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KasperiP%2Flukittu-java-simple/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274936431,"owners_count":25376969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java-22","licensing-system","lukittu","minecraft","minecraft-licensing-system","minecraft-plugin"],"created_at":"2025-09-13T08:22:44.746Z","updated_at":"2025-09-13T08:22:48.776Z","avatar_url":"https://github.com/KasperiP.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lukittu simple Java example\n\nA simple Bukkit/Spigot plugin demonstrating integration with the Lukittu license verification system.\n\n## Overview\n\nThis project showcases how to implement a robust license verification system for your Minecraft plugins. It includes:\n\n-   License key validation on plugin startup\n-   Regular license heartbeat checks\n-   Cryptographic challenge-response verification\n-   Proper error handling for various license scenarios\n\n## Setup and Installation\n\n1. Clone this repository\n2. Update the licensing details in `src/main/resources/config.yml`:\n    - `license.key`: Your license key\n    - `license.team-id`: Your Lukittu team ID\n    - `license.product-id`: Your Lukittu product ID\n    - `license.public-key`: Your RSA public key for verification\n3. Build with Maven: `mvn clean package`\n4. Copy the generated JAR from `target/` to your server's `plugins/` folder\n\n## Building\n\n```bash\n# With Maven installed\nmvn clean package\n\n# Or using the Maven wrapper (if available)\n./mvnw clean package\n```\n\n## ⚠️ IMPORTANT SECURITY WARNING FOR PRODUCTION USE ⚠️\n\nThis repository is provided as a **demonstration implementation only** and is not intended for direct use in production plugins without additional security hardening.\n\n### Security Considerations\n\nWhen implementing license protection in a real-world plugin:\n\n1. **Never expose sensitive details in configuration files**\n\n    - Only the license key should be configurable by end users\n    - All other values (team ID, product ID, public key) should be hardcoded and obfuscated\n\n2. **Apply code obfuscation**\n\n    - Use tools like ProGuard, Allatori, or Zelix KlassMaster\n    - Rename classes, methods, and fields to hinder reverse engineering\n    - Apply string encryption, especially for constants like API URLs\n\n3. **Implement anti-tampering measures**\n\n    - Add integrity checks throughout your code\n    - Use multiple verification points to ensure consistent license validation\n    - Consider native code protection (JNI/JNIC) for critical sections\n\n4. **Protect application logic**\n    - Implement license checks in multiple places, not just at startup\n    - Add time-based validation that varies with each installation\n    - Mix verification logic with core functionality to make bypass more difficult\n\n## License\n\nThis example code is provided for educational purposes. For use in your own plugins, ensure you have appropriate licensing for all dependencies and adhere to Lukittu's terms of service.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasperip%2Flukittu-java-simple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkasperip%2Flukittu-java-simple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasperip%2Flukittu-java-simple/lists"}