Importing an existing project
Start from code you already have by uploading a ZIP. Limits per plan, the security check, converting to another type and how Codexe detects the project type.
Updated
On this page
You can start a project from existing code instead of a blank request: attach a ZIP of the project on Create and describe what you want changed.
#Limits
| Plan | Max ZIP size | Max files |
|---|---|---|
| Pro | 5 MB | 200 |
| Business | 25 MB | 500 |
| Enterprise | 100 MB | 2,000 |
One ZIP per project. Only .zip archives are read. Convert RAR, 7z or tar archives to ZIP first.
#What happens
- Codexe unpacks the archive and detects the project type from its files (a
plugin.ymlmeans a Bukkit-family plugin,fabric.mod.jsona Fabric mod,mods.tomlorneoforge.mods.tomla Forge or NeoForge mod, and so on). - The security check reads the imported code (see below). It runs while the AI works on your first request.
- Your first request works on the imported files: the AI changes what you ask for and leaves the rest alone.
- Buildable projects are verified like any other project, once the security check has passed.
#Security check
Code that Codexe did not write is checked before anything builds, tests or runs it: no compile, no Try it now server, no test players, no bot and no site preview until the check passes. It looks for backdoors (hidden commands that give OP or console access), code downloaded and run at runtime, data sent to webhooks or unknown servers, token grabbers, miners and destructive code. Normal things such as update checkers, metrics or a bot reading its own token are fine.
The check usually takes a minute or two and does not use your tokens. There are three outcomes:
- Passed: the project works like any other.
- Passed with notes: nothing malicious was found, and the page lists a few parts of the code worth a look. The project works normally.
- Malicious code found: the page shows the files and lines and what each one does. Codexe will not build or run the project. Remove that code, by editing the files or asking the chat to remove it, then press Run the check again (up to 5 times a day per project). If you think it is a mistake, contact support and the team will review it.
A project converted to another type is checked again, because the new files are written from the imported code. A template made from an imported project is checked again for whoever clones it.
The check runs again every time Codexe builds, tests or runs the project: whatever changed since the last check (your edits, the chat's, the automatic fixes) is read first, which usually takes a few seconds.
#Updating or converting what you import
Ask for what you need in the first request or later in the chat:
- Update it: "Update this plugin to Paper 1.21.4", "fix the deprecated methods". Codexe changes the files, compiles the project and fixes the errors the new version brings.
- Convert it: "Turn this Fabric mod into a Paper plugin", "make this plugin a Skript". Codexe rewrites the whole project for the new type, keeping its features, and then checks it the way that type is checked. On a large project the conversion runs in parts, and the files appear in the editor as each part is ready. A conversion uses tokens like any request; if your balance does not cover it, nothing is changed and Codexe tells you.
- Version-specific server code (Business and Enterprise): some plugins keep one module per Minecraft version built on server internals (NMS, CraftBukkit) that only BuildTools can compile, so they do not build or start here. On Business and above the automatic repair recognises this and rewrites that part with the Bukkit and Paper API, so a single jar works on every supported version.
#What is imported
Source code, configuration, language files and images are imported. Build output (target/, build/), dependencies (node_modules/), version control folders, .env files and compiled files (.jar, .class) are left out. A project that needs a library only as a local .jar file must take it from a public repository instead.
#Tips
- Leave out build output and dependencies yourself: they count against the limits and aren't useful to the AI.
- Say what the project is and what should change: "This is my Paper 1.20.4 economy plugin. Add a /baltop command…".
- If the first request changes nothing (for example you only asked a question), the tokens it used are restored. See Credit restoration.