Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Skin Browser
  • Cape Gallery
  • Seed Vault
  • Blog
  • Guides

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

Site & Legal

  • About
  • Authors
  • Editorial Policy
  • Corrections
  • Contact
  • Privacy Policy
  • Terms of Service
  • DMCA
  • Sitemap

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
mc-js
PluginMIT

mc-js

Create Minecraft plugins in JavaScript instead of Java! Full Bukkit/Spigot/Paper API, Hot-Reload, Events, Commands, Databases, GUIs and more.

34
Downloads
0
Followers
3 months ago
Updated
📦
3
Versions
bukkitpaperspigot
Download Latestv2.0.0View on Modrinth

📖About mc-js

🚀 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 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:
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;
  1. Save the file - The plugin will auto-load on server start, or use /jsreload to reload
  2. Test your command - Type /hello in-game or in console
  3. 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 specific plugin mcjs.admin
/jslist List all loaded JS plugins mcjs.admin
/jsconfig View or reload plugin configuration mcjs.admin

📖 Documentation

📖 Full Documentation: Visit our complete documentation website for detailed API reference, examples, and guides.

💡 Example Applications

  • Welcome Plugins - Greet players with messages, titles, and sounds
  • Statistics Systems - Track player statistics with SQLite databases
  • Custom GUI Menus - Create interactive menus using standard Bukkit inventories with custom layouts and click handlers
  • Mini-Games - Develop simple games with event handling
  • Utility Plugins - Create helpful tools and commands
  • Integration Plugins - Connect your server with external APIs

🛠️ Technical Details

  • JavaScript Engine: Rhino (Mozilla)
  • API Version: 1.21
  • Compatibility: Paper, Spigot, Bukkit
  • License: MIT

🤝 Support

  • GitHub: LootingVI/MC-JS
  • Issues: GitHub Issues
  • Documentation: lootingvi.github.io/MC-JS

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❤️ for the Minecraft Community


---

👥 Team & Contributors

LootingVI
LootingVIOwner

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
bukkitpaperspigot
Minecraft Versions
1.211.21.11.21.21.21.31.21.41.21.51.21.61.21.7+4 more

🔗 Links

Modrinth Page