{"id":71148,"date":"2026-06-04T04:04:35","date_gmt":"2026-06-04T01:04:35","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/flok\/"},"modified":"2026-06-04T04:04:35","modified_gmt":"2026-06-04T01:04:35","slug":"flok","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/flok\/","title":{"rendered":"flok"},"content":{"rendered":"<p># Flok Engine<br \/>\n### Performance-First Server Scripting for Modern Minecraft<\/p>\n<p>Flok is a lightweight, high-performance scripting engine for Paper and Spigot servers (1.21+). Designed as a modern, safety-conscious alternative to traditional scripting plugins, Flok allows you to create custom mechanics, commands, and event handlers using a natural, easy-to-read syntax\u2014without the overhead or server-freeze risks.<\/p>\n<p>## Why Choose Flok?<\/p>\n<p>* **World-Class Performance:** Benchmarked at an average tick rate of **2.076ms** under load.<br \/>\n* **Crash-Proof Safety:** Includes a built-in **50,000 op-limit** per script execution, preventing infinite loops from ever freezing your server thread.<br \/>\n* **Smart Throttling:** The `on player-move` event is natively throttled to once per second per player, providing a massive TPS safety net.<br \/>\n* **Persistent Data:** A global, human-readable storage system (`flok_data.yml`) that survives restarts and force-stops.<br \/>\n* **Modern Java:** Built on Java 21 to leverage the latest JVM optimizations.<\/p>\n<p>## Key Features<\/p>\n<p>* **Asynchronous Delays:** Fully functional `wait` effect for non-blocking script delays.<br \/>\n* **Event Cancellation:** Full control over event flow with `cancel` and `uncancel` support.<br \/>\n* **Custom Commands:** Register commands with custom permissions, aliases, and descriptions on the fly.<br \/>\n* **Addon API:** A stable Java API for developers to register custom effects and fire custom events.<br \/>\n* **Zero Restarts:** Use `\/flok reload` to update your scripts instantly without a server reboot.<\/p>\n<p>## Quick Start<\/p>\n<p>1.  Drop **Flok-1.0.jar** into your `plugins` folder.<br \/>\n2.  Restart the server to generate the `\/plugins\/Flok\/scripts\/` directory.<br \/>\n3.  Create a `.fk` file and start scripting!<\/p>\n<p>&#8220;`fk<br \/>\non player-join:<br \/>\n    send &#8220;&#038;aWelcome to the server, %player-name%!&#8221;<br \/>\n    if %first-join% is true:<br \/>\n        broadcast &#8220;&#038;e%player-name% joined for the first time!&#8221;# \ud83d\udc3a Flok Engine<\/p>\n<p>&#8220;`<br \/>\n### Performance-First Server Scripting for Modern Minecraft<\/p>\n<p>Flok is a lightweight, high-performance scripting engine for Paper and Spigot servers (1.21+). Designed as a modern, safety-conscious alternative to traditional scripting plugins, Flok allows you to create custom mechanics, commands, and event handlers using a natural, easy-to-read syntax\u2014without the overhead or server-freeze risks.<\/p>\n<p>## Why Choose Flok?<\/p>\n<p>* **World-Class Performance:** Benchmarked at an average tick rate of **2.076ms** under load.<br \/>\n* **Crash-Proof Safety:** Includes a built-in **50,000 op-limit** per script execution, preventing infinite loops from ever freezing your server thread.<br \/>\n* **Smart Throttling:** The `on player-move` event is natively throttled to once per second per player, providing a massive TPS safety net.<br \/>\n* **Persistent Data:** A global, human-readable storage system (`flok_data.yml`) that survives restarts and force-stops.<br \/>\n* **Modern Java:** Built on Java 21 to leverage the latest JVM optimizations.<\/p>\n<p>## Key Features<\/p>\n<p>* **Asynchronous Delays:** Fully functional `wait` effect for non-blocking script delays.<br \/>\n* **Event Cancellation:** Full control over event flow with `cancel` and `uncancel` support.<br \/>\n* **Custom Commands:** Register commands with custom permissions, aliases, and descriptions on the fly.<br \/>\n* **Addon API:** A stable Java API for developers to register custom effects and fire custom events.<br \/>\n* **Zero Restarts:** Use `\/flok reload` to update your scripts instantly without a server reboot.<\/p>\n<p>## Quick Start<\/p>\n<p>1.  Drop **Flok-1.0.jar** into your `plugins` folder.<br \/>\n2.  Restart the server to generate the `\/plugins\/Flok\/scripts\/` directory.<br \/>\n3.  Create a `.fk` file and start scripting!<\/p>\n<p>&#8220;`fk<br \/>\non player-join:<br \/>\n    send &#8220;&#038;aWelcome to the server, %player-name%!&#8221;<br \/>\n    if %first-join% is true:<br \/>\n        broadcast &#8220;&#038;e%player-name% joined for the first time!&#8221;<\/p>\n<p>&#8220;`<\/p>\n<p>Documentation: https:\/\/flokdev-dev.github.io\/flok\/<br \/>\nSource Code: https:\/\/github.com\/FlokDev-dev\/flok<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flok is a fast, lightweight scripting plugin for Paper\/Spigot servers. You write plain .fk files; no Java, no compile step, no restarts for most changes. Drop a script in, run \/flok reload, and it&#8217;s live.<\/p>\n","protected":false},"featured_media":71149,"template":"","meta":{"_minecraft_slug":"flok","_minecraft_project_id":"NvqNLxbf","_minecraft_author":"cloudwynn","_minecraft_license":"MIT","_minecraft_downloads":28,"_minecraft_follows":0,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"flok.zip","_minecraft_size_bytes":117774,"_minecraft_version_count":1,"_minecraft_updated_at":"2026-05-15T22:14:11.241577Z","_minecraft_date_created":"2026-03-02T20:27:46.506952Z","_minecraft_date_modified":"2026-02-25T21:17:22.100265Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/flok","_minecraft_icon_attachment_id":71149,"_minecraft_imported_at":"2026-06-04T01:04:35+00:00","_minecraft_import_hash":"b31ce635d2831d399f4a69bc40c30268","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[124,89,873,126,90,127,129],"mod_loader":[130,132,134],"minecraft_version":[62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-71148","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-bukkit","mod_category-game-mechanics","mod_category-library","mod_category-management","mod_category-optimization","mod_category-paper","mod_category-spigot","mod_loader-bukkit","mod_loader-paper","mod_loader-spigot","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>flok - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/flok\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"flok - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Flok is a fast, lightweight scripting plugin for Paper\/Spigot servers. You write plain .fk files; no Java, no compile step, no restarts for most changes. Drop a script in, run \/flok reload, and it&#039;s live.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/flok\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/flok\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/flok\\\/\",\"name\":\"flok - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/flok\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/flok\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/flok-icon-8bf83272288c12b38c622e06e906e3893ce344e5_96.webp\",\"datePublished\":\"2026-06-04T01:04:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/flok\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/flok\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/flok\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/flok-icon-8bf83272288c12b38c622e06e906e3893ce344e5_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/flok-icon-8bf83272288c12b38c622e06e906e3893ce344e5_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/flok\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"flok\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"flok - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/flok\/","og_locale":"en_US","og_type":"article","og_title":"flok - Minecraft","og_description":"Flok is a fast, lightweight scripting plugin for Paper\/Spigot servers. You write plain .fk files; no Java, no compile step, no restarts for most changes. Drop a script in, run \/flok reload, and it's live.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/flok\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/flok\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/flok\/","name":"flok - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/flok\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/flok\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/flok-icon-8bf83272288c12b38c622e06e906e3893ce344e5_96.webp","datePublished":"2026-06-04T01:04:35+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/flok\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/flok\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/flok\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/flok-icon-8bf83272288c12b38c622e06e906e3893ce344e5_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/flok-icon-8bf83272288c12b38c622e06e906e3893ce344e5_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/flok\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"flok"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/71148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/71149"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=71148"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=71148"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=71148"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=71148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}