GENERÁTOR SKRIPTU
Popiš skript pro Skript běžnou řečí. Codexe napíše soubor .sk v aktuální syntaxi, události, proměnné, GUI, scoreboardy. Bez Javy, bez kompilace, vlož a načti znovu.
Proč používat AI generátor Skriptu
Moderní syntaxe Skriptu
Codexe targets the current Skript release. No legacy patterns, no deprecated event names. The script loads cleanly without parser errors.
S ohledem na doplňky
If your prompt needs skript-gui, skript-yaml, skript-reflect or skript-placeholders, the generator declares them as comments at the top so you know what to install.
Bez kompilace
Skript is interpreted at runtime. Drop the .sk in /plugins/Skript/scripts/, run /sk reload, done. No Maven, no Gradle, no Java toolchain.
GUIs & scoreboards
Inventory menus, action bars, sidebar scoreboards, chat books, describe the UX and the AI writes it.
Proměnné správně
Per-player or global, persistent or in-memory, with the right scope. The generator picks the appropriate pattern.
Iteruj v chatu
"Add a cooldown", "reduce the heal to 1 heart", "only on weekends". Just keep chatting; Codexe edits the same script.
Příklady zadání pro Skript
Cokoli od malého Skriptu pro pohodlí po kompletní funkci serveru. Několik skutečných zadání, která můžeš vložit:
Denní kit při připojení
„On join, give a custom kit (iron sword, 32 steak, full leather) once every 12 hours per player. Show a remaining cooldown if not yet ready.“
Fronta na PvP arénu
„/queue command sends the player to a PvP arena (warp 'arena1'), gives kit, scoreboard with kills/deaths. /leave returns them to spawn.“
Vlastní očarování přes knihu
„Right-clicking a book named 'Lifesteal Tome' on a sword adds the lore 'Lifesteal I' and makes hits with that sword heal 0.5 hearts.“
Proti campení
„If a player stays within 10 blocks of their /home for more than 60 seconds while in the warzone world, they take 2 hearts of damage and get a warning message.“
Časté dotazy ke generátoru Skriptu
Používá Codexe aktuální syntaxi Skriptu?
+
Yes. The generator writes against current Skript releases, modern event syntax, on script load handlers, sections, type aliases. No legacy 1.x oddities.
Potřebuju doplňky pro Skript (skript-yaml, skript-reflect, ...)?
+
Only if your prompt requires features outside vanilla Skript (e.g. NBT manipulation, advanced GUIs). Codexe lists the required add-ons at the top of the .sk file as a comment so you know what to install.
Umí psát GUI a scoreboardy?
+
Yes. GUIs (with skript-gui add-on if needed), per-player scoreboards, action bars, hotbar messages, custom inventories, all describable in plain English.
Proměnné pro každého hráče, trvalé ukládání?
+
Yes. Skript variables, scoped or global, with proper save/load. The generator picks the right pattern (script-local, global with file persistence, etc.) for what you describe.
Můžu skript iterovat?
+
Yes, just keep chatting. "Add a cooldown", "increase the radius to 8 blocks", "hook /reload". Codexe edits the .sk file in place.
Je to zdarma?
+
Free tier refills 50K daily tokens, more than enough for most Skripts. Bigger systems benefit from Pro/Business plans, see /pricing.
Kam patří soubor .sk?
+
Drop it in /plugins/Skript/scripts/ on your server and run /sk reload
Další generátory Codexe
Outgrown Skript, or need something outside the scripting layer? Codexe also generates:
Jak Codexe tyto projekty vytváří a kontroluje, co napsat do zadání a běžné potíže: návod Skript scripts.
PŘIPRAVEN NA NOVÝ SKRIPT?
Tarif Free každý den doplní 50K tokenů, což stačí na většinu Skriptů s jednou funkcí.
ZAČNI PSÁT