{"id":99089,"date":"2026-06-05T19:38:14","date_gmt":"2026-06-05T16:38:14","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/"},"modified":"2026-06-05T19:38:14","modified_gmt":"2026-06-05T16:38:14","slug":"mc-js","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/","title":{"rendered":"mc-js"},"content":{"rendered":"<p># \ud83d\ude80 MC-JS &#8211; JavaScript Plugin System for Minecraft<\/p>\n<p>**Write Minecraft Server Plugins in JavaScript &#8211; No Java Required!**<\/p>\n<p>MC-JS is a powerful plugin system that allows you to develop server plugins using modern JavaScript (ES6+) instead of Java. Perfect for developers who already know JavaScript or want to quickly create plugins without having to learn Java.<\/p>\n<p>## \u2728 Key Features<\/p>\n<p>### \ud83c\udfaf Core Capabilities<\/p>\n<p>&#8211; **\ud83d\udcdd Full JavaScript Support** &#8211; Develop plugins in modern JavaScript using the Rhino Engine<br \/>\n&#8211; **\u26a1 Hot Reload** &#8211; Reload plugins without server restart (`\/jsreload`)<br \/>\n&#8211; **\ud83d\udd27 Complete API Access** &#8211; Access to virtually all Bukkit\/Spigot\/Paper API functions<br \/>\n&#8211; **\ud83c\udfae Event System** &#8211; Register listeners for any Minecraft event with priority support<br \/>\n&#8211; **\ud83d\udcac Command System** &#8211; Create custom commands with full tab completion support<br \/>\n&#8211; **\u23f0 Task Scheduling** &#8211; Synchronous and asynchronous task scheduling<br \/>\n&#8211; **\ud83d\udce6 Inventory Management** &#8211; Create and manage custom GUI menus using standard Bukkit inventories (9-54 slots) with click handlers<br \/>\n&#8211; **\ud83d\uddc4\ufe0f Database Support** &#8211; Built-in SQLite database operations (INSERT, UPDATE, DELETE, SELECT)<br \/>\n&#8211; **\ud83c\udf10 HTTP Requests** &#8211; Make HTTP GET\/POST requests asynchronously<br \/>\n&#8211; **\ud83d\udd10 Encryption** &#8211; MD5, SHA256, Base64 encoding\/decoding<br \/>\n&#8211; **\ud83d\udcc1 File I\/O** &#8211; YAML, JSON, and text file support<br \/>\n&#8211; **\ud83c\udfa8 BossBar Support** &#8211; Create and manage boss bars with progress tracking<br \/>\n&#8211; **\u23f1\ufe0f Cooldown System** &#8211; Built-in cooldown management per player<br \/>\n&#8211; **\u2699\ufe0f Config System** &#8211; Per-plugin configuration files (YAML)<br \/>\n&#8211; **\ud83c\udf0d World Management** &#8211; Control weather, time, world border, explosions<br \/>\n&#8211; **\ud83c\udfaf Entity Management** &#8211; Spawn, control, and customize entities<br \/>\n&#8211; **\ud83d\udd12 Player Management** &#8211; Ban, kick, teleport, health, food, gamemode<\/p>\n<p>### \ud83d\udee0\ufe0f Advanced Features<\/p>\n<p>&#8211; **\ud83c\udfa8 Particle Effects** &#8211; Spawn particles with string or enum support<br \/>\n&#8211; **\ud83d\udd0a Sound System** &#8211; Play sounds at locations or for players<br \/>\n&#8211; **\ud83d\udcca Scoreboard System** &#8211; Create and manage scoreboards, teams, objectives<br \/>\n&#8211; **\ud83d\udcdd Item Manipulation** &#8211; Create, modify, and manage items with custom names and lore<br \/>\n&#8211; **\ud83d\udd12 Permission System** &#8211; Check and manage player permissions<br \/>\n&#8211; **\ud83c\udfa8 Color Support** &#8211; Minecraft color codes and formatting utilities<br \/>\n&#8211; **\ud83c\udf10 HTTP Integration** &#8211; Make external API calls and web requests<br \/>\n&#8211; **\ud83d\udcca Economy Integration** &#8211; Vault economy support for server economies<\/p>\n<p>## \ud83d\udce6 Installation<\/p>\n<p>### Requirements<\/p>\n<p>&#8211; **Minecraft Server**: Paper\/Spigot 1.20+ (recommended: Paper)<br \/>\n&#8211; **Java**: Version 21 or higher<br \/>\n&#8211; **Minecraft Version**: 1.20+<\/p>\n<p>### Steps<\/p>\n<p>1. **Download the latest release** from the Releases page<br \/>\n2. **Place the JAR file** in your server&#8217;s `plugins\/` folder<br \/>\n3. **Start or restart** your server<br \/>\n4. **Create JS plugins** in `plugins\/MC-JS\/js-plugins\/` directory<\/p>\n<p>The plugin will automatically create the `js-plugins` directory and copy an example plugin on first run.<\/p>\n<p>## \ud83d\ude80 Quick Start<\/p>\n<p>### Creating Your First Plugin<\/p>\n<p>1. **Navigate to** `plugins\/MC-JS\/js-plugins\/` directory<br \/>\n2. **Create a new file** with `.js` extension (e.g., `myplugin.js`)<br \/>\n3. **Add the following code**:<\/p>\n<p>&#8220;`javascript<br \/>\nvar pluginInfo = {<br \/>\n    name: &#8220;My First Plugin&#8221;,<br \/>\n    version: &#8220;1.0.0&#8221;,<br \/>\n    author: &#8220;YourName&#8221;,<br \/>\n    description: &#8220;My awesome plugin!&#8221;<br \/>\n};<\/p>\n<p>function onEnable() {<br \/>\n    logger.info(&#8220;My plugin is enabled!&#8221;);<\/p>\n<p>    \/\/ Register a command<br \/>\n    api.registerCommand(&#8220;hello&#8221;, &#8220;Say hello&#8221;, &#8220;\/hello&#8221;, function(sender, args) {<br \/>\n        api.sendMessage(sender, &#8220;&#038;aHello from JavaScript!&#8221;);<br \/>\n        return true;<br \/>\n    });<\/p>\n<p>    \/\/ Register an event<br \/>\n    api.registerEvent(&#8220;player.PlayerJoinEvent&#8221;, function(event) {<br \/>\n        var player = event.getPlayer();<br \/>\n        api.sendMessage(player, &#8220;&#038;6Welcome to the server!&#8221;);<br \/>\n    });<br \/>\n}<\/p>\n<p>function onDisable() {<br \/>\n    logger.info(&#8220;My plugin is disabled!&#8221;);<br \/>\n}<\/p>\n<p>this.onEnable = onEnable;<br \/>\nthis.onDisable = onDisable;<br \/>\nthis.pluginInfo = pluginInfo;<br \/>\n&#8220;`<\/p>\n<p>4. **Save the file** &#8211; The plugin will auto-load on server start, or use `\/jsreload` to reload<br \/>\n5. **Test your command** &#8211; Type `\/hello` in-game or in console<br \/>\n6. **Check console** &#8211; Look for &#8220;My plugin is enabled!&#8221; message<\/p>\n<p>> \ud83d\udca1 **Tip**: Use `\/jslist` to see all loaded JavaScript plugins and `\/jsreload <plugin>` to reload a specific plugin.<\/p>\n<p>## \ud83d\udcda Available Objects<\/p>\n<p>These objects are automatically available in all JavaScript plugins:<\/p>\n<p>| Object | Description | Usage |<br \/>\n|&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8212;-|&#8212;&#8212;-|<br \/>\n| `api` | Complete JS API wrapper &#8211; main interface for all operations | `api.registerCommand(&#8230;)` |<br \/>\n| `server` | Minecraft server instance | `server.getOnlinePlayers()` |<br \/>\n| `plugin` | Main plugin instance | `plugin.getName()` |<br \/>\n| `logger` | Plugin logger | `logger.info(&#8220;Message&#8221;)` |<br \/>\n| `scheduler` | Server scheduler | `scheduler.runTask(&#8230;)` |<br \/>\n| `Bukkit` | Direct Bukkit API access | `Bukkit.getServer()` |<\/p>\n<p>## \ud83c\udfae Commands<\/p>\n<p>| Command | Description | Permission |<br \/>\n|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;-|&#8212;&#8212;&#8212;&#8212;|<br \/>\n| `\/jsreload` | Reload all JS plugins | `mcjs.admin` |<br \/>\n| `\/jsreload <plugin>` | Reload specific plugin | `mcjs.admin` |<br \/>\n| `\/jslist` | List all loaded JS plugins | `mcjs.admin` |<br \/>\n| `\/jsconfig` | View or reload plugin configuration | `mcjs.admin` |<\/p>\n<p>## \ud83d\udcd6 Documentation<\/p>\n<p>> **\ud83d\udcd6 Full Documentation**: Visit our complete documentation website for detailed API reference, examples, and guides.<\/p>\n<p>## \ud83d\udca1 Example Applications<\/p>\n<p>&#8211; **Welcome Plugins** &#8211; Greet players with messages, titles, and sounds<br \/>\n&#8211; **Statistics Systems** &#8211; Track player statistics with SQLite databases<br \/>\n&#8211; **Custom GUI Menus** &#8211; Create interactive menus using standard Bukkit inventories with custom layouts and click handlers<br \/>\n&#8211; **Mini-Games** &#8211; Develop simple games with event handling<br \/>\n&#8211; **Utility Plugins** &#8211; Create helpful tools and commands<br \/>\n&#8211; **Integration Plugins** &#8211; Connect your server with external APIs<\/p>\n<p>## \ud83d\udee0\ufe0f Technical Details<\/p>\n<p>&#8211; **JavaScript Engine**: Rhino (Mozilla)<br \/>\n&#8211; **API Version**: 1.21<br \/>\n&#8211; **Compatibility**: Paper, Spigot, Bukkit<br \/>\n&#8211; **License**: MIT<\/p>\n<p>## \ud83e\udd1d Support<\/p>\n<p>&#8211; **GitHub**: LootingVI\/MC-JS<br \/>\n&#8211; **Issues**: GitHub Issues<br \/>\n&#8211; **Documentation**: lootingvi.github.io\/MC-JS<\/p>\n<p>## \ud83d\udcdd License<\/p>\n<p>This project is licensed under the MIT License &#8211; see the [LICENSE](LICENSE) file for details.<\/p>\n<p>&#8212;<\/p>\n<p>**Made with \u2764\ufe0f for the Minecraft Community**<br \/>\n&#8220;`<\/p>\n<p>&#8212;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create Minecraft plugins in JavaScript instead of Java! Full Bukkit\/Spigot\/Paper API, Hot-Reload, Events, Commands, Databases, GUIs and more.<\/p>\n","protected":false},"featured_media":99090,"template":"","meta":{"_minecraft_slug":"mc-js","_minecraft_project_id":"bDI16plG","_minecraft_author":"LootingVI","_minecraft_license":"MIT","_minecraft_downloads":280,"_minecraft_follows":0,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"mc-js.zip","_minecraft_size_bytes":29809045,"_minecraft_version_count":2,"_minecraft_updated_at":"2026-05-16T11:56:56.581625Z","_minecraft_date_created":"2026-01-31T23:25:04.378503Z","_minecraft_date_modified":"2026-02-07T14:32:54.445324Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/mc-js","_minecraft_icon_attachment_id":99090,"_minecraft_imported_at":"2026-06-05T16:38:15+00:00","_minecraft_import_hash":"aec0ff16ff824bb3ef84b529953265b8","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[124,127,129],"mod_loader":[130,132,134],"minecraft_version":[62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-99089","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-bukkit","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>mc-js - 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\/mc-js\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"mc-js - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Create Minecraft plugins in JavaScript instead of Java! Full Bukkit\/Spigot\/Paper API, Hot-Reload, Events, Commands, Databases, GUIs and more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mc-js\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mc-js\\\/\",\"name\":\"mc-js - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mc-js\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mc-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/mc-js-icon-31615f1fd7fec170677541d1739445f257a21162_96.webp\",\"datePublished\":\"2026-06-05T16:38:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mc-js\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mc-js\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mc-js\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/mc-js-icon-31615f1fd7fec170677541d1739445f257a21162_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/mc-js-icon-31615f1fd7fec170677541d1739445f257a21162_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/mc-js\\\/#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\":\"mc-js\"}]},{\"@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":"mc-js - 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\/mc-js\/","og_locale":"en_US","og_type":"article","og_title":"mc-js - Minecraft","og_description":"Create Minecraft plugins in JavaScript instead of Java! Full Bukkit\/Spigot\/Paper API, Hot-Reload, Events, Commands, Databases, GUIs and more.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/","name":"mc-js - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/mc-js-icon-31615f1fd7fec170677541d1739445f257a21162_96.webp","datePublished":"2026-06-05T16:38:14+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/mc-js-icon-31615f1fd7fec170677541d1739445f257a21162_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/mc-js-icon-31615f1fd7fec170677541d1739445f257a21162_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/mc-js\/#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":"mc-js"}]},{"@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\/99089","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\/99090"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=99089"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=99089"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=99089"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=99089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}