mc-js
๐ก Updated this yearPreview

๐ Analysis
- ๐ 0.0% endorsement rate
- ๐ #515 of 1452 bukkit mods in this game by downloads
๐ About This Mod
# ๐ MC-JS - JavaScript Plugin System for Minecraft **Write Minecraft Server Plugins in JavaScript - No Java Required!** 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. ## โจ Key Features ### ๐ฏ Core Capabilities - **๐ Full JavaScript Support** - Develop plugins in modern JavaScript using the Rhino Engine - **โก Hot Reload** - Reload plugins without server restart (`/jsreload`) - **๐ง Complete API Access** - Access to virtually all Bukkit/Spigot/Paper API functions - **๐ฎ Event System** - Register listeners for any Minecraft event with priority support - **๐ฌ Command System** - Create custom commands with full tab completion support - **โฐ Task Scheduling** - Synchronous and asynchronous task scheduling - **๐ฆ Inventory Management** - Create and manage custom GUI menus using standard Bukkit inventories (9-54 slots) with click handlers - **๐๏ธ Database Support** - Built-in SQLite database operations (INSERT, UPDATE, DELETE, SELECT) - **๐ HTTP Requests** - Make HTTP GET/POST requests asynchronously - **๐ Encryption** - MD5, SHA256, Base64 encoding/decoding - **๐ File I/O** - YAML, JSON, and text file support - **๐จ BossBar Support** - Create and manage boss bars with progress tracking - **โฑ๏ธ Cooldown System** - Built-in cooldown management per player - **โ๏ธ Config System** - Per-plugin configuration files (YAML) - **๐ World Management** - Control weather, time, world border, explosions - **๐ฏ Entity Management** - Spawn, control, and customize entities - **๐ Player Management** - Ban, kick, teleport, health, food, gamemode ### ๐ ๏ธ Advanced Features - **๐จ Particle Effects** - Spawn particles with string or enum support - **๐ Sound System** - Play sounds at locations or for players - **๐ Scoreboard System** - Create and manage scoreboards, teams, objectives - **๐ Item Manipulation** - Create, modify, and manage items with custom names and lore - **๐ Permission System** - Check and manage player permissions - **๐จ Color Support** - Minecraft color codes and formatting utilities - **๐ HTTP Integration** - Make external API calls and web requests - **๐ Economy Integration** - Vault economy support for server economies ## ๐ฆ Installation ### Requirements - **Minecraft Server**: Paper/Spigot 1.20+ (recommended: Paper) - **Java**: Version 21 or higher - **Minecraft Version**: 1.20+ ### Steps 1. **Download the latest release** from the (https://github.com/LootingVI/MC-JS/releases) page 2. **Place the JAR file** in your server's `plugins/` folder 3. **Start or restart** your server 4. **Create JS plugins** in `plugins/MC-JS/js-plugins/` directory The plugin will automatically create the `js-plugins` directory and copy an example plugin on first run. ## ๐ Quick Start ### Creating Your First Plugin 1. **Navigate to** `plugins/MC-JS/js-plugins/` directory 2. **Create a new file** with `.js` extension (e.g., `myplugin.js`) 3. **Add the following code**: ```javascript var pluginInfo = { name: "My First Plugin", version: "1.0.0", author: "YourName", description: "My awesome plugin!" }; function onEnable() { logger.info("My plugin is enabled!"); // Register a command api.registerCommand("hello", "Say hello", "/hello", function(sender, args) { api.sendMessage(sender, "&aHello from JavaScript!"); return true; }); // Register an event api.registerEvent("player.PlayerJoinEvent", function(event) { var player = event.getPlayer(); api.sendMessage(player, "&6Welcome to the server!"); }); } function onDisable() { logger.info("My plugin is disabled!"); } this.onEnable = onEnable; this.onDisable = onDisable; this.pluginInfo = pluginInfo; ``` 4. **Save the file** - The plugin will auto-load on server start, or use `/jsreload` to reload 5. **Test your command** - Type `/hello` in-game or in console 6. **Check console** - Look for "My plugin is enabled!" message > ๐ก **Tip**: Use `/jslist` to see all loaded JavaScript plugins and `/jsreload <plugin>` to reload a specific plugin. ## ๐ Available Objects These objects are automatically available in all JavaScript plugins: | Object | Description | Usage | |--------|-------------|-------| | `api` | Complete JS API wrapper - main interface for all operations | `api.registerCommand(...)` | | `server` | Minecraft server instance | `server.getOnlinePlayers()` | | `plugin` | Main plugin instance | `plugin.getName()` | | `logger` | Plugin logger | `logger.info("Message")` | | `scheduler` | Server scheduler | `scheduler.runTask(...)` | | `Bukkit` | Direct Bukkit API access | `Bukkit.getServer()` | ## ๐ฎ Commands | Command | Description | Permission | |---------|-------------|------------| | `/jsreload` | Reload all JS plugins | `mcjs.admin` | | `/jsreload <plugin>` | Reload spe
# ๐ MC-JS - JavaScript Plugin System for Minecraft
Write Minecraft Server Plugins in JavaScript - No Java Required!
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.
## โจ Key Features
### ๐ฏ Core Capabilities
- ๐ Full JavaScript Support - Develop plugins in modern JavaScript using the Rhino Engine
- โก Hot Reload - Reload plugins without server restart (`/jsreload`)
- ๐ง Complete API Access - Access to virtually all Bukkit/Spigot/Paper API functions
- ๐ฎ Event System - Register listeners for any Minecraft event with priority support
- ๐ฌ Command System - Create custom commands with full tab completion support
- โฐ Task Scheduling - Synchronous and asynchronous task scheduling
- ๐ฆ Inventory Management - Create and manage custom GUI menus using standard Bukkit inventories (9-54 slots) with click handlers
- ๐๏ธ Database Support - Built-in SQLite database operations (INSERT, UPDATE, DELETE, SELECT)
- ๐ HTTP Requests - Make HTTP GET/POST requests asynchronously
- ๐ Encryption - MD5, SHA256, Base64 encoding/decoding
- ๐ File I/O - YAML, JSON, and text file support
- ๐จ BossBar Support - Create and manage boss bars with progress tracking
- โฑ๏ธ Cooldown System - Built-in cooldown management per player
- โ๏ธ Config System - Per-plugin configuration files (YAML)
- ๐ World Management - Control weather, time, world border, explosions
- ๐ฏ Entity Management - Spawn, control, and customize entities
- ๐ Player Management - Ban, kick, teleport, health, food, gamemode
### ๐ ๏ธ Advanced Features
- ๐จ Particle Effects - Spawn particles with string or enum support
- ๐ Sound System - Play sounds at locations or for players
- ๐ Scoreboard System - Create and manage scoreboards, teams, objectives
- ๐ Item Manipulation - Create, modify, and manage items with custom names and lore
- ๐ Permission System - Check and manage player permissions
- ๐จ Color Support - Minecraft color codes and formatting utilities
- ๐ HTTP Integration - Make external API calls and web requests
- ๐ Economy Integration - Vault economy support for server economies
## ๐ฆ Installation
### Requirements
- Minecraft Server: Paper/Spigot 1. 20+ (recommended: Paper)
- Java: Version 21 or higher
- Minecraft Version: 1. 20+
1. Download the latest release from the (https://github.com/LootingVI/MC-JS/releases) page 2. Place the JAR file in your server's `plugins/` folder 3. Start or restart your server 4. Create JS plugins in `plugins/MC-JS/js-plugins/` directory
The plugin will automatically create the `js-plugins` directory and copy an example plugin on first run.
## ๐ Quick Start
### Creating Your First Plugin
1. Navigate to `plugins/MC-JS/js-plugins/` directory 2. Create a new file with `.js` extension (e.g., `myplugin.js`) 3. Add the following code:
```javascript var pluginInfo = { name: "My First Plugin", version: "1. 0. 0", author: "YourName", description: "My awesome plugin!" };
function onEnable() { logger.info("My plugin is enabled!"); // Register a command api.registerCommand("hello", "Say hello", "/hello", function(sender, args) { api.sendMessage(sender, "&aHello from JavaScript!"); return true; }); // Register an event api.registerEvent("player. PlayerJoinEvent", function(event) { var player = event.getPlayer(); api.sendMessage(player, "&6Welcome to the server!"); }); }
function onDisable() { logger.info("My plugin is disabled!"); }
this.onEnable = onEnable; this.onDisable = onDisable; this.pluginInfo = pluginInfo; ```
4. Save the file - The plugin will auto-load on server start, or use `/jsreload` to reload 5. Test your command - Type `/hello` in-game or in console 6. Check console - Look for "My plugin is enabled!" message
> ๐ก Tip: Use `/jslist` to see all loaded JavaScript plugins and `/jsreload
## ๐ Available Objects
These objects are automatically available in all JavaScript plugins:
| Object | Description | Usage | |--------|-------------|-------| | `api` | Complete JS API wrapper - main interface for all operations | `api.registerCommand(...)` | | `server` | Minecraft server instance | `server.getOnlinePlayers()` | | `plugin` | Main plugin instance | `plugin.getName()` | | `logger` | Plugin logger | `logger.info("Message")` | | `scheduler` | Server scheduler | `scheduler.runTask(...)` | | `Bukkit` | Direct Bukkit API access | `Bukkit.getServer()` |
## ๐ฎ Commands
| Command | Description | Permission |
|---------|-------------|------------|
| `/jsreload` | Reload all JS plugins | `mcjs.admin` |
| `/jsreload
๐ Mod Details
- Game
- Minecraft Plugins
- Author
- LootingVI
- Version
- 2.0.0
- Downloads
- 698
- Endorsements
- 0
- Category
- bukkit
- Created
- 1/31/2026
- Updated
- 2/7/2026
- Game Versions
- 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
๐ง How to Install Minecraft Plugins Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
๐ Full step-by-step install guide for Minecraft Plugins โ
Visit the official mod page for specific installation instructions for this mod.
๐ฎ Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.
โ Frequently Asked Questions
Which Minecraft Plugins versions does mc-js support?
The author lists 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5. Other versions may work but are untested by the author.
What is the latest version of mc-js?
Version 2.0.0, published 2026-02-07 with 698 downloads recorded at the source.
Keep browsing โ more Minecraft Plugins mods await